menu authorities
This commit is contained in:
49
common.php
49
common.php
@@ -112,6 +112,55 @@ else {
|
||||
|
||||
//var_dump($sql);
|
||||
|
||||
//PAGE STRUCTURE FOR AUTHORITIES
|
||||
$structure = array(
|
||||
'members' => array(
|
||||
'parents',
|
||||
'shirts',
|
||||
'cities',
|
||||
'schools',
|
||||
'regions',
|
||||
'member',
|
||||
'parent',
|
||||
'shirt',
|
||||
'city',
|
||||
'school',
|
||||
'region'
|
||||
),
|
||||
'trainings' => array(
|
||||
'training_types',
|
||||
'training_templates',
|
||||
'training',
|
||||
'training_type',
|
||||
'training_template',
|
||||
'edit_training',
|
||||
),
|
||||
'presence' => array(
|
||||
'lock_training',
|
||||
),
|
||||
'coaches' => array(
|
||||
'coach'
|
||||
),
|
||||
'money_deposit' => array(
|
||||
'balance_list',
|
||||
'money_update',
|
||||
'money_deposit',
|
||||
),
|
||||
'money_expense' => array(
|
||||
'money_expense_category',
|
||||
'money_expense',
|
||||
),
|
||||
'money_income' => array(
|
||||
'money_incode_category',
|
||||
'money_income'
|
||||
),
|
||||
'settings' => array(),
|
||||
'exception' => array(
|
||||
'logout'
|
||||
),
|
||||
);
|
||||
|
||||
|
||||
//echo $_GET['page'];
|
||||
|
||||
$logout = false; //meg kell-e jeleníteni a kijelentkezés gombot
|
||||
|
||||
Reference in New Issue
Block a user