本文整理汇总了PHP中html::selectAll方法的典型用法代码示例。如果您正苦于以下问题:PHP html::selectAll方法的具体用法?PHP html::selectAll怎么用?PHP html::selectAll使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类html
的用法示例。
在下文中一共展示了html::selectAll方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: sprintf
echo html::a("javascript:ajaxDelete(\"{$unlinkURL}\",\"leftBugList\",confirmUnlinkBug)", '<i class="icon-unlink"></i>', '', "class='btn-icon' title='{$lang->release->unlinkBug}'");
}
?>
</td>
</tr>
<?php
}
?>
<tfoot>
<tr>
<td colspan='7'>
<div class='table-actions clearfix'>
<div class='text'>
<?php
if ($countLeftBugs and $canBatchUnlink) {
echo "<div class='table-actions clearfix'><div class='btn-group'>" . html::selectAll('linkedBugsForm') . html::selectReverse('linkedBugsForm') . '</div>' . html::submitButton($lang->release->batchUnlink) . '</div>';
}
?>
<?php
echo sprintf($lang->release->createdBugs, $countLeftBugs);
?>
</div>
</div>
</td>
</tr>
</tfoot>
</table>
</form>
</div>
</div>
</div>
示例2:
}
?>
</table>
</div>
</div>
<div class='col-md-6'>
<div class='panel panel-sm contentDiv'>
<div class='panel-heading'><?php
echo html::icon($lang->icons['bug']) . ' ' . $lang->release->linkBugs;
?>
</div>
<table class='table table-borderless table-condensed table-hover table-fixed'>
<thead>
<tr>
<th class='w-id text-left'><?php
echo html::selectAll('bug', 'checkbox') . $lang->idAB;
?>
</th>
<th><?php
echo $lang->bug->title;
?>
</th>
<th class='w-100px'><?php
echo $lang->bug->status;
?>
</th>
</tr>
</thead>
<?php
foreach ($bugs as $bug) {
?>
示例3:
</div>
<table class='cont-lt1'>
<tr valign='top'>
<td class='side'>
<div class='box-title'><?php
echo $lang->story->report->select;
?>
</div>
<div class='box-content'>
<form method='post'>
<?php
echo html::checkBox('charts', $lang->story->report->charts, $checkedCharts);
?>
<?php
echo html::selectAll();
?>
<?php
echo html::selectReverse();
?>
<br /><br />
<?php
echo html::submitButton($lang->story->report->create);
?>
</div>
</td>
<td class='divider'></td>
<td>
<table class='table-1'>
<caption><?php
echo $lang->story->report->common;
示例4: 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';
示例5: array
</div>
<?php
if ($i % 8 == 0) {
echo "<div class='c-both'></div>";
}
$i++;
?>
<?php
}
?>
</td>
</tr>
<tr>
<th class='rowhead'><?php
echo $lang->group->outside;
echo html::selectAll('other', 'checkbox');
?>
</th>
<td id='other' class='f-14px pv-10px'><?php
$i = 1;
?>
<?php
foreach ($otherUsers as $account => $realname) {
?>
<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>";
示例6: inLink
</td>
<td><?php
echo $lang->bug->statusList[$bug->status];
?>
</td>
</tr>
<?php
}
?>
</tbody>
<tfoot>
<tr>
<td colspan='6' class='text-left'>
<?php
if (count($allBugs)) {
echo "<div class='table-actions clearfix'><div class='btn-group'>" . html::selectAll('unlinkedBugsForm') . html::selectReverse('unlinkedBugsForm') . '</div>' . html::submitButton($lang->productplan->linkBug) . '</div>';
}
?>
</td>
</tr>
</tfoot>
</table>
</form>
<hr class='mg-0'>
<form method='post' target='hiddenwin' action="<?php
echo inLink('batchUnlinkBug');
?>
" id='linkedBugsForm'>
<table class='table table-condensed table-hover table-striped tablesorter table-fixed'>
<caption class='text-left text-important'><?php
echo html::icon('unlink');
示例7:
?>
'><?php
echo $lang->bug->statusList[$bug->status];
?>
</td>
</tr>
<?php
}
?>
</tbody>
<tfoot>
<tr>
<td colspan='6' class='text-left'>
<?php
if (count($allBugs)) {
echo "<div class='table-actions clearfix'>";
echo "<div class='btn-group'>" . html::selectAll($formID) . html::selectReverse($formID) . '</div>';
echo html::submitButton($lang->release->linkBug) . html::a(inlink('view', "releaseID={$release->id}&type={$type}"), $lang->goback, '', "class='btn'") . '</div>';
}
?>
</td>
</tr>
</tfoot>
</table>
</form>
</div>
<script>$(function(){ajaxGetSearchForm('#<?php
echo $type == 'bug' ? 'bugs' : 'leftBugs';
?>
.linkBox #querybox')})</script>
示例8:
if ($i % 4 == 0) {
echo "<div class='c-both'></div>";
}
$i++;
?>
<?php
}
?>
</td>
</tr>
<?php
}
?>
<tr>
<th class='rowhead'><?php
echo $lang->selectAll . html::selectAll('', 'checkbox');
?>
</th>
<td>
<?php
echo html::submitButton($lang->save, "onclick='setNoChecked()'");
echo html::linkButton($lang->goback, $this->createLink('group', 'browse'));
echo html::hidden('foo');
// Just a hidden var, to make sure $_POST is not empty.
echo html::hidden('noChecked');
// Save the value of no checked.
?>
</td>
</tr>
</table>
</form>
示例9:
?>
</td>
<td><?php
common::printIcon('productplan', 'unlinkStory', "story={$story->id}", '', 'list', '', 'hiddenwin');
?>
</td>
</tr>
<?php
}
?>
<?php
if (count($planStories) and $canBatchUnlink) {
?>
<tfoot>
<tr>
<td colspan='9' class='a-left'>
<?php
echo html::selectAll('linkedStoriesForm') . html::selectReverse('linkedStoriesForm');
echo html::submitButton($lang->productplan->batchUnlinkStory);
?>
</td>
</tr>
</tfoot>
<?php
}
?>
</tbody>
</table>
</form>
<?php
include '../../common/view/footer.html.php';
示例10: inLink
</td>
<td><?php
echo $lang->story->stageList[$story->stage];
?>
</td>
</tr>
<?php
}
?>
</tbody>
<tfoot>
<tr>
<td colspan='9' class='text-left'>
<?php
if (count($allStories)) {
echo "<div class='table-actions clearfix'><div class='btn-group'>" . html::selectAll('unlinkedStoriesForm') . html::selectReverse('unlinkedStoriesForm') . '</div>' . html::submitButton($lang->story->linkStory) . '</div>';
}
?>
</td>
</tr>
</tfoot>
</table>
</form>
<hr class='mg-0'>
<form method='post' target='hiddenwin' action="<?php
echo inLink('batchUnlinkStory');
?>
" id='linkedStoriesForm'>
<table class='table table-condensed table-hover table-striped tablesorter table-fixed'>
<caption class='text-left text-important'><?php
echo html::icon('link');
示例11: count
}
?>
</tbody>
<tfoot>
<tr>
<?php
$columns = $this->cookie->windowWidth > $this->config->wideSize ? 14 : 12;
?>
<td colspan='<?php
echo $columns;
?>
'>
<div class='f-left'>
<?php
if (common::hasPriv('task', 'batchEdit') and count($tasks)) {
echo html::selectAll() . html::selectReverse() . html::submitButton($lang->task->batchEdit);
}
printf($lang->project->taskSummary, count($tasks), $statusWait, $statusDoing, $totalEstimate, $totalConsumed, $totalLeft, round($estimate_sum * $pcwh), round($consumed_sum) * $pcwh);
?>
</div>
<?php
$pager->show();
?>
</td>
</tr>
</tfoot>
</table>
</form>
</td>
</tr>
</table>
示例12:
<td class=<?php
echo $task->status;
?>
><?php
echo $lang->task->statusList[$task->status];
?>
</td>
<td class='a-left nobr'>
<?php
if ($task->storyID) {
if (common::hasPriv('story', 'view')) {
echo html::a($this->createLink('story', 'view', "storyid={$task->storyID}"), $task->storyTitle);
} else {
echo $task->storyTitle;
}
}
?>
</td>
</tr>
<?php
}
?>
</tbody>
</table>
<div><?php
echo html::selectAll() . html::selectReverse() . html::submitButton($lang->project->importTask);
?>
</div>
</form>
<?php
include '../../common/view/footer.html.php';
示例13:
</td>
</tr>
<?php
}
?>
</table>
</div>
</td>
</tr>
</table>
</td>
<td class='w-p50'>
<table class='mainTable'>
<caption style='padding-left:3px'><?php
echo html::selectAll('bug', 'checkbox') . ' ' . $lang->build->linkBugs;
?>
</caption>
<tr style='border-bottom:none'>
<td style='border-bottom:none; padding:0px'>
<div class='contentDiv'>
<table class='table-1 fixed bd-none' id='bug'>
<?php
foreach ($bugs as $bug) {
?>
<?php
$bugLink = $this->createLink('bug', 'view', "bugID={$bug->id}", '', true);
?>
<tr class='a-center'>
<td class='w-id a-left'>
<input type='checkbox' name='bugs[]' value="<?php
示例14:
</td>
<td><?php
echo $story->estimate;
?>
</td>
</tr>
<?php
$storyCount++;
?>
<?php
}
?>
</tbody>
<tfoot>
<tr>
<td colspan='7' class='a-left'>
<?php
if ($storyCount) {
echo html::selectAll() . html::selectReverse() . html::submitButton();
}
if (!$storyCount) {
echo $lang->project->whyNoStories;
}
?>
</td>
</tr>
</tfoot>
</table>
</form>
<?php
include '../../common/view/footer.html.php';
示例15: isset
<th class='text-right'><?php
echo $lang->group->projectList;
?>
</th>
<td><?php
echo html::select("actions[projects][]", $projects, isset($group->acl['projects']) ? join(',', $group->acl['projects']) : '', "class='chosen' multiple");
?>
</td>
<td><?php
echo $lang->group->noticeVisit;
?>
</td>
</tr>
<tr>
<th><span class='hidden'><?php
echo html::selectAll('', 'checkbox');
?>
</span></th>
<td colspan='2'>
<?php
echo html::submitButton($lang->save);
echo html::linkButton($lang->goback, $this->createLink('group', 'browse'));
echo html::hidden('foo');
// Just a hidden var, to make sure $_POST is not empty.
?>
</td>
</tr>
</table>
</form>
<?php
include '../../common/view/footer.html.php';