本文整理汇总了PHP中use_javascripts_for_form函数的典型用法代码示例。如果您正苦于以下问题:PHP use_javascripts_for_form函数的具体用法?PHP use_javascripts_for_form怎么用?PHP use_javascripts_for_form使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了use_javascripts_for_form函数的18个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: use_helper
<?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;
开发者ID:yasirgit,项目名称:afids,代码行数:31,代码来源:missingWaiversSuccess.php
示例2: use_stylesheets_for_form
<?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">
<a href="<?php echo url_for('roles/index') ?>">Back to list</a>
<?php if (!$form->getObject()->isNew()): ?>
<?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>
开发者ID:rieteke,项目名称:guizmed,代码行数:24,代码来源:_form.php
示例3: use_stylesheets_for_form
<?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>
开发者ID:eyumay,项目名称:srms.psco,代码行数:31,代码来源:indexSuccess_1.php
示例4: use_javascripts_for_form
* 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>
开发者ID:lahirwisada,项目名称:orangehrm,代码行数:30,代码来源:viewHolidayListSuccess.php
示例5: use_stylesheets_for_form
<?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>
开发者ID:yasirgit,项目名称:afids,代码行数:31,代码来源:ajaxAddNewRequesterAgencySuccess.php
示例6: use_stylesheets_for_form
<?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();
?>
开发者ID:eyumay,项目名称:srms.psco,代码行数:31,代码来源:studentdropSuccess.php
示例7: use_javascripts_for_form
<?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
}
?>
开发者ID:abdocmd,项目名称:spmillen,代码行数:31,代码来源:applyLeaveSuccess.php
示例8: use_javascripts_for_form
<?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
开发者ID:abdocmd,项目名称:orangehrm-3.0.1,代码行数:31,代码来源:viewQualificationsSuccess.php
示例9: use_stylesheets_for_form
<?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>
开发者ID:eyumay,项目名称:srms.psco,代码行数:27,代码来源:coursechecklistnewSuccess.php
示例10: use_stylesheets_for_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>
开发者ID:eyumay,项目名称:srms.psco,代码行数:27,代码来源:showformtoregisterSuccess.php
示例11: use_stylesheets_for_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>
开发者ID:eyumay,项目名称:srms.psco,代码行数:26,代码来源:promotionsettingnewSuccess.php
示例12: use_helper
<?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>
开发者ID:eldister,项目名称:dosye,代码行数:31,代码来源:showSuccess.php
示例13: use_stylesheets_for_form
<?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();
开发者ID:eyumay,项目名称:srms.psco,代码行数:31,代码来源:newexemptionSuccess.php
示例14: use_stylesheets_for_form
<?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();
?>
开发者ID:yasirgit,项目名称:afids,代码行数:31,代码来源:updateSuccess.php
示例15: use_javascripts_for_form
<?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();
?>
开发者ID:abdocmd,项目名称:orangehrm-3.0.1,代码行数:31,代码来源:defineWorkWeekSuccess.php
示例16: use_stylesheets_for_form
<?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>
开发者ID:eyumay,项目名称:srms.psco,代码行数:22,代码来源:filterSuccess.php
示例17: use_stylesheets_for_form
<?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">
<a href="<?php
echo url_for('tests/index');
?>
">Back to list</a>
<?php
if (!$form->getObject()->isNew()) {
?>
开发者ID:qwerfaqs,项目名称:psicotest,代码行数:31,代码来源:_form.php
示例18: use_stylesheets_for_form
<?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>
开发者ID:eyumay,项目名称:srms.psco,代码行数:26,代码来源:programchecklistbreakdownnewSuccess.php
注:本文中的use_javascripts_for_form函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论