本文整理汇总了PHP中html::selectButton方法的典型用法代码示例。如果您正苦于以下问题:PHP html::selectButton方法的具体用法?PHP html::selectButton怎么用?PHP html::selectButton使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类html
的用法示例。
在下文中一共展示了html::selectButton方法的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
?>
</td>
</tr>
<?php
}
?>
</tbody>
<tfoot>
<tr>
<td colspan='11'>
<div class='table-actions clearfix'>
<?php
if (count($stories)) {
?>
<div class='btn-group'><?php
echo html::selectButton();
?>
</div>
<?php
$canBatchEdit = common::hasPriv('story', 'batchEdit');
$disabled = $canBatchEdit ? '' : "disabled='disabled'";
$actionLink = $this->createLink('story', 'batchEdit', "productID={$productID}&projectID=0");
?>
<div class='btn-group dropup'>
<?php
echo html::commonButton($lang->edit, "onclick=\"setFormAction('{$actionLink}')\" {$disabled}");
?>
<button type='button' class='btn dropdown-toggle' data-toggle='dropdown'><span class='caret'></span></button>
<ul class='dropdown-menu'>
<?php
$class = "class='disabled'";
示例2:
common::printIcon('user', 'unlock', "userID={$user->account}", '', 'list', '', "hiddenwin");
}
?>
</td>
</tr>
<?php
}
?>
</tbody>
<tfoot>
<tr>
<td colspan='12'>
<div class='table-actions clearfix'>
<?php
if ($canBatchEdit or $canManageContacts) {
echo "<div class='input-group'>" . html::selectButton() . '</div>';
}
if ($canBatchEdit) {
echo html::submitButton($lang->edit, 'onclick=batchEdit()', 'btn-default');
}
if ($canManageContacts) {
echo html::submitButton($lang->user->contacts->manage, 'onclick=manageContacts()');
}
?>
</div>
<?php
echo $pager->show();
?>
</td>
</tr>
</tfoot>
示例3: zget
</td>
<td class='text-left' style='overflow:visible'><?php
echo html::select("assignedTo[{$bug->id}]", $users, zget($users, $bug->assignedTo, '', $bug->assignedTo), "class='input-sm form-control chosen'");
?>
</td>
<td><?php
echo html::input("estimate[{$bug->id}]", '', 'size=4 class="input-sm form-control"');
?>
</td>
</tr>
<?php
}
?>
</tbody>
<tfoot>
<tr>
<td colspan='8'>
<div class='table-actions clearfix'><?php
echo "<div class='btn-group'>" . html::selectButton() . '</div>' . html::submitButton($lang->import) . html::backButton();
?>
</div>
<?php
$pager->show();
?>
</td>
</tr>
</tfoot>
</table>
</form>
<?php
include '../../common/view/footer.html.php';
示例4:
?>
</td>
</tr>
<?php
}
?>
</tbody>
<tfoot>
<tr>
<td colspan='10'>
<?php
if ($bugs and $canBatchEdit) {
?>
<div class='table-actions clearfix'>
<?php
echo "<div class='btn-group'>" . html::selectButton() . '</div>' . html::submitButton($lang->edit, '', '');
?>
</div>
<?php
}
?>
<?php
$pager->show();
?>
</td>
</tr>
</tfoot>
</table>
</form>
<?php
js::set('listName', 'bugList');
示例5:
<div class='col-md-3 col-lg-2'>
<div class='panel panel-sm'>
<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');
?>
<div class='btn-group'>
<?php
echo html::selectButton('', 'btn-sm');
?>
<?php
echo html::submitButton($lang->task->report->create, "", 'btn-sm btn-primary');
?>
</div>
</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;
?>
示例6: date
echo html::a($this->createLink('todo', 'delete', "todoID={$todo->id}"), $lang->delete, "class='deleter'");
?>
</td>
</tr>
<?php
}
?>
</tbody>
</table>
<div class='table-footer'>
<div class='pull-left batch-actions'>
<?php
$closeActionLink = $this->createLink('sys.todo', 'batchClose');
?>
<div class='pull-left close-action'><?php
echo html::selectButton() . html::commonButton($lang->close, 'btn btn-primary', "onclick=\"setFormAction('{$closeActionLink}')\"");
?>
</div>
<?php
if (commonModel::hasPriv('todo', 'import2Today')) {
$actionLink = $this->createLink('todo', 'import2Today');
echo "<div class='input-group import-action'>";
echo "<div class='datepicker-wrapper datepicker-date'>" . html::input('date', date('Y-m-d'), "class='form-control form-date'") . '</div>';
echo "<span class='input-group-btn'>";
echo html::commonButton($lang->todo->import, 'btn btn-default', "onclick=\"setFormAction('{$actionLink}')\"");
echo '</span>';
echo '</div>';
}
?>
</div>
<?php
示例7:
?>
</td>
</tr>
<?php
$storyCount++;
?>
<?php
}
?>
</tbody>
<tfoot>
<tr>
<td colspan='7' class='text-left'>
<div class='table-actions clearfix'>
<?php
if ($storyCount) {
echo "<div class='btn-group'>" . html::selectButton() . '</div>' . html::submitButton();
} else {
echo "<div class='text'>" . $lang->project->whyNoStories . '</div>';
}
?>
</div>
</td>
</tr>
</tfoot>
</table>
</form>
<script type='text/javascript'>$(function(){ajaxGetSearchForm()});</script>
<?php
include '../../common/view/footer.html.php';
示例8:
commonModel::printLink('trade', 'detail', "tradeID={$trade->id}", $lang->trade->detail, "data-toggle='modal'");
?>
<?php
commonModel::printLink('trade', 'delete', "tradeID={$trade->id}", $lang->delete, "class='deleter'");
?>
</td>
</tr>
<?php
}
?>
</tbody>
</table>
<div class='table-footer'>
<div class='pull-left'>
<?php
echo html::selectButton() . html::submitButton($lang->edit);
?>
<span class='text-danger'><?php
$this->trade->countMoney($trades, $mode);
?>
</span>
</div>
<?php
echo $pager->get();
?>
</div>
</form>
</div>
</div>
</div>
<?php
示例9: sprintf
$unlinkURL = $this->createLink('productplan', 'unlinkBug', "story={$bug->id}&confirm=yes");
echo html::a("javascript:ajaxDelete(\"{$unlinkURL}\",\"bugList\",confirmUnlinkBug)", '<i class="icon-remove"></i>', '', "class='btn-icon' title='{$lang->productplan->unlinkBug}'");
}
?>
</td>
</tr>
<?php
}
?>
</tbody>
<tfoot>
<tr>
<td colspan='7'>
<div class='table-actions clearfix'>
<?php
echo "<div class='btn-group'>" . html::selectButton('linkedBugsForm') . '</div>';
echo html::submitButton("<i class='icon-remove-sign'></i> " . $lang->productplan->batchUnlink);
?>
<div class='text'><?php
echo sprintf($lang->productplan->bugSummary, count($planBugs));
?>
</div>
</div>
</td>
</tr>
</tfoot>
</table>
</form>
</div>
</div>
</div>
示例10:
$unlinkURL = $this->createLink('productplan', 'unlinkStory', "storyID={$story->id}&confirm=yes");
echo html::a("javascript:ajaxDelete(\"{$unlinkURL}\",\"storyList\",confirmUnlinkStory)", '<i class="icon-remove"></i>', '', "title='{$lang->productplan->unlinkStory}' class='btn-icon'");
}
?>
</td>
</tr>
<?php
}
?>
<?php
if (count($planStories) and $canBatchUnlink) {
?>
<tfoot>
<tr>
<td colspan='9' class='text-left'>
<?php
echo "<div class='table-actions clearfix'><div class='btn-group'>" . html::selectButton('linkedStoriesForm') . '</div>' . html::submitButton($lang->productplan->batchUnlink) . '</div>';
?>
</td>
</tr>
</tfoot>
<?php
}
?>
</tbody>
</table>
</form>
</div>
<script>$(function(){ajaxGetSearchForm()})</script>
<?php
include '../../common/view/footer.html.php';
示例11:
?>
</table>
</td>
</tr>
<?php
}
?>
<?php
}
?>
</tbody>
<tfoot>
<tr>
<td colspan='10'>
<div class='pull-left'><?php
echo html::selectButton() . html::submitButton($lang->close);
?>
</div>
<?php
$pager->show();
?>
</td>
</tr>
</tfoot>
</table>
<?php
if (commonModel::hasPriv('task', 'batchClose')) {
?>
</form>
<?php
}
示例12: if
common::printIcon('story', 'close', $vars, $story, 'list', 'off', '', 'iframe', true);
common::printIcon('story', 'edit', $vars, $story, 'list', 'pencil');
common::printIcon('story', 'createCase', "productID=$story->product&module=0&from=¶m=0&$vars", $story, 'list', 'sitemap');
?>
</td>
-->
</tr>
<?php endforeach;?>
</tbody>
<tfoot>
<tr>
<td colspan='9'>
<!--
<div class='table-actions clearfix'>
<?php if(count($stories)):?>
<div class='btn-group'><?php echo html::selectButton();?></div>
<?php
$canBatchEdit = common::hasPriv('story', 'batchEdit');
$disabled = $canBatchEdit ? '' : "disabled='disabled'";
$actionLink = $this->createLink('story', 'batchEdit', "productID=$productID&projectID=0");
?>
<div class='btn-group dropup'>
<?php echo html::commonButton($lang->edit, "onclick=\"setFormAction('$actionLink')\" $disabled");?>
<button type='button' class='btn dropdown-toggle' data-toggle='dropdown'><span class='caret'></span></button>
<ul class='dropdown-menu'>
<?php
$class = "class='disabled'";
$canBatchClose = common::hasPriv('story', 'batchClose') && strtolower($browseType) != 'closedbyme' && strtolower($browseType) != 'closedstory';
$actionLink = $this->createLink('story', 'batchClose', "productID=$productID&projectID=0");
$misc = $canBatchClose ? "onclick=\"setFormAction('$actionLink')\"" : $class;
示例13:
echo html::a("javascript:ajaxDelete(\"{$unlinkURL}\",\"bugList\",confirmUnlinkBug)", "<i class='icon-remove'></i>", '', "title='{$lang->productplan->unlinkBug}' class='btn-icon'");
}
?>
</td>
</tr>
<?php
}
?>
<?php
if (count($planBugs) and $canBatchUnlink) {
?>
<tfoot>
<tr>
<td colspan='7' class='text-left'>
<?php
echo "<div class='table-actions clearfix'><div class='btn-group'>" . html::selectButton('linkedBugsForm') . '</div>';
echo html::submitButton($lang->productplan->batchUnlink) . '</div>';
?>
</td>
</tr>
</tfoot>
<?php
}
?>
</tbody>
</table>
</form>
</div>
<script>$(function(){ajaxGetSearchForm()})</script>
<?php
include '../../common/view/footer.html.php';