|
|
@ -22,6 +22,7 @@ function process($p, $user, $menu) |
|
|
|
$menu['Admin']['PPLNS'] = 'pplns'; |
|
|
|
$menu['Admin']['PPLNS'] = 'pplns'; |
|
|
|
$menu['Admin']['AllWork'] = 'allwork'; |
|
|
|
$menu['Admin']['AllWork'] = 'allwork'; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
bp: |
|
|
|
$page = ''; |
|
|
|
$page = ''; |
|
|
|
$n = ''; |
|
|
|
$n = ''; |
|
|
|
foreach ($menu as $item => $options) |
|
|
|
foreach ($menu as $item => $options) |
|
|
@ -33,6 +34,11 @@ function process($p, $user, $menu) |
|
|
|
$n = " - $name"; |
|
|
|
$n = " - $name"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($page === '' and $p == 'blocks') |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
$p = 'pblocks'; |
|
|
|
|
|
|
|
goto bp; |
|
|
|
|
|
|
|
} |
|
|
|
if ($page === '') |
|
|
|
if ($page === '') |
|
|
|
showPage($info, 'index', $menu, '', $user); |
|
|
|
showPage($info, 'index', $menu, '', $user); |
|
|
|
else |
|
|
|
else |
|
|
|