Changeset 107 for trunk/admin/menu.php
- Timestamp:
- Mar 15, 2009, 12:01:24 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/menu.php
r61 r107 28 28 // URL: http://www.toemon.com // 29 29 // ------------------------------------------------------------------------- // 30 $dir_path = dirname(dirname(__FILE__)); 31 $dir_name = basename($dir_path); 32 33 $lang = @$GLOBALS["xoopsConfig"]['language']; 30 34 31 35 36 if( file_exists( $dir_path .'/language/'.$lang.'/modinfo.php' ) ) { 37 include_once $dir_path .'/language/'.$lang.'/modinfo.php' ; 38 } else if( file_exists( $dir_path .'/language/english/modinfo.php' ) ) { 39 include_once $dir_path .'/language/english/modinfo.php' ; 40 } 41 42 43 44 $i=0; 45 $adminmenu[$i]['title'] = _MI_MENU_SYS_INFO ; 46 $adminmenu[$i++]['link'] = "admin/index.php"; 47 32 48 ?>
Note: See TracChangeset
for help on using the changeset viewer.