Changeset 170
- Timestamp:
- Apr 9, 2009, 12:52:12 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/block_check.php
r151 r170 30 30 //include_once 'cp_functions.php'; 31 31 $mydirname = basename( dirname( dirname( __FILE__ ) ) ) ; 32 include_once('./../../../include/cp_header.php'); 32 require_once '../../../include/cp_header.php' ; 33 //require_once '../include/gtickets.php' ; 34 //define( '_MYMENU_CONSTANT_IN_MODINFO' , '_MI_TELLAFRIEND_MODNAME' ) ; 35 36 // branch for altsys 37 if( defined( 'XOOPS_TRUST_PATH' ) && ! empty( $_GET['lib'] ) ) { 38 $mydirname = basename( dirname( dirname( __FILE__ ) ) ) ; 39 $mydirpath = dirname( dirname( __FILE__ ) ) ; 40 41 // common libs (eg. altsys) 42 $lib = preg_replace( '/[^a-zA-Z0-9_-]/' , '' , $_GET['lib'] ) ; 43 $page = preg_replace( '/[^a-zA-Z0-9_-]/' , '' , @$_GET['page'] ) ; 44 45 if( file_exists( XOOPS_TRUST_PATH.'/libs/'.$lib.'/'.$page.'.php' ) ) { 46 include XOOPS_TRUST_PATH.'/libs/'.$lib.'/'.$page.'.php' ; 47 } else if( file_exists( XOOPS_TRUST_PATH.'/libs/'.$lib.'/index.php' ) ) { 48 include XOOPS_TRUST_PATH.'/libs/'.$lib.'/index.php' ; 49 } else { 50 die( 'wrong request' ) ; 51 } 52 exit ; 53 } 54 55 //include_once('./menu.php'); 56 //include_once('./../../../include/cp_header.php'); 33 57 xoops_cp_header(); 58 include( './mymenu.php' ) ; 59 34 60 include_once(dirname(__FILE__) . '/../class/check_blocks_class.php'); 35 61 -
trunk/admin/index.php
r169 r170 104 104 if ($is_report) { 105 105 echo "******** " . _AM_XPRESS_PLUGIN . "********" . "<br />\n"; 106 echo get_xpress_active_plugin_list(' ') . "<br />\n";106 echo get_xpress_active_plugin_list(' ') . "<br />\n"; 107 107 } else { 108 108 echo "<fieldset><legend style='font-weight: bold; color: #900;'>" . _AM_XPRESS_PLUGIN . "</legend>"; … … 121 121 if ($is_report) { 122 122 echo "******** " . _AM_SYSTEM_INFO . "********" . "<br />\n"; 123 echo "SERVER: ". $_SERVER['SERVER_SOFTWARE']. "<br />\n";124 echo "PHP Version: " . phpversion() . "<br />\n";125 echo "MySQL Version: " . mysql_get_server_info() . "</text><br />";126 echo "XOOPS Version: " . XOOPS_VERSION . "</text><br />";127 echo "XPressME Version: " . $xoopsModule->getInfo('version') . ' ' . $xoopsModule->getInfo('codename') . "<br />\n";128 echo "WordPress Version: " . $wp_version . "<br />\n";129 echo "WP DB Version: " . $wp_db_version . "<br />\n";130 echo "<br />\n"; 131 echo "safemode: " ;123 echo ' ' . "SERVER: ". $_SERVER['SERVER_SOFTWARE']. "<br />\n"; 124 echo ' ' . "PHP Version: " . phpversion() . "<br />\n"; 125 echo ' ' . "MySQL Version: " . mysql_get_server_info() . "</text><br />"; 126 echo ' ' . "XOOPS Version: " . XOOPS_VERSION . "</text><br />"; 127 echo ' ' . "XPressME Version: " . $xoopsModule->getInfo('version') . ' ' . $xoopsModule->getInfo('codename') . "<br />\n"; 128 echo ' ' . "WordPress Version: " . $wp_version . "<br />\n"; 129 echo ' ' . "WP DB Version: " . $wp_db_version . "<br />\n"; 130 echo "<br />\n"; 131 echo ' ' . "safemode: " ; 132 132 echo ( ini_get( 'safe_mode' ) ) ? "ON" : "OFF"; 133 133 echo "<br />\n"; 134 echo "register_globals: " ;134 echo ' ' . "register_globals: " ; 135 135 echo ( ini_get( 'register_globals' )) ? "ON" : "OFF" ; 136 136 echo "<br />\n"; 137 echo "magic_quotes_gpc: " ;137 echo ' ' . "magic_quotes_gpc: " ; 138 138 echo ( ini_get( 'magic_quotes_gpc' )) ? "ON" : "OFF"; 139 139 echo "<br />\n"; 140 echo "XML extension: " ;140 echo ' ' . "XML extension: " ; 141 141 echo ( extension_loaded( 'xml' )) ? "ON" : "OFF"; 142 142 echo "<br />\n"; 143 echo "memory_limit: " ;143 echo ' ' . "memory_limit: " ; 144 144 echo ini_get( 'memory_limit' ); 145 145 echo "<br />\n"; 146 echo "post_max_size: " ;146 echo ' ' . "post_max_size: " ; 147 147 echo ini_get( 'post_max_size' ); 148 148 echo "<br />\n"; 149 echo "upload_max_filesize: " ;149 echo ' ' . "upload_max_filesize: " ; 150 150 echo ini_get( 'upload_max_filesize' ); 151 151 echo "<br />\n"; 152 echo "display_errors: " ;152 echo ' ' . "display_errors: " ; 153 153 echo ( ini_get( 'display_errors' )) ? "ON" : "OFF"; 154 154 echo "<br />\n"; 155 echo "MB extension: " ;155 echo ' ' . "MB extension: " ; 156 156 echo ( extension_loaded( 'mbstring' )) ? "ON" : "OFF"; 157 157 echo "<br />\n"; 158 echo "mbstring.language: " ;158 echo ' ' . "mbstring.language: " ; 159 159 echo ini_get( 'mbstring.language' ); 160 160 echo "<br />\n"; 161 echo "mbstring.encoding_translation: " ;161 echo ' ' . "mbstring.encoding_translation: " ; 162 162 echo ( ini_get( 'mbstring.encoding_translation' )) ? "ON" : "OFF"; 163 163 echo "<br />\n"; 164 echo "mbstring.internal_encoding: " ;164 echo ' ' . "mbstring.internal_encoding: " ; 165 165 echo ini_get( 'mbstring.internal_encoding' ); 166 166 echo "<br />\n"; 167 echo "mbstring.http_input: " ;167 echo ' ' . "mbstring.http_input: " ; 168 168 echo ini_get( 'mbstring.http_input' ); 169 169 echo "<br />\n"; 170 echo "mbstring.http_output: " ;170 echo ' ' . "mbstring.http_output: " ; 171 171 echo ini_get( 'mbstring.http_output' ); 172 172 echo "<br />\n"; 173 echo "mbstring.detect_order: " ;173 echo ' ' . "mbstring.detect_order: " ; 174 174 echo ini_get( 'mbstring.detect_order' ); 175 175 echo "<br />\n"; 176 echo "mbstring.substitute_character: " ;176 echo ' ' . "mbstring.substitute_character: " ; 177 177 echo ini_get( 'mbstring.substitute_character' ); 178 178 echo "<br />\n"; 179 echo "mbstring.func_overload: " ;179 echo ' ' . "mbstring.func_overload: " ; 180 180 echo ( ini_get( 'mbstring.func_overload' )) ? "ON" : "OFF"; 181 181 echo "<br />\n"; … … 256 256 if ($is_report) { 257 257 echo "******** " . _AM_XOOPS_CONFIG_INFO . "********" . "<br />\n"; 258 echo 'XOOPS_ROOT_PATH: ' ;258 echo ' ' . 'XOOPS_ROOT_PATH: ' ; 259 259 if(XOOPS_ROOT_PATH !== $xoops_config->xoops_root_path) 260 260 echo 'ERROR '; … … 263 263 echo "<br />\n"; 264 264 265 echo 'XOOPS_TRUST_PATH: ' ;265 echo ' ' . 'XOOPS_TRUST_PATH: ' ; 266 266 if(XOOPS_TRUST_PATH !== $xoops_config->xoops_trust_path) 267 267 echo 'ERROR '; … … 270 270 echo "<br />\n"; 271 271 272 echo 'XOOPS_URL: ' ;272 echo ' ' . 'XOOPS_URL: ' ; 273 273 if(XOOPS_URL !== $xoops_config->xoops_url) 274 274 echo 'ERROR '; … … 278 278 279 279 if (defined('XOOPS_SALT')){ 280 echo 'XOOPS_SALT: ' ;280 echo ' ' . 'XOOPS_SALT: ' ; 281 281 if(XOOPS_SALT !== $xoops_config->xoops_salt) 282 282 echo 'ERROR '; … … 287 287 288 288 if (defined('XOOPS_DB_SALT')){ 289 echo 'XOOPS_DB_SALT: ' ;289 echo ' ' . 'XOOPS_DB_SALT: ' ; 290 290 if(XOOPS_DB_SALT !== $xoops_config->xoops_db_salt) 291 291 echo 'ERROR '; … … 295 295 } 296 296 297 echo 'XOOPS_DB_HOST: ' ;297 echo ' ' . 'XOOPS_DB_HOST: ' ; 298 298 if(XOOPS_DB_HOST !== $xoops_config->xoops_db_host) 299 299 echo 'ERROR '; … … 302 302 echo "<br />\n"; 303 303 304 echo 'XOOPS_DB_USER: ' ;304 echo ' ' . 'XOOPS_DB_USER: ' ; 305 305 if(XOOPS_DB_USER !== $xoops_config->xoops_db_user) 306 306 echo 'ERROR '; … … 309 309 echo "<br />\n"; 310 310 311 echo 'XOOPS_DB_PASS: ' ;311 echo ' ' . 'XOOPS_DB_PASS: ' ; 312 312 if(XOOPS_DB_PASS !== $xoops_config->xoops_db_pass) 313 313 echo 'ERROR '; … … 316 316 echo "<br />\n"; 317 317 318 echo 'XOOPS_DB_NAME: ' ;318 echo ' ' . 'XOOPS_DB_NAME: ' ; 319 319 if(XOOPS_DB_NAME !== $xoops_config->xoops_db_name) 320 320 echo 'ERROR '; … … 323 323 echo "<br />\n"; 324 324 325 echo 'XOOPS_DB_PREFIX: ' ;325 echo ' ' . 'XOOPS_DB_PREFIX: ' ; 326 326 if(XOOPS_DB_PREFIX !== $xoops_config->xoops_db_prefix) 327 327 echo 'ERROR '; … … 473 473 if ($is_report){ 474 474 echo "******** " . _AM_XPRESS_STATS . "********" . "<br />\n"; 475 echo _AM_XPRESS_CATEGORIES .": ".@$count_category. "<br />\n";476 echo _AM_XPRESS_ARTICLES .": ". $count_article. "<br />\n";477 echo _AM_XPRESS_AUTHORS .": ". $count_author. "<br />\n";475 echo ' ' . _AM_XPRESS_CATEGORIES .": ".@$count_category. "<br />\n"; 476 echo ' ' . _AM_XPRESS_ARTICLES .": ". $count_article. "<br />\n"; 477 echo ' ' . _AM_XPRESS_AUTHORS .": ". $count_author. "<br />\n"; 478 478 479 479 } else { … … 490 490 } 491 491 } 492 493 include_once('./../../../include/cp_header.php'); 492 require_once '../../../include/cp_header.php' ; 493 //require_once '../include/gtickets.php' ; 494 //define( '_MYMENU_CONSTANT_IN_MODINFO' , '_MI_TELLAFRIEND_MODNAME' ) ; 495 496 // branch for altsys 497 if( defined( 'XOOPS_TRUST_PATH' ) && ! empty( $_GET['lib'] ) ) { 498 $mydirname = basename( dirname( dirname( __FILE__ ) ) ) ; 499 $mydirpath = dirname( dirname( __FILE__ ) ) ; 500 501 // common libs (eg. altsys) 502 $lib = preg_replace( '/[^a-zA-Z0-9_-]/' , '' , $_GET['lib'] ) ; 503 $page = preg_replace( '/[^a-zA-Z0-9_-]/' , '' , @$_GET['page'] ) ; 504 505 if( file_exists( XOOPS_TRUST_PATH.'/libs/'.$lib.'/'.$page.'.php' ) ) { 506 include XOOPS_TRUST_PATH.'/libs/'.$lib.'/'.$page.'.php' ; 507 } else if( file_exists( XOOPS_TRUST_PATH.'/libs/'.$lib.'/index.php' ) ) { 508 include XOOPS_TRUST_PATH.'/libs/'.$lib.'/index.php' ; 509 } else { 510 die( 'wrong request' ) ; 511 } 512 exit ; 513 } 514 515 //include_once('./menu.php'); 516 //include_once('./../../../include/cp_header.php'); 494 517 xoops_cp_header(); 495 518 include( './mymenu.php' ) ; 496 519 echo " 497 520 <style type=\"text/css\"> -
trunk/admin/menu.php
r151 r170 46 46 $adminmenu[$i++]['link'] = "admin/index.php"; 47 47 48 $adminmenu[$i]['title'] = _MI_MENU_BLOCK_ADMIN ;49 $adminmenu[$i++]['link'] = "admin/admin_blocks.php";48 //$adminmenu[$i]['title'] = _MI_MENU_BLOCK_ADMIN ; 49 //$adminmenu[$i++]['link'] = "admin/admin_blocks.php"; 50 50 51 51 $adminmenu[$i]['title'] = _MI_MENU_BLOCK_CHECK ; -
trunk/language/ja_utf8/admin.php
r160 r170 3 3 define( 'XPRESS_ADMIN_LANG_INCLUDED' , 1 ) ; 4 4 5 // altsys 6 define('_MD_A_MYMENU_MYTPLSADMIN','テンプレート管理'); 7 define('_MD_A_MYMENU_MYBLOCKSADMIN','アクセス権限'); 8 define('_MD_A_MYMENU_MYLANGADMIN','言語定数管理'); 9 define('_MD_A_MYMENU_MYPREFERENCES','一般設定'); 10 5 11 define("_AM_SYSTEM_INFO","システム情報"); 6 12 define("_AM_XOOPS_CONFIG_INFO","XPressMEがXOOPSより取得した設定値"); -
trunk/xoops_version.php
r167 r170 31 31 $modversion['name'] = ucfirst($mydirname) . ' ' . constant('_MI_XPRESS_NAME') ; 32 32 $modversion['description'] = constant( '_MI_XPRESS_DESC'); 33 $modversion['version'] = "0. 29";33 $modversion['version'] = "0.30"; 34 34 $modversion['credits'] = "Wordpress DEV (http://wordpress.org/) XPressME DEV Toemon) (http://www.toemon.com) ;"; 35 35 $modversion['author'] = "toemon (http://www.toemon.com)"; … … 40 40 41 41 // status 42 $modversion['codename'] = "r1 67";42 $modversion['codename'] = "r170"; 43 43 44 44 // onInstall, onUpdate, onUninstall
Note: See TracChangeset
for help on using the changeset viewer.