Browse Source

php - fix user level menu mess up

master
kanoi 10 years ago
parent
commit
947e22a91a
  1. 3
      pool/page.php
  2. 5
      pool/prime.php

3
pool/page.php

@ -361,6 +361,9 @@ function pgmenu($menus)
$side = '';
foreach ($menus as $menu => $submenus)
{
if ($menu == 'Admin' && $submenus == null)
continue;
if ($menu == 'gap')
{
$side = 'r';

5
pool/prime.php

@ -14,11 +14,6 @@ function process($p, $user, $menu)
$menu['Admin']['PPLNS'] = 'pplns';
$menu['Admin']['AllWork'] = 'allwork';
}
else
{
if (isset($menu['Admin']))
unset($menu['Admin']);
}
$page = '';
$n = '';
foreach ($menu as $item => $options)

Loading…
Cancel
Save