<?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 <*****@*****.**> * @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';
?> </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¶m={$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
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&f=reportToMail&project=<?php echo $projectID; ?> " target="_blank" class="">今日报表发送</a> </span> <?php if ($browseType != 'needconfirm') { common::printIcon('task', 'export', "projectID={$projectID}&orderBy={$orderBy}"); }
<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';
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; ?> ';
?> <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}¶m={$param}&orderBy=%s&recTotal={$pager->recTotal}&recPerPage={$pager->recPerPage}"; ?> <th class='w-id'> <?php
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 . " <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
</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';
<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
} ?> </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>
<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 . " <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;
* @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 <*****@*****.**> * @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);
<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
<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>
<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')) {
<td><?php echo $user->join; ?> </td> <td><?php echo date('Y-m-d', $user->last); ?> </td> <td><?php echo $user->visits; ?> </td> <td> <?php common::printLink('user', 'edit', "userID={$user->id}&from=company", $lang->edit); common::printLink('user', 'delete', "userID={$user->id}", $lang->delete, "hiddenwin"); ?> </td> </tr> <?php } ?> </tbody> </table> </td> </tr> </table> <script lanugage='Javascript'>$('#dept<?php echo $deptID; ?> ').addClass('active');</script>
strpos($build->scmPath, 'http') === 0 ? printf(html::a($build->scmPath)) : printf($build->scmPath); ?> </td> <td class='a-left nobr'><?php strpos($build->filePath, 'http') === 0 ? printf(html::a($build->filePath)) : printf($build->filePath); ?> </td> <td><?php echo $build->date; ?> </td> <td><?php echo $users[$build->builder]; ?> </td> <td class='a-right'> <?php common::printLink('testtask', 'create', "product=0&project={$project->id}&build={$build->id}", $lang->testtask->create); common::printLink('project', 'bug', "project={$project->id}&orderBy=status&build={$build->id}", $lang->project->viewBug); common::printLink('build', 'edit', "buildID={$build->id}", ' ', '', "class='icon-green-small-edit' title='{$lang->edit}'", false); common::printLink('build', 'delete', "buildID={$build->id}", ' ', 'hiddenwin', "class='icon-green-small-delete' title='{$lang->delete}'", false); ?> </td> </tr> <?php } ?> </tbody> </table> <?php include '../../common/view/footer.html.php';
echo $task->estimate; ?> </td> <td><?php echo $task->consumed; ?> </td> <td><?php echo $task->left; ?> </td> <?php if (1) { echo '<td class="text-left" title="' . $task->storyTitle . '">'; if ($task->storyID) { if (!common::printLink('sprint', 'storyview', "storyID={$task->story}&version={$task->storyVersion}&from=project¶m={$task->project}", $task->storyTitle)) { print $task->storyTitle; } } echo '</td>'; } ?> <td class='text-right'> <?php common::printIcon('task', 'assignTo', "projectID={$task->project}&taskID={$task->id}", $task, 'list', '', '', 'iframe', true); common::printIcon('task', 'start', "taskID={$task->id}", $task, 'list', '', '', 'iframe', true); common::printIcon('task', 'recordEstimate', "taskID={$task->id}", $task, 'list', 'time', '', 'iframe', true); if ($browseType == 'needconfirm') { $lang->task->confirmStoryChange = $lang->confirm; common::printIcon('task', 'confirmStoryChange', "taskid={$task->id}", '', 'list', '', 'hiddenwin'); }
$taskSum += count($tasks); ?> <tr id='<?php echo $task->id; ?> ' class='a-center child-of-node-<?php echo $groupKey; ?> '> <td class='<?php echo $groupClass; ?> '></td> <td class='a-left'> <?php echo $task->id . $lang->colon; if (!common::printLink('task', 'view', "task={$task->id}", $task->name)) { echo $task->name; } ?> </td> <td><span class='<?php echo 'pri' . $task->pri; ?> '><?php echo $task->pri; ?> </span></td> <td <?php echo $assignedToClass; ?> ><?php
<?php } ?> <tr><td colspan="7" class='a-left strong'><?php echo sprintf($lang->release->finishStories, count($stories)); ?> </td></tr> </table> <table class='table-1 fixed'> <caption class='caption-t1'> <?php echo $lang->release->bugs; ?> <div class='f-right'><?php if (count($bugs)) { common::printLink('release', 'export', 'type=bug', $lang->release->export, '', "class='export'"); } ?> </div> </caption> <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;
* @license ZPL (http://zpl.pub/page/zplv12.html) * @author Yidong Wang <*****@*****.**> * @package admin * @version $Id$ * @link http://www.zentao.net */ include '../../common/view/header.html.php'; ?> <div id='featurebar'> <ul class='nav'> <li class='active'><?php common::printLink('admin', 'safe', '', $lang->admin->safe->set); ?> </li> <li><?php common::printLink('admin', 'checkWeak', '', $lang->admin->safe->checkWeak); ?> </li> </ul> </div> <div class='container mw-800px'> <form method='post' target='hiddenwin'> <table class='table table-form'> <tr> <th class='w-100px'><?php echo $lang->admin->safe->password; ?> </th> <td><?php echo html::radio('mode', $lang->admin->safe->modeList, isset($config->safe->mode) ? $config->safe->mode : 0); ?>
* @link http://www.zentao.net */ include '../../common/view/header.html.php'; ?> <div class='container mw-600px'> <div id='titlebar'> <div class='heading'><?php echo html::icon($lang->icons['company']); ?> <?php echo $lang->company->view; ?> </div> <div class='actions'> <?php common::printLink('company', 'edit', '', $lang->edit, '', 'id="editCompany" class="btn btn-primary iframe" data-width="580"', true, true); ?> </div> </div> <table class='table table-borderless table-data'> <tr> <th class='w-100px'><?php echo $lang->company->name; ?> </th> <td><?php echo $company->name; ?> </td> </tr> <tr>
<td title='<?php echo $moduleTitle; ?> '><?php echo $printModule; ?> </td> </tr> <tr class='nofixed'> <th><?php echo $lang->task->story; ?> </th> <td> <?php if ($task->storyTitle and !common::printLink('story', 'view', "storyID={$task->story}", $task->storyTitle, '', "class='iframe' data-width='80%'", true, true)) { echo $task->storyTitle; } if ($task->needConfirm) { echo "(<span class='warning'>{$lang->story->changed}</span> "; echo html::a($this->createLink('task', 'confirmStoryChange', "taskID={$task->id}"), $lang->confirm, 'hiddenwin'); echo ")"; } ?> </td> </tr> <?php if ($task->fromBug) { ?> <tr> <th><?php
echo "<li id='projectTab'>"; common::printLink('user', 'project', "account={$account}", $lang->user->project); echo '</li>'; echo "<li id='profileTab'>"; common::printLink('user', 'profile', "account={$account}", $lang->user->profile); echo '</li>'; $activedSpan = $this->app->getMethodName() . 'Tab'; echo "<script>\$('#{$activedSpan}').addClass('active')</script>"; ?> </ul> <?php if ($this->app->getMethodName() == 'effort') { ?> <div class='actions'> <?php common::printLink('effort', 'export', "account={$account}&orderBy=date_asc,begin_asc", $lang->export, '', 'class="export btn"'); ?> </div> <?php } ?> </div> <script> var type = '<?php echo $type; ?> '; var period = '<?php echo $period; ?> ';
<div class='block'> <table class='table-1 colored fixed'> <caption> <div class='f-left'><span class='icon-dynamic'></span><?php echo $lang->my->home->latest; ?> </div> <div class='f-right'><?php common::printLink('company', 'dynamic', '', $lang->more . "<span class='icon-more'></span>"); ?> </div> </caption> <?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; if ($action->action == 'login' or $action->action == 'logout') { $action->objectName = ''; }
echo html::icon($lang->icons['product']); ?> <strong><?php echo $productName; ?> </strong></div> <div class='panel-body'> <?php echo $moduleTree; ?> <div class='text-right'> <?php common::printLink('tree', 'browse', "rootID={$productID}&view=story", $lang->tree->manage); ?> <?php common::printLink('tree', 'fix', "root={$productID}&type=story", $lang->tree->fix, 'hiddenwin'); ?> </div> </div> </div> </div> </div> <div class='main'> <form method='post' id='productStoryForm'> <table class='table table-condensed table-hover table-striped tablesorter table-fixed' id='storyList'> <thead> <tr> <?php $vars = "productID={$productID}&branch={$branch}&browseType={$browseType}¶m={$moduleID}&orderBy=%s&recTotal={$pager->recTotal}&recPerPage={$pager->recPerPage}"; ?> <th class='w-id'> <?php
<td><?php if (!common::printLink('testcase', 'browse', "productID={$case->product}", $productName)) { echo $productName; } ?> </td> </tr> <tr> <td class='rowhead w-p20'><?php echo $lang->testcase->module; ?> </td> <td> <?php foreach ($modulePath as $key => $module) { if (!common::printLink('testcase', 'browse', "productID={$case->product}&browseType=byModule¶m={$module->id}", $module->name)) { echo $module->name; } if (isset($modulePath[$key + 1])) { echo $lang->arrow; } } ?> </td> </tr> <tr class='nofixed'> <td class='rowhead'><?php echo $lang->testcase->story; ?> </td> <td>
?> <td title='<?php echo $moduleTitle; ?> '><?php echo $printModule; ?> </td> </tr> <tr valign='middle'> <th><?php echo $lang->bug->productplan; ?> </th> <td><?php if (!$bug->plan or !common::printLink('productplan', 'linkBug', "planID={$bug->plan}", $bug->planName)) { echo $bug->planName; } ?> </td> </tr> <tr> <th><?php echo $lang->bug->type; ?> </th> <td><?php if (isset($lang->bug->typeList[$bug->type])) { echo $lang->bug->typeList[$bug->type]; } else { echo $bug->type;
$canManageContacts = common::hasPriv('user', 'manageContacts'); ?> <?php foreach ($users as $user) { ?> <tr class='a-center'> <td> <?php if ($canBatchEdit or $canManageContacts) { echo "<input type='checkbox' name='users[]' value='{$user->account}'> "; } printf('%03d', $user->id); ?> </td> <td><?php if (!common::printLink('user', 'view', "account={$user->account}", $user->realname)) { echo $user->realname; } ?> </td> <td><?php echo $user->account; ?> </td> <td><?php echo $lang->user->roleList[$user->role]; ?> </td> <td><?php echo html::mailto($user->email); ?>
?> </legend> <div class='content'><?php echo $product->desc; ?> </div> </fieldset> <?php include '../../common/view/action.html.php'; ?> <div class='a-center f-16px strong'> <?php $browseLink = $this->session->productList ? $this->session->productList : inlink('browse', "productID={$product->id}"); if (!$product->deleted) { common::printLink('product', 'edit', "productID={$product->id}", $lang->edit); common::printLink('product', 'delete', "productID={$product->id}", $lang->delete, 'hiddenwin'); } echo html::a($browseLink, $lang->goback); ?> </div> </td> <td class="divider"></td> <td class="side"> <fieldset> <legend><?php echo $lang->product->basicInfo; ?> </legend> <table class='table-1 a-left'> <tr> <th width='25%' class='a-right'><?php