[1] | 1 | <?php |
---|
| 2 | /** |
---|
| 3 | * XPressME - WordPress for XOOPS |
---|
| 4 | * |
---|
| 5 | * Adding multi-author features to XPress |
---|
| 6 | * |
---|
| 7 | * @copyright toemon |
---|
| 8 | * @license GNU public license |
---|
[193] | 9 | * @author "toemon ( http://ja.xpressme.info)" |
---|
[1] | 10 | * @package module::xpressme |
---|
| 11 | */ |
---|
| 12 | |
---|
| 13 | if( ! defined( 'XOOPS_ROOT_PATH' ) ) exit ; |
---|
| 14 | |
---|
| 15 | $mydirpath = dirname(__FILE__); |
---|
| 16 | $mydirname = basename($mydirpath); |
---|
| 17 | |
---|
| 18 | $lang = @$GLOBALS["xoopsConfig"]['language']; |
---|
| 19 | |
---|
| 20 | // language file (modinfo.php) |
---|
| 21 | |
---|
| 22 | if( file_exists( $mydirpath .'/language/'.$lang.'/modinfo.php' ) ) { |
---|
| 23 | include_once $mydirpath .'/language/'.$lang.'/modinfo.php' ; |
---|
| 24 | } else if( file_exists( $mydirpath .'/language/english/modinfo.php' ) ) { |
---|
| 25 | include_once $mydirpath .'/language/english/modinfo.php' ; |
---|
| 26 | } |
---|
| 27 | global $wp_db_version,$wp_version; |
---|
| 28 | |
---|
| 29 | include $mydirpath .'/wp-includes/version.php' ; |
---|
| 30 | |
---|
[183] | 31 | $modversion['name'] = ucfirst($mydirname) . ' ' . constant('_MI_XP2_NAME') ; |
---|
| 32 | $modversion['description'] = constant( '_MI_XP2_DESC'); |
---|
[252] | 33 | $modversion['version'] = "2.10"; |
---|
[193] | 34 | $modversion['credits'] = "Wordpress DEV (http://wordpress.org/) XPressME DEV Toemon) (http://ja.xpressme.info) ;"; |
---|
| 35 | $modversion['author'] = "toemon (http://ja.xpressme.info)"; |
---|
[1] | 36 | $modversion['license'] = "GPL see LICENSE"; |
---|
[30] | 37 | $modversion['official'] = 0 ; |
---|
[1] | 38 | $modversion['image'] = 'module_icon.php' ; |
---|
| 39 | $modversion['dirname'] = $mydirname; |
---|
| 40 | |
---|
| 41 | // status |
---|
[323] | 42 | $modversion['codename'] = "Bata-7(r323)"; |
---|
[1] | 43 | |
---|
| 44 | // onInstall, onUpdate, onUninstall |
---|
| 45 | $modversion['onInstall'] = 'include/oninstall.php' ; |
---|
| 46 | $modversion['onUpdate'] = 'include/onupdate.php' ; |
---|
| 47 | $modversion['onUninstall'] = 'include/onuninstall.php' ; |
---|
| 48 | |
---|
| 49 | // Sql file (must contain sql generated by phpMyAdmin or phpPgAdmin) |
---|
| 50 | //$modversion['sqlfile']['mysql'] = "sql/mysql.sql"; |
---|
| 51 | |
---|
| 52 | $db_prefix = $mydirname; |
---|
| 53 | if ($mydirname == 'wordpress') { |
---|
| 54 | $db_prefix = 'wp'; |
---|
| 55 | } |
---|
[122] | 56 | |
---|
[188] | 57 | /* |
---|
| 58 | * Table information is not described. |
---|
| 59 | * |
---|
| 60 | * The create of the table is do with oninstall.php. |
---|
| 61 | * The drop of the table is do with onuninstall.php. |
---|
| 62 | * |
---|
| 63 | * $modversion['tables'] = array( ,,,); |
---|
| 64 | */ |
---|
[1] | 65 | |
---|
| 66 | |
---|
| 67 | // Search |
---|
[30] | 68 | $modversion['hasSearch'] = 1 ; |
---|
| 69 | $modversion['search']['file'] = 'include/search.php' ; |
---|
| 70 | $modversion['search']['func'] = $mydirname.'_global_search' ; |
---|
[1] | 71 | //Admin things |
---|
[61] | 72 | $modversion['hasAdmin'] = 1; |
---|
| 73 | $modversion['adminindex'] = "admin/index.php"; |
---|
| 74 | $modversion['adminmenu'] = "admin/menu.php"; |
---|
[1] | 75 | |
---|
| 76 | $modversion['hasMain'] = 1; |
---|
[162] | 77 | |
---|
| 78 | |
---|
[1] | 79 | if(is_object($GLOBALS["xoopsUser"])){ |
---|
[162] | 80 | global $current_user; |
---|
| 81 | if (@$current_user->user_level > 0) { |
---|
[183] | 82 | $modversion['sub'][1]['name'] = constant( '_MI_XP2_MENU_POST_NEW'); |
---|
[252] | 83 | if ($wp_db_version > 5000) |
---|
| 84 | $modversion['sub'][1]['url'] = "wp-admin/post-new.php"; |
---|
| 85 | else |
---|
| 86 | $modversion['sub'][1]['url'] = "wp-admin/post.php"; |
---|
[183] | 87 | $modversion['sub'][2]['name'] = constant( '_MI_XP2_MENU_EDIT'); |
---|
[1] | 88 | $modversion['sub'][2]['url'] = "wp-admin/edit.php"; |
---|
[183] | 89 | $modversion['sub'][3]['name'] = constant( '_MI_XP2_MENU_ADMIN'); |
---|
[141] | 90 | $modversion['sub'][3]['url'] = "wp-admin/"; |
---|
[162] | 91 | } |
---|
| 92 | if (@$current_user->user_level > 9) { |
---|
[183] | 93 | $modversion['sub'][4]['name'] = constant( '_MI_XP2_MENU_XPRESS'); |
---|
[311] | 94 | // $modversion['sub'][4]['url'] = "wp-admin/options-general.php?page=xpressme_config"; |
---|
| 95 | $modversion['sub'][4]['url'] = "wp-admin/admin.php?page=xpressme_config"; |
---|
[162] | 96 | } |
---|
[1] | 97 | } |
---|
| 98 | |
---|
| 99 | // Use smarty |
---|
[61] | 100 | $modversion["use_smarty"] = 1; |
---|
[1] | 101 | |
---|
| 102 | /** |
---|
| 103 | * Templates |
---|
| 104 | */ |
---|
[35] | 105 | // All Templates can't be touched by modulesadmin. |
---|
| 106 | $modversion['templates'] = array() ; |
---|
[1] | 107 | |
---|
[308] | 108 | if (defined('ICMS_ROOT_PATH')){ |
---|
| 109 | $modversion['hasconfig'] = 1; |
---|
| 110 | $modversion['config'][] = array( |
---|
| 111 | 'name' => 'dummy' , |
---|
| 112 | 'title' => 'Dummy Value' , |
---|
| 113 | 'description' => 'This is Dummy Value' , |
---|
| 114 | 'formtype' => 'yesno' , |
---|
| 115 | 'valuetype' => 'int' , |
---|
| 116 | 'default' => 0 , |
---|
| 117 | ); |
---|
| 118 | } |
---|
[35] | 119 | |
---|
| 120 | //BLOCKS |
---|
[118] | 121 | $b_no =1; |
---|
| 122 | $modversion['blocks'][$b_no] = array( |
---|
[54] | 123 | 'file' => 'recent_posts_content_block.php' , |
---|
[183] | 124 | 'name' => constant('_MI_XP2_BLOCK_CONTENT') , |
---|
[54] | 125 | 'description' => '' , |
---|
| 126 | 'show_func' => "b_". $mydirname . "_content_show" , |
---|
| 127 | 'edit_func' => "b_". $mydirname . "_content_edit" , |
---|
[89] | 128 | 'template' => '' , |
---|
[142] | 129 | 'options' => $mydirname. '||10|0|100||||0' , |
---|
[54] | 130 | 'can_clone' => true , |
---|
[118] | 131 | 'func_num' => $b_no, |
---|
[54] | 132 | ); |
---|
[118] | 133 | $b_no++; |
---|
| 134 | $modversion['blocks'][$b_no] = array( |
---|
[100] | 135 | 'file' => 'recent_posts_list_block.php' , |
---|
[183] | 136 | 'name' => constant('_MI_XP2_BLOCK_POSTS') , |
---|
[100] | 137 | 'description' => '' , |
---|
| 138 | 'show_func' => "b_". $mydirname . "_posts_show" , |
---|
| 139 | 'edit_func' => "b_". $mydirname . "_posts_edit" , |
---|
[142] | 140 | 'options' => $mydirname. '||10|1|7||||0' , |
---|
[100] | 141 | 'can_clone' => true , |
---|
[118] | 142 | 'func_num' => $b_no, |
---|
[100] | 143 | ); |
---|
[118] | 144 | $b_no++; |
---|
| 145 | $modversion['blocks'][$b_no] = array( |
---|
[109] | 146 | 'file' => 'popular_posts_block.php' , |
---|
[183] | 147 | 'name' => constant('_MI_XP2_BLOCK_POPULAR') , |
---|
[109] | 148 | 'description' => '' , |
---|
| 149 | 'show_func' => "b_". $mydirname . "_popular_show" , |
---|
| 150 | 'edit_func' => "b_". $mydirname . "_popular_edit" , |
---|
[142] | 151 | 'options' => $mydirname. '||10|0||||0' , |
---|
[109] | 152 | 'can_clone' => true , |
---|
[118] | 153 | 'func_num' => $b_no, |
---|
[109] | 154 | ); |
---|
[118] | 155 | $b_no++; |
---|
| 156 | $modversion['blocks'][$b_no] = array( |
---|
[142] | 157 | 'file' => 'page_block.php' , |
---|
[183] | 158 | 'name' => constant('_MI_XP2_BLOCK_PAGE') , |
---|
[110] | 159 | 'description' => '' , |
---|
[142] | 160 | 'show_func' => "b_". $mydirname . "_page_show" , |
---|
| 161 | 'edit_func' => "b_". $mydirname . "_page_edit" , |
---|
[205] | 162 | 'options' => $mydirname. '||post_title|asc||||0|0|none||1||' , |
---|
[125] | 163 | 'can_clone' => true , |
---|
[142] | 164 | 'func_num' => $b_no, |
---|
[110] | 165 | ); |
---|
[118] | 166 | $b_no++; |
---|
| 167 | $modversion['blocks'][$b_no] = array( |
---|
[142] | 168 | 'file' => 'recent_comments_block.php' , |
---|
[183] | 169 | 'name' => constant('_MI_XP2_BLOCK_COMMENTS') , |
---|
[110] | 170 | 'description' => '' , |
---|
[142] | 171 | 'show_func' => "b_". $mydirname . "_comments_show" , |
---|
| 172 | 'edit_func' => "b_". $mydirname . "_comments_edit" , |
---|
| 173 | 'template' => '' , |
---|
| 174 | 'options' => $mydirname. '||10|30|||0' , |
---|
| 175 | 'can_clone' => true , |
---|
[118] | 176 | 'func_num' => $b_no, |
---|
[110] | 177 | ); |
---|
[118] | 178 | $b_no++; |
---|
| 179 | $modversion['blocks'][$b_no] = array( |
---|
[142] | 180 | 'file' => 'sidebar_block.php' , |
---|
[183] | 181 | 'name' => constant('_MI_XP2_BLOCK_SIDEBAR') , |
---|
[118] | 182 | 'description' => '' , |
---|
[142] | 183 | 'show_func' => "b_". $mydirname . "_sidebar_show" , |
---|
| 184 | 'edit_func' => '' , |
---|
| 185 | 'options' => '' , |
---|
| 186 | 'can_clone' => false , |
---|
| 187 | 'func_num' => $b_no, |
---|
[118] | 188 | ); |
---|
[119] | 189 | $b_no++; |
---|
| 190 | $modversion['blocks'][$b_no] = array( |
---|
| 191 | 'file' => 'search_block.php' , |
---|
[183] | 192 | 'name' => constant('_MI_XP2_BLOCK_SEARCH') , |
---|
[119] | 193 | 'description' => '' , |
---|
| 194 | 'show_func' => "b_". $mydirname . "_search_show" , |
---|
| 195 | 'edit_func' => "b_". $mydirname . "_search_edit" , |
---|
| 196 | 'options' => $mydirname. '||18' , |
---|
| 197 | 'can_clone' => false , |
---|
| 198 | 'func_num' => $b_no , |
---|
| 199 | ); |
---|
[122] | 200 | $b_no++; |
---|
| 201 | $modversion['blocks'][$b_no] = array( |
---|
[142] | 202 | 'file' => 'calender_block.php' , |
---|
[183] | 203 | 'name' => constant('_MI_XP2_BLOCK_CALENDER') , |
---|
[142] | 204 | 'description' => '' , |
---|
| 205 | 'show_func' => "b_". $mydirname . "_calender_show" , |
---|
| 206 | 'edit_func' => "b_". $mydirname . "_calender_edit" , |
---|
| 207 | 'options' => $mydirname. '||#DB0000|#004D99' , |
---|
| 208 | 'can_clone' => false , |
---|
| 209 | 'func_num' => $b_no, |
---|
| 210 | ); |
---|
| 211 | $b_no++; |
---|
| 212 | $modversion['blocks'][$b_no] = array( |
---|
| 213 | 'file' => 'archives_block.php' , |
---|
[183] | 214 | 'name' => constant('_MI_XP2_BLOCK_ARCHIVE') , |
---|
[142] | 215 | 'description' => '' , |
---|
| 216 | 'show_func' => "b_". $mydirname . "_archives_show" , |
---|
| 217 | 'edit_func' => "b_". $mydirname . "_archives_edit" , |
---|
| 218 | 'options' => $mydirname. '||monthly|0|1|0' , |
---|
| 219 | 'can_clone' => true , |
---|
| 220 | 'func_num' => $b_no, |
---|
| 221 | ); |
---|
| 222 | $b_no++; |
---|
| 223 | $modversion['blocks'][$b_no] = array( |
---|
| 224 | 'file' => 'authors_block.php' , |
---|
[183] | 225 | 'name' => constant('_MI_XP2_BLOCK_AUTHORS') , |
---|
[142] | 226 | 'description' => '' , |
---|
| 227 | 'show_func' => "b_". $mydirname . "_authors_show" , |
---|
| 228 | 'edit_func' => "b_". $mydirname . "_authors_edit" , |
---|
| 229 | 'options' => $mydirname. '||0|1|0|1' , |
---|
| 230 | 'can_clone' => false , |
---|
| 231 | 'func_num' => $b_no, |
---|
| 232 | ); |
---|
| 233 | $b_no++; |
---|
| 234 | $modversion['blocks'][$b_no] = array( |
---|
[122] | 235 | 'file' => 'tag_cloud_block.php' , |
---|
[183] | 236 | 'name' => constant('_MI_XP2_BLOCK_TAG') , |
---|
[122] | 237 | 'description' => '' , |
---|
| 238 | 'show_func' => "b_". $mydirname . "_tag_cloud_show" , |
---|
| 239 | 'edit_func' => "b_". $mydirname . "_tag_cloud_edit" , |
---|
| 240 | 'options' => $mydirname. '||8|22|pt|45|flat|name|ASC||' , |
---|
| 241 | 'can_clone' => false , |
---|
| 242 | 'func_num' => $b_no, |
---|
| 243 | ); |
---|
| 244 | $b_no++; |
---|
| 245 | $modversion['blocks'][$b_no] = array( |
---|
| 246 | 'file' => 'category_block.php' , |
---|
[183] | 247 | 'name' => constant('_MI_XP2_BLOCK_CATEGORY') , |
---|
[122] | 248 | 'description' => '' , |
---|
| 249 | 'show_func' => "b_". $mydirname . "_category_show" , |
---|
| 250 | 'edit_func' => "b_". $mydirname . "_category_edit" , |
---|
| 251 | 'options' => $mydirname. '||ALL|name|ASC|0|0|1|1|||1|0' , |
---|
| 252 | 'can_clone' => false , |
---|
| 253 | 'func_num' => $b_no, |
---|
| 254 | ); |
---|
| 255 | $b_no++; |
---|
| 256 | $modversion['blocks'][$b_no] = array( |
---|
| 257 | 'file' => 'meta_block.php' , |
---|
[183] | 258 | 'name' => constant('_MI_XP2_BLOCK_META') , |
---|
[122] | 259 | 'description' => '' , |
---|
| 260 | 'show_func' => "b_". $mydirname . "_meta_show" , |
---|
| 261 | 'edit_func' => "b_". $mydirname . "_meta_edit" , |
---|
| 262 | 'options' => $mydirname. '||1|1|1|1|1|1|1|1' , |
---|
| 263 | 'can_clone' => false , |
---|
| 264 | 'func_num' => $b_no, |
---|
| 265 | ); |
---|
[124] | 266 | $b_no++; |
---|
| 267 | $modversion['blocks'][$b_no] = array( |
---|
[136] | 268 | 'file' => 'widget_block.php' , |
---|
[183] | 269 | 'name' => constant('_MI_XP2_BLOCK_WIDGET') , |
---|
[136] | 270 | 'description' => '' , |
---|
| 271 | 'show_func' => "b_". $mydirname . "_widget_show" , |
---|
| 272 | 'edit_func' => "b_". $mydirname . "_widget_edit" , |
---|
| 273 | 'options' => $mydirname. '||' , |
---|
| 274 | 'can_clone' => true , |
---|
| 275 | 'func_num' => $b_no, |
---|
| 276 | ); |
---|
[138] | 277 | $b_no++; |
---|
| 278 | $modversion['blocks'][$b_no] = array( |
---|
| 279 | 'file' => 'enhanced_block.php' , |
---|
[183] | 280 | 'name' => constant('_MI_XP2_BLOCK_ENHANCED') , |
---|
[138] | 281 | 'description' => '' , |
---|
| 282 | 'show_func' => "b_". $mydirname . "_enhanced_show" , |
---|
| 283 | 'edit_func' => "b_". $mydirname . "_enhanced_edit" , |
---|
| 284 | 'options' => $mydirname. '||' , |
---|
| 285 | 'can_clone' => true , |
---|
| 286 | 'func_num' => $b_no, |
---|
| 287 | ); |
---|
[122] | 288 | |
---|
| 289 | |
---|
[61] | 290 | // Notification |
---|
| 291 | $modversion['hasNotification'] = 1; |
---|
| 292 | $modversion['notification'] = array( |
---|
| 293 | 'lookup_file' => 'include/notification.inc.php' , |
---|
[95] | 294 | 'lookup_func' => "xpress_notify" , |
---|
[61] | 295 | 'category' => array( |
---|
| 296 | array( |
---|
| 297 | 'name' => 'global' , |
---|
[183] | 298 | 'title' => constant('_MI_XP2_NOTCAT_GLOBAL') , |
---|
| 299 | 'description' => constant('_MI_XP2_NOTCAT_GLOBALDSC') , |
---|
[61] | 300 | 'subscribe_from' => 'index.php' , |
---|
| 301 | ) , |
---|
| 302 | array( |
---|
| 303 | 'name' => 'category' , |
---|
[183] | 304 | 'title' => constant('_MI_XP2_NOTCAT_CAT') , |
---|
| 305 | 'description' => constant('_MI_XP2_NOTCAT_CATDSC') , |
---|
[61] | 306 | 'subscribe_from' => 'index.php' , |
---|
| 307 | 'item_name' => 'cat' , |
---|
| 308 | 'allow_bookmark' => 1 , |
---|
| 309 | ) , |
---|
| 310 | array( |
---|
| 311 | 'name' => 'author' , |
---|
[183] | 312 | 'title' => constant('_MI_XP2_NOTCAT_AUTHOR') , |
---|
| 313 | 'description' => constant('_MI_XP2_NOTCAT_AUTHORDSC') , |
---|
[61] | 314 | 'subscribe_from' => 'index.php' , |
---|
| 315 | 'item_name' => 'author' , |
---|
| 316 | 'allow_bookmark' => 1 , |
---|
| 317 | ) , |
---|
| 318 | array( |
---|
| 319 | 'name' => 'post' , |
---|
[183] | 320 | 'title' => constant('_MI_XP2_NOTCAT_POST') , |
---|
| 321 | 'description' => constant('_MI_XP2_NOTCAT_POSTDSC') , |
---|
[61] | 322 | 'subscribe_from' => 'index.php' , |
---|
| 323 | 'item_name' => 'p' , |
---|
| 324 | 'allow_bookmark' => 1 , |
---|
| 325 | ) , |
---|
| 326 | ) , |
---|
| 327 | 'event' => array( |
---|
| 328 | array( |
---|
| 329 | 'name' => 'waiting' , |
---|
| 330 | 'category' => 'global' , |
---|
[183] | 331 | 'title' => constant('_MI_XP2_NOTIFY_GLOBAL_WAITING') , |
---|
| 332 | 'caption' => constant('_MI_XP2_NOTIFY_GLOBAL_WAITINGCAP') , |
---|
| 333 | 'description' => constant('_MI_XP2_NOTIFY_GLOBAL_WAITINGCAP') , |
---|
[61] | 334 | 'mail_template' => 'global_waiting' , |
---|
[183] | 335 | 'mail_subject' => constant('_MI_XP2_NOTIFY_GLOBAL_WAITINGSBJ') , |
---|
[61] | 336 | 'admin_only' => 1 , |
---|
| 337 | ) , |
---|
| 338 | array( |
---|
| 339 | 'name' => 'newpost' , |
---|
| 340 | 'category' => 'global' , |
---|
[183] | 341 | 'title' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWPOST') , |
---|
| 342 | 'caption' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWPOSTCAP') , |
---|
| 343 | 'description' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWPOSTCAP') , |
---|
[61] | 344 | 'mail_template' => 'global_newpost' , |
---|
[183] | 345 | 'mail_subject' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWPOSTSBJ') , |
---|
[61] | 346 | ) , |
---|
| 347 | array( |
---|
| 348 | 'name' => 'comment' , |
---|
| 349 | 'category' => 'global' , |
---|
[183] | 350 | 'title' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENT') , |
---|
| 351 | 'caption' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENTCAP') , |
---|
| 352 | 'description' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENTCAP') , |
---|
[61] | 353 | 'mail_template' => 'global_newcomment' , |
---|
[183] | 354 | 'mail_subject' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENTSBJ') , |
---|
[61] | 355 | ) , |
---|
| 356 | |
---|
| 357 | array( |
---|
| 358 | 'name' => 'newpost' , |
---|
| 359 | 'category' => 'category' , |
---|
[183] | 360 | 'title' => constant('_MI_XP2_NOTIFY_CAT_NEWPOST') , |
---|
| 361 | 'caption' => constant('_MI_XP2_NOTIFY_CAT_NEWPOSTCAP') , |
---|
| 362 | 'description' => constant('_MI_XP2_NOTIFY_CAT_NEWPOSTCAP') , |
---|
[61] | 363 | 'mail_template' => 'category_newpost' , |
---|
[183] | 364 | 'mail_subject' => constant('_MI_XP2_NOTIFY_CAT_NEWPOSTSBJ') , |
---|
[61] | 365 | ) , |
---|
| 366 | array( |
---|
| 367 | 'name' => 'comment' , |
---|
| 368 | 'category' => 'category' , |
---|
[183] | 369 | 'title' => constant('_MI_XP2_NOTIFY_CAT_NEWCOMMENT') , |
---|
| 370 | 'caption' => constant('_MI_XP2_NOTIFY_CAT_NEWCOMMENTCAP') , |
---|
| 371 | 'description' => constant('_MI_XP2_NOTIFY_CAT_NEWCOMMENTCAP') , |
---|
[61] | 372 | 'mail_template' => 'category_newcomment' , |
---|
[183] | 373 | 'mail_subject' => constant('_MI_XP2_NOTIFY_CAT_NEWCOMMENTSBJ') , |
---|
[61] | 374 | ) , |
---|
| 375 | |
---|
| 376 | array( |
---|
| 377 | 'name' => 'newpost' , |
---|
| 378 | 'category' => 'author' , |
---|
[183] | 379 | 'title' => constant('_MI_XP2_NOTIFY_AUT_NEWPOST') , |
---|
| 380 | 'caption' => constant('_MI_XP2_NOTIFY_AUT_NEWPOSTCAP') , |
---|
| 381 | 'description' => constant('_MI_XP2_NOTIFY_AUT_NEWPOSTCAP') , |
---|
[61] | 382 | 'mail_template' => 'author_newpost' , |
---|
[183] | 383 | 'mail_subject' => constant('_MI_XP2_NOTIFY_AUT_NEWPOSTSBJ') , |
---|
[61] | 384 | ) , |
---|
| 385 | array( |
---|
| 386 | 'name' => 'comment' , |
---|
| 387 | 'category' => 'author' , |
---|
[183] | 388 | 'title' => constant('_MI_XP2_NOTIFY_AUT_NEWCOMMENT') , |
---|
| 389 | 'caption' => constant('_MI_XP2_NOTIFY_AUT_NEWCOMMENTCAP') , |
---|
| 390 | 'description' => constant('_MI_XP2_NOTIFY_AUT_NEWCOMMENTCAP') , |
---|
[61] | 391 | 'mail_template' => 'author_newcomment' , |
---|
[183] | 392 | 'mail_subject' => constant('_MI_XP2_NOTIFY_AUT_NEWCOMMENTSBJ') , |
---|
[61] | 393 | ) , |
---|
| 394 | |
---|
| 395 | array( |
---|
| 396 | 'name' => 'comment' , |
---|
| 397 | 'category' => 'post' , |
---|
[183] | 398 | 'title' => constant('_MI_XP2_NOTIFY_POST_NEWCOMMENT') , |
---|
| 399 | 'caption' => constant('_MI_XP2_NOTIFY_POST_NEWCOMMENTCAP') , |
---|
| 400 | 'description' => constant('_MI_XP2_NOTIFY_POST_NEWCOMMENTCAP') , |
---|
[61] | 401 | 'mail_template' => 'post_newcomment' , |
---|
[183] | 402 | 'mail_subject' => constant('_MI_XP2_NOTIFY_POST_NEWCOMMENTSBJ') , |
---|
[61] | 403 | ) , |
---|
| 404 | ) , |
---|
| 405 | ) ; |
---|
| 406 | |
---|
| 407 | |
---|
[1] | 408 | ?> |
---|