当前位置: 首页>>代码示例>>PHP>>正文


PHP common::printLink方法代码示例

本文整理汇总了PHP中common::printLink方法的典型用法代码示例。如果您正苦于以下问题:PHP common::printLink方法的具体用法?PHP common::printLink怎么用?PHP common::printLink使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在common的用法示例。


在下文中一共展示了common::printLink方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

<?php

/**
 * The burn view file of project 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 <chunsheng@cnezsoft.com>
 * @package     project
 * @version     $Id: burn.html.php 3449 2012-09-01 02:16:36Z chencongzhi520@gmail.com $
 * @link        http://www.zentao.net
 */
include '../../common/view/header.html.php';
include './taskheader.html.php';
?>
<script>$('#burnTab').addClass('active');</script>
<div class='a-center'>
  <?php 
echo $charts;
common::printLink('project', 'computeBurn', 'reload=yes', $lang->project->computeBurn, 'hiddenwin');
printf($lang->project->howToUpdateBurn, $this->createLink('help', 'field', 'module=project&method-burn&field=updateburn'));
?>
</div>
<?php 
include '../../common/view/footer.html.php';
开发者ID:huokedu,项目名称:zentao,代码行数:25,代码来源:burn.html.php

示例2:

        ?>
</td>
              <td><?php 
        if ($case->lastRunResult) {
            echo $lang->testcase->resultList[$case->lastRunResult];
        }
        ?>
</td>
              <td><?php 
        echo $lang->testcase->statusList[$case->status];
        ?>
</td>
              <td class='a-right'>
                <?php 
        common::printLink('testtask', 'runCase', "runID=0&caseID={$case->id}&version={$case->version}", $this->app->loadLang('testtask')->testtask->runCase, '', 'class="runcase"');
        common::printLink('testtask', 'results', "runID=0&caseID={$case->id}", $lang->testtask->results, '', 'class="results"');
        common::printIcon('testcase', 'edit', "caseID={$case->id}", $case, 'list');
        common::printIcon('testcase', 'create', "productID={$case->product}&moduleID={$case->module}&from=testcase&param={$case->id}", $case, 'list', 'copy');
        common::printIcon('testcase', 'delete', "caseID={$case->id}", '', 'list', '', 'hiddenwin');
        common::printIcon('testcase', 'createBug', "product={$case->product}&extra=caseID={$case->id},version={$case->version},runID=", $case, 'list', 'createBug');
        ?>
              </td>
              <?php 
    }
    ?>
            </tr>
          <?php 
}
?>
          </thead>
          <tfoot><tr><td colspan='10'><?php 
开发者ID:huokedu,项目名称:zentao,代码行数:31,代码来源:browse.html.php

示例3: isset

common::printLink('project', 'task', "project={$project->id}&type=doing", $lang->project->statusDoing);
echo '</span>';
echo "<span id='doneTab'>";
common::printLink('project', 'task', "project={$project->id}&type=done", $lang->project->statusDone);
echo '</span>';
echo "<span id='closedTab'>";
common::printLink('project', 'task', "project={$project->id}&type=closed", $lang->project->statusClosed);
echo '</span>';
echo "<span id='delayedTab'>";
common::printLink('project', 'task', "project={$project->id}&type=delayed", $lang->project->delayed);
echo '</span>';
echo "<span id='groupTab'>";
echo html::select('groupBy', $lang->project->groups, isset($groupBy) ? $groupBy : '', "onchange='switchGroup({$project->id}, this.value)'");
echo "</span>";
echo "<span id='needconfirmTab'>";
common::printLink('project', 'task', "project={$project->id}&status=needConfirm", $lang->project->listTaskNeedConfrim);
echo '</span>';
echo "<span id='bysearchTab'><a href='#'><span class='icon-search'></span>{$lang->project->byQuery}</a></span> ";
?>
  </div>
  <div class='f-right'>
      <span class="link-button">
        <a href="/index.php?m=task&amp;f=reportToMail&amp;project=<?php 
echo $projectID;
?>
" target="_blank" class="">今日报表发送</a>
      </span>
    <?php 
if ($browseType != 'needconfirm') {
    common::printIcon('task', 'export', "projectID={$projectID}&orderBy={$orderBy}");
}
开发者ID:shshenpengfei,项目名称:scrum_project_manage_system,代码行数:31,代码来源:taskheader.html.php

示例4:

    <td><?php 
echo $lang->testtask->statusList[$task->status];
?>
</td>
  </tr>  
  <tr>
    <th class='rowhead'><?php 
echo $lang->testtask->desc;
?>
</th>
    <td class='content'><?php 
echo $task->desc;
?>
</td>
  </tr>  
</table>
<div class='a-center f-16px strong'>
  <?php 
$browseLink = $this->session->testtaskList ? $this->session->testtaskList : $this->createLink('testtask', 'browse', "productID={$task->product}");
if (!$task->deleted) {
    common::printLink('testtask', 'cases', "taskID={$task->id}", $lang->testtask->cases);
    common::printLink('testtask', 'linkcase', "taskID={$task->id}", $lang->testtask->linkCaseAB);
    common::printLink('testtask', 'edit', "taskID={$task->id}", $lang->edit);
    common::printLink('testtask', 'delete', "taskID={$task->id}", $lang->delete, 'hiddenwin');
    echo html::a($browseLink, $lang->goback);
}
?>
</div>
<?php 
include '../../common/view/action.html.php';
include '../../common/view/footer.html.php';
开发者ID:huokedu,项目名称:zentao,代码行数:31,代码来源:view.html.php

示例5:

common::printLink('user', 'todo', "account={$account}", $lang->user->todo);
echo '</span>';
echo "<span id='taskTab'>";
common::printLink('user', 'task', "account={$account}", $lang->user->task);
echo '</span>';
echo "<span id='bugTab'>";
common::printLink('user', 'bug', "account={$account}", $lang->user->bug);
echo '</span>';
echo "<span id='dynamicTab'>";
common::printLink('user', 'dynamic', "type=today&account={$account}", $lang->user->dynamic);
echo '</span>';
echo "<span id='projectTab'>";
common::printLink('user', 'project', "account={$account}", $lang->user->project);
echo '</span>';
echo "<span id='profileTab'>";
common::printLink('user', 'profile', "account={$account}", $lang->user->profile);
echo '</span>';
$activedSpan = $this->app->getMethodName() . 'Tab';
echo "<script>\$('#{$activedSpan}').addClass('active')</script>";
?>
  </div>
</div>
<script>
var type   = '<?php 
echo $type;
?>
';
var period = '<?php 
echo $period;
?>
';
开发者ID:huokedu,项目名称:zentao,代码行数:31,代码来源:featurebar.html.php

示例6:

?>
 <strong><?php 
echo $libName;
?>
</strong></div>
      <div class='panel-body'>
        <?php 
echo $moduleTree;
?>
        <div class='text-right'>
          <?php 
common::printLink('tree', 'browse', "rootID={$libID}&view=doc", $lang->doc->manageType);
?>
          <?php 
if (is_numeric($libID)) {
    common::printLink('tree', 'fix', "root={$libID}&type=customdoc", $lang->tree->fix, 'hiddenwin');
}
?>
        </div>
      </div>
    </div>
  </div>
</div>
<div class='main'>
  <table class='table table-condensed table-hover table-striped tablesorter table-fixed' id='docList'>
    <thead>
      <tr>
        <?php 
$vars = "libID={$libID}&module={$moduleID}&productID={$productID}&projectID={$projectID}&browseType={$browseType}&param={$param}&orderBy=%s&recTotal={$pager->recTotal}&recPerPage={$pager->recPerPage}";
?>
        <th class='w-id'>   <?php 
开发者ID:caiwenhao,项目名称:zentao,代码行数:31,代码来源:browse.html.php

示例7:

    echo "<script>alert('{$delayMsg}')</script>";
} else {
    if ($isSprintDone == true) {
        echo "<script>alert('{$isDoneMsg}')</script>";
    }
}
?>
<div class='panel quarterblock'>
  <div class='panel-heading'>
    <strong><?php 
echo $lang->my->burninfo;
?>
</strong>
    <div class='pull-right'>
      <?php 
common::printLink('project', 'computeBurn', 'reload=yes', $lang->my->computeBurn, 'hiddenwin', "title='{$lang->project->computeBurn}{$lang->project->burn}' class='btn btn-primary' id='computeBurn' style='display:none'");
?>
      <?php 
echo html::a($this->createLink('sprint', 'burn', "projectID={$sprintID}"), $lang->look . "&nbsp;<i class='icon icon-double-angle-right'></i>");
?>
    </div>
  </div>
  
  <div class='container text-center bd-0'>
  <?php 
if ($isOpeSprint) {
    ?>
  <div style="margin-top:70px;margin-bottom:70px">
    <div><span style="color:#ff5151;font-size:22px;font-weight:bold">运维Sprint不支持燃尽图查看</span></div>
  </div>
  <?php 
开发者ID:XMGmen,项目名称:zentao,代码行数:31,代码来源:burninfo.html.php

示例8: array

</td>
  </tr>  
  <tr id='fileBox' <?php 
if ($doc->type != 'file') {
    echo "class='hidden'";
}
?>
>
    <th class='rowhead'><?php 
echo $lang->files;
?>
</th>
    <td><?php 
echo $this->fetch('file', 'printFiles', array('files' => $doc->files, 'fieldset' => 'false'));
?>
</td>
  </tr>
</table>
<div class='a-center f-16px strong'>
  <?php 
$browseLink = $this->session->docList ? $this->session->docList : inlink('browse');
if (!$doc->deleted) {
    common::printLink('doc', 'edit', "docID={$doc->id}", $lang->edit);
    common::printLink('doc', 'delete', "docID={$doc->id}", $lang->delete, 'hiddenwin');
}
echo html::a($browseLink, $lang->goback);
?>
</div>
<?php 
include '../../common/view/action.html.php';
include './footer.html.php';
开发者ID:shshenpengfei,项目名称:scrum_project_manage_system,代码行数:31,代码来源:view.html.php

示例9: zget

      <td><span class='<?php 
    echo 'severity' . zget($lang->bug->severityList, $bug->severity, $bug->severity);
    ?>
'><?php 
    echo zget($lang->bug->severityList, $bug->severity, $bug->severity);
    ?>
</span></td>
      <td><span class='<?php 
    echo 'pri' . zget($lang->bug->priList, $bug->pri, $bug->pri);
    ?>
'><?php 
    echo zget($lang->bug->priList, $bug->pri, $bug->pri);
    ?>
</span></td>
      <td class='text-left nobr'><?php 
    common::printLink('bug', 'view', "bugID={$bug->id}", $bug->title, '', "class='preview'", true, true);
    ?>
</td>
      <td><?php 
    echo $lang->bug->statusList[$bug->status];
    ?>
</td>
      <td><?php 
    echo html::select("pri[{$bug->id}]", $lang->task->priList, 3, "class='input-sm form-control'");
    ?>
</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 
开发者ID:iamazhi,项目名称:zentaopms,代码行数:31,代码来源:importbug.html.php

示例10:

        }
        ?>
          </nobr></td>
          <?php 
    }
    ?>
          <td><nobr>
            <?php 
    $params = "bugID={$bug->id}";
    if (!($bug->status == 'active' and common::printLink('bug', 'resolve', $params, $lang->bug->buttonResolve))) {
        echo $lang->bug->buttonResolve . ' ';
    }
    if (!($bug->status == 'resolved' and common::printLink('bug', 'close', $params, $lang->bug->buttonClose))) {
        echo $lang->bug->buttonClose . ' ';
    }
    common::printLink('bug', 'edit', $params, $lang->bug->buttonEdit);
    ?>
            </nobr>
          </td>
        </tr>
        <?php 
}
?>
        </tbody>
        <tfoot><tr><td colspan='9'><?php 
$pager->show();
?>
</td></tr></tfoot>
      </table>
    </td>
  </tr>
开发者ID:shshenpengfei,项目名称:scrum_project_manage_system,代码行数:31,代码来源:browse.custom.html.php

示例11: isset

<div class='panel panel-block dynamic'>
  <div class='panel-heading'>
    <?php 
echo html::icon($lang->icons['dynamic']);
?>
 <strong><?php 
echo $lang->my->home->latest;
?>
</strong>
    <div class="panel-actions pull-right"><?php 
common::printLink('company', 'dynamic', '', $lang->more . "&nbsp;<i class='icon icon-double-angle-right'></i>");
?>
</div>
  </div>
  <table class='table table-condensed table-hover table-striped table-borderless table-fixed'>
    <?php 
foreach ($actions as $action) {
    $canView = false;
    if (common::hasPriv('company', 'dynamic')) {
        $canView = true;
    }
    if ($action->product == 0 and $action->project == 0) {
        $canView = true;
    }
    if (isset($productStats['products'][$action->product]) or isset($projectStats['projects'][$action->project])) {
        $canView = true;
    }
    if (!$canView) {
        continue;
    }
    $user = isset($users[$action->actor]) ? $users[$action->actor] : $action->actor;
开发者ID:caiwenhao,项目名称:zentao,代码行数:31,代码来源:blockdynamic.html.php

示例12:

 * @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 <chunsheng@cnezsoft.com>
 * @package     product
 * @version     $Id: report.html.php 1594 2011-03-13 07:27:55Z wwccss $
 * @link        http://www.zentao.net
 */
include '../../common/view/header.html.php';
?>
<div id='featurebar'>
  <div class='f-left'><?php 
echo $lang->story->report->common;
?>
</div>
  <div class='f-right'><?php 
common::printLink('product', 'browse', "productID={$productID}&browseType={$browseType}&moduleID={$moduleID}", $lang->goback);
?>
</div>
</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);
开发者ID:huokedu,项目名称:zentao,代码行数:31,代码来源:report.html.php

示例13: foreach

				<td><?php 
if (!common::printLink('info', 'browse', "libID={$info->lib}", $libName)) {
    echo $libName;
}
?>
</td>
			</tr>
			<tr>
				<th class='rowhead'><?php 
echo $lang->info->module;
?>
</th>
				<td> 
					<?php 
foreach ($modulePath as $key => $module) {
    if (!common::printLink('info', 'browse', "libID={$info->lib}&moduleID={$module->id}", $module->name)) {
        echo $module->name;
    }
    if (isset($modulePath[$key + 1])) {
        echo $lang->arrow;
    }
}
?>
				</td>
			</tr>
			<tr>
				<td class='rowhead'><?php 
echo $lang->info->editedCount;
?>
</td>
				<td><?php 
开发者ID:huokedu,项目名称:zentao,代码行数:31,代码来源:view.html.php

示例14:

                <td title='<?php 
echo $moduleTitle;
?>
'><?php 
echo $printModule;
?>
</td>
              </tr>
              <tr>
                <th><?php 
echo $lang->story->plan;
?>
</th>
                <td><?php 
if (isset($story->planTitle)) {
    if (!common::printLink('productplan', 'view', "planID={$story->plan}", $story->planTitle)) {
        echo $story->planTitle;
    }
}
?>
</td>
              </tr>
              <tr>
                <th><?php 
echo $lang->story->source;
?>
</th>
                <td><?php 
echo $lang->story->sourceList[$story->source];
?>
</td>
开发者ID:ppmon,项目名称:ppm,代码行数:31,代码来源:view.html.php

示例15:

        <td><?php 
    echo $lang->story->stageList[$story->stage];
    ?>
</td>
        <td class='linkbox'>
          <?php 
    $tasksLink = $this->createLink('story', 'tasks', "storyID={$story->id}&projectID={$project->id}");
    $storyTasks[$story->id] > 0 ? print html::a($tasksLink, $storyTasks[$story->id], '', 'class="iframe"') : (print 0);
    ?>
 
        </td>
        <td>
          <?php 
    $param = "projectID={$project->id}&story={$story->id}";
    common::printLink('task', 'create', $param, $lang->project->wbs);
    common::printLink('project', 'unlinkStory', $param, $lang->unlink, 'hiddenwin');
    ?>
        </td>
      </tr>
      <?php 
}
?>
    </tbody>
    <tfoot>
      <tr>
        <td colspan='10'>
          <div class='f-left'>
          <?php 
if (count($stories)) {
    echo html::selectAll() . html::selectReverse();
    if (common::hasPriv('story', 'batchClose')) {
开发者ID:shshenpengfei,项目名称:scrum_project_manage_system,代码行数:31,代码来源:story.html.php


注:本文中的common::printLink方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。