* Fix details.

This commit is contained in:
Yagami
2020-11-02 13:22:57 +08:00
parent c66f0f9bc5
commit 225189e217
15 changed files with 27 additions and 35 deletions
+1 -1
View File
@@ -320,7 +320,7 @@ class programModel extends model
$groupPriv = new stdclass();
$groupPriv->account = $this->app->user->account;
$groupPriv->group = $PRJAdminID;
$groupPriv->program = $programID;
$groupPriv->PRJ = $programID;
$this->dao->insert(TABLE_USERGROUP)->data($groupPriv)->exec();
}
+1 -1
View File
@@ -50,7 +50,7 @@
<td class='c-name text-left pgm-title table-nest-title' title='<?php echo $program->name?>'>
<span class="table-nest-icon icon <?php if($program->type == 'program') echo ' table-nest-toggle' ?>"></span>
<?php if($program->type == 'program'):?>
<?php echo html::a($this->createLink('program', 'pgmview', "programID=$program->id"), "<i class='icon icon-folder-open-o'></i>" . $program->name);?>
<?php echo html::a($this->createLink('program', 'pgmview', "programID=$program->id"), "<i class='icon icon-folder-open-o'></i> " . $program->name);?>
<?php else:?>
<?php echo html::a($this->createLink('program', 'index', "programID=$program->id", '', '', $program->id), "<i class='icon icon-file'></i> " . $program->name);?>
<?php endif;?>