3 if( defined(
'XOOPS_ORETEKI' ) )
return ;
8 if( ! is_object( $xoopsModule ) ) die(
'$xoopsModule is not set' ) ;
12 if( file_exists(
"$mydirpath/language/$language/modinfo.php" ) ) {
14 include_once
"$mydirpath/language/$language/modinfo.php" ;
15 }
else if( file_exists(
"$mytrustdirpath/language/$language/modinfo.php" ) ) {
17 include_once
"$mytrustdirpath/language/$language/modinfo.php" ;
20 include_once
"$mytrustdirpath/language/english/modinfo.php" ;
25 include dirname(dirname(__FILE__)).
'/admin_menu.php' ;
27 if( file_exists( XOOPS_TRUST_PATH.
'/libs/altsys/mytplsadmin.php' ) ) {
30 array_push(
$adminmenu , array(
'title' =>
$title ,
'link' =>
'admin/index.php?mode=admin&lib=altsys&page=mytplsadmin' ) ) ;
33 if( file_exists( XOOPS_TRUST_PATH.
'/libs/altsys/myblocksadmin.php' ) ) {
36 array_push(
$adminmenu , array(
'title' =>
$title ,
'link' =>
'admin/index.php?mode=admin&lib=altsys&page=myblocksadmin' ) ) ;
42 if( file_exists( XOOPS_TRUST_PATH.
'/libs/altsys/mypreferences.php' ) ) {
45 array_push(
$adminmenu , array(
'title' =>
$title ,
'link' =>
'admin/index.php?mode=admin&lib=altsys&page=mypreferences' ) ) ;
48 array_push(
$adminmenu , array(
'title' =>
_PREFERENCES ,
'link' => XOOPS_URL.
'/modules/system/admin.php?fct=preferences&op=showmod&mod='.$xoopsModule->mid() ) ) ;
61 $adminmenu_hilighted =
true ;
67 if( empty( $adminmenu_hilighted ) ) {
79 if( stristr(
$adminmenu[$i][
'link'] , XOOPS_URL ) ===
false ) {