* Delete unused file and fix menu.

This commit is contained in:
Yagami
2020-09-16 14:05:26 +08:00
parent c890125ee8
commit d624251ab6
7 changed files with 33 additions and 117 deletions
+15 -2
View File
@@ -9,6 +9,18 @@ class program extends control
$this->programs = $this->program->getPairs();
}
/**
* Program home page.
*
* @access public
* @return void
*/
public function PGMIndex()
{
$this->lang->navGroup->program = 'program';
$this->display();
}
/**
* Program index view.
*
@@ -30,7 +42,7 @@ class program extends control
}
/**
* Program list.
* Project list.
*
* @param varchar $status
* @param varchar $orderBy
@@ -40,8 +52,9 @@ class program extends control
* @access public
* @return void
*/
public function browse($status = 'doing', $orderBy = 'order_desc', $recTotal = 0, $recPerPage = 50, $pageID = 1)
public function PGMBrowse($status = 'doing', $orderBy = 'order_desc', $recTotal = 0, $recPerPage = 50, $pageID = 1)
{
$this->lang->navGroup->program = 'program';
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");
$this->app->session->set('programList', $this->app->getURI(true));