Changeset 183 for trunk/xoops_version.php
- Timestamp:
- Apr 20, 2009, 6:16:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xoops_version.php
r181 r183 29 29 include $mydirpath .'/wp-includes/version.php' ; 30 30 31 $modversion['name'] = ucfirst($mydirname) . ' ' . constant('_MI_XP RESS_NAME') ;32 $modversion['description'] = constant( '_MI_XP RESS_DESC');31 $modversion['name'] = ucfirst($mydirname) . ' ' . constant('_MI_XP2_NAME') ; 32 $modversion['description'] = constant( '_MI_XP2_DESC'); 33 33 $modversion['version'] = "2.00"; 34 34 $modversion['credits'] = "Wordpress DEV (http://wordpress.org/) XPressME DEV Toemon) (http://www.toemon.com) ;"; … … 40 40 41 41 // status 42 $modversion['codename'] = "Bata2(r18 1)";42 $modversion['codename'] = "Bata2(r183)"; 43 43 44 44 // onInstall, onUpdate, onUninstall … … 87 87 global $current_user; 88 88 if (@$current_user->user_level > 0) { 89 $modversion['sub'][1]['name'] = constant( '_MI_XP RESS_MENU_POST_NEW');89 $modversion['sub'][1]['name'] = constant( '_MI_XP2_MENU_POST_NEW'); 90 90 $modversion['sub'][1]['url'] = "wp-admin/post-new.php"; 91 $modversion['sub'][2]['name'] = constant( '_MI_XP RESS_MENU_EDIT');91 $modversion['sub'][2]['name'] = constant( '_MI_XP2_MENU_EDIT'); 92 92 $modversion['sub'][2]['url'] = "wp-admin/edit.php"; 93 $modversion['sub'][3]['name'] = constant( '_MI_XP RESS_MENU_ADMIN');93 $modversion['sub'][3]['name'] = constant( '_MI_XP2_MENU_ADMIN'); 94 94 $modversion['sub'][3]['url'] = "wp-admin/"; 95 95 } 96 96 if (@$current_user->user_level > 9) { 97 $modversion['sub'][4]['name'] = constant( '_MI_XP RESS_MENU_XPRESS');97 $modversion['sub'][4]['name'] = constant( '_MI_XP2_MENU_XPRESS'); 98 98 $modversion['sub'][4]['url'] = "wp-admin/options-general.php?page=xpressme_config"; 99 99 } … … 115 115 $modversion['blocks'][$b_no] = array( 116 116 'file' => 'recent_posts_content_block.php' , 117 'name' => constant('_MI_XP RESS_BLOCK_CONTENT') ,117 'name' => constant('_MI_XP2_BLOCK_CONTENT') , 118 118 'description' => '' , 119 119 'show_func' => "b_". $mydirname . "_content_show" , … … 127 127 $modversion['blocks'][$b_no] = array( 128 128 'file' => 'recent_posts_list_block.php' , 129 'name' => constant('_MI_XP RESS_BLOCK_POSTS') ,129 'name' => constant('_MI_XP2_BLOCK_POSTS') , 130 130 'description' => '' , 131 131 'show_func' => "b_". $mydirname . "_posts_show" , … … 138 138 $modversion['blocks'][$b_no] = array( 139 139 'file' => 'popular_posts_block.php' , 140 'name' => constant('_MI_XP RESS_BLOCK_POPULAR') ,140 'name' => constant('_MI_XP2_BLOCK_POPULAR') , 141 141 'description' => '' , 142 142 'show_func' => "b_". $mydirname . "_popular_show" , … … 149 149 $modversion['blocks'][$b_no] = array( 150 150 'file' => 'page_block.php' , 151 'name' => constant('_MI_XP RESS_BLOCK_PAGE') ,151 'name' => constant('_MI_XP2_BLOCK_PAGE') , 152 152 'description' => '' , 153 153 'show_func' => "b_". $mydirname . "_page_show" , … … 160 160 $modversion['blocks'][$b_no] = array( 161 161 'file' => 'recent_comments_block.php' , 162 'name' => constant('_MI_XP RESS_BLOCK_COMMENTS') ,162 'name' => constant('_MI_XP2_BLOCK_COMMENTS') , 163 163 'description' => '' , 164 164 'show_func' => "b_". $mydirname . "_comments_show" , … … 172 172 $modversion['blocks'][$b_no] = array( 173 173 'file' => 'sidebar_block.php' , 174 'name' => constant('_MI_XP RESS_BLOCK_SIDEBAR') ,174 'name' => constant('_MI_XP2_BLOCK_SIDEBAR') , 175 175 'description' => '' , 176 176 'show_func' => "b_". $mydirname . "_sidebar_show" , … … 183 183 $modversion['blocks'][$b_no] = array( 184 184 'file' => 'search_block.php' , 185 'name' => constant('_MI_XP RESS_BLOCK_SEARCH') ,185 'name' => constant('_MI_XP2_BLOCK_SEARCH') , 186 186 'description' => '' , 187 187 'show_func' => "b_". $mydirname . "_search_show" , … … 194 194 $modversion['blocks'][$b_no] = array( 195 195 'file' => 'calender_block.php' , 196 'name' => constant('_MI_XP RESS_BLOCK_CALENDER') ,196 'name' => constant('_MI_XP2_BLOCK_CALENDER') , 197 197 'description' => '' , 198 198 'show_func' => "b_". $mydirname . "_calender_show" , … … 205 205 $modversion['blocks'][$b_no] = array( 206 206 'file' => 'archives_block.php' , 207 'name' => constant('_MI_XP RESS_BLOCK_ARCHIVE') ,207 'name' => constant('_MI_XP2_BLOCK_ARCHIVE') , 208 208 'description' => '' , 209 209 'show_func' => "b_". $mydirname . "_archives_show" , … … 216 216 $modversion['blocks'][$b_no] = array( 217 217 'file' => 'authors_block.php' , 218 'name' => constant('_MI_XP RESS_BLOCK_AUTHORS') ,218 'name' => constant('_MI_XP2_BLOCK_AUTHORS') , 219 219 'description' => '' , 220 220 'show_func' => "b_". $mydirname . "_authors_show" , … … 227 227 $modversion['blocks'][$b_no] = array( 228 228 'file' => 'tag_cloud_block.php' , 229 'name' => constant('_MI_XP RESS_BLOCK_TAG') ,229 'name' => constant('_MI_XP2_BLOCK_TAG') , 230 230 'description' => '' , 231 231 'show_func' => "b_". $mydirname . "_tag_cloud_show" , … … 238 238 $modversion['blocks'][$b_no] = array( 239 239 'file' => 'category_block.php' , 240 'name' => constant('_MI_XP RESS_BLOCK_CATEGORY') ,240 'name' => constant('_MI_XP2_BLOCK_CATEGORY') , 241 241 'description' => '' , 242 242 'show_func' => "b_". $mydirname . "_category_show" , … … 249 249 $modversion['blocks'][$b_no] = array( 250 250 'file' => 'meta_block.php' , 251 'name' => constant('_MI_XP RESS_BLOCK_META') ,251 'name' => constant('_MI_XP2_BLOCK_META') , 252 252 'description' => '' , 253 253 'show_func' => "b_". $mydirname . "_meta_show" , … … 260 260 $modversion['blocks'][$b_no] = array( 261 261 'file' => 'widget_block.php' , 262 'name' => constant('_MI_XP RESS_BLOCK_WIDGET') ,262 'name' => constant('_MI_XP2_BLOCK_WIDGET') , 263 263 'description' => '' , 264 264 'show_func' => "b_". $mydirname . "_widget_show" , … … 271 271 $modversion['blocks'][$b_no] = array( 272 272 'file' => 'enhanced_block.php' , 273 'name' => constant('_MI_XP RESS_BLOCK_ENHANCED') ,273 'name' => constant('_MI_XP2_BLOCK_ENHANCED') , 274 274 'description' => '' , 275 275 'show_func' => "b_". $mydirname . "_enhanced_show" , … … 289 289 array( 290 290 'name' => 'global' , 291 'title' => constant('_MI_XP RESS_NOTCAT_GLOBAL') ,292 'description' => constant('_MI_XP RESS_NOTCAT_GLOBALDSC') ,291 'title' => constant('_MI_XP2_NOTCAT_GLOBAL') , 292 'description' => constant('_MI_XP2_NOTCAT_GLOBALDSC') , 293 293 'subscribe_from' => 'index.php' , 294 294 ) , 295 295 array( 296 296 'name' => 'category' , 297 'title' => constant('_MI_XP RESS_NOTCAT_CAT') ,298 'description' => constant('_MI_XP RESS_NOTCAT_CATDSC') ,297 'title' => constant('_MI_XP2_NOTCAT_CAT') , 298 'description' => constant('_MI_XP2_NOTCAT_CATDSC') , 299 299 'subscribe_from' => 'index.php' , 300 300 'item_name' => 'cat' , … … 303 303 array( 304 304 'name' => 'author' , 305 'title' => constant('_MI_XP RESS_NOTCAT_AUTHOR') ,306 'description' => constant('_MI_XP RESS_NOTCAT_AUTHORDSC') ,305 'title' => constant('_MI_XP2_NOTCAT_AUTHOR') , 306 'description' => constant('_MI_XP2_NOTCAT_AUTHORDSC') , 307 307 'subscribe_from' => 'index.php' , 308 308 'item_name' => 'author' , … … 311 311 array( 312 312 'name' => 'post' , 313 'title' => constant('_MI_XP RESS_NOTCAT_POST') ,314 'description' => constant('_MI_XP RESS_NOTCAT_POSTDSC') ,313 'title' => constant('_MI_XP2_NOTCAT_POST') , 314 'description' => constant('_MI_XP2_NOTCAT_POSTDSC') , 315 315 'subscribe_from' => 'index.php' , 316 316 'item_name' => 'p' , … … 322 322 'name' => 'waiting' , 323 323 'category' => 'global' , 324 'title' => constant('_MI_XP RESS_NOTIFY_GLOBAL_WAITING') ,325 'caption' => constant('_MI_XP RESS_NOTIFY_GLOBAL_WAITINGCAP') ,326 'description' => constant('_MI_XP RESS_NOTIFY_GLOBAL_WAITINGCAP') ,324 'title' => constant('_MI_XP2_NOTIFY_GLOBAL_WAITING') , 325 'caption' => constant('_MI_XP2_NOTIFY_GLOBAL_WAITINGCAP') , 326 'description' => constant('_MI_XP2_NOTIFY_GLOBAL_WAITINGCAP') , 327 327 'mail_template' => 'global_waiting' , 328 'mail_subject' => constant('_MI_XP RESS_NOTIFY_GLOBAL_WAITINGSBJ') ,328 'mail_subject' => constant('_MI_XP2_NOTIFY_GLOBAL_WAITINGSBJ') , 329 329 'admin_only' => 1 , 330 330 ) , … … 332 332 'name' => 'newpost' , 333 333 'category' => 'global' , 334 'title' => constant('_MI_XP RESS_NOTIFY_GLOBAL_NEWPOST') ,335 'caption' => constant('_MI_XP RESS_NOTIFY_GLOBAL_NEWPOSTCAP') ,336 'description' => constant('_MI_XP RESS_NOTIFY_GLOBAL_NEWPOSTCAP') ,334 'title' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWPOST') , 335 'caption' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWPOSTCAP') , 336 'description' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWPOSTCAP') , 337 337 'mail_template' => 'global_newpost' , 338 'mail_subject' => constant('_MI_XP RESS_NOTIFY_GLOBAL_NEWPOSTSBJ') ,338 'mail_subject' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWPOSTSBJ') , 339 339 ) , 340 340 array( 341 341 'name' => 'comment' , 342 342 'category' => 'global' , 343 'title' => constant('_MI_XP RESS_NOTIFY_GLOBAL_NEWCOMMENT') ,344 'caption' => constant('_MI_XP RESS_NOTIFY_GLOBAL_NEWCOMMENTCAP') ,345 'description' => constant('_MI_XP RESS_NOTIFY_GLOBAL_NEWCOMMENTCAP') ,343 'title' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENT') , 344 'caption' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENTCAP') , 345 'description' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENTCAP') , 346 346 'mail_template' => 'global_newcomment' , 347 'mail_subject' => constant('_MI_XP RESS_NOTIFY_GLOBAL_NEWCOMMENTSBJ') ,347 'mail_subject' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENTSBJ') , 348 348 ) , 349 349 … … 351 351 'name' => 'newpost' , 352 352 'category' => 'category' , 353 'title' => constant('_MI_XP RESS_NOTIFY_CAT_NEWPOST') ,354 'caption' => constant('_MI_XP RESS_NOTIFY_CAT_NEWPOSTCAP') ,355 'description' => constant('_MI_XP RESS_NOTIFY_CAT_NEWPOSTCAP') ,353 'title' => constant('_MI_XP2_NOTIFY_CAT_NEWPOST') , 354 'caption' => constant('_MI_XP2_NOTIFY_CAT_NEWPOSTCAP') , 355 'description' => constant('_MI_XP2_NOTIFY_CAT_NEWPOSTCAP') , 356 356 'mail_template' => 'category_newpost' , 357 'mail_subject' => constant('_MI_XP RESS_NOTIFY_CAT_NEWPOSTSBJ') ,357 'mail_subject' => constant('_MI_XP2_NOTIFY_CAT_NEWPOSTSBJ') , 358 358 ) , 359 359 array( 360 360 'name' => 'comment' , 361 361 'category' => 'category' , 362 'title' => constant('_MI_XP RESS_NOTIFY_CAT_NEWCOMMENT') ,363 'caption' => constant('_MI_XP RESS_NOTIFY_CAT_NEWCOMMENTCAP') ,364 'description' => constant('_MI_XP RESS_NOTIFY_CAT_NEWCOMMENTCAP') ,362 'title' => constant('_MI_XP2_NOTIFY_CAT_NEWCOMMENT') , 363 'caption' => constant('_MI_XP2_NOTIFY_CAT_NEWCOMMENTCAP') , 364 'description' => constant('_MI_XP2_NOTIFY_CAT_NEWCOMMENTCAP') , 365 365 'mail_template' => 'category_newcomment' , 366 'mail_subject' => constant('_MI_XP RESS_NOTIFY_CAT_NEWCOMMENTSBJ') ,366 'mail_subject' => constant('_MI_XP2_NOTIFY_CAT_NEWCOMMENTSBJ') , 367 367 ) , 368 368 … … 370 370 'name' => 'newpost' , 371 371 'category' => 'author' , 372 'title' => constant('_MI_XP RESS_NOTIFY_AUT_NEWPOST') ,373 'caption' => constant('_MI_XP RESS_NOTIFY_AUT_NEWPOSTCAP') ,374 'description' => constant('_MI_XP RESS_NOTIFY_AUT_NEWPOSTCAP') ,372 'title' => constant('_MI_XP2_NOTIFY_AUT_NEWPOST') , 373 'caption' => constant('_MI_XP2_NOTIFY_AUT_NEWPOSTCAP') , 374 'description' => constant('_MI_XP2_NOTIFY_AUT_NEWPOSTCAP') , 375 375 'mail_template' => 'author_newpost' , 376 'mail_subject' => constant('_MI_XP RESS_NOTIFY_AUT_NEWPOSTSBJ') ,376 'mail_subject' => constant('_MI_XP2_NOTIFY_AUT_NEWPOSTSBJ') , 377 377 ) , 378 378 array( 379 379 'name' => 'comment' , 380 380 'category' => 'author' , 381 'title' => constant('_MI_XP RESS_NOTIFY_AUT_NEWCOMMENT') ,382 'caption' => constant('_MI_XP RESS_NOTIFY_AUT_NEWCOMMENTCAP') ,383 'description' => constant('_MI_XP RESS_NOTIFY_AUT_NEWCOMMENTCAP') ,381 'title' => constant('_MI_XP2_NOTIFY_AUT_NEWCOMMENT') , 382 'caption' => constant('_MI_XP2_NOTIFY_AUT_NEWCOMMENTCAP') , 383 'description' => constant('_MI_XP2_NOTIFY_AUT_NEWCOMMENTCAP') , 384 384 'mail_template' => 'author_newcomment' , 385 'mail_subject' => constant('_MI_XP RESS_NOTIFY_AUT_NEWCOMMENTSBJ') ,385 'mail_subject' => constant('_MI_XP2_NOTIFY_AUT_NEWCOMMENTSBJ') , 386 386 ) , 387 387 … … 389 389 'name' => 'comment' , 390 390 'category' => 'post' , 391 'title' => constant('_MI_XP RESS_NOTIFY_POST_NEWCOMMENT') ,392 'caption' => constant('_MI_XP RESS_NOTIFY_POST_NEWCOMMENTCAP') ,393 'description' => constant('_MI_XP RESS_NOTIFY_POST_NEWCOMMENTCAP') ,391 'title' => constant('_MI_XP2_NOTIFY_POST_NEWCOMMENT') , 392 'caption' => constant('_MI_XP2_NOTIFY_POST_NEWCOMMENTCAP') , 393 'description' => constant('_MI_XP2_NOTIFY_POST_NEWCOMMENTCAP') , 394 394 'mail_template' => 'post_newcomment' , 395 'mail_subject' => constant('_MI_XP RESS_NOTIFY_POST_NEWCOMMENTSBJ') ,395 'mail_subject' => constant('_MI_XP2_NOTIFY_POST_NEWCOMMENTSBJ') , 396 396 ) , 397 397 ) ,
Note: See TracChangeset
for help on using the changeset viewer.