* Add lang file.

This commit is contained in:
Yagami
2021-01-21 15:12:51 +08:00
parent 2ff675f7ec
commit d03a716669
10 changed files with 96 additions and 5 deletions
+4
View File
@@ -26,6 +26,7 @@ class design extends control
parent::__construct($moduleName, $methodName);
$products = array();
$this->loadModel('product');
$this->loadModel('task');
$this->view->products = $this->products = $this->product->getProductPairsByProject($this->session->PRJ);
}
@@ -249,6 +250,9 @@ class design extends control
*/
public function linkCommit($designID = 0, $repoID = 0, $begin = '', $end = '', $recTotal = 0, $recPerPage = 50, $pageID = 1)
{
$design = $this->design->getById($designID);
$this->design->setProductMenu($design->product);
/* Get project and date. */
$project = $this->loadModel('program')->getPRJByID($this->session->PRJ);
$begin = $begin ? date('Y-m-d', strtotime($begin)) : $project->begin;
-1
View File
@@ -1,4 +1,3 @@
#featurebar{display:inline-block;}
.modal-dialog{width:70% !important}
#querybox #searchform{border-bottom: 1px solid #ddd; margin-bottom: 20px;}
#designTable td{white-space:nowrap; text-overflow:ellipsis; overflow: hidden}
+1 -1
View File
@@ -40,7 +40,7 @@
<td calss="c-id"> <?php printf('%03d', $design->id);?></td>
<td class="c-type"> <?php echo zget($lang->design->typeList, $design->type);?></td>
<td class="c-name" title="<?php echo $design->name;?>"><?php echo html::a($this->createLink('design', 'view', "id={$design->id}"), $design->name);?></td>
<td class="c-createdBy"> <?php echo $design->createdBy;?></td>
<td class="c-createdBy"> <?php echo zget($users, $design->createdBy);?></td>
<td class="c-createdDate"><?php echo substr($design->createdDate, 0, 11);?></td>
<td class="c-assignedTo"> <?php echo $this->design->printAssignedHtml($design, $users);?></td>
<td class='c-actions text-center'>
+1 -1
View File
@@ -44,7 +44,7 @@
<?php
common::printIcon('design', 'assignTo', "designID=$design->id", $design, 'button', '', '', 'iframe showinonlybody', true);
common::printIcon('design', 'linkCommit', "designID=$design->id", $design, 'button', 'link', '', 'iframe showinonlybody', true);
common::printIcon('design', 'edit', "designID=$design->id", $design, 'button', 'fork', '', '', true);
common::printIcon('design', 'edit', "designID=$design->id", $design, 'button', 'fork');
common::printIcon('design', 'delete', "designID=$design->id", $design, 'button', 'trash', 'hiddenwin');
?>
<?php endif;?>
+22
View File
@@ -81,3 +81,25 @@ $lang->my->form = new stdclass();
$lang->my->form->lblBasic = 'Basis Info';
$lang->my->form->lblContact = 'Kontakt Info';
$lang->my->form->lblAccount = 'Konto Info';
$lang->my->programLink = 'Program Default Page';
$lang->my->productLink = 'Product Default Page';
$lang->my->projectLink = 'Project Default Page';
$lang->my->programLinkList = array();
//$lang->my->programLinkList['program-home'] = 'The default access to the program home page, you can understand the company’s overall strategic planning status';
$lang->my->programLinkList['program-pgmbrowse'] = 'By default, you go to the program list, where you can view all of the programs';
//$lang->my->programLinkList['program-pgmindex'] = 'By default, you go to the most recent program dashboard to see the current program overview';
$lang->my->programLinkList['program-pgmproject'] = 'By default, you go to the list of items in the most recent program, and you can view all items under the current program';
$lang->my->productLinkList = array();
$lang->my->productLinkList['product-index'] = 'The default access to the product home page, you can understand the company’s overall product status';
$lang->my->productLinkList['product-all'] = 'By default, you go to the product list, where you can view all the products';
$lang->my->productLinkList['product-dashboard'] = 'By default, go to the latest product dashboard to see the current product overview';
$lang->my->productLinkList['product-browse'] = 'By default, go to the list of requirements for the most recent product and see the requirements under the current product';
$lang->my->projectLinkList = array();
//$lang->my->projectLinkList['program-home'] = 'The default access to the project home page, you can understand the overall project status of the company';
$lang->my->projectLinkList['program-prjbrowse'] = 'By default, you go to the project list, where you can view all the projects';
$lang->my->projectLinkList['program-index'] = 'By default, go to the most recent project dashboard to see the current project overview';
$lang->my->projectLinkList['project-task'] = 'By default, you go to the task list for the most recent project iteration to see the task information for the current iteration';
+22
View File
@@ -81,3 +81,25 @@ $lang->my->form = new stdclass();
$lang->my->form->lblBasic = 'Basic Info';
$lang->my->form->lblContact = 'Contact Info';
$lang->my->form->lblAccount = 'Account Info';
$lang->my->programLink = 'Program Default Page';
$lang->my->productLink = 'Product Default Page';
$lang->my->projectLink = 'Project Default Page';
$lang->my->programLinkList = array();
//$lang->my->programLinkList['program-home'] = 'The default access to the program home page, you can understand the company’s overall strategic planning status';
$lang->my->programLinkList['program-pgmbrowse'] = 'By default, you go to the program list, where you can view all of the programs';
//$lang->my->programLinkList['program-pgmindex'] = 'By default, you go to the most recent program dashboard to see the current program overview';
$lang->my->programLinkList['program-pgmproject'] = 'By default, you go to the list of items in the most recent program, and you can view all items under the current program';
$lang->my->productLinkList = array();
$lang->my->productLinkList['product-index'] = 'The default access to the product home page, you can understand the company’s overall product status';
$lang->my->productLinkList['product-all'] = 'By default, you go to the product list, where you can view all the products';
$lang->my->productLinkList['product-dashboard'] = 'By default, go to the latest product dashboard to see the current product overview';
$lang->my->productLinkList['product-browse'] = 'By default, go to the list of requirements for the most recent product and see the requirements under the current product';
$lang->my->projectLinkList = array();
//$lang->my->projectLinkList['program-home'] = 'The default access to the project home page, you can understand the overall project status of the company';
$lang->my->projectLinkList['program-prjbrowse'] = 'By default, you go to the project list, where you can view all the projects';
$lang->my->projectLinkList['program-index'] = 'By default, go to the most recent project dashboard to see the current project overview';
$lang->my->projectLinkList['project-task'] = 'By default, you go to the task list for the most recent project iteration to see the task information for the current iteration';
+22
View File
@@ -81,3 +81,25 @@ $lang->my->form = new stdclass();
$lang->my->form->lblBasic = 'Infos Basiques';
$lang->my->form->lblContact = 'Infos Contact';
$lang->my->form->lblAccount = 'Infos Compte';
$lang->my->programLink = 'Program Default Page';
$lang->my->productLink = 'Product Default Page';
$lang->my->projectLink = 'Project Default Page';
$lang->my->programLinkList = array();
//$lang->my->programLinkList['program-home'] = 'The default access to the program home page, you can understand the company’s overall strategic planning status';
$lang->my->programLinkList['program-pgmbrowse'] = 'By default, you go to the program list, where you can view all of the programs';
//$lang->my->programLinkList['program-pgmindex'] = 'By default, you go to the most recent program dashboard to see the current program overview';
$lang->my->programLinkList['program-pgmproject'] = 'By default, you go to the list of items in the most recent program, and you can view all items under the current program';
$lang->my->productLinkList = array();
$lang->my->productLinkList['product-index'] = 'The default access to the product home page, you can understand the company’s overall product status';
$lang->my->productLinkList['product-all'] = 'By default, you go to the product list, where you can view all the products';
$lang->my->productLinkList['product-dashboard'] = 'By default, go to the latest product dashboard to see the current product overview';
$lang->my->productLinkList['product-browse'] = 'By default, go to the list of requirements for the most recent product and see the requirements under the current product';
$lang->my->projectLinkList = array();
//$lang->my->projectLinkList['program-home'] = 'The default access to the project home page, you can understand the overall project status of the company';
$lang->my->projectLinkList['program-prjbrowse'] = 'By default, you go to the project list, where you can view all the projects';
$lang->my->projectLinkList['program-index'] = 'By default, go to the most recent project dashboard to see the current project overview';
$lang->my->projectLinkList['project-task'] = 'By default, you go to the task list for the most recent project iteration to see the task information for the current iteration';
+22
View File
@@ -81,3 +81,25 @@ $lang->my->form = new stdclass();
$lang->my->form->lblBasic = 'Thông tin cơ bản';
$lang->my->form->lblContact = 'Thông tin liên hệ';
$lang->my->form->lblAccount = 'Thông tin tài khoản';
$lang->my->programLink = 'Program Default Page';
$lang->my->productLink = 'Product Default Page';
$lang->my->projectLink = 'Project Default Page';
$lang->my->programLinkList = array();
//$lang->my->programLinkList['program-home'] = 'The default access to the program home page, you can understand the company’s overall strategic planning status';
$lang->my->programLinkList['program-pgmbrowse'] = 'By default, you go to the program list, where you can view all of the programs';
//$lang->my->programLinkList['program-pgmindex'] = 'By default, you go to the most recent program dashboard to see the current program overview';
$lang->my->programLinkList['program-pgmproject'] = 'By default, you go to the list of items in the most recent program, and you can view all items under the current program';
$lang->my->productLinkList = array();
$lang->my->productLinkList['product-index'] = 'The default access to the product home page, you can understand the company’s overall product status';
$lang->my->productLinkList['product-all'] = 'By default, you go to the product list, where you can view all the products';
$lang->my->productLinkList['product-dashboard'] = 'By default, go to the latest product dashboard to see the current product overview';
$lang->my->productLinkList['product-browse'] = 'By default, go to the list of requirements for the most recent product and see the requirements under the current product';
$lang->my->projectLinkList = array();
//$lang->my->projectLinkList['program-home'] = 'The default access to the project home page, you can understand the overall project status of the company';
$lang->my->projectLinkList['program-prjbrowse'] = 'By default, you go to the project list, where you can view all the projects';
$lang->my->projectLinkList['program-index'] = 'By default, go to the most recent project dashboard to see the current project overview';
$lang->my->projectLinkList['project-task'] = 'By default, you go to the task list for the most recent project iteration to see the task information for the current iteration';
+1 -1
View File
@@ -61,7 +61,7 @@
<td class='c-actions'>
<?php
$deleteClass = common::hasPriv($module, 'unbindWhielist') ? 'btn' : 'btn disabled';
echo html::a($this->createLink($module, 'unbindWhielist', "id=$user->id&confirm=no"), '<i class="icon-unlink"></i>', 'hiddenwin', "title='{$lang->personnel->delete}' class='{$deleteClass}'");
echo html::a($this->createLink($module, 'unbindWhielist', "id=$user->id&confirm=no"), '<i class="icon-unlink"></i>', 'hiddenwin', "title='{$lang->personnel->delete}' class='{$deleteClass}' $openModule");
?>
</td>
</tr>
+1 -1
View File
@@ -103,7 +103,7 @@
echo $this->buildOperateMenu($project, 'view');
echo "<div class='divider'></div>";
common::printIcon('program', 'PRJEdit', $params, $project, 'button', 'edit', '', '', '', '', $lang->edit);
common::printIcon('program', 'PRJEdit', "projectID=$project->id&parent=$project->parent", $project, 'button', 'edit', '', '', '', '', $lang->edit);
common::printIcon('program', 'PRJDelete', $params, $project, 'button', 'trash', 'hiddenwin', '', '', '', $lang->delete);
}
?>