* Code for task #7625.

This commit is contained in:
Yagami
2020-08-18 14:36:39 +08:00
parent e2378b2dde
commit bfd9f8e5d1
38 changed files with 1841 additions and 100 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ class program extends control
public function index($status = 'doing', $orderBy = 'order_desc', $recTotal = 0, $recPerPage = 10, $pageID = 1)
{
if(common::hasPriv('program', 'create')) $this->lang->pageActions = html::a($this->createLink('program', 'create'), "<i class='icon icon-sm icon-plus'></i> " . $this->lang->program->create, '', "class='btn btn-primary'");
if(common::hasPriv('program', 'createGuide')) $this->lang->pageActions = html::a($this->createLink('program', 'createGuide'), "<i class='icon icon-sm icon-plus'></i> " . $this->lang->program->create, '', "class='btn btn-primary' data-toggle=modal");
$programType = $this->cookie->programType ? $this->cookie->programType : 'bylist';