本文整理汇总了PHP中include_stylesheets_for_form函数的典型用法代码示例。如果您正苦于以下问题:PHP include_stylesheets_for_form函数的具体用法?PHP include_stylesheets_for_form怎么用?PHP include_stylesheets_for_form使用的例子?那么, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了include_stylesheets_for_form函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: use_stylesheet
* the Free Software Foundation.
*
* Kimkëlen 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 Kimkëlen. If not, see <http://www.gnu.org/licenses/gpl-2.0.html>.
*/
use_stylesheet('/sfPropelRevisitedGeneratorPlugin/css/global.css', 'first');
use_stylesheet('/sfPropelRevisitedGeneratorPlugin/css/extended.css', 'first');
?>
<?php
include_stylesheets_for_form($form);
include_javascripts_for_form($form);
?>
<div id="sf_admin_container">
<h1>
<?php
echo __('Manage Students Regularity for %%course_name%%', array('%%course_name%%' => $course));
?>
</h1>
<div id="sf_admin_content">
<form action="<?php
echo url_for('division_course/courseSubjectStudentsRegularity');
?>
" method="post">
示例2: include_stylesheets_for_form
<?php
include_stylesheets_for_form($itemForm);
include_javascripts_for_form($itemForm);
use_helper('Javascript');
?>
<div id="lista_elementos">
<form action="<?php
echo url_for('comprobante/addItem');
?>
" method="post">
<table>
<thead>
<tr>
<th>Descripción</th>
<th>Imp total</th>
<th>Imp total conceptos</th>
<th>Imp neto</th>
<th>Imp liquidado</th>
<th>Imp liquidado rni</th>
<th>Imp operaciones ex</th>
</tr>
</thead>
<tbody>
<?php
foreach ($comprobante->getComprobanteItems() as $item) {
?>
<tr>
<td><?php
echo $item->getDescription();
?>
示例3: include_javascripts_for_form
<?php include_javascripts_for_form($form) ?>
<?php include_stylesheets_for_form($form) ?>
<?php echo form_tag_for($form, '@level', array('class'=>'form-horizontal') ) ?>
<?php echo $form->renderGlobalErrors() ?>
<?php echo $form->renderHiddenFields() ?>
<fieldset>
<?php echo $form['name']->renderRow() ?>
<?php echo $form['abbreviation']->renderRow() ?>
<?php echo $form['description']->renderRow() ?>
<div class="form-actions">
<input class="btn btn-success" type="submit" value="Speichern" />
<?php echo link_to('Abbrechen', 'level', array(), array( 'class' => 'btn') ) ?>
<?php if ($sf_user->hasCredential('superuser')): ?>
<?php echo link_to('Delete', 'level_delete', $ds_level, array( 'class' => 'delete', 'method' => 'delete', 'confirm' => 'Are You Sure?')) ?>
<?php endif; ?>
</div>
</fieldset>
</form>
示例4: include_stylesheets_for_form
<?php
include_stylesheets_for_form($searchForm);
include_javascripts_for_form($searchForm);
if (isset($is_choose)) {
?>
<div class="warn_message"><?php
echo __('catalogue_search_tips');
?>
</div><?php
}
?>
<div class="catalogue_filter">
<?php
echo form_tag('catalogue/search' . (isset($is_choose) ? '?is_choose=' . $is_choose : ''), array('class' => 'search_form', 'id' => 'catalogue_filter'));
?>
<div class="container">
<table class="search" id="<?php
echo $is_choose ? 'search_and_choose' : 'search';
?>
">
<thead>
<tr>
<?php
if (isset($searchForm['code'])) {
?>
<th><?php
echo $searchForm['code']->renderLabel();
?>
</th>
<?php
示例5: use_helper
<?php use_helper('ijani'); ?>
<?php include_javascripts_for_form($ratingForm); ?>
<?php include_stylesheets_for_form($ratingForm); ?>
<form action="<?php echo url_for('presta/rating'); ?>" method="post">
<?php echo $ratingForm; ?>
<input type="submit" value="Submit" />
</form>
<?php echo rating_status(3); ?>
示例6: use_helper
<?php
use_helper('JavascriptBase', 'jQuery');
include_stylesheets_for_form($productForm);
include_javascripts_for_form($productForm);
$product = $productForm->getObject();
?>
<div id="product-container" class="content">
<h2><?php
echo $title;
?>
</h2>
<form action="<?php
echo url_for("products/{$action}");
?>
" method="post" <?php
$productForm->isMultipart() and print 'enctype="multipart/form-data" ';
?>
class="product">
<?php
include_partial('common/globalErrors', array('form' => $productForm));
?>
<?php
echo $productForm->renderHiddenFields();
?>
<div id="product-data" class="global-data block">
<h3><?php
echo __('Product info');
?>
</h3>
示例7: use_helper
<?php
use_helper('JavascriptBase', 'jQuery');
include_stylesheets_for_form($invoiceForm);
include_javascripts_for_form($invoiceForm);
$invoice = $invoiceForm->getObject();
?>
<div id="invoice-container" class="content">
<h2><?php
echo $title;
?>
</h2>
<form action="<?php
echo url_for("recurring/{$action}");
?>
" method="post" <?php
$invoiceForm->isMultipart() and print 'enctype="multipart/form-data" ';
?>
class="invoice">
<?php
echo $invoiceForm['id'];
echo $invoiceForm['_csrf_token'];
echo $invoiceForm['type'];
?>
<ul id="status">
<li><?php
echo __('Status');
示例8: use_helper
<?php
use_helper('JavascriptBase', 'jQuery');
include_stylesheets_for_form($customerForm);
include_javascripts_for_form($customerForm);
$customer = $customerForm->getObject();
?>
<div id="customer-container" class="content">
<h2><?php
echo $title;
?>
</h2>
<form action="<?php
echo url_for("customers/{$action}");
?>
" method="post" <?php
$customerForm->isMultipart() and print 'enctype="multipart/form-data" ';
?>
class="customer">
<?php
include_partial('common/globalErrors', array('form' => $customerForm));
?>
<?php
echo $customerForm->renderHiddenFields();
?>
<div id="customer-data" class="global-data block">
<h3><?php
echo __('Client info');
?>
</h3>
示例9: use_helper
<?php
echo use_helper('Javascript');
include_stylesheets_for_form($form);
include_javascripts_for_form($form);
?>
<?php
include_stylesheets_for_form($formDetail);
include_javascripts_for_form($formDetail);
?>
<form action="<?php
echo url_for('admininstructor/' . ($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">
<?php
示例10: use_stylesheet
<?php
use_stylesheet('sales/salesorderheader.css');
include_javascripts_for_form($salesorderform);
include_stylesheets_for_form($salesorderform);
?>
<form action="<?php
if ($salesorderform->getObject()->isNew()) {
echo url_for('sales/createSales');
} else {
echo url_for('update_sales', $salesorderform);
}
?>
"
method="post" <?php
$salesorderform->isMultipart() and print 'enctype="multipart/form-data" ';
?>
>
<?php
if (!$salesorderform->getObject()->isNew()) {
?>
<input type="hidden" name="sf_method" value="put" />
<?php
}
?>
<table class="order_info">
<tr >
<th><?php
echo $salesorderform['client_id']->renderLabel();
?>
示例11: include_stylesheets_for_form
<?php
include_stylesheets_for_form($form);
include_javascripts_for_form($form);
include_stylesheets_for_form($form_req);
include_javascripts_for_form($form_req);
?>
<?php
include_stylesheets_for_form($person_form);
include_javascripts_for_form($person_form);
?>
<?php
use_stylesheets_for_form($agency_form);
use_javascripts_for_form($agency_form);
?>
<?php
use_stylesheets_for_form($form1);
use_javascripts_for_form($form1);
use_stylesheets_for_form($form2);
use_javascripts_for_form($form2);
use_stylesheets_for_form($form3);
use_javascripts_for_form($form3);
use_stylesheets_for_form($form4);
use_javascripts_for_form($form4);
use_stylesheets_for_form($form5);
use_javascripts_for_form($form5);
use_helper('Javascript', 'Form');
use_helper('jQuery', 'Form');
示例12: use_helper
<?php
use_helper('JavascriptBase', 'Form');
include_stylesheets_for_form($oAppCommon->oForm);
include_javascripts_for_form($oAppCommon->oForm);
if ($oAppCommon->ssPostForm) {
include_partial('global/recordUpdate', array('oAppCommon' => $oAppCommon));
}
?>
<div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="subBox">
<tr>
<td><h2><b><strong>*<?php
echo __('Mandatory Field');
?>
</strong></b><?php
echo $oAppCommon->ssTitle;
?>
</h2>
</td>
</tr>
<tr>
<td>
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td width="100%" align="left" valign="top">
<?php
$oFormObjectData = $oAppCommon->oForm->getObject();
$ssSaveRedirectLink = $oAppCommon->ssModuleName . '/addEdit';
示例13: use_helper
<?php
use_helper("PMRender");
echo include_javascripts_for_form($basicInfoForm);
echo include_stylesheets_for_form($basicInfoForm);
?>
<script type="text/javascript">
ProjectManager.viewingJobId = <?php
echo $job->getId();
?>
;
ProjectManager.addClientToJobUrl = "<?php
echo url_for("@job_add_client");
?>
";
ProjectManager.removeClientFromJob = "<?php
echo url_for("@job_remove_client");
?>
";
ProjectManager.addPhotographerToJobUrl = "<?php
echo url_for("@job_add_photographer");
?>
";
ProjectManager.removePhotographerFromJobUrl = "<?php
echo url_for("@job_remove_photographer");
?>
";
ProjectManager.addJobTagUrl = "<?php
echo url_for("@job_add_tag");
?>
示例14: a_sub_crud_form_body
function a_sub_crud_form_body($form)
{
list($type, $subtype, $displayData) = _a_sub_crud_form_info($form);
ob_start();
include_stylesheets_for_form($form);
echo $form;
?>
<ul class="a-form-row submit">
<li><input type="submit" value="Save" class="a-sub-submit"/></li>
<li><?php
echo link_to_function('Cancel', "\$('#{$displayData}').html(\$('#{$displayData}').data('a-form-swap')); \$('#{$type}-form-edit-{$subtype}').show()", array("class" => "a-sub-cancel"));
?>
</li>
</ul>
<?php
// Do this after the form so that we can do things like disabling stuff that
// gets created by JS in widgets
include_javascripts_for_form($form);
return ob_get_clean();
}
示例15: use_helper
<?php
use_helper('JavascriptBase', 'jQuery');
include_stylesheets_for_form($estimateForm);
include_javascripts_for_form($estimateForm);
$estimate = $estimateForm->getObject();
?>
<div id="invoice-container" class="content">
<h2><?php
echo $title;
?>
</h2>
<form action="<?php
echo url_for("estimates/{$action}");
?>
" method="post" <?php
$estimateForm->isMultipart() and print 'enctype="multipart/form-data" ';
?>
class="invoice">
<input type="hidden" id="send_email" name="send_email" value="0" />
<input type="hidden" id="generate_invoice" name="generate_invoice" value="0" />
<?php
echo $estimateForm['id'];
// here draft, in case were saved as draft, the button must put 1 here
echo $estimateForm['draft'];
echo $estimateForm['_csrf_token'];
echo $estimateForm['type'];
?>
<ul id="status">