Changeset 276
- Timestamp:
- Jun 11, 2009, 3:05:12 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/external/xpress_i18n/ja_EUC/language/japanese/modinfo.php
r263 r276 7 7 define("_MI_XP2_MENU_BLOCK_ADMIN","¥Ö¥í¥Ã¥¯¸¢¸Â"); 8 8 define("_MI_XP2_MENU_BLOCK_CHECK","¥Ö¥í¥Ã¥¯¥Á¥§¥Ã¥¯"); 9 define("_MI_XP2_MENU_WP_ADMIN","WordPress´ÉÍý"); 9 10 10 11 // The name of this module -
trunk/external/xpress_i18n/ja_UTF/language/ja_utf8/modinfo.php
r252 r276 7 7 define("_MI_XP2_MENU_BLOCK_ADMIN","ブロック権限"); 8 8 define("_MI_XP2_MENU_BLOCK_CHECK","ブロックチェック"); 9 define("_MI_XP2_MENU_WP_ADMIN","WordPress管理"); 9 10 10 11 // The name of this module -
trunk/xpressme_integration_kit/admin/menu.php
r232 r276 52 52 $adminmenu[$i++]['link'] = "admin/block_check.php"; 53 53 54 $adminmenu[$i]['title'] = _MI_XP2_MENU_WP_ADMIN ; 55 $adminmenu[$i++]['link'] = "admin/wp_admin.php"; 56 54 57 ?> -
trunk/xpressme_integration_kit/language/english/modinfo.php
r232 r276 7 7 define("_MI_XP2_MENU_BLOCK_ADMIN","blocks/permissions"); 8 8 define("_MI_XP2_MENU_BLOCK_CHECK","blocks check"); 9 define("_MI_XP2_MENU_WP_ADMIN","WordPress Admin"); 9 10 10 11 // The name of this module -
trunk/xpressme_integration_kit/language/ja_utf8/modinfo.php
r232 r276 7 7 define("_MI_XP2_MENU_BLOCK_ADMIN","ブロック権限"); 8 8 define("_MI_XP2_MENU_BLOCK_CHECK","ブロックチェック"); 9 define("_MI_XP2_MENU_WP_ADMIN","WordPress管理"); 9 10 10 11 // The name of this module -
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/custom_functions.php
r274 r276 767 767 // Quick check. If we have no posts at all, abort! 768 768 if ( !$posts ) { 769 $gotsome = $wpdb->get_var("SELECT ID from $wpdb->posts WHERE post_type = 'post' AND post_status = 'publish' ORDER BY post_date DESC LIMIT 1"); 769 // $gotsome = $wpdb->get_var("SELECT ID from $wpdb->posts WHERE post_type = 'post' AND post_status = 'publish' ORDER BY post_date DESC LIMIT 1"); 770 $gotsome = $wpdb->get_var("SELECT 1 as test FROM $wpdb->posts WHERE post_type = 'post' AND post_status = 'publish' LIMIT 1"); //WP2.8 770 771 if ( !$gotsome ) 771 772 return; -
trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/user_sync_xoops.php
r260 r276 57 57 if ($user_group->group_type == 'Admin'){ 58 58 $ans['capabillities'] = 'administrator'; 59 $ans['allway_update'] = 0; 59 if ($user_group->groupid =1){ 60 //It always rewrites it as WordPress adninistrator for an initial admin group of XOOPS. 61 $ans['allway_update'] = 1; 62 } else { 63 // admin groups other than initial admin group of XOOPS 64 // It group rewrites group_type of the data base in Admin. 65 $ans['allway_update'] = $user_group->login_all; 66 } 60 67 break; 61 68 }
Note: See TracChangeset
for help on using the changeset viewer.