XPressME Integration Kit

Trac

source: trunk/admin/menu.php @ 124

Last change on this file since 124 was 107, checked in by toemon, 16 years ago

XOOPSモジュール管理画面にシステム情報表示メニューを追加
チケット #23 実装

File size: 2.7 KB
Line 
1<?php
2// $Id: xoops_version.php,v 1.8 2005/06/03 01:35:02 phppp Exp $
3//  ------------------------------------------------------------------------ //
4//                XOOPS - PHP Content Management System                      //
5//                    Copyright (c) 2000 XOOPS.org                           //
6//                       <http://www.xoops.org/>                             //
7//  ------------------------------------------------------------------------ //
8//  This program is free software; you can redistribute it and/or modify     //
9//  it under the terms of the GNU General Public License as published by     //
10//  the Free Software Foundation; either version 2 of the License, or        //
11//  (at your option) any later version.                                      //
12//                                                                           //
13//  You may not change or alter any portion of this comment or credits       //
14//  of supporting developers from this source code or any supporting         //
15//  source code which is considered copyrighted (c) material of the          //
16//  original comment or credit authors.                                      //
17//                                                                           //
18//  This program is distributed in the hope that it will be useful,          //
19//  but WITHOUT ANY WARRANTY; without even the implied warranty of           //
20//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            //
21//  GNU General Public License for more details.                             //
22//                                                                           //
23//  You should have received a copy of the GNU General Public License        //
24//  along with this program; if not, write to the Free Software              //
25//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA //
26//  ------------------------------------------------------------------------ //
27// Author: toemon                                                      //
28// URL: http://www.toemon.com                       //
29// ------------------------------------------------------------------------- //
30$dir_path = dirname(dirname(__FILE__));
31$dir_name = basename($dir_path);
32
33$lang = @$GLOBALS["xoopsConfig"]['language'];
34
35
36if( 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
48?>
Note: See TracBrowser for help on using the repository browser.