示例#1
0
<?php

use_helper('jQuery', 'Form', 'Object');
$date_widget = $sf_data->getRaw('date_widget');
use_javascripts_for_form($date_widget);
use_stylesheets_for_form($date_widget);
?>
  <div class="mission-requests-content">
    <h2>Missing Waiver(s) Report</h2>
  <div class="filtering">
  <form action="<?php 
echo url_for('@missing_waivers');
?>
" method="post" id="form_filter">
    <input type="hidden" name="filter" value="1"/>
    <fieldset>
        <div class="holder">
        <label for="form-item-2">Mission Date Range</label>
        <?php 
echo $date_widget->render('mission_date1', $mission_date1);
?>
        <strong class="to">to</strong>
        <?php 
echo $date_widget->render('mission_date2', $mission_date2);
?>
      </div>
      <div class="holder1">
        <label>Wing</label>
                    <?php 
if (!isset($wing)) {
    $wing = null;
示例#2
0
文件: _form.php 项目: rieteke/guizmed
<?php use_stylesheets_for_form($form) ?>
<?php use_javascripts_for_form($form) ?>

<form action="<?php echo url_for('roles/'.($form->getObject()->isNew() ? 'create' : 'update').(!$form->getObject()->isNew() ? '?role_id='.$form->getObject()->getRoleId() : '')) ?>" method="post" <?php $form->isMultipart() and print 'enctype="multipart/form-data" ' ?>>
<?php if (!$form->getObject()->isNew()): ?>
<input type="hidden" name="sf_method" value="put" />
<?php endif; ?>
  <table>
    <tfoot>
      <tr>
        <td colspan="2">
          &nbsp;<a href="<?php echo url_for('roles/index') ?>">Back to list</a>
          <?php if (!$form->getObject()->isNew()): ?>
            &nbsp;<?php echo link_to('Delete', 'roles/delete?role_id='.$form->getObject()->getRoleId(), array('method' => 'delete', 'confirm' => 'Are you sure?')) ?>
          <?php endif; ?>
          <input type="submit" value="Save" />
        </td>
      </tr>
    </tfoot>
    <tbody>
      <?php echo $form ?>
    </tbody>
  </table>
</form>
示例#3
0
<?php

use_stylesheets_for_form($filterform);
use_javascripts_for_form($filterform);
use_stylesheet('ins_up.css');
?>
<h5>Filter to Assign Courses </h5>
<form action="<?php 
echo url_for('course/assigncourse');
?>
" method="post">

<?php 
echo $filterform;
?>

<input type="submit" value="Assign courses"><br/>
<br/>
</form>

<table>
  <thead>
    <tr>

    </tr>
  </thead>
  <tbody>

    <tr>

    </tr>
 * all the essential functionalities required for any enterprise.
 * Copyright (C) 2006 OrangeHRM Inc., http://www.orangehrm.com
 *
 * OrangeHRM is free software; you can redistribute it and/or modify it under the terms of
 * the GNU General Public License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * OrangeHRM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along with this program;
 * if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA  02110-1301, USA
 */
use_javascripts_for_form($searchForm);
use_stylesheets_for_form($searchForm);
?>

<?php 
if ($holidayPermissions->canRead()) {
    ?>
<div id="holiday-information" class="box toggableForm">
    
    <div class="head">
        <h1 id="searchHolidayHeading"><?php 
    echo __('Holidays');
    ?>
</h1>
    </div>
    
<?php

use_stylesheets_for_form($agency_form);
use_javascripts_for_form($agency_form);
use_helper('jQuery');
if (isset($new_requester_agency_id)) {
    ?>
   <script type="text/javascript">       
      jQuery("#agency").val("<?php 
    echo $new_requester_agency_name;
    ?>
");
      jQuery("#agency_id").val("<?php 
    echo $new_requester_agency_id;
    ?>
");
      var $inputs = jQuery("#requester_agency_form input[type='text']");
      jQuery("#requester_agency_form textarea").val('');
      $inputs.each(function() {
           jQuery(this).val('');
      });
      jQuery("#lightbox-overlay_").click();
   </script>
<?php 
}
?>
<div class="person-view">   
    <h2><?php 
echo $agency_title;
?>
</h2>
示例#6
0
    <?php 
use_stylesheets_for_form($studentCourseDropForm);
?>
    <?php 
use_javascripts_for_form($studentCourseDropForm);
?>
    <?php 
use_stylesheet('ins_up.css');
?>
<h4> Add and Drop </h4> 
 
<div style="font-size:12px;"> 
<table width="100%" class="table table-hover table-condensed ">   
  
    <tr>
        <td> <strong> Program </strong> </td>
        <td> <strong>  Center </strong>  </td>
        <td>  <strong> Academic Year  </strong> </td>
        <td>  <strong> Year </strong>  </td>
        <td>  <strong> Semester  </strong> </td>
        <td>  <strong> Status  </strong> </td>
    </tr> 
   
    <tr>
        <td> <?php 
echo $program_section->getProgram()->getEnrollmentType();
?>
 </td>
        <td> <?php 
echo $program_section->getCenter()->getName();
?>
示例#7
0
<?php

use_javascripts_for_form($applyLeaveForm);
use_stylesheets_for_form($applyLeaveForm);
use_stylesheet(plugin_web_path('orangehrmLeavePlugin', 'css/assignLeaveSuccess.css'));
?>

<?php 
include_partial('overlapping_leave', array('overlapLeave' => $overlapLeave));
?>

<div class="box" id="apply-leave">
    <div class="head">
        <h1><?php 
echo __('Apply Leave');
?>
</h1>
    </div>
    <div class="inner">
        <?php 
include_partial('global/flash_messages');
?>
        <?php 
if ($applyLeaveForm->hasErrors()) {
    ?>
                <?php 
    include_partial('global/form_errors', array('form' => $applyLeaveForm));
    ?>
        <?php 
}
?>
<?php

use_javascripts_for_form($workExperienceForm);
use_stylesheets_for_form($workExperienceForm);
use_javascripts_for_form($educationForm);
use_stylesheets_for_form($educationForm);
use_javascripts_for_form($skillForm);
use_stylesheets_for_form($skillForm);
use_javascripts_for_form($languageForm);
use_stylesheets_for_form($languageForm);
use_javascripts_for_form($licenseForm);
use_stylesheets_for_form($licenseForm);
?>

<?php 
echo javascript_include_tag(plugin_web_path('orangehrmPimPlugin', 'js/viewQualificationsSuccess'));
?>

<?php 
$haveWorkExperience = count($workExperienceForm->workExperiences) > 0;
?>

<div class="box pimPane">

    <?php 
$form = $workExperienceForm;
include_partial('pimLeftMenu', array('empNumber' => $empNumber, 'form' => $form));
?>
<!--    
    <div class="head">
        <h1><?php 
<?php

use_stylesheets_for_form($courseChecklistForm);
use_javascripts_for_form($courseChecklistForm);
use_stylesheet('ins_up.css');
?>

<h4> Manage Program Curriculum:   <span style="color:red;font-style: italic;"><?php 
echo $program->getName();
?>
 </span> </h4>
<p style="font-size:12px; margin-bottom:3px; "> Adding New Course Breakdown </p>
<hr />
<form action="<?php 
echo url_for('curriculum/coursechecklistnew?programId=' . $program->getId() . '&year=' . $year . '&semester=' . $semester);
?>
" method="post">
    <?php 
echo $courseChecklistForm;
?>
 
    <input type="submit" value="Save"> | 
    <a href="<?php 
echo url_for('curriculum/programDetail?programId=' . $program->getId());
?>
" style="font-size: 12px;"> Cancel </a>
</form>
<?php

use_stylesheets_for_form($registrationForm);
use_javascripts_for_form($registrationForm);
use_stylesheet('ins_up.css');
?>
<h5>Filter to Assign Courses </h5>
<form action="<?php 
echo url_for('student/Showregistrationfilterformresults');
?>
" method="post">
<?php 
echo $registrationFilterForm;
?>
<input type="submit" value="Filter"><br/>
</form>


<form action="<?php 
echo url_for('student/registration');
?>
" method="post">
<?php 
echo $registrationForm;
?>
<input type="submit" value="Register"><br/>
</form>
<?php

use_stylesheets_for_form($frontendPromotionSettingForm);
use_javascripts_for_form($frontendPromotionSettingForm);
use_stylesheet('ins_up.css');
?>

<h4> Manage Program Curriculum:   <span style="color:red;font-style: italic;"><?php 
echo $program->getName();
?>
 </span> </h4>
<p style="font-size:12px; margin-bottom:3px; "> Adding New Course Breakdown </p>
<hr />
<form action="<?php 
echo url_for('curriculum/promotionsettingnew?programId=' . $program->getId());
?>
" method="post">
    <?php 
echo $frontendPromotionSettingForm;
?>
    <input type="submit" value="Save"> | 
    <a href="<?php 
echo url_for('curriculum/programDetail?programId=' . $program->getId());
?>
" style="font-size: 12px;"> Cancel </a>
</form>
示例#12
0
<?php

use_helper('Date');
use_helper('I18N');
use_stylesheets_for_form($fileForm);
use_javascripts_for_form($fileForm);
include_partial('moduletop');
?>

<div id="content">
    <div class="wrap">

        <div class="left_panel">
           <?php 
if ($person->getPhotoImage() && $person->getPhotoImage()->getInternalFilename() != '') {
    ?>
             <img src="<?php 
    echo File::getUserUploadUrl() . $person->getPhotoImage()->getInternalFilename();
    ?>
 " class="photo" alt="foto"/>
           <?php 
} else {
    ?>
             <img src="<?php 
    echo image_path('person.png');
    ?>
" class="photo" alt="foto" />
           <?php 
}
?>
            <ul>
示例#13
0
<?php

use_stylesheets_for_form($exemptionForm);
use_javascripts_for_form($exemptionForm);
use_stylesheet('ins_up.css');
?>
<h4> Manage Student Transfers  </h4> 

<!-- Section Detail Start -->
<table border="1" style="font-size:11px; background-color:white;" cellpadding="4px" width="900px">
    
    <tr style="background-color: #000099; color: white;">
        <td align="center"> Class Information </td>
    </tr>

    <tr>
        <td valign="top">
            Program: <span style="color:red"> <i> <?php 
echo $sectionDetail->getProgram();
?>
 </i> </span> 
            Center: <span style="color:red"> <i> <?php 
echo $sectionDetail->getCenter();
?>
 </i> </span>  
            Academic Year: <span style="color:red"> <i> <?php 
echo $sectionDetail->getAcademicYear();
?>
</i> </span>
            Year: <span style="color:red"> <i> <?php 
echo $sectionDetail->getYear();
示例#14
0
<?php

use_stylesheets_for_form($form);
use_javascripts_for_form($form);
use_stylesheets_for_form($form_a);
use_javascripts_for_form($form_a);
use_stylesheets_for_form($form_airport);
use_javascripts_for_form($form_airport);
use_helper('Javascript', 'Form');
use_helper('jQuery', 'Form');
?>


<?php 
use_helper('jQuery');
?>
<h2><?php 
echo $title;
?>
</h2>
<?php 
$airport_info = AirportPeer::retrieveByPK($camp->getAirportId());
?>
<div class="passenger-form">
<form action="<?php 
echo url_for('@camp_create');
?>
" method="post" id="camp_form">
  <input type="hidden" name="id" value="<?php 
echo $camp->getId();
?>
<?php

use_javascripts_for_form($workWeekForm);
use_stylesheets_for_form($workWeekForm);
?>

<div id="location" class="box single">

    <div class="head">
        <h1 id="locationHeading"><?php 
echo __('Work Week');
?>
</h1>
    </div>

    <div class="inner">

        <?php 
include_partial('global/flash_messages');
?>
            <form id="frmWorkWeek" name="frmWorkWeek" method="post" action="<?php 
echo url_for('leave/defineWorkWeek');
?>
" >  

            <fieldset>

                <ol>
                    <?php 
echo $workWeekForm->render();
?>
示例#16
0
<?php

use_stylesheets_for_form($studentsToEnroll);
use_javascripts_for_form($studentsToEnroll);
use_stylesheet('ins_up.css');
use_stylesheet('instr.css');
?>
 
<?php 
include_partial('filterform', array('programs' => $programs, 'years' => $years, 'semesters' => $semesters, 'academicYears' => $academicYears, 'centers' => $centers));
?>

<form action="<?php 
echo url_for('programsection/enrolltosection');
?>
" method="post">
<?php 
echo $studentsToEnroll;
?>
  
       <input type="submit" value="Enroll students to Section"/> 
</form>
示例#17
0
<?php

use_stylesheets_for_form($form);
use_javascripts_for_form($form);
?>

<form action="<?php 
echo url_for('tests/' . ($form->getObject()->isNew() ? 'create' : 'update') . (!$form->getObject()->isNew() ? '?id=' . $form->getObject()->getId() : ''));
?>
" method="post" <?php 
$form->isMultipart() and print 'enctype="multipart/form-data" ';
?>
>
<?php 
if (!$form->getObject()->isNew()) {
    ?>
<input type="hidden" name="sf_method" value="put" />
<?php 
}
?>
  <table>
    <tfoot>
      <tr>
        <td colspan="2">
          &nbsp;<a href="<?php 
echo url_for('tests/index');
?>
">Back to list</a>
          <?php 
if (!$form->getObject()->isNew()) {
    ?>
<?php

use_stylesheets_for_form($frontendProgramChecklistBreakdownForm);
use_javascripts_for_form($frontendProgramChecklistBreakdownForm);
use_stylesheet('ins_up.css');
?>

<h4> Manage Program Curriculum:   <span style="color:red;font-style: italic;"><?php 
echo $program->getName();
?>
 </span> </h4>
<p style="font-size:12px; margin-bottom:3px; "> Adding New Course Breakdown </p>
<hr />
<form action="<?php 
echo url_for('curriculum/programchecklistbreakdownnew?programId=' . $program->getId());
?>
" method="post">
    <?php 
echo $frontendProgramChecklistBreakdownForm;
?>
    <input type="submit" value="Save"> | 
    <a href="<?php 
echo url_for('curriculum/programDetail?programId=' . $program->getId());
?>
" style="font-size: 12px;"> Cancel </a>
</form>