blocks/categories_block.php 1 location
|
@@ 24-27 (lines=4) @@
|
| 21 |
|
/** @var XoopsModuleHandler $moduleHandler */ |
| 22 |
|
$moduleHandler = xoops_getHandler('module'); |
| 23 |
|
$lexikon = $moduleHandler->getByDirname('lexikon'); |
| 24 |
|
if (!isset($lxConfig)) { |
| 25 |
|
$configHandler = xoops_getHandler('config'); |
| 26 |
|
$lxConfig = $configHandler->getConfigsByCat(0, $lexikon->getVar('mid')); |
| 27 |
|
} |
| 28 |
|
$groups = is_object($xoopsUser) ? $xoopsUser->getGroups() : XOOPS_GROUP_ANONYMOUS; |
| 29 |
|
$gpermHandler = xoops_getHandler('groupperm'); |
| 30 |
|
$module_id = $lexikon->getVar('mid'); |
blocks/entries_authors.php 1 location
|
@@ 22-25 (lines=4) @@
|
| 19 |
|
/** @var XoopsModuleHandler $moduleHandler */ |
| 20 |
|
$moduleHandler = xoops_getHandler('module'); |
| 21 |
|
$lexikon = $moduleHandler->getByDirname('lexikon'); |
| 22 |
|
if (!isset($lxConfig)) { |
| 23 |
|
$configHandler = xoops_getHandler('config'); |
| 24 |
|
$lxConfig = $configHandler->getConfigsByCat(0, $lexikon->getVar('mid')); |
| 25 |
|
} |
| 26 |
|
include_once XOOPS_ROOT_PATH . '/modules/lexikon/class/Utility.php'; |
| 27 |
|
|
| 28 |
|
$block = array(); |
blocks/entries_initial.php 1 location
|
@@ 25-28 (lines=4) @@
|
| 22 |
|
/** @var XoopsModuleHandler $moduleHandler */ |
| 23 |
|
$moduleHandler = xoops_getHandler('module'); |
| 24 |
|
$lexikon = $moduleHandler->getByDirname('lexikon'); |
| 25 |
|
if (!isset($lxConfig)) { |
| 26 |
|
$configHandler = xoops_getHandler('config'); |
| 27 |
|
$lxConfig = $configHandler->getConfigsByCat(0, $lexikon->getVar('mid')); |
| 28 |
|
} |
| 29 |
|
$groups = is_object($xoopsUser) ? $xoopsUser->getGroups() : XOOPS_GROUP_ANONYMOUS; |
| 30 |
|
$gpermHandler = xoops_getHandler('groupperm'); |
| 31 |
|
$module_id = $lexikon->getVar('mid'); |
blocks/entries_new.php 1 location
|
@@ 26-29 (lines=4) @@
|
| 23 |
|
/** @var XoopsModuleHandler $moduleHandler */ |
| 24 |
|
$moduleHandler = xoops_getHandler('module'); |
| 25 |
|
$lexikon = $moduleHandler->getByDirname('lexikon'); |
| 26 |
|
if (!isset($lxConfig)) { |
| 27 |
|
$configHandler = xoops_getHandler('config'); |
| 28 |
|
$lxConfig = $configHandler->getConfigsByCat(0, $lexikon->getVar('mid')); |
| 29 |
|
} |
| 30 |
|
$groups = is_object($xoopsUser) ? $xoopsUser->getGroups() : XOOPS_GROUP_ANONYMOUS; |
| 31 |
|
$gpermHandler = xoops_getHandler('groupperm'); |
| 32 |
|
$module_id = $lexikon->getVar('mid'); |
blocks/entries_scrolling.php 1 location
|
@@ 25-28 (lines=4) @@
|
| 22 |
|
/** @var XoopsModuleHandler $moduleHandler */ |
| 23 |
|
$moduleHandler = xoops_getHandler('module'); |
| 24 |
|
$lexikon = $moduleHandler->getByDirname('lexikon'); |
| 25 |
|
if (!isset($lxConfig)) { |
| 26 |
|
$configHandler = xoops_getHandler('config'); |
| 27 |
|
$lxConfig = $configHandler->getConfigsByCat(0, $lexikon->getVar('mid')); |
| 28 |
|
} |
| 29 |
|
include_once XOOPS_ROOT_PATH . '/modules/lexikon/class/Utility.php'; |
| 30 |
|
|
| 31 |
|
$groups = is_object($xoopsUser) ? $xoopsUser->getGroups() : XOOPS_GROUP_ANONYMOUS; |
blocks/entries_spot.php 1 location
|
@@ 28-31 (lines=4) @@
|
| 25 |
|
/** @var XoopsModuleHandler $moduleHandler */ |
| 26 |
|
$moduleHandler = xoops_getHandler('module'); |
| 27 |
|
$lexikon = $moduleHandler->getByDirname('lexikon'); |
| 28 |
|
if (!isset($lxConfig)) { |
| 29 |
|
$configHandler = xoops_getHandler('config'); |
| 30 |
|
$lxConfig = $configHandler->getConfigsByCat(0, $lexikon->getVar('mid')); |
| 31 |
|
} |
| 32 |
|
|
| 33 |
|
$gpermHandler = xoops_getHandler('groupperm'); |
| 34 |
|
$groups = is_object($xoopsUser) ? $xoopsUser->getGroups() : XOOPS_GROUP_ANONYMOUS; |
blocks/entries_top.php 1 location
|
@@ 25-28 (lines=4) @@
|
| 22 |
|
/** @var XoopsModuleHandler $moduleHandler */ |
| 23 |
|
$moduleHandler = xoops_getHandler('module'); |
| 24 |
|
$lexikon = $moduleHandler->getByDirname('lexikon'); |
| 25 |
|
if (!isset($lxConfig)) { |
| 26 |
|
$configHandler = xoops_getHandler('config'); |
| 27 |
|
$lxConfig = $configHandler->getConfigsByCat(0, $lexikon->getVar('mid')); |
| 28 |
|
} |
| 29 |
|
$groups = is_object($xoopsUser) ? $xoopsUser->getGroups() : XOOPS_GROUP_ANONYMOUS; |
| 30 |
|
$gpermHandler = xoops_getHandler('groupperm'); |
| 31 |
|
$module_id = $lexikon->getVar('mid'); |
blocks/random_term.php 1 location
|
@@ 25-28 (lines=4) @@
|
| 22 |
|
$moduleHandler = xoops_getHandler('module'); |
| 23 |
|
$lexikon = $moduleHandler->getByDirname('lexikon'); |
| 24 |
|
|
| 25 |
|
if (!isset($lxConfig)) { |
| 26 |
|
$configHandler = xoops_getHandler('config'); |
| 27 |
|
$lxConfig = $configHandler->getConfigsByCat(0, $lexikon->getVar('mid')); |
| 28 |
|
} |
| 29 |
|
$groups = is_object($xoopsUser) ? $xoopsUser->getGroups() : XOOPS_GROUP_ANONYMOUS; |
| 30 |
|
$gpermHandler = xoops_getHandler('groupperm'); |
| 31 |
|
$module_id = $lexikon->getVar('mid'); |
xoops_version.php 1 location
|
@@ 80-85 (lines=6) @@
|
| 77 |
|
/** @var XoopsModuleHandler $moduleHandler */ |
| 78 |
|
$moduleHandler = xoops_getHandler('module'); |
| 79 |
|
$lexikon = $moduleHandler->getByDirname($modversion['dirname']); |
| 80 |
|
if ($lexikon) { |
| 81 |
|
if (!isset($lxConfig)) { |
| 82 |
|
$configHandler = xoops_getHandler('config'); |
| 83 |
|
$lxConfig = $configHandler->getConfigsByCat(0, $lexikon->getVar('mid')); |
| 84 |
|
} |
| 85 |
|
} |
| 86 |
|
$i = 0; |
| 87 |
|
if (is_object($xoopsUser)) { |
| 88 |
|
if ($xoopsUser->isAdmin()) { |