main.php
/language/{語系}/main.php
//權限項目陣列(x軸)(編號超級重要!設定後,以後切勿隨便亂改。)
$gperm_itemid_arr = array(
'1' => array("title"=>"新增","anonymous"=>false),
'2' => array("title"=>"編輯","anonymous"=>false),
'3' => array("title"=>"刪除","anonymous"=>false),
'4' => array("title"=>"瀏覽","anonymous"=>true),
'5' => array("title"=>"列印","anonymous"=>false)
);
- "模組名稱_程式名稱" => "中文名稱"
- 後續可自行增加,系統會自行處理
//權限名稱陣列(y軸)
$gperm_name_arr = array(
"ugmmrp_customer" => "客戶基本資料",
"ugmmrp_factory" => "廠商基本資料",
"ugmmrp_product" => "貨品基本資料",
"ugmmrp_kind" => "貨品類別資料",
"ugmmrp_staff" => "員工基本資料",
"ugmmrp_ordermain" => "訂單管理"
);