[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'); |
---|
[327] | 33 | $modversion['version'] = "2.03"; |
---|
[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 |
---|
[340] | 42 | $modversion['codename'] = ""; |
---|
[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'); |
---|
[1] | 83 | $modversion['sub'][1]['url'] = "wp-admin/post-new.php"; |
---|
[183] | 84 | $modversion['sub'][2]['name'] = constant( '_MI_XP2_MENU_EDIT'); |
---|
[1] | 85 | $modversion['sub'][2]['url'] = "wp-admin/edit.php"; |
---|
[183] | 86 | $modversion['sub'][3]['name'] = constant( '_MI_XP2_MENU_ADMIN'); |
---|
[141] | 87 | $modversion['sub'][3]['url'] = "wp-admin/"; |
---|
[162] | 88 | } |
---|
| 89 | if (@$current_user->user_level > 9) { |
---|
[183] | 90 | $modversion['sub'][4]['name'] = constant( '_MI_XP2_MENU_XPRESS'); |
---|
[141] | 91 | $modversion['sub'][4]['url'] = "wp-admin/options-general.php?page=xpressme_config"; |
---|
[162] | 92 | } |
---|
[1] | 93 | } |
---|
| 94 | |
---|
| 95 | // Use smarty |
---|
[61] | 96 | $modversion["use_smarty"] = 1; |
---|
[1] | 97 | |
---|
| 98 | /** |
---|
| 99 | * Templates |
---|
| 100 | */ |
---|
[35] | 101 | // All Templates can't be touched by modulesadmin. |
---|
| 102 | $modversion['templates'] = array() ; |
---|
[1] | 103 | |
---|
[61] | 104 | $modversion['hasconfig'] = 1; |
---|
[35] | 105 | |
---|
| 106 | //BLOCKS |
---|
[118] | 107 | $b_no =1; |
---|
| 108 | $modversion['blocks'][$b_no] = array( |
---|
[54] | 109 | 'file' => 'recent_posts_content_block.php' , |
---|
[183] | 110 | 'name' => constant('_MI_XP2_BLOCK_CONTENT') , |
---|
[54] | 111 | 'description' => '' , |
---|
| 112 | 'show_func' => "b_". $mydirname . "_content_show" , |
---|
| 113 | 'edit_func' => "b_". $mydirname . "_content_edit" , |
---|
[89] | 114 | 'template' => '' , |
---|
[142] | 115 | 'options' => $mydirname. '||10|0|100||||0' , |
---|
[54] | 116 | 'can_clone' => true , |
---|
[118] | 117 | 'func_num' => $b_no, |
---|
[54] | 118 | ); |
---|
[118] | 119 | $b_no++; |
---|
| 120 | $modversion['blocks'][$b_no] = array( |
---|
[100] | 121 | 'file' => 'recent_posts_list_block.php' , |
---|
[183] | 122 | 'name' => constant('_MI_XP2_BLOCK_POSTS') , |
---|
[100] | 123 | 'description' => '' , |
---|
| 124 | 'show_func' => "b_". $mydirname . "_posts_show" , |
---|
| 125 | 'edit_func' => "b_". $mydirname . "_posts_edit" , |
---|
[142] | 126 | 'options' => $mydirname. '||10|1|7||||0' , |
---|
[100] | 127 | 'can_clone' => true , |
---|
[118] | 128 | 'func_num' => $b_no, |
---|
[100] | 129 | ); |
---|
[118] | 130 | $b_no++; |
---|
| 131 | $modversion['blocks'][$b_no] = array( |
---|
[109] | 132 | 'file' => 'popular_posts_block.php' , |
---|
[183] | 133 | 'name' => constant('_MI_XP2_BLOCK_POPULAR') , |
---|
[109] | 134 | 'description' => '' , |
---|
| 135 | 'show_func' => "b_". $mydirname . "_popular_show" , |
---|
| 136 | 'edit_func' => "b_". $mydirname . "_popular_edit" , |
---|
[142] | 137 | 'options' => $mydirname. '||10|0||||0' , |
---|
[109] | 138 | 'can_clone' => true , |
---|
[118] | 139 | 'func_num' => $b_no, |
---|
[109] | 140 | ); |
---|
[118] | 141 | $b_no++; |
---|
| 142 | $modversion['blocks'][$b_no] = array( |
---|
[142] | 143 | 'file' => 'page_block.php' , |
---|
[183] | 144 | 'name' => constant('_MI_XP2_BLOCK_PAGE') , |
---|
[110] | 145 | 'description' => '' , |
---|
[142] | 146 | 'show_func' => "b_". $mydirname . "_page_show" , |
---|
| 147 | 'edit_func' => "b_". $mydirname . "_page_edit" , |
---|
[205] | 148 | 'options' => $mydirname. '||post_title|asc||||0|0|none||1||' , |
---|
[125] | 149 | 'can_clone' => true , |
---|
[142] | 150 | 'func_num' => $b_no, |
---|
[110] | 151 | ); |
---|
[118] | 152 | $b_no++; |
---|
| 153 | $modversion['blocks'][$b_no] = array( |
---|
[142] | 154 | 'file' => 'recent_comments_block.php' , |
---|
[183] | 155 | 'name' => constant('_MI_XP2_BLOCK_COMMENTS') , |
---|
[110] | 156 | 'description' => '' , |
---|
[142] | 157 | 'show_func' => "b_". $mydirname . "_comments_show" , |
---|
| 158 | 'edit_func' => "b_". $mydirname . "_comments_edit" , |
---|
| 159 | 'template' => '' , |
---|
| 160 | 'options' => $mydirname. '||10|30|||0' , |
---|
| 161 | 'can_clone' => true , |
---|
[118] | 162 | 'func_num' => $b_no, |
---|
[110] | 163 | ); |
---|
[118] | 164 | $b_no++; |
---|
| 165 | $modversion['blocks'][$b_no] = array( |
---|
[142] | 166 | 'file' => 'sidebar_block.php' , |
---|
[183] | 167 | 'name' => constant('_MI_XP2_BLOCK_SIDEBAR') , |
---|
[118] | 168 | 'description' => '' , |
---|
[142] | 169 | 'show_func' => "b_". $mydirname . "_sidebar_show" , |
---|
| 170 | 'edit_func' => '' , |
---|
| 171 | 'options' => '' , |
---|
| 172 | 'can_clone' => false , |
---|
| 173 | 'func_num' => $b_no, |
---|
[118] | 174 | ); |
---|
[119] | 175 | $b_no++; |
---|
| 176 | $modversion['blocks'][$b_no] = array( |
---|
| 177 | 'file' => 'search_block.php' , |
---|
[183] | 178 | 'name' => constant('_MI_XP2_BLOCK_SEARCH') , |
---|
[119] | 179 | 'description' => '' , |
---|
| 180 | 'show_func' => "b_". $mydirname . "_search_show" , |
---|
| 181 | 'edit_func' => "b_". $mydirname . "_search_edit" , |
---|
| 182 | 'options' => $mydirname. '||18' , |
---|
| 183 | 'can_clone' => false , |
---|
| 184 | 'func_num' => $b_no , |
---|
| 185 | ); |
---|
[122] | 186 | $b_no++; |
---|
| 187 | $modversion['blocks'][$b_no] = array( |
---|
[142] | 188 | 'file' => 'calender_block.php' , |
---|
[183] | 189 | 'name' => constant('_MI_XP2_BLOCK_CALENDER') , |
---|
[142] | 190 | 'description' => '' , |
---|
| 191 | 'show_func' => "b_". $mydirname . "_calender_show" , |
---|
| 192 | 'edit_func' => "b_". $mydirname . "_calender_edit" , |
---|
| 193 | 'options' => $mydirname. '||#DB0000|#004D99' , |
---|
| 194 | 'can_clone' => false , |
---|
| 195 | 'func_num' => $b_no, |
---|
| 196 | ); |
---|
| 197 | $b_no++; |
---|
| 198 | $modversion['blocks'][$b_no] = array( |
---|
| 199 | 'file' => 'archives_block.php' , |
---|
[183] | 200 | 'name' => constant('_MI_XP2_BLOCK_ARCHIVE') , |
---|
[142] | 201 | 'description' => '' , |
---|
| 202 | 'show_func' => "b_". $mydirname . "_archives_show" , |
---|
| 203 | 'edit_func' => "b_". $mydirname . "_archives_edit" , |
---|
| 204 | 'options' => $mydirname. '||monthly|0|1|0' , |
---|
| 205 | 'can_clone' => true , |
---|
| 206 | 'func_num' => $b_no, |
---|
| 207 | ); |
---|
| 208 | $b_no++; |
---|
| 209 | $modversion['blocks'][$b_no] = array( |
---|
| 210 | 'file' => 'authors_block.php' , |
---|
[183] | 211 | 'name' => constant('_MI_XP2_BLOCK_AUTHORS') , |
---|
[142] | 212 | 'description' => '' , |
---|
| 213 | 'show_func' => "b_". $mydirname . "_authors_show" , |
---|
| 214 | 'edit_func' => "b_". $mydirname . "_authors_edit" , |
---|
| 215 | 'options' => $mydirname. '||0|1|0|1' , |
---|
| 216 | 'can_clone' => false , |
---|
| 217 | 'func_num' => $b_no, |
---|
| 218 | ); |
---|
| 219 | $b_no++; |
---|
| 220 | $modversion['blocks'][$b_no] = array( |
---|
[122] | 221 | 'file' => 'tag_cloud_block.php' , |
---|
[183] | 222 | 'name' => constant('_MI_XP2_BLOCK_TAG') , |
---|
[122] | 223 | 'description' => '' , |
---|
| 224 | 'show_func' => "b_". $mydirname . "_tag_cloud_show" , |
---|
| 225 | 'edit_func' => "b_". $mydirname . "_tag_cloud_edit" , |
---|
| 226 | 'options' => $mydirname. '||8|22|pt|45|flat|name|ASC||' , |
---|
| 227 | 'can_clone' => false , |
---|
| 228 | 'func_num' => $b_no, |
---|
| 229 | ); |
---|
| 230 | $b_no++; |
---|
| 231 | $modversion['blocks'][$b_no] = array( |
---|
| 232 | 'file' => 'category_block.php' , |
---|
[183] | 233 | 'name' => constant('_MI_XP2_BLOCK_CATEGORY') , |
---|
[122] | 234 | 'description' => '' , |
---|
| 235 | 'show_func' => "b_". $mydirname . "_category_show" , |
---|
| 236 | 'edit_func' => "b_". $mydirname . "_category_edit" , |
---|
| 237 | 'options' => $mydirname. '||ALL|name|ASC|0|0|1|1|||1|0' , |
---|
| 238 | 'can_clone' => false , |
---|
| 239 | 'func_num' => $b_no, |
---|
| 240 | ); |
---|
| 241 | $b_no++; |
---|
| 242 | $modversion['blocks'][$b_no] = array( |
---|
| 243 | 'file' => 'meta_block.php' , |
---|
[183] | 244 | 'name' => constant('_MI_XP2_BLOCK_META') , |
---|
[122] | 245 | 'description' => '' , |
---|
| 246 | 'show_func' => "b_". $mydirname . "_meta_show" , |
---|
| 247 | 'edit_func' => "b_". $mydirname . "_meta_edit" , |
---|
| 248 | 'options' => $mydirname. '||1|1|1|1|1|1|1|1' , |
---|
| 249 | 'can_clone' => false , |
---|
| 250 | 'func_num' => $b_no, |
---|
| 251 | ); |
---|
[124] | 252 | $b_no++; |
---|
| 253 | $modversion['blocks'][$b_no] = array( |
---|
[136] | 254 | 'file' => 'widget_block.php' , |
---|
[183] | 255 | 'name' => constant('_MI_XP2_BLOCK_WIDGET') , |
---|
[136] | 256 | 'description' => '' , |
---|
| 257 | 'show_func' => "b_". $mydirname . "_widget_show" , |
---|
| 258 | 'edit_func' => "b_". $mydirname . "_widget_edit" , |
---|
| 259 | 'options' => $mydirname. '||' , |
---|
| 260 | 'can_clone' => true , |
---|
| 261 | 'func_num' => $b_no, |
---|
| 262 | ); |
---|
[138] | 263 | $b_no++; |
---|
| 264 | $modversion['blocks'][$b_no] = array( |
---|
| 265 | 'file' => 'enhanced_block.php' , |
---|
[183] | 266 | 'name' => constant('_MI_XP2_BLOCK_ENHANCED') , |
---|
[138] | 267 | 'description' => '' , |
---|
| 268 | 'show_func' => "b_". $mydirname . "_enhanced_show" , |
---|
| 269 | 'edit_func' => "b_". $mydirname . "_enhanced_edit" , |
---|
| 270 | 'options' => $mydirname. '||' , |
---|
| 271 | 'can_clone' => true , |
---|
| 272 | 'func_num' => $b_no, |
---|
| 273 | ); |
---|
[122] | 274 | |
---|
| 275 | |
---|
[61] | 276 | // Notification |
---|
| 277 | $modversion['hasNotification'] = 1; |
---|
| 278 | $modversion['notification'] = array( |
---|
| 279 | 'lookup_file' => 'include/notification.inc.php' , |
---|
[95] | 280 | 'lookup_func' => "xpress_notify" , |
---|
[61] | 281 | 'category' => array( |
---|
| 282 | array( |
---|
| 283 | 'name' => 'global' , |
---|
[183] | 284 | 'title' => constant('_MI_XP2_NOTCAT_GLOBAL') , |
---|
| 285 | 'description' => constant('_MI_XP2_NOTCAT_GLOBALDSC') , |
---|
[61] | 286 | 'subscribe_from' => 'index.php' , |
---|
| 287 | ) , |
---|
| 288 | array( |
---|
| 289 | 'name' => 'category' , |
---|
[183] | 290 | 'title' => constant('_MI_XP2_NOTCAT_CAT') , |
---|
| 291 | 'description' => constant('_MI_XP2_NOTCAT_CATDSC') , |
---|
[61] | 292 | 'subscribe_from' => 'index.php' , |
---|
| 293 | 'item_name' => 'cat' , |
---|
| 294 | 'allow_bookmark' => 1 , |
---|
| 295 | ) , |
---|
| 296 | array( |
---|
| 297 | 'name' => 'author' , |
---|
[183] | 298 | 'title' => constant('_MI_XP2_NOTCAT_AUTHOR') , |
---|
| 299 | 'description' => constant('_MI_XP2_NOTCAT_AUTHORDSC') , |
---|
[61] | 300 | 'subscribe_from' => 'index.php' , |
---|
| 301 | 'item_name' => 'author' , |
---|
| 302 | 'allow_bookmark' => 1 , |
---|
| 303 | ) , |
---|
| 304 | array( |
---|
| 305 | 'name' => 'post' , |
---|
[183] | 306 | 'title' => constant('_MI_XP2_NOTCAT_POST') , |
---|
| 307 | 'description' => constant('_MI_XP2_NOTCAT_POSTDSC') , |
---|
[61] | 308 | 'subscribe_from' => 'index.php' , |
---|
| 309 | 'item_name' => 'p' , |
---|
| 310 | 'allow_bookmark' => 1 , |
---|
| 311 | ) , |
---|
| 312 | ) , |
---|
| 313 | 'event' => array( |
---|
| 314 | array( |
---|
| 315 | 'name' => 'waiting' , |
---|
| 316 | 'category' => 'global' , |
---|
[183] | 317 | 'title' => constant('_MI_XP2_NOTIFY_GLOBAL_WAITING') , |
---|
| 318 | 'caption' => constant('_MI_XP2_NOTIFY_GLOBAL_WAITINGCAP') , |
---|
| 319 | 'description' => constant('_MI_XP2_NOTIFY_GLOBAL_WAITINGCAP') , |
---|
[61] | 320 | 'mail_template' => 'global_waiting' , |
---|
[183] | 321 | 'mail_subject' => constant('_MI_XP2_NOTIFY_GLOBAL_WAITINGSBJ') , |
---|
[61] | 322 | 'admin_only' => 1 , |
---|
| 323 | ) , |
---|
| 324 | array( |
---|
| 325 | 'name' => 'newpost' , |
---|
| 326 | 'category' => 'global' , |
---|
[183] | 327 | 'title' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWPOST') , |
---|
| 328 | 'caption' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWPOSTCAP') , |
---|
| 329 | 'description' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWPOSTCAP') , |
---|
[61] | 330 | 'mail_template' => 'global_newpost' , |
---|
[183] | 331 | 'mail_subject' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWPOSTSBJ') , |
---|
[61] | 332 | ) , |
---|
| 333 | array( |
---|
| 334 | 'name' => 'comment' , |
---|
| 335 | 'category' => 'global' , |
---|
[183] | 336 | 'title' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENT') , |
---|
| 337 | 'caption' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENTCAP') , |
---|
| 338 | 'description' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENTCAP') , |
---|
[61] | 339 | 'mail_template' => 'global_newcomment' , |
---|
[183] | 340 | 'mail_subject' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENTSBJ') , |
---|
[61] | 341 | ) , |
---|
| 342 | |
---|
| 343 | array( |
---|
| 344 | 'name' => 'newpost' , |
---|
| 345 | 'category' => 'category' , |
---|
[183] | 346 | 'title' => constant('_MI_XP2_NOTIFY_CAT_NEWPOST') , |
---|
| 347 | 'caption' => constant('_MI_XP2_NOTIFY_CAT_NEWPOSTCAP') , |
---|
| 348 | 'description' => constant('_MI_XP2_NOTIFY_CAT_NEWPOSTCAP') , |
---|
[61] | 349 | 'mail_template' => 'category_newpost' , |
---|
[183] | 350 | 'mail_subject' => constant('_MI_XP2_NOTIFY_CAT_NEWPOSTSBJ') , |
---|
[61] | 351 | ) , |
---|
| 352 | array( |
---|
| 353 | 'name' => 'comment' , |
---|
| 354 | 'category' => 'category' , |
---|
[183] | 355 | 'title' => constant('_MI_XP2_NOTIFY_CAT_NEWCOMMENT') , |
---|
| 356 | 'caption' => constant('_MI_XP2_NOTIFY_CAT_NEWCOMMENTCAP') , |
---|
| 357 | 'description' => constant('_MI_XP2_NOTIFY_CAT_NEWCOMMENTCAP') , |
---|
[61] | 358 | 'mail_template' => 'category_newcomment' , |
---|
[183] | 359 | 'mail_subject' => constant('_MI_XP2_NOTIFY_CAT_NEWCOMMENTSBJ') , |
---|
[61] | 360 | ) , |
---|
| 361 | |
---|
| 362 | array( |
---|
| 363 | 'name' => 'newpost' , |
---|
| 364 | 'category' => 'author' , |
---|
[183] | 365 | 'title' => constant('_MI_XP2_NOTIFY_AUT_NEWPOST') , |
---|
| 366 | 'caption' => constant('_MI_XP2_NOTIFY_AUT_NEWPOSTCAP') , |
---|
| 367 | 'description' => constant('_MI_XP2_NOTIFY_AUT_NEWPOSTCAP') , |
---|
[61] | 368 | 'mail_template' => 'author_newpost' , |
---|
[183] | 369 | 'mail_subject' => constant('_MI_XP2_NOTIFY_AUT_NEWPOSTSBJ') , |
---|
[61] | 370 | ) , |
---|
| 371 | array( |
---|
| 372 | 'name' => 'comment' , |
---|
| 373 | 'category' => 'author' , |
---|
[183] | 374 | 'title' => constant('_MI_XP2_NOTIFY_AUT_NEWCOMMENT') , |
---|
| 375 | 'caption' => constant('_MI_XP2_NOTIFY_AUT_NEWCOMMENTCAP') , |
---|
| 376 | 'description' => constant('_MI_XP2_NOTIFY_AUT_NEWCOMMENTCAP') , |
---|
[61] | 377 | 'mail_template' => 'author_newcomment' , |
---|
[183] | 378 | 'mail_subject' => constant('_MI_XP2_NOTIFY_AUT_NEWCOMMENTSBJ') , |
---|
[61] | 379 | ) , |
---|
| 380 | |
---|
| 381 | array( |
---|
| 382 | 'name' => 'comment' , |
---|
| 383 | 'category' => 'post' , |
---|
[183] | 384 | 'title' => constant('_MI_XP2_NOTIFY_POST_NEWCOMMENT') , |
---|
| 385 | 'caption' => constant('_MI_XP2_NOTIFY_POST_NEWCOMMENTCAP') , |
---|
| 386 | 'description' => constant('_MI_XP2_NOTIFY_POST_NEWCOMMENTCAP') , |
---|
[61] | 387 | 'mail_template' => 'post_newcomment' , |
---|
[183] | 388 | 'mail_subject' => constant('_MI_XP2_NOTIFY_POST_NEWCOMMENTSBJ') , |
---|
[61] | 389 | ) , |
---|
| 390 | ) , |
---|
| 391 | ) ; |
---|
| 392 | |
---|
| 393 | |
---|
[1] | 394 | ?> |
---|