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