@@ 23-25 (lines=3) @@ | ||
20 | redirect_header(XOOPS_URL . '/user.php', 3, _MD_LEXIKON_MUSTREGFIRST); |
|
21 | } |
|
22 | $result = $xoopsDB->query('SELECT * FROM ' . $xoopsDB->prefix('lxcategories') . ' '); |
|
23 | if ($xoopsDB->getRowsNum($result) == '0' && $xoopsModuleConfig['multicats'] == '1') { |
|
24 | redirect_header('index.php', 3, _AM_LEXIKON_NOCOLEXISTS); |
|
25 | } |
|
26 | //permissions |
|
27 | $gpermHandler = xoops_getHandler('groupperm'); |
|
28 | $groups = is_object($xoopsUser) ? $xoopsUser->getGroups() : XOOPS_GROUP_ANONYMOUS; |
@@ 17-19 (lines=3) @@ | ||
14 | global $xoTheme, $xoopsUser, $xoopsConfig, $xoopsModuleConfig, $xoopsModule; |
|
15 | ||
16 | $result = $xoopsDB->query('SELECT * FROM ' . $xoopsDB->prefix('lxcategories') . ''); |
|
17 | if ($xoopsDB->getRowsNum($result) == '0' && $xoopsModuleConfig['multicats'] == '1') { |
|
18 | redirect_header('index.php', 1, _AM_LEXIKON_NOCOLEXISTS); |
|
19 | } |
|
20 | ||
21 | $op = 'form'; |
|
22 |