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