本文整理汇总了PHP中use_stylesheets_for_form函数的典型用法代码示例。如果您正苦于以下问题:PHP use_stylesheets_for_form函数的具体用法?PHP use_stylesheets_for_form怎么用?PHP use_stylesheets_for_form使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了use_stylesheets_for_form函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: 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>
示例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>
示例3: 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
}
?>
示例4: use_javascripts_for_form
* 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>
<div class="inner">
示例5: 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();
?>
示例6: 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>
示例7: 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>
示例8: 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();
?>
示例9: 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>
示例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>
示例11: 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();
示例12: public_path
echo public_path('../../scripts/jquery/ui/ui.datepicker.js');
?>
"></script>
<script type="text/javascript" src="<?php
echo public_path('../../scripts/jquery/jquery.autocomplete.js');
?>
"></script>
<style type="text/css">
.error_list {
color: #ff0000;
}
</style>
<?php
use_stylesheets_for_form($assignLeaveForm);
?>
<?php
echo stylesheet_tag('orangehrm.datepicker.css');
echo javascript_include_tag('orangehrm.datepicker.js');
?>
<?php
if (!empty($overlapLeave)) {
?>
<div id="duplicateWarning" class="confirmBox" style="margin-left:18px;">
<div class="confirmInnerBox">
<?php
echo __('Overlapping Leave Request Found');
?>
示例13: 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();
?>
示例14: 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>
示例15: 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