* Define table.
This commit is contained in:
@@ -333,6 +333,10 @@ if(!defined('TABLE_PROJECTSPEC')) define('TABLE_PROJECTSPEC', '`' . $config->db-
|
||||
if(!defined('TABLE_SEARCHINDEX')) define('TABLE_SEARCHINDEX', $config->db->prefix . 'searchindex');
|
||||
if(!defined('TABLE_SEARCHDICT')) define('TABLE_SEARCHDICT', $config->db->prefix . 'searchdict');
|
||||
|
||||
define('TABLE_CHART', '`' . $config->db->prefix . 'chart`');
|
||||
define('TABLE_DASHBOARD', '`' . $config->db->prefix . 'dashboard`');
|
||||
define('TABLE_DATASET', '`' . $config->db->prefix . 'dataset`');
|
||||
|
||||
$config->objectTables['product'] = TABLE_PRODUCT;
|
||||
$config->objectTables['productplan'] = TABLE_PRODUCTPLAN;
|
||||
$config->objectTables['story'] = TABLE_STORY;
|
||||
|
||||
@@ -207,6 +207,17 @@ class tree extends control
|
||||
$title = $this->lang->tree->manageLine;
|
||||
$position[] = $this->lang->tree->manageLine;
|
||||
}
|
||||
elseif($viewType == 'dashboard')
|
||||
{
|
||||
$root = new stdclass();
|
||||
$root->name = $this->lang->dashboard->common;
|
||||
|
||||
$this->view->root = $root;
|
||||
$this->lang->tree->menu = $this->lang->report->menu;
|
||||
|
||||
$title = $this->lang->tree->manageDashboard;
|
||||
$position[] = $this->lang->tree->manageDashboard;
|
||||
}
|
||||
elseif($viewType == 'trainskill')
|
||||
{
|
||||
$this->lang->tree->menu = $this->lang->trainskill->menu;
|
||||
|
||||
Reference in New Issue
Block a user