当前位置: 首页>>代码示例>>PHP>>正文


PHP include_javascripts_for_form函数代码示例

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


在下文中一共展示了include_javascripts_for_form函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: 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); ?>
开发者ID:nacef,项目名称:ijani,代码行数:9,代码来源:ratingSuccess.php

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

示例3: use_helper

<?php

use_helper("PMRender");
echo include_javascripts_for_form($InfoForm);
?>


<div class="span-6">
  <?php 
include_component("static", "shortcuts", array("sortedBy" => null, "viewingCurrent" => null, "noSort" => true));
?>
</div>

<div class="span-17 last">
  <div id="content-container" class="box">
  
  <div id="now-viewing">
      Viewing client <?php 
echo $client->getName();
?>
 
      <?php 
echo image_tag("loading.gif", array("id" => "ajax-loading"));
?>
  </div>
  
  <?php 
echo link_to_function("Delete Client", "confirmDelete()");
?>
  <hr class="space" />
  
开发者ID:adatta02,项目名称:comp190-code,代码行数:30,代码来源:showSuccess.php

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

示例5: 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>
开发者ID:solutema,项目名称:siwapp-sf1,代码行数:31,代码来源:editSuccess.php

示例6: 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');
开发者ID:solutema,项目名称:siwapp-sf1,代码行数:31,代码来源:editSuccess.php

示例7: 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>
开发者ID:solutema,项目名称:siwapp-sf1,代码行数:31,代码来源:editSuccess.php

示例8: 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">
开发者ID:solutema,项目名称:siwapp-sf1,代码行数:31,代码来源:editSuccess.php

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

示例10: count

        echo $style;
        ?>
">
                                    <td width="10%" rowspan="<?php 
        echo count($career_subject_school_years[$year]) + 1;
        ?>
">
                                        <?php 
        echo $year;
        ?>
                                    </td>
                                    <?php 
        foreach ($career_subject_school_years[$year] as $career_subject) {
            ?>
                                        <?php 
            include_javascripts_for_form($forms[$career_subject->getId()]);
            ?>
                                        <?php 
            use_helper('Form');
            ?>
                                        <?php 
            echo $forms[$career_subject->getId()]->renderHiddenFields();
            ?>
                                    <tr>
                                        <td><?php 
            echo $forms[$career_subject->getId()]['mark']->renderLabel();
            ?>
</td>
                                        <td><?php 
            echo $forms[$career_subject->getId()]['school_year']->renderError();
            ?>
开发者ID:nvidela,项目名称:kimkelen,代码行数:31,代码来源:makeUpEquivalenceSuccess.php

示例11: 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();
?>
开发者ID:GarraouiMarwen,项目名称:open-stock-management,代码行数:31,代码来源:_salesorderHeader.php

示例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';
开发者ID:nainit-virtueinfo,项目名称:visymfony,代码行数:31,代码来源:_addEdit.php

示例13: 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();
}
开发者ID:quafzi,项目名称:timpany-prototype,代码行数:20,代码来源:aSubCrudHelper.php

示例14: 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>
开发者ID:romankallweit,项目名称:swingmachine,代码行数:28,代码来源:_form.php

示例15: 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 
开发者ID:jasonkouoft,项目名称:SkuleCourses,代码行数:31,代码来源:_form.php


注:本文中的include_javascripts_for_form函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。