• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP use_stylesheets_for_form函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了PHP中use_stylesheets_for_form函数的典型用法代码示例。如果您正苦于以下问题:PHP use_stylesheets_for_form函数的具体用法?PHP use_stylesheets_for_form怎么用?PHP use_stylesheets_for_form使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。



在下文中一共展示了use_stylesheets_for_form函数的19个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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>
开发者ID:yasirgit,项目名称:afids,代码行数:31,代码来源:ajaxAddNewRequesterAgencySuccess.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">
          &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>
开发者ID:rieteke,项目名称:guizmed,代码行数:24,代码来源:_form.php


示例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 
}
?>
开发者ID:abdocmd,项目名称:spmillen,代码行数:31,代码来源:applyLeaveSuccess.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">
开发者ID:lahirwisada,项目名称:orangehrm,代码行数:31,代码来源:viewHolidayListSuccess.php


示例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();
?>
开发者ID:eyumay,项目名称:srms.psco,代码行数:31,代码来源:studentdropSuccess.php


示例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>
开发者ID:eyumay,项目名称:srms.psco,代码行数:22,代码来源:filterSuccess.php


示例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>
开发者ID:eyumay,项目名称:srms.psco,代码行数:26,代码来源:promotionsettingnewSuccess.php


示例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();
?>
开发者ID:abdocmd,项目名称:orangehrm-3.0.1,代码行数:31,代码来源:defineWorkWeekSuccess.php


示例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>
开发者ID:eldister,项目名称:dosye,代码行数:31,代码来源:showSuccess.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($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


示例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');
    ?>
开发者ID:rabbitdigital,项目名称:HRM,代码行数:31,代码来源:assignLeaveSuccess.php


示例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();
?>
开发者ID:yasirgit,项目名称:afids,代码行数:31,代码来源:updateSuccess.php


示例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>
开发者ID:eyumay,项目名称:srms.psco,代码行数:31,代码来源:indexSuccess_1.php


示例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 
开发者ID:abdocmd,项目名称:orangehrm-3.0.1,代码行数:31,代码来源:viewQualificationsSuccess.php


示例16: 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


示例17: 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


示例18: 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">
          &nbsp;<a href="<?php 
echo url_for('tests/index');
?>
">Back to list</a>
          <?php 
if (!$form->getObject()->isNew()) {
    ?>
开发者ID:qwerfaqs,项目名称:psicotest,代码行数:31,代码来源:_form.php


示例19: 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_stylesheets_for_form函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP usemagic函数代码示例发布时间:2022-05-23
下一篇:
PHP use_stylesheet函数代码示例发布时间:2022-05-23
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap