XOOPS API 2.5.11 Beta1
UI v0.5
Réalisé par monxoops.fr
|
Espaces de nommage | |
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[ $i][ 'icon'] = $pathIcon32 . '/home.png' |
$adminmenu[ $i][ 'icon'] = $pathIcon32 . '/prune.png' |
$adminmenu[ $i][ 'icon'] = $pathIcon32 . '/about.png' |
$adminmenu[ $i][ 'title'] = _PM_MI_INDEX |
$adminmenu[ $i][ 'title'] = _PM_MI_PRUNE |
$adminmenu[ $i][ 'title'] = _PM_MI_ABOUT |
$adminmenu = array() |
$dirname = basename(dirname(__DIR__)) |
$i = 1 |
$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') |