本文整理汇总了PHP中html::submitButton方法的典型用法代码示例。如果您正苦于以下问题:PHP html::submitButton方法的具体用法?PHP html::submitButton怎么用?PHP html::submitButton使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类html
的用法示例。
在下文中一共展示了html::submitButton方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
?>
</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';
示例2: inlink
?>
<form method='post' action='<?php
echo inlink('confirm');
?>
'>
<div class='container'>
<div class='modal-dialog'>
<div class='modal-header'>
<h3><?php
echo $lang->upgrade->selectVersion;
?>
</h3>
</div>
<div class='modal-body'>
<div class='form-group'>
<?php
echo html::select('fromVersion', $lang->upgrade->fromVersions, $version, "class='form-control single-input'");
echo " <span class='text-danger help-inline'>{$lang->upgrade->versionNote}</span>";
?>
</div>
</div>
<div class='modal-footer'>
<?php
echo html::submitButton($lang->upgrade->common);
?>
</div>
</div>
</div>
</form>
<?php
include '../../install/view/footer.html.php';
示例3:
?>
<?php
echo html::a('javascript:;', "<i class='icon-remove'></i>", "class='btn btn-link pull-left btn-mini btn-remove'");
?>
</div>
</div>
<?php
$key++;
}
?>
</td>
</tr>
<tr>
<th></th>
<td colspan='2'><?php
echo html::submitButton();
?>
</td>
</tr>
</table>
</form>
<div class='hide row-custom'>
<div class='row form-group'>
<div class="col-xs-3"> <?php
echo html::input('label[key]', '', "class='form-control' placeholder='{$lang->product->placeholder->label}'");
?>
</div>
<div class="col-xs-8"> <?php
echo html::input('value[key]', '', "class='form-control' placeholder='{$lang->product->placeholder->value}'");
?>
示例4:
echo $block->title;
?>
</strong></div>
<div class='panel-body text-center'><?php
echo $lang->block->textExample;
?>
</div>
</div>
</div>
</div>
<?php
}
?>
</div>
<div class='form-footer'>
<?php
echo html::submitButton() . html::hidden('blockID', $block->id);
?>
<?php
echo html::a($this->createLink('guarder', 'validate', "url=&target=modal&account=&type=okFile"), $lang->save, "data-toggle='modal' class='hidden captchaModal'");
?>
</th>
<?php
echo html::a($this->session->blockList, $this->lang->goback, "class='btn btn-default btn-cancel'");
?>
</div>
</div>
</div>
</form>
<?php
include '../../common/view/footer.admin.html.php';
示例5:
$maxOrder = $sonModule->order;
}
$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>
示例6:
/>
<?php
echo $this->lang->block->titleless;
?>
<label>
</td>
<td class='w-100px'>
<label>
<input type='checkbox' name='borderless' value='1' <?php
if (zget($block, 'borderless') == 1) {
echo 'checked';
}
?>
/>
<?php
echo $this->lang->block->borderless;
?>
<label>
</td>
</tr>
<tr>
<td></td>
<td colspan='2'> <?php
echo html::submitButton() . html::hidden('page', $layout->page) . html::hidden('region', $layout->region) . html::hidden('block', $block->id);
?>
</td>
</tr>
</table>
</form>
<?php
include "footer.html.php";
示例7:
<label class='col-md-2 control-label'>分类属性</label>
<div class="col-md-4">
<input type="hidden" name="attr_id[]"/>
<input type="text" name="attr_name[]" class="form-control" placeholder="分类的属性" />
</div>
<div class="col-md-2">
<a href="javascript:;">
<i class="icon-plus" data-type='attr'></i>
</a>
</div>
</div>
<div class='form-group' id='edit_submit'>
<label class='col-md-2'></label>
<div class='col-md-4'><?php
echo html::submitButton() . html::hidden('type', $category->type);
?>
</div>
</div>
</div>
</div>
<?php
if (isset($pageJS)) {
js::execute($pageJS);
}
?>
</form>
示例8:
/**
* The test view file of mail module of ZenTaoPMS.
*
* @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 <wwccss@cnezsoft.com>
* @package mail
* @version $Id$
* @link http://www.zentao.net
*/
include '../../common/view/header.html.php';
?>
<form method='post' target='hiddenwin'>
<table class='table-4' align='center'>
<caption><?php
echo $lang->mail->test;
?>
</caption>
<tr>
<td class='a-center'>
<?php
echo html::select('to', $users, $app->user->account);
echo html::submitButton($lang->mail->test);
echo html::linkButton($lang->mail->edit, $this->inLink('edit'));
?>
</td>
</tr>
</table>
</form>
<?php
include '../../common/view/footer.html.php';
示例9:
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package extension
* @version $Id$
* @link http://www.zentao.net
*/
include '../../common/view/header.lite.html.php';
?>
<div id='titlebar'>
<div class='heading'>
<span class='prefix'><?php
echo html::icon('upload');
?>
</span>
<strong><?php
echo $lang->extension->upload;
?>
</strong>
</div>
</div>
<form method='post' enctype='multipart/form-data' style='padding: 5% 20%'>
<div class='input-group'>
<input type='file' name='file' class='form-control' />
<span class='input-group-btn'><?php
echo html::submitButton($lang->extension->install);
?>
</span>
</div>
</form>
</body>
</html>
示例10: htmlspecialchars
</label>
<div class='col-md-11 col-sm-10'><?php
echo html::textarea('content', htmlspecialchars($reply->content), "rows='15' class='form-control'");
?>
</div>
</div>
<div class='form-group'>
<label class='col-md-1 col-sm-2 control-label'><?php
echo $lang->thread->file;
?>
</label>
<div class='col-md-7 col-sm-8 col-xs-11'>
<?php
$this->reply->printFiles($reply, $canManage = true);
echo $this->fetch('file', 'buildForm');
?>
</div>
</div>
<div class='form-group hiding' id='captchaBox'></div>
<div class='form-group'>
<label class='col-md-1 col-sm-2'></label>
<div class='col-md-11 col-sm-10'><?php
echo html::submitButton() . ' ' . html::backButton();
?>
</div>
</div>
</form>
</div>
</div>
<?php
include TPL_ROOT . 'common/footer.html.php';
示例11: htmlspecialchars
<th><?php
echo $lang->release->desc;
?>
</th>
<td colspan='2'><?php
echo html::textarea('desc', htmlspecialchars($release->desc), "rows=10 class='form-control'");
?>
</td>
</tr>
<tr>
<th><?php
echo $lang->files;
?>
</th>
<td colspan='2'><?php
echo $this->fetch('file', 'buildform', array('fileCount' => 1));
?>
</td>
</tr>
<tr>
<td></td>
<td colspan='2'><?php
echo html::submitButton() . html::backButton() . html::hidden('product', $release->product);
?>
</td>
</tr>
</table>
</form>
</div>
<?php
include '../../common/view/footer.html.php';
示例12: printf
<?php
$times += $effort->consumed;
?>
<?php
}
?>
</tbody>
<tfoot>
<tr>
<td colspan='7'>
<div class='table-actions clearfix'>
<?php
if ($efforts) {
echo html::selectAll() . html::selectReverse();
if (common::hasPriv('effort', 'batchEdit')) {
echo html::submitButton($lang->effort->batchEdit);
}
}
if ($times) {
printf('<div class="text">' . $lang->company->effort->timeStat . '</div>', $times);
}
?>
</div>
<?php
$pager->show();
?>
</td>
</tr>
</tfoot>
</table>
</form>
示例13:
<div class='panel-heading'>
<strong><?php
echo $lang->task->report->select;
?>
</strong>
</div>
<div class='panel-body' style='padding-top:0'>
<form method='post'>
<?php
echo html::checkBox('charts', $lang->task->report->charts, $checkedCharts, '', 'block');
?>
<?php
echo html::selectAll('', "button", false, 'btn-sm');
?>
<?php
echo html::submitButton($lang->task->report->create, "", 'btn-sm btn-primary');
?>
</form>
</div>
</div>
</div>
<div class='col-md-9 col-lg-10'>
<div class='panel panel-sm'>
<div class='panel-heading'>
<strong><?php
echo $lang->task->report->common;
?>
</strong>
</div>
<table class='table active-disabled'>
<?php
示例14:
</tr>
<tr>
<th><?php
echo $lang->contact->qq;
?>
</th>
<td><?php
echo html::input('qq', '', "class='form-control'");
?>
</td>
</tr>
</tbody>
</table>
<div class='text-center'>
<?php
echo html::submitButton() . html::commonButton($lang->goback, 'reloadModal btn');
?>
<div id='duplicateError' class='hide'></div>
</div>
</form>
<div class='errorMessage hide'>
<div class='alert alert-danger alert-dismissable'>
<button aria-hidden='true' data-dismiss='alert' class='close' type='button'>×</button>
<button type='submit' class='btn btn-default' id='continueSubmit'><?php
echo $lang->continueSave;
?>
</button>
</div>
</div>
<?php
include '../../../sys/common/view/footer.modal.html.php';
示例15: strtotime
?>
</div>
</div>
<div class='form-group'>
<div class='input-group'>
<span class='input-group-addon'><?php
echo $lang->company->endDate;
?>
</span>
<?php
echo html::input('end', $end, 'class="form-control form-date"');
?>
</div>
</div>
<div class='form-group'><?php
echo html::submitButton($lang->company->effort->view);
?>
</div>
</div>
</div>
</form>
</div>
<div class="main">
<div id='showdata' data-url='<?php
echo $this->createLink('company', 'todo', "dept={$parent}&begin=" . strtotime($begin) . "&end=" . strtotime($end) . "&iframe=yes");
?>
'>
<div style='background: #f1f1f1; padding: 40px;' class='text-center'><i class='icon-spinner icon-spin' style='font-size: 28px'></i></div>
</div>
</div>
<?php