API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Variables | |
if(defined('XOOPS_ORETEKI')) global | $xoopsModule |
$mydirpath = dirname(__DIR__) | |
if(!is_object($xoopsModule)) | $language = empty($xoopsConfig['language']) ? 'english' : $xoopsConfig['language'] |
if(file_exists("$mydirpath/language/$language/modinfo.php")) elseif(file_exists("$mytrustdirpath/language/$language/modinfo.php")) | else |
if(file_exists(XOOPS_TRUST_PATH . '/libs/altsys/mytplsadmin.php')) if(file_exists(XOOPS_TRUST_PATH . '/libs/altsys/myblocksadmin.php')) | $config_handler = xoops_getHandler('config') |
if(count($config_handler->getConfigs(new Criteria('conf_modid', $xoopsModule->mid()))) > 0) | $mymenu_uri = empty($mymenu_fake_uri) ? $_SERVER['REQUEST_URI'] : $mymenu_fake_uri |
$mymenu_link = substr(strstr($mymenu_uri, '/admin/'), 1) | |
if(file_exists(XOOPS_TRUST_PATH . '/libs/altsys/mytplsadmin.php')) if (file_exists(XOOPS_TRUST_PATH . '/libs/altsys/myblocksadmin.php')) $config_handler = xoops_getHandler('config') |
if (!is_object( $xoopsModule)) $language = empty($xoopsConfig['language']) ? 'english' : $xoopsConfig['language'] |
$mydirpath = dirname(__DIR__) |
$mymenu_link = substr(strstr($mymenu_uri, '/admin/'), 1) |
if (count( $config_handler->getConfigs(new Criteria( 'conf_modid', $xoopsModule->mid()))) > 0) $mymenu_uri = empty($mymenu_fake_uri) ? $_SERVER['REQUEST_URI'] : $mymenu_fake_uri |
if(file_exists("$mydirpath/language/$language/modinfo.php")) elseif (file_exists("$mytrustdirpath/language/$language/modinfo.php")) else |