* code for task #6171.

This commit is contained in:
wangyidong
2019-08-15 15:03:31 +08:00
parent bd0eb7d8db
commit 92d402f86d
4 changed files with 10 additions and 2 deletions
-1
View File
@@ -44,7 +44,6 @@ class project extends control
if($this->app->viewType != 'mhtml') unset($this->lang->project->menu->index);
$this->commonAction($projectID);
//$this->project->setMenu($this->projects, key($this->projects));
if(common::hasPriv('project', 'create')) $this->lang->modulePageActions = html::a($this->createLink('project', 'create'), "<i class='icon icon-sm icon-plus'></i> " . $this->lang->project->create, '', "class='btn btn-primary'");
+4 -1
View File
@@ -1,3 +1,4 @@
<?php if(isset($pageCSS)) css::internal($pageCSS);?>
<div class="detail">
<h2 class="detail-title"><span class="label-id"><?php echo $story->id?></span> <span class="label label-story"><?php echo $lang->story->common?></span> <span class="title"><?php echo $story->title;?></span></h2>
<div class="detail-content article-content">
@@ -340,6 +341,8 @@
</table>
</div>
</details>
<?php $actionFormLink = $this->createLink('action', 'comment', "objectType=story&objectID=$story->id");?>
<?php include '../../common/view/action.html.php';?>
<script>
<?php if(isset($pageJS)) echo $pageJS;?>
</script>
+4
View File
@@ -1,3 +1,4 @@
<?php if(isset($pageCSS)) css::internal($pageCSS);?>
<div class="detail">
<h2 class="detail-title">
<span class="label-id"><?php echo $task->id?></span>
@@ -80,3 +81,6 @@
<?php echo $this->fetch('file', 'printFiles', array('files' => $task->files, 'fieldset' => 'true'));?>
<?php $actionFormLink = $this->createLink('action', 'comment', "objectType=task&objectID=$task->id");?>
<?php include '../../common/view/action.html.php';?>
<script>
<?php if(isset($pageJS)) echo $pageJS;?>
</script>
+2
View File
@@ -14,6 +14,7 @@
$webRoot = $this->app->getWebRoot();
$jsRoot = $webRoot . "js/";
js::set('type', $type);
if(isset($pageCSS)) css::internal($pageCSS);
?>
<div class='modal-dialog w-500px'>
<div class="modal-header">
@@ -66,6 +67,7 @@ js::set('type', $type);
</div>
</div>
<script>
<?php if(isset($pageJS)) echo $pageJS;?>
var currentRoot = <?php echo $module->root;?>;
var currentParent = <?php echo $module->parent;?>;
function getProductModules(productID)