Changeset 199
- Timestamp:
- Apr 30, 2009, 11:43:16 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/index.php
r191 r199 29 29 // ------------------------------------------------------------------------- // 30 30 //include_once 'cp_functions.php'; 31 32 31 33 function get_xpress_plugin_data( $plugin_file, $markup = true, $translate = true ) { 32 34 // We don't need to write to the file, so just open for reading. … … 490 492 } 491 493 } 494 function xpress_block_state($is_report = false) 495 { 496 require_once dirname(dirname( __FILE__ )).'/class/config_from_xoops.class.php' ; 497 $xoops_config = new ConfigFromXoops; 498 499 include_once(dirname(dirname(__FILE__) ). '/class/check_blocks_class.php'); 500 $xoops_block_check =& xoops_block_check::getInstance(); 501 $xoops_block_check->check_blocks($xoops_config->module_name); 502 if ($is_report){ 503 echo "******** " . _AM_XP2_BLOCK_STATS . "********" . "<br />\n"; 504 echo $xoops_block_check->get_message(); 505 echo "<br />\n"; 506 echo "<br />\n"; 507 } else { 508 echo "<fieldset><legend style='font-weight: bold; color: #900;'>" . _AM_XP2_BLOCK_STATS . "</legend>"; 509 echo "<div style='padding: 8px;'>"; 510 echo $xoops_block_check->get_message(); 511 echo "</div>"; 512 echo "</fieldset>"; 513 } 514 } 515 516 492 517 require_once '../../../include/cp_header.php' ; 493 518 //require_once '../include/gtickets.php' ; … … 539 564 xpress_config_from_xoops_view($report); 540 565 xpress_active_plugin_list($report); 566 xpress_block_state($report); 541 567 xpress_state($report); 542 568 echo '<form method="POST">'."\n"; -
trunk/language/english/admin.php
r183 r199 12 12 define("_AM_XP2_XOOPS_CONFIG_INFO","Set value that XPressME acquired from XOOPS"); 13 13 define("_AM_XP2_PLUGIN","Active plug-in list at wordpress"); 14 define("_AM_XP2_STATS","WordPress Stats"); 14 define("_AM_XP2_BLOCK_STATS","Block Status"); 15 define("_AM_XP2_STATS","WordPress Status"); 15 16 define("_AM_XP2_CATEGORIES","Category count"); 16 17 define("_AM_XP2_ARTICLES","Blog article count"); -
trunk/language/ja_utf8/admin.php
r192 r199 12 12 define("_AM_XP2_XOOPS_CONFIG_INFO","XPressMEがXOOPSより取得した設定値"); 13 13 define("_AM_XP2_PLUGIN","WordPressで使用中のプラグイン"); 14 define("_AM_XP2_BLOCK_STATS","ブロックステータス"); 14 15 define("_AM_XP2_STATS","統計"); 15 16 define("_AM_XP2_CATEGORIES","カテゴリー数"); -
trunk/xoops_version.php
r198 r199 40 40 41 41 // status 42 $modversion['codename'] = "Bata3(r19 8)";42 $modversion['codename'] = "Bata3(r199)"; 43 43 44 44 // onInstall, onUpdate, onUninstall
Note: See TracChangeset
for help on using the changeset viewer.