本文整理汇总了PHP中html::backButton方法的典型用法代码示例。如果您正苦于以下问题:PHP html::backButton方法的具体用法?PHP html::backButton怎么用?PHP html::backButton使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类html
的用法示例。
在下文中一共展示了html::backButton方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: htmlspecialchars
<?php
echo html::textarea('content', htmlspecialchars($reply->content), "rows=20 class='area-1' tabindex=1");
?>
</td>
</tr>
<tr>
<th><?php
echo $lang->thread->file;
?>
</th>
<td>
<?php
if ($reply->files) {
foreach ($reply->files as $file) {
echo html::a($file->fullURL, $file->title . '.' . $file->extension, "target='_blank'") . ' ' . html::linkButton('X', inlink('deleteFile', "fileID={$file->id}&objectID={$reply->id}&objectType=reply"), 'btn btn-default', '', 'hiddenwin');
}
}
echo $this->fetch('file', 'buildForm');
?>
</td>
</tr>
<tr>
<th></th>
<td colspan='2' align='center'><?php
echo html::submitButton('', 'btn btn-primary', 'onclick="return checkGarbage(\'content\')" tabindex=2') . html::backButton();
?>
</td></tr>
</table>
</form>
<?php
include '../../common/view/footer.html.php';
示例2: checkPassword
<tr>
<th class='w-120px'><?php
echo $lang->user->verifyPassword;
?>
</th>
<td>
<div class="required required-wrapper"></div>
<?php
echo html::password('verifyPassword', '', "class='form-control' placeholder='{$lang->user->placeholder->verify}'");
?>
</td>
</tr>
</table>
</fieldset>
<div class='text-center'><?php
echo html::submitButton('', '', 'btn-primary') . ' ' . html::backButton();
?>
</div>
</form>
</div>
<?php
js::set('passwordStrengthList', $lang->user->passwordStrengthList);
?>
<script>
function checkPassword(password)
{
$('#passwordStrength').html(password == '' ? '' : passwordStrengthList[computePasswordStrength(password)]);
}
</script>
<?php
include '../../common/view/footer.html.php';
示例3:
$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>
示例4:
echo $lang->article->title;
?>
</th>
<td colspan='2'><?php
echo html::input('title', '', "class='form-control'");
?>
</td>
</tr>
<tr>
<th><?php
echo $lang->article->content;
?>
</th>
<td colspan='2'><?php
echo html::textarea('content', '', "rows='20' class='form-control'");
?>
</td>
</tr>
<tr>
<th></th>
<td colspan='2'><?php
echo html::submitButton() . html::hidden('type', 'announce') . ' ' . html::backButton();
?>
</td>
</tr>
</table>
</form>
</div>
</div>
<?php
include '../../common/view/footer.html.php';
示例5: array
</td>
</tr>
<tr>
<th><?php
echo $lang->build->files;
?>
</th>
<td colspan='2'><?php
echo $this->fetch('file', 'buildForm', array('fileCount' => 1));
?>
</td>
</tr>
<tr>
<th><?php
echo $lang->build->desc;
?>
</th>
<td colspan='2'><?php
echo html::textarea('desc', htmlspecialchars($build->desc), "rows='10' class='form-control'");
?>
</td>
</tr>
<tr><td></td><td colspan='2'><?php
echo html::submitButton() . html::backButton() . html::hidden('project', $build->project);
?>
</td></tr>
</table>
</form>
</div>
<?php
include '../../common/view/footer.html.php';
示例6: 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';
示例7:
echo $lang->cron->remark;
?>
</th>
<td colspan='2'><?php
echo html::input('remark', $cron->remark, "class='form-control'");
?>
</td>
</tr>
<tr>
<th><?php
echo $lang->cron->type;
?>
</th>
<td><?php
echo html::select('type', $lang->cron->typeList, $cron->type, "class='form-control'");
?>
</td>
</tr>
<tr>
<th></th>
<td><?php
echo html::submitButton() . " " . html::backButton();
?>
</td>
</tr>
</table>
</form>
</div>
</div>
<?php
include '../../common/view/footer.html.php';
示例8:
<th><?php
echo $lang->doc->digest;
?>
</th>
<td colspan='2'><?php
echo html::textarea('digest', '', "class='form-control' rows=3");
?>
</td>
</tr>
<tr id='fileBox'>
<th><?php
echo $lang->doc->files;
?>
</th>
<td colspan='2'><?php
echo $this->fetch('file', 'buildform');
?>
</td>
</tr>
<tr>
<td></td>
<td><?php
echo html::submitButton() . html::backButton() . html::hidden('lib', $libID);
?>
</td>
</tr>
</table>
</form>
</div>
<?php
include '../../common/view/footer.html.php';
示例9:
<td><?php
echo html::select("group[{$i}]", $groups, $i == 0 ? '' : 'ditto', 'class="form-control"');
?>
</td>
</tr>
<?php
}
?>
</tbody>
<tfoot>
<tr>
<td colspan='5' align='left'>
<?php
echo html::selectAll() . html::selectReverse();
?>
<?php
$pager->show();
?>
</td>
</tr>
<tr>
<td colspan='5' align='center'><?php
echo html::submitButton() . html::backButton() . ' ' . $lang->user->notice->checkbox;
?>
</td>
</tr>
</tfoot>
</table>
</form>
<?php
include '../../../common/view/footer.html.php';
示例10:
$maxOrder = $sonDept->order;
}
echo html::input("depts[id{$sonDept->id}]", $sonDept->name, "class='form-control'");
}
for ($i = 0; $i < DEPT::NEW_CHILD_COUNT; $i++) {
echo html::input("depts[]", '', "class='form-control'");
}
?>
</td>
<td></td>
</tr>
<tr>
<td></td>
<td>
<?php
echo html::submitButton() . html::backButton() . html::hidden('maxOrder', $maxOrder);
?>
<input type='hidden' value='<?php
echo $deptID;
?>
' name='parentDeptID' />
</td>
</tr>
</table>
</form>
</div>
</div>
</div>
</div>
</div>
示例11:
<tr>
<th class='rowhead'><?php
echo $lang->bug->keywords;
?>
</th>
<td><?php
echo html::input('keywords', $keywords, "class='text-1'");
?>
</td>
</tr>
<tr>
<th class='rowhead'><?php
echo $lang->bug->files;
?>
</th>
<td><?php
echo $this->fetch('file', 'buildform', 'fileCount=2&percent=0.85');
?>
</td>
</tr>
<tr>
<td colspan='2' class='a-center'>
<?php
echo html::submitButton() . html::backButton() . html::hidden('case', $caseID);
?>
</td>
</tr>
</table>
</form>
<?php
include '../../common/view/footer.html.php';
示例12:
<tr>
<th><?php echo $lang->doc->info;?></th>
<td colspan='2'><?php echo html::textarea('info', '', "class='form-control' style='width:90%; height:200px'");?></td>
</tr>
<tr>
<th><?php echo $lang->doc->remark;?></th>
<td colspan='2'><?php echo html::textarea('remark', '', "class='form-control' style='width:90%; height:200px'");?></td>
</tr>
<tr>
<th><?php echo $lang->doc->add_user;?></th>
<td colspan='2'><?php echo html::input('add_user', '', "class='form-control'");?></td>
</tr>
<tr>
<th><?php echo $lang->doc->add_time;?></th>
<td colspan='2'><?php echo html::input('add_time',date('Y-m-d'), "class='form-control w-100px form-date' onchange='computeWorkDays()' placeholder='" . $lang->doc->add_time . "'");?></td>
</tr>
<tr id='fileBox'>
<th><?php echo $lang->doc->files;?></th>
<td colspan='2'><?php echo $this->fetch('file', 'buildform');?></td>
</tr>
<tr>
<td></td>
<td><?php echo html::submitButton() . html::backButton() . html::hidden('lib', $libID);?></td>
</tr>
</table>
</form>
</div>
<?php include '../../common/view/footer.html.php';?>
示例13: foreach
$maxOrder = 0;
foreach ($children as $child) {
if ($child->order > $maxOrder) {
$maxOrder = $child->order;
}
echo "<div class='form-group'>";
echo "<div class='col-xs-6 col-md-4 col-md-offset-2'>" . html::input("children[{$child->id}]", $child->name, "class='form-control'") . "</div>";
echo "</div>";
echo html::hidden("mode[{$child->id}]", 'update');
}
for ($i = 0; $i < TREE::NEW_CHILD_COUNT; $i++) {
echo "<div class='form-group'>";
echo "<div class='col-xs-6 col-md-4 col-md-offset-2'>" . html::input("children[]", '', "class='form-control' placeholder='{$this->lang->category->common}'") . "</div>";
echo "</div>";
echo html::hidden('mode[]', 'new');
}
if ($type == 'forum' and $boardChildrenCount == 0) {
echo "<div class='form-group'><div class='col-xs-6 col-md-4 col-md-offset-2'><div class='alert alert-warning mg-0'>{$this->lang->board->placeholder->setChildren}</div></div></div>";
}
$button = $type == 'dept' ? html::submitButton() . html::backButton() : html::submitButton();
echo "<div class='form-group'><div class='col-xs-8 col-md-offset-2'>" . $button . "</div></div>";
echo html::hidden('parent', $parent);
echo html::hidden('maxOrder', $maxOrder);
?>
</div>
</div>
</form>
<?php
if (isset($pageJS)) {
js::execute($pageJS);
}
示例14: zget
</td>
<td><?php
echo html::select("pri[{$bug->id}]", $lang->task->priList, 3);
?>
</td>
<td><?php
echo html::select("assignedTo[{$bug->id}]", $users, zget($users, $bug->assignedTo, '', $bug->assignedTo));
?>
</td>
<td><?php
echo html::input("estimate[{$bug->id}]", '', 'size=4');
?>
</td>
</tr>
<?php
}
?>
</tbody>
<tr><td colspan='9'><div class='f-right'><?php
$pager->show();
?>
</div></td></tr>
</table>
<div><?php
echo html::selectAll() . html::selectReverse() . html::submitButton($lang->import) . html::backButton();
?>
</div>
</form>
</div>
<?php
include '../../common/view/footer.html.php';
示例15: join
<td><?php
echo html::input("consumed[{$id}]", $effort->consumed, 'autocomplete="off" class="form-control"');
?>
</td>
<td><?php
$disabled = $effort->objectType == 'task' ? '' : 'disabled';
echo html::input("left[{$id}]", $effort->left, "autocomplete='off' class='{$disabled} form-control' " . $disabled);
?>
</td>
<td style='overflow:visible'><?php
echo html::select("objectType[{$id}]", $typeList, "{$effort->objectType}_{$effort->objectID}", 'tabindex="9999" onchange=setLeftInput(this) class="form-control chosen"');
?>
</tr>
<?php
}
?>
<tr>
<td colspan='6' class='text-center'>
<?php
echo html::hidden('effortIDList', join(',', $_POST['effortIDList']));
?>
<?php
echo html::submitButton('', "onclick='return checkTaskLeft(\"{$lang->effort->noticeFinish}\")'") . html::backButton();
?>
</td>
</tr>
</table>
</form>
<?php
include '../../common/view/footer.html.php';