API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Namespaces | |
namespace | pm |
Variables | |
$path = dirname(dirname(dirname(__DIR__))) | |
$dirname = basename(dirname(__DIR__)) | |
$module_handler = xoops_getHandler('module') | |
$module = $module_handler->getByDirname($dirname) | |
$pathIcon32 = $module->getInfo('icons32') | |
$pathModuleAdmin = $module->getInfo('dirmoduleadmin') | |
$pathLanguage = $path . $pathModuleAdmin | |
if (!file_exists( $fileinc=$pathLanguage . '/language/' . $GLOBALS[ 'xoopsConfig'][ 'language'] . '/' . 'main.php')) | |
$adminmenu = array() | |
$i = 1 | |
$adminmenu [$i]['title'] = _PM_MI_INDEX | |
$adminmenu [$i]['link'] = 'admin/admin.php' | |
$adminmenu [$i]['icon'] = $pathIcon32 . '/home.png' | |
$adminmenu [$i]['title'] = _PM_MI_PRUNE | |
$adminmenu [$i]['link'] = 'admin/prune.php' | |
$adminmenu [$i]['icon'] = $pathIcon32 . '/prune.png' | |
$adminmenu [$i]['title'] = _PM_MI_ABOUT | |
$adminmenu [$i]['link'] = 'admin/about.php' | |
$adminmenu [$i]['icon'] = $pathIcon32 . '/about.png' | |
$adminmenu = array() |
$adminmenu[ $i][ 'icon'] = $pathIcon32 . '/home.png' |
$adminmenu[ $i][ 'icon'] = $pathIcon32 . '/prune.png' |
$adminmenu[ $i][ 'icon'] = $pathIcon32 . '/about.png' |
$adminmenu[ $i][ 'link'] = 'admin/admin.php' |
$adminmenu[ $i][ 'link'] = 'admin/prune.php' |
$adminmenu[ $i][ 'link'] = 'admin/about.php' |
$adminmenu[ $i][ 'title'] = _PM_MI_INDEX |
$adminmenu[ $i][ 'title'] = _PM_MI_PRUNE |
$adminmenu[ $i][ 'title'] = _PM_MI_ABOUT |
$dirname = basename(dirname(__DIR__)) |
$i = 1 |
XoopsModule $module = $module_handler->getByDirname($dirname) |
$module_handler = xoops_getHandler('module') |
$path = dirname(dirname(dirname(__DIR__))) |
$pathIcon32 = $module->getInfo('icons32') |
$pathLanguage = $path . $pathModuleAdmin |
$pathModuleAdmin = $module->getInfo('dirmoduleadmin') |
if(!file_exists($fileinc=$pathLanguage . '/language/' . $GLOBALS['xoopsConfig']['language'] . '/' . 'main.php')) | ( | ! | file_exists $fileinc=$pathLanguage . '/language/' . $GLOBALS[ 'xoopsConfig'][ 'language'] . '/' . 'main.php' | ) |