本文整理汇总了PHP中inLink函数的典型用法代码示例。如果您正苦于以下问题:PHP inLink函数的具体用法?PHP inLink怎么用?PHP inLink使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了inLink函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的PHP代码示例。
示例1: inLink
echo html::icon($lang->icons['story']);
?>
</span>
<strong><?php
echo $lang->story->common . $lang->colon . $lang->story->batchClose;
?>
</strong>
<small class='text-danger'><?php
echo html::icon($lang->icons['batchClose']);
?>
</small>
</div>
</div>
<form class='form-condensed' method='post' target='hiddenwin' action="<?php
echo inLink('batchClose', "from=storyBatchClose");
?>
">
<table class='table table-fixed table-form'>
<thead>
<tr>
<th class='w-30px'> <?php
echo $lang->idAB;
?>
</th>
<th> <?php
echo $lang->story->title;
?>
</th>
<th class='w-80px'> <?php
echo $lang->story->status;
开发者ID:iamazhi,项目名称:zentaopms,代码行数:31,代码来源:batchclose.html.php
示例2: confirmChange
/**
* Confirm testcase changed.
*
* @param int $caseID
* @access public
* @return void
*/
public function confirmChange($caseID)
{
$case = $this->testcase->getById($caseID);
$this->dao->update(TABLE_TESTRUN)->set('version')->eq($case->version)->where('`case`')->eq($caseID)->exec();
die(js::locate(inLink('view', "caseID={$caseID}"), 'parent'));
}
开发者ID:XMGmen,项目名称:zentao,代码行数:13,代码来源:control.php
示例3: inLink
}
?>
'>
<?php
if (common::hasPriv('productplan', 'linkBug')) {
?>
<div class='action'><?php
echo html::a("javascript:showLink({$plan->id}, \"bug\")", '<i class="icon-bug"></i> ' . $lang->productplan->linkBug, '', "class='btn btn-sm btn-primary'");
?>
</div>
<div class='linkBox'></div>
<?php
}
?>
<form method='post' target='hiddenwin' action="<?php
echo inLink('batchUnlinkBug', "planID={$plan->id}&orderBy={$orderBy}");
?>
">
<table class='table tablesorter table-condensed table-hover table-striped table-borderless table-fixed' id='bugList'>
<?php
$vars = "planID={$plan->id}&type=bug&orderBy=%s&link={$link}¶m={$param}";
?>
<thead>
<tr>
<th class='w-id {sorter:false}'> <?php
common::printOrderLink('id', $orderBy, $vars, $lang->idAB);
?>
</th>
<th class='w-pri {sorter:false}'> <?php
common::printOrderLink('pri', $orderBy, $vars, $lang->priAB);
?>
开发者ID:jsyinwenjun,项目名称:zentao,代码行数:31,代码来源:view.html.php
示例4: inLink
<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');
?>
<strong><?php
echo $lang->productplan->linkedStories;
?>
</strong> (<?php
echo count($planStories);
?>
)</caption>
<thead>
<tr class='colhead'>
开发者ID:fanscky,项目名称:HTPMS,代码行数:31,代码来源:linkstory.html.php
示例5: inLink
}
?>
' id='leftBugs'>
<?php
if (common::hasPriv('release', 'linkBug')) {
?>
<div class='action'><?php
echo html::a("javascript:showLink({$release->id}, \"leftBug\")", '<i class="icon-bug"></i> ' . $lang->release->linkBug, '', "class='btn btn-sm btn-primary'");
?>
</div>
<div class='linkBox'></div>
<?php
}
?>
<form method='post' target='hiddenwin' action="<?php
echo inLink('batchUnlinkBug', "releaseID={$release->id}&type=leftBug");
?>
" id='linkedBugsForm'>
<table class='table table-hover table-condensed table-striped tablesorter table-fixed' id='leftBugList'>
<thead>
<tr>
<th class='w-id'><?php
echo $lang->idAB;
?>
</th>
<th class='w-severity'><?php
echo $lang->bug->severityAB;
?>
</th>
<th><?php
echo $lang->bug->title;
开发者ID:caiwenhao,项目名称:zentao,代码行数:31,代码来源:view.html.php
示例6: inLink
?>
</strong>
<?php
if ($productName) {
?>
<small class='text-muted'><?php
echo html::icon($lang->icons['product']) . ' ' . $lang->story->product . $lang->colon . ' ' . $productName;
?>
</small>
<?php
}
?>
</div>
</div>
<form class='form-condensed' method='post' target='hiddenwin' action="<?php
echo inLink('batchEdit', "from=storyBatchEdit");
?>
">
<table class='table table-form table-fixed'>
<thead>
<tr class='text-center'>
<th class='w-30px'> <?php
echo $lang->idAB;
?>
</th>
<th class='w-200px'><?php
echo $lang->story->module;
?>
</th>
<th class='w-200px'><?php
echo $lang->story->planAB;
开发者ID:XMGmen,项目名称:zentao,代码行数:31,代码来源:batchedit.html.php
示例7:
<tr valign='top'>
<td class='side'>
<div class='box-title'><?php
echo $lang->user->dynamic;
?>
</div>
<div class='box-content'>
<?php
echo html::a(inLink('dynamic', "period=today&account={$account}"), $lang->action->dynamic->today) . '<br />';
echo html::a(inLink('dynamic', "period=yesterday&account={$account}"), $lang->action->dynamic->yesterday) . '<br />';
echo html::a(inLink('dynamic', "period=twodaysago&account={$account}"), $lang->action->dynamic->twoDaysAgo) . '<br />';
echo html::a(inLink('dynamic', "period=thisweek&account={$account}"), $lang->action->dynamic->thisWeek) . '<br />';
echo html::a(inLink('dynamic', "period=lastweek&account={$account}"), $lang->action->dynamic->lastWeek) . '<br />';
echo html::a(inLink('dynamic', "period=thismonth&account={$account}"), $lang->action->dynamic->thisMonth) . '<br />';
echo html::a(inLink('dynamic', "period=lastmonth&account={$account}"), $lang->action->dynamic->lastMonth) . '<br />';
echo html::a(inLink('dynamic', "period=all&account={$account}"), $lang->action->dynamic->all) . '<br />';
?>
</div>
</td>
<td class='divider'></td>
<td>
<table class='table-1 colored tablesorter'>
<thead>
<tr class='colhead'>
<th class='w-150px'><?php
echo $lang->action->date;
?>
</th>
<th class='w-user'> <?php
echo $lang->action->actor;
?>
开发者ID:laiello,项目名称:zentaoms,代码行数:31,代码来源:dynamic.html.php
示例8: list
$method = '';
$popup = '';
$target = '_self';
if ($webapp->target == 'popup') {
$width = 0;
$height = 0;
if ($webapp->size) {
list($width, $height) = explode('x', $webapp->size);
}
$method = "popup({$width}, {$height});";
$popup = 'popup';
} else {
$method = "popup(1024, 600);";
$popup = 'popup';
}
echo isset($installeds[$webapp->id]) ? html::commonButton($lang->webapp->installed, "disabled='disabled' style='color:gray'") : html::a(inLink('install', "webappID={$webapp->id}"), $lang->webapp->install, '_self', "class='button-c iframe'");
common::printLink('webapp', 'view', "webappID={$webapp->id}&type=api", $lang->webapp->view, '', "class='button-c apiapp'");
echo html::a($url, $lang->webapp->preview, '', "id='useapp{$webapp->id}' class='button-c {$popup}' onclick='{$method}'");
?>
</td>
</tr>
</table>
</li>
<?php
}
?>
</ul>
<p class='c-left'><?php
if ($pager) {
$pager->show();
}
开发者ID:laiello,项目名称:zentaoms,代码行数:31,代码来源:obtain.html.php
示例9: inLink
<tfoot>
<tr>
<td colspan='8' 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', "buildID={$build->id}");
?>
" 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');
?>
<strong><?php
echo $lang->productplan->linkedStories;
?>
</strong> (<?php
echo count($buildStories);
?>
)</caption>
<thead>
<tr class='colhead'>
开发者ID:fanscky,项目名称:HTPMS,代码行数:31,代码来源:linkstory.html.php
示例10:
*/
include '../../common/view/header.html.php';
include '../../common/view/tablesorter.html.php';
include './featurebar.html.php';
?>
<div class='sub-featurebar'>
<ul class='nav'>
<?php
echo "<li id='today'>" . html::a(inLink('dynamic', "period=today&account={$account}"), $lang->action->dynamic->today) . '</li>';
echo "<li id='yesterday'>" . html::a(inLink('dynamic', "period=yesterday&account={$account}"), $lang->action->dynamic->yesterday) . '</li>';
echo "<li id='twodaysago'>" . html::a(inLink('dynamic', "period=twodaysago&account={$account}"), $lang->action->dynamic->twoDaysAgo) . '</li>';
echo "<li id='thisweek'>" . html::a(inLink('dynamic', "period=thisweek&account={$account}"), $lang->action->dynamic->thisWeek) . '</li>';
echo "<li id='lastweek'>" . html::a(inLink('dynamic', "period=lastweek&account={$account}"), $lang->action->dynamic->lastWeek) . '</li>';
echo "<li id='thismonth'>" . html::a(inLink('dynamic', "period=thismonth&account={$account}"), $lang->action->dynamic->thisMonth) . '</li>';
echo "<li id='lastmonth'>" . html::a(inLink('dynamic', "period=lastmonth&account={$account}"), $lang->action->dynamic->lastMonth) . '</li>';
echo "<li id='all'>" . html::a(inLink('dynamic', "period=all&account={$account}"), $lang->action->dynamic->all) . '</li>';
?>
</ul>
</div>
<table class='table tablesorter table-fixed'>
<thead>
<tr class='colhead'>
<th class='w-150px'><?php
echo $lang->action->date;
?>
</th>
<th class='w-user'> <?php
echo $lang->action->actor;
?>
</th>
<th class='w-100px'><?php
开发者ID:nanata1115,项目名称:zentaopms,代码行数:31,代码来源:dynamic.html.php
示例11: foreach
echo $lang->slide->group;
?>
</strong>
<div class='panel-actions'><?php
commonModel::printLink('slide', 'createGroup', '', '<i class="icon-plus-sign"></i> ' . $lang->slide->createGroup, "class='btn btn-primary' data-toggle='modal'");
?>
</div>
</div>
<div class='panel-body'>
<section class='row cards-borderless'>
<?php
foreach ($groups as $group) {
?>
<div class='col-lg-3 col-md-4 col-sm-6'>
<a class='card card-slide' href='<?php
echo inLink('browse', "groupID={$group->id}");
?>
'>
<?php
$count = count($group->slides);
?>
<div class='slides-holder slides-holder-<?php
echo min(5, $count);
?>
'>
<?php
if (!empty($group->slides)) {
?>
<?php
$index = 0;
?>
开发者ID:peirancao,项目名称:chanzhieps,代码行数:31,代码来源:admin.html.php
示例12:
* @author Chunsheng Wang <[email protected]>
* @package action
* @version $Id$
* @link http://www.zentao.net
*/
include '../../common/view/header.html.php';
?>
<div id='menuActions'>
<?php
if ($type == 'hidden') {
echo html::a(inLink('trash', "type=all"), $lang->goback, "class='btn'");
}
?>
<?php
if ($type == 'all') {
echo html::a(inLink('trash', "type=hidden"), "<i class='icon-eye-close'></i> " . $lang->action->hidden, "class='btn btn-primary'");
}
?>
</div>
<div class='panel'>
<table class='table table-hover tablesorter table-border'>
<?php
$vars = "type={$type}&orderBy=%s&recTotal={$pager->recTotal}&recPerPage={$pager->recPerPage}";
?>
<thead>
<tr class='class-center'>
<th class='w-90px'><?php
commonModel::printOrderLink('objectType', $orderBy, $vars, $lang->action->objectType);
?>
</th>
<th class='w-90px'><?php
开发者ID:leowh,项目名称:colla,代码行数:31,代码来源:trash.html.php
示例13: inLink
}
?>
' id='bugs'>
<?php
if (common::hasPriv('release', 'linkBug')) {
?>
<div class='action'><?php
echo html::a("javascript:showLink({$release->id}, \"bug\")", '<i class="icon-bug"></i> ' . $lang->release->linkBug, '', "class='btn btn-sm btn-primary'");
?>
</div>
<div class='linkBox'></div>
<?php
}
?>
<form method='post' target='hiddenwin' action="<?php
echo inLink('batchUnlinkBug', "releaseID={$release->id}");
?>
" id='linkedBugsForm'>
<table class='table table-hover table-condensed table-striped tablesorter table-fixed' id='bugList'>
<thead>
<tr>
<th class='w-id'><?php
echo $lang->idAB;
?>
</th>
<th><?php
echo $lang->bug->title;
?>
</th>
<th class='w-100px'><?php
echo $lang->bug->status;
开发者ID:ppmon,项目名称:ppm,代码行数:31,代码来源:view.html.php
示例14:
'</script>
<table class='cont-lt1'>
<tr valign='top'>
<td class='side'>
<div class='box-title'><?php
echo $lang->user->todo;
?>
</div>
<div class='box-content'>
<?php
echo html::a(inLink('todo', "account={$account}&type=today"), $lang->todo->todayTodos) . '<br />';
echo html::a(inLink('todo', "account={$account}&type=thisweek"), $lang->todo->thisWeekTodos) . '<br />';
echo html::a(inLink('todo', "account={$account}&type=lastweek"), $lang->todo->lastWeekTodos) . '<br />';
echo html::a(inLink('todo', "account={$account}&type=future"), $lang->todo->futureTodos) . '<br />';
echo html::a(inLink('todo', "account={$account}&type=all"), $lang->todo->allDaysTodos) . '<br />';
echo html::a(inLink('todo', "account={$account}&type=before"), $lang->todo->allUndone) . '<br />';
echo html::input('date', $date, "class='w-date todo-date' onchange=changeDate(this.value)");
?>
</div>
</td>
<td class='divider'></td>
<td>
<form method='post' target='hiddenwin' action='<?php
echo $this->createLink('todo', 'import2Today');
?>
' id='todoform'>
<table class='table-1 tablesorter'>
<thead>
<tr class='colhead'>
<th class='w-id'><?php
echo $lang->idAB;
开发者ID:huokedu,项目名称:zentao,代码行数:31,代码来源:todo.html.php
示例15: clearData
/**
* Confirm clear data.
*
* @param string $confirm ''|no|yes
* @access public
* @return void
*/
public function clearData($confirm = '')
{
if ($confirm == 'no') {
die(js::confirm($this->lang->admin->confirmClearData, inlink('clearData', "confirm=yes")));
} elseif ($confirm == 'yes') {
$result = $this->admin->clearData();
if (!$result) {
die(js::alert($this->lang->admin->clearDataFailed));
}
js::alert($this->lang->admin->clearDataSuccessfully);
die(js::locate(inLink('index'), 'parent'));
}
$this->display();
}
开发者ID:laiello,项目名称:zentaoms,代码行数:21,代码来源:control.php
示例16: inLink
<?php
echo html::icon($lang->icons['test']);
?>
</small>
</div>
<div class='actions'><div class='text text-info'><?php
echo $lang->mail->sendmailTips;
?>
</div></div>
</div>
<form class='form-condensed' method='post' target='resultWin'>
<table class='table table-form'>
<tr>
<td><?php
echo html::select('to', $users, $app->user->account, "class='form-control chosen'");
?>
</td>
<td class='text-left'>
<?php
echo html::submitButton($lang->mail->test);
echo html::linkButton($lang->mail->edit, inLink('edit'));
?>
</td>
</tr>
</table>
</form>
<table class='table table-form'><tr><td><iframe id='resultWin' name='resultWin'></iframe></td></tr></table>
</div>
<?php
include '../../common/view/footer.html.php';
}
开发者ID:XMGmen,项目名称:zentao,代码行数:31,代码来源:test.html.php
示例17: inLink
<div class='panel-heading'>
<strong><i class='icon-picture'></i> <?php
echo $groupName;
?>
</strong>
<div class='panel-actions'>
<?php
commonModel::printLink('slide', 'create', "groupID={$group}", '<i class="icon-plus"></i> ' . $lang->slide->create, "class='btn btn-primary'");
?>
<?php
commonModel::printLink('slide', 'admin', '', $lang->slide->return, "class='btn btn-primary return'");
?>
</div>
</div>
<form id='sortForm' action='<?php
echo inLink('sort');
?>
' method='post'>
<table class='table'>
<tbody>
<?php
foreach ($slides as $key => $slide) {
?>
<?php
if ($slide->backgroundType == 'color') {
$slide->height = $slide->height ? $slide->height : 180;
}
?>
<tr class='text-middle'>
<td>
<?php
开发者ID:wenyinos,项目名称:chanzhieps,代码行数:31,代码来源:browse.html.php
示例18: inLink
</div>
</div>
</td>
</tr>
</tfoot>
</table>
</form>
</div>
<div id='batchUnlinkBug' class='tab-pane <?php
if ($type == 'bug') {
echo 'active';
}
?>
'>
<form method='post' target='hiddenwin' action="<?php
echo inLink('batchUnlinkBug');
?>
">
<table class='table tablesorter table-condensed table-hover table-striped table-borderless' id='bugList'>
<?php
$vars = "planID={$plan->id}&type=bug&orderBy=%s";
?>
<thead>
<tr>
<th class='w-id'> <?php
common::printOrderLink('id', $orderBy, $vars, $lang->idAB);
?>
</th>
<th class='w-pri'> <?php
common::printOrderLink('pri', $orderBy, $vars, $lang->priAB);
?>
开发者ID:iamazhi,项目名称:zentaopms,代码行数:31,代码来源:view.html.php
示例19: nl2br
}
?>
</td>
</tr>
</table>
<?php
if ($pdoResult == 'fail' or $pdoMySQLResult == 'fail') {
?>
<div class='alert'><?php
echo "<p class='small text-left'>" . '<strong>' . $lang->install->phpINI . '</strong><br />' . nl2br($this->install->getIniInfo()) . '</p>';
?>
</div>
<?php
}
?>
</div>
<div class='modal-footer'>
<?php
if ($wholeResult == 'ok') {
echo html::a(inLink('step2'), $lang->install->next, "class='btn btn-primary'");
}
if ($wholeResult == 'fail') {
echo html::a(inLink('step1'), $lang->install->reload, "class='btn btn-primary'");
}
?>
</div>
</div>
</div>
<?php
include './footer.html.php';
开发者ID:mustafakarali,项目名称:b2c-1,代码行数:31,代码来源:step1.html.php
示例20: inlink
</div>
</a>
<div class='card-heading text-center'>
<div class='group-title' data-id='<?php
echo $group->id;
?>
' data-action="<?php
echo inlink('editGroup', "groupID={$group->id}");
?>
">
<span class='group-name'><?php
echo $group->name;
?>
</span>
<?php
echo html::a(inLink('browse', "groupID={$group->id}"), $lang->edit);
?>
<?php
echo html::a('javascript:;', $lang->slide->rename, "class='edit-group-btn'");
?>
<?php
echo html::a(inlink('removeGroup', "groupID={$group->id}"), $lang->delete, "class='deleter'");
?>
</div>
</div>
</div>
<?php
}
?>
<div class='col-lg-3 col-md-4 col-sm-6'>
<?php
开发者ID:hansen1416,项目名称:eastsoft,代码行数:31,代码来源:admin.html.php
注:本文中的inLink函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论