本文整理匯總了PHP中html::hidden方法的典型用法代碼示例。如果您正苦於以下問題:PHP html::hidden方法的具體用法?PHP html::hidden怎麽用?PHP html::hidden使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類html
的用法示例。
在下文中一共展示了html::hidden方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: isset
<?php
$value = isset($setting[$params['name']]) ? $setting[$params['name']] : '';
?>
<div class='col-sm-3'><?php
$this->ui->printFormControl($label, $params, $value);
?>
</div>
<?php
}
?>
</div>
</td>
</tr>
<?php
}
}
?>
</table>
</div>
<?php
}
?>
</div>
<div class="form-footer">
<?php
echo html::hidden('css', $css) . html::hidden('theme', $theme) . html::hidden('template', $template) . html::submitButton();
?>
</div>
</form>
<?php
include '../../common/view/footer.modal.html.php';
示例2:
$disabled = $sonModule->type == 'task' ? '' : 'disabled="true"';
echo '<span>' . html::input("modules[id{$sonModule->id}]", $sonModule->name, 'class=form-control ' . $disabled) . '</span>';
}
for ($i = 0; $i < TREE::NEW_CHILD_COUNT; $i++) {
echo '<span>' . html::input("modules[]", '', 'class=form-control') . '</span>';
}
?>
</td>
</tr>
<tr>
<td></td>
<td colspan='2'>
<?php
echo html::submitButton() . html::backButton();
echo html::hidden('parentModuleID', $currentModuleID);
echo html::hidden('maxOrder', $maxOrder);
?>
<input type='hidden' value='<?php
echo $currentModuleID;
?>
' name='parentModuleID' />
</td>
</tr>
</table>
</div>
</div>
</form>
</div>
</div>
<?php
示例3:
echo html::a(inlink('page', "mode={$code}"), $modeName);
?>
</li>
<?php
}
?>
<li>
<form method='get'>
<?php
echo html::hidden('m', 'stat') . html::hidden('f', 'report');
?>
<?php
echo html::hidden('mode', 'fixed');
?>
<?php
echo html::hidden('orderBy', 'pv_desc');
?>
<table class='table table-borderless'>
<tr>
<td style='padding:4px'>
<?php
echo html::input('begin', $this->get->begin, "placeholder='{$lang->stat->begin}' class='form-date w-120px'");
?>
<?php
echo html::input('end', $this->get->end, "placeholder='{$lang->stat->end}' class='form-date w-120px'");
?>
<?php
echo html::submitButton($lang->stat->view, "btn btn-xs btn-info");
?>
</td>
示例4:
<div class='child hide'>
<div class='form-group category'>
<div class='col-xs-6 col-md-4 col-md-offset-2'><?php
echo html::input("children[]", '', "class='form-control' placeholder='{$this->lang->category->name}'");
?>
</div>
<div class='col-xs-6 col-md-4'><?php
echo html::input("alias[]", '', "class='form-control' placeholder='{$this->lang->category->alias}'");
?>
</div>
<div class='col-xs-6 col-md-2'>
<?php
echo "<i class='icon-move sort-handle'> </i>";
?>
<?php
echo html::a('javascript:;', "<i class='icon-plus'></i>", "class='btn btn-link pull-left btn-mini btn-plus'");
?>
<?php
echo html::a('javascript:;', "<i class='icon-remove'></i>", "class='btn btn-link pull-left btn-mini btn-remove'");
?>
</div>
<?php
echo html::hidden('mode[]', 'new');
?>
</div>
</div>
<?php
js::set('maxID', $maxID);
if (isset($pageJS)) {
js::execute($pageJS);
}
示例5: function
?>
'>
<div class='form-group' id='reply'>
<?php
echo html::textarea('content', '', "rows='6' class='form-control' placeholder='{$lang->reply->content}'");
?>
</div>
<div class='form-group clearfix captcha-box hide'></div>
<div class='form-group'><?php
echo html::submitButton('', 'btn primary block');
?>
</div>
<?php
echo html::hidden('recTotal', $pager->recTotal);
echo html::hidden('recPerPage', $pager->recPerPage);
echo html::hidden('pageID', $pager->pageTotal);
?>
</form>
</div>
</div>
</div>
</div>
<script>
$(function()
{
$.refreshRepliesList = function()
{
$('#repliesListWrapper').load(window.location.href + ' #repliesList', function()
{
$(window).scrollTop($('#bottomSpace').offset().top);
});
示例6:
<td><?php
echo html::select("types[{$i}]", $lang->bug->typeList, $type, "class='form-control'");
?>
</td>
<td><?php
echo html::select("severities[{$i}]", $lang->bug->severityList, '', "class='form-control'");
?>
</td>
<td><?php
echo html::select("oses[{$i}]", $lang->bug->osList, $os, "class='form-control'");
?>
</td>
<td>
<?php
echo html::select("browsers[{$i}]", $lang->bug->browserList, $browser, "class='form-control'");
echo html::hidden("uploadImage[{$i}]", $fileName);
?>
</td>
</tr>
<?php
$i++;
?>
<?php
}
?>
<?php
}
?>
<?php
$nextStart = $i;
?>
示例7: array
?>
<div class='w-p10 f-left'><?php
echo '<span>' . html::checkbox('members', array($account => $realname), '') . '</span>';
?>
</div>
<?php
if ($i % 8 == 0) {
echo "<div class='c-both'></div>";
}
$i++;
?>
<?php
}
?>
</td>
</tr>
<tr>
<th class='rowhead'></th>
<td class='a-center'>
<?php
echo html::submitButton();
echo html::linkButton($lang->goback, $this->createLink('group', 'browse'));
echo html::hidden('foo');
// Just a var, to make sure $_POST is not empty.
?>
</td>
</tr>
</table>
</form>
<?php
include '../../common/view/footer.html.php';
示例8:
*
* @copyright Copyright 2009-2012 青島易軟天創網絡科技有限公司 (QingDao Nature Easy Soft Network Technology Co,LTD www.cnezsoft.com)
* @license LGPL (http://www.gnu.org/licenses/lgpl.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package project
* @version $Id: manageproducts.html.php 3420 2012-08-28 06:37:10Z wwccss $
* @link http://www.zentao.net
*/
include '../../common/view/header.html.php';
?>
<form method='post'>
<table align='center' class='table-6'>
<caption><?php
echo $lang->project->manageProducts;
?>
</caption>
<tr>
<td id='productsBox'><?php
echo html::checkbox("products", $allProducts, $linkedProducts);
echo html::hidden("post", 'post');
?>
</td>
</tr>
<tr><td class='a-center'><?php
echo html::submitButton();
?>
</td></tr>
</table>
</form>
<?php
include '../../common/view/footer.html.php';
示例9:
echo html::a('', $lang->save, "data-toggle='modal' class='hidden captchaModal'");
?>
</th>
<td>
<div id="popup-captcha"></div>
<input type="submit" class="btn btn-primary btn" id="popup-submit" value="登錄"/>
<?php
if (!empty($this->config->site->yangcong)) {
echo html::a(helper::createLink('yangcong', 'qrcode', "referer=" . helper::safe64Encode($referer)), "<i class='icon icon-qrcode icon-lg'> {$lang->user->yangcongLogin}</i>", "class='btn btn-success pull-right' data-toggle='modal'");
}
?>
</td>
</tr>
</table>
<?php
echo html::hidden('referer', $referer);
?>
</div>
</div>
</form>
</div>
</div>
<?php
if ($config->debug) {
js::import($jsRoot . 'jquery/form/min.js');
}
if (isset($pageJS)) {
js::execute($pageJS);
}
?>
<!-- 引入封裝了failback的接口initGeetest -->
示例10:
?>
</td>
<td><?php
echo html::a($this->createLink('mail', 'sendmailcode'), $lang->user->getEmailCode, "id='mailSender' class='btn btn-xs'");
?>
</td>
</tr>
<tr>
<th><?php
echo $lang->user->captcha;
?>
</th>
<td><?php
echo html::input('captcha', '', "class='form-control'");
?>
</td>
</tr>
<tr>
<th></th>
<td><?php
echo html::submitButton() . html::hidden('referer', $referer);
?>
</td>
</tr>
</table>
</form>
</div>
</div>
</div>
<?php
include TPL_ROOT . 'common/footer.html.php';
示例11:
<label class='checkbox'><input type='checkbox' name='receiveEmail' value='1' checked /> <?php
echo $lang->comment->receiveEmail;
?>
</label>
</div>
</div>
<div class='form-group'>
<label for='content' class='col-sm-1 control-label'><?php
echo $lang->message->content;
?>
</label>
<div class='col-sm-11 required'>
<?php
echo html::textarea('content', '', "class='form-control' rows='3'");
echo html::hidden('objectType', 'message');
echo html::hidden('objectID', 0);
?>
</div>
</div>
<div class='form-group hiding' id='captchaBox'></div>
<div class='form-group'>
<div class='col-sm-1'></div>
<div class='col-sm-11'><label class='checkbox'><input type='checkbox' name='secret' value='1' /><?php
echo $lang->message->secret;
?>
</label></div>
</div>
<div class='form-group'>
<div class='col-sm-1'></div>
<div class='col-sm-11 col-sm-offset-1'>
<span><?php
示例12:
echo $lang->project->gantt->task;
?>
</th>
<th class='w-110px'><?php
echo $lang->project->gantt->action;
?>
</th>
</tr>
</thead>
<tbody>
<?php
for ($i = 1; $i <= 5; $i++) {
?>
<tr>
<td class='text-center'><?php
echo $i . html::hidden("newid[{$i}]", $i);
?>
</td>
<td style='overflow:visible'><?php
echo html::select("newpretask[{$i}]", $tasks, '', "class='form-control chosen' onchange='deleteself(this, {$i}, \"new\")'");
?>
</td>
<td><?php
echo html::select("newcondition[{$i}]", $lang->project->gantt->preTaskStatus, '', 'class=form-control');
?>
</td>
<td style='overflow:visible'><?php
echo html::select("newtask[{$i}]", $tasks, '', "class='form-control chosen'");
?>
</td>
<td><?php
示例13: printf
<td class='w-200px text-center text-middle'>
<strong class='text-danger'><?php
echo $currencySymbol;
?>
</strong>
<strong class='text-danger amountContainer'><?php
echo $amount;
?>
</strong>
</td>
<td class='text-middle text-center'>
<?php
echo html::a(helper::createLink('cart', 'delete', "product={$product->id}"), $lang->delete, "class='cartDeleter'");
?>
<?php
echo html::hidden("product[]", $product->id);
?>
</td>
</tr>
<?php
}
?>
</table>
</div>
<div class='panel-footer text-right'>
<?php
printf($lang->order->selectProducts, count($products));
?>
<?php
printf($lang->order->totalToPay, $currencySymbol . $total);
?>
示例14:
</span></strong></td>
</tr>
<tr>
<th class='small'><?php
echo $lang->order->count;
?>
</th>
<td>
<?php
echo $product->count;
?>
<?php
echo html::hidden("product[{$product->id}]", $product->id);
?>
<?php
echo html::hidden("count[{$product->id}]", $product->count);
?>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<?php
}
?>
</div>
<hr class='space'>
<div class='alert bg-primary-pale'>
<?php
示例15: foreach
</th>
<th class='w-120px'><?php
echo $lang->story->closedReason;
?>
</th>
<th class='w-p30 '> <?php
echo $lang->story->comment;
?>
</th>
</tr>
<?php
foreach ($editedStories as $story) {
?>
<tr class='a-center'>
<td><?php
echo $story->id . html::hidden("storyIDList[{$story->id}]", $story->id);
?>
</td>
<td class='a-left'><?php
echo $story->title;
?>
</td>
<td><?php
echo $lang->story->statusList[$story->status];
?>
</td>
<?php
if ($story->status != 'closed') {
?>
<td>