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.14"; |
---|
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\\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 | if (defined('ICMS_ROOT_PATH')){ |
---|
128 | $modversion['hasconfig'] = 1; |
---|
129 | $modversion['config'][] = array( |
---|
130 | 'name' => 'dummy' , |
---|
131 | 'title' => 'Dummy Value' , |
---|
132 | 'description' => 'This is Dummy Value' , |
---|
133 | 'formtype' => 'yesno' , |
---|
134 | 'valuetype' => 'int' , |
---|
135 | 'default' => 0 , |
---|
136 | ); |
---|
137 | } |
---|
138 | |
---|
139 | //BLOCKS |
---|
140 | $b_no =1; |
---|
141 | $modversion['blocks'][$b_no] = array( |
---|
142 | 'file' => 'recent_posts_content_block.php' , |
---|
143 | 'name' => constant('_MI_XP2_BLOCK_CONTENT') , |
---|
144 | 'description' => '' , |
---|
145 | 'show_func' => "b_". $mydirname . "_content_show" , |
---|
146 | 'edit_func' => "b_". $mydirname . "_content_edit" , |
---|
147 | 'template' => '' , |
---|
148 | 'options' => $mydirname. '||10|0|100||||0' , |
---|
149 | 'can_clone' => true , |
---|
150 | 'func_num' => $b_no, |
---|
151 | ); |
---|
152 | $b_no++; |
---|
153 | $modversion['blocks'][$b_no] = array( |
---|
154 | 'file' => 'recent_posts_list_block.php' , |
---|
155 | 'name' => constant('_MI_XP2_BLOCK_POSTS') , |
---|
156 | 'description' => '' , |
---|
157 | 'show_func' => "b_". $mydirname . "_posts_show" , |
---|
158 | 'edit_func' => "b_". $mydirname . "_posts_edit" , |
---|
159 | 'options' => $mydirname. '||10|1|7||||0' , |
---|
160 | 'can_clone' => true , |
---|
161 | 'func_num' => $b_no, |
---|
162 | ); |
---|
163 | $b_no++; |
---|
164 | $modversion['blocks'][$b_no] = array( |
---|
165 | 'file' => 'popular_posts_block.php' , |
---|
166 | 'name' => constant('_MI_XP2_BLOCK_POPULAR') , |
---|
167 | 'description' => '' , |
---|
168 | 'show_func' => "b_". $mydirname . "_popular_show" , |
---|
169 | 'edit_func' => "b_". $mydirname . "_popular_edit" , |
---|
170 | 'options' => $mydirname. '||10|0||||0' , |
---|
171 | 'can_clone' => true , |
---|
172 | 'func_num' => $b_no, |
---|
173 | ); |
---|
174 | $b_no++; |
---|
175 | $modversion['blocks'][$b_no] = array( |
---|
176 | 'file' => 'page_block.php' , |
---|
177 | 'name' => constant('_MI_XP2_BLOCK_PAGE') , |
---|
178 | 'description' => '' , |
---|
179 | 'show_func' => "b_". $mydirname . "_page_show" , |
---|
180 | 'edit_func' => "b_". $mydirname . "_page_edit" , |
---|
181 | 'options' => $mydirname. '||post_title|asc||||0|0|none||1||' , |
---|
182 | 'can_clone' => true , |
---|
183 | 'func_num' => $b_no, |
---|
184 | ); |
---|
185 | $b_no++; |
---|
186 | $modversion['blocks'][$b_no] = array( |
---|
187 | 'file' => 'recent_comments_block.php' , |
---|
188 | 'name' => constant('_MI_XP2_BLOCK_COMMENTS') , |
---|
189 | 'description' => '' , |
---|
190 | 'show_func' => "b_". $mydirname . "_comments_show" , |
---|
191 | 'edit_func' => "b_". $mydirname . "_comments_edit" , |
---|
192 | 'template' => '' , |
---|
193 | 'options' => $mydirname. '||10|30|||0' , |
---|
194 | 'can_clone' => true , |
---|
195 | 'func_num' => $b_no, |
---|
196 | ); |
---|
197 | $b_no++; |
---|
198 | $modversion['blocks'][$b_no] = array( |
---|
199 | 'file' => 'sidebar_block.php' , |
---|
200 | 'name' => constant('_MI_XP2_BLOCK_SIDEBAR') , |
---|
201 | 'description' => '' , |
---|
202 | 'show_func' => "b_". $mydirname . "_sidebar_show" , |
---|
203 | 'edit_func' => '' , |
---|
204 | 'options' => '' , |
---|
205 | 'can_clone' => false , |
---|
206 | 'func_num' => $b_no, |
---|
207 | ); |
---|
208 | $b_no++; |
---|
209 | $modversion['blocks'][$b_no] = array( |
---|
210 | 'file' => 'search_block.php' , |
---|
211 | 'name' => constant('_MI_XP2_BLOCK_SEARCH') , |
---|
212 | 'description' => '' , |
---|
213 | 'show_func' => "b_". $mydirname . "_search_show" , |
---|
214 | 'edit_func' => "b_". $mydirname . "_search_edit" , |
---|
215 | 'options' => $mydirname. '||18' , |
---|
216 | 'can_clone' => false , |
---|
217 | 'func_num' => $b_no , |
---|
218 | ); |
---|
219 | $b_no++; |
---|
220 | $modversion['blocks'][$b_no] = array( |
---|
221 | 'file' => 'calender_block.php' , |
---|
222 | 'name' => constant('_MI_XP2_BLOCK_CALENDER') , |
---|
223 | 'description' => '' , |
---|
224 | 'show_func' => "b_". $mydirname . "_calender_show" , |
---|
225 | 'edit_func' => "b_". $mydirname . "_calender_edit" , |
---|
226 | 'options' => $mydirname. '||#DB0000|#004D99' , |
---|
227 | 'can_clone' => false , |
---|
228 | 'func_num' => $b_no, |
---|
229 | ); |
---|
230 | $b_no++; |
---|
231 | $modversion['blocks'][$b_no] = array( |
---|
232 | 'file' => 'archives_block.php' , |
---|
233 | 'name' => constant('_MI_XP2_BLOCK_ARCHIVE') , |
---|
234 | 'description' => '' , |
---|
235 | 'show_func' => "b_". $mydirname . "_archives_show" , |
---|
236 | 'edit_func' => "b_". $mydirname . "_archives_edit" , |
---|
237 | 'options' => $mydirname. '||monthly|0|1|0' , |
---|
238 | 'can_clone' => true , |
---|
239 | 'func_num' => $b_no, |
---|
240 | ); |
---|
241 | $b_no++; |
---|
242 | $modversion['blocks'][$b_no] = array( |
---|
243 | 'file' => 'authors_block.php' , |
---|
244 | 'name' => constant('_MI_XP2_BLOCK_AUTHORS') , |
---|
245 | 'description' => '' , |
---|
246 | 'show_func' => "b_". $mydirname . "_authors_show" , |
---|
247 | 'edit_func' => "b_". $mydirname . "_authors_edit" , |
---|
248 | 'options' => $mydirname. '||0|1|0|1' , |
---|
249 | 'can_clone' => false , |
---|
250 | 'func_num' => $b_no, |
---|
251 | ); |
---|
252 | $b_no++; |
---|
253 | if (wp_version_compare($wp_version, '>=','2.3')){ |
---|
254 | $modversion['blocks'][$b_no] = array( |
---|
255 | 'file' => 'tag_cloud_block.php' , |
---|
256 | 'name' => constant('_MI_XP2_BLOCK_TAG') , |
---|
257 | 'description' => '' , |
---|
258 | 'show_func' => "b_". $mydirname . "_tag_cloud_show" , |
---|
259 | 'edit_func' => "b_". $mydirname . "_tag_cloud_edit" , |
---|
260 | 'options' => $mydirname. '||8|22|pt|45|flat|name|ASC||' , |
---|
261 | 'can_clone' => false , |
---|
262 | 'func_num' => $b_no, |
---|
263 | ); |
---|
264 | } |
---|
265 | $b_no++; |
---|
266 | $modversion['blocks'][$b_no] = array( |
---|
267 | 'file' => 'category_block.php' , |
---|
268 | 'name' => constant('_MI_XP2_BLOCK_CATEGORY') , |
---|
269 | 'description' => '' , |
---|
270 | 'show_func' => "b_". $mydirname . "_category_show" , |
---|
271 | 'edit_func' => "b_". $mydirname . "_category_edit" , |
---|
272 | 'options' => $mydirname. '||ALL|name|ASC|0|0|1|1|||1|0' , |
---|
273 | 'can_clone' => false , |
---|
274 | 'func_num' => $b_no, |
---|
275 | ); |
---|
276 | $b_no++; |
---|
277 | $modversion['blocks'][$b_no] = array( |
---|
278 | 'file' => 'meta_block.php' , |
---|
279 | 'name' => constant('_MI_XP2_BLOCK_META') , |
---|
280 | 'description' => '' , |
---|
281 | 'show_func' => "b_". $mydirname . "_meta_show" , |
---|
282 | 'edit_func' => "b_". $mydirname . "_meta_edit" , |
---|
283 | 'options' => $mydirname. '||1|1|1|1|1|1|1|1' , |
---|
284 | 'can_clone' => false , |
---|
285 | 'func_num' => $b_no, |
---|
286 | ); |
---|
287 | $b_no++; |
---|
288 | if (wp_version_compare($wp_version, '>=','2.7')){ |
---|
289 | $modversion['blocks'][$b_no] = array( |
---|
290 | 'file' => 'widget_block.php' , |
---|
291 | 'name' => constant('_MI_XP2_BLOCK_WIDGET') , |
---|
292 | 'description' => '' , |
---|
293 | 'show_func' => "b_". $mydirname . "_widget_show" , |
---|
294 | 'edit_func' => "b_". $mydirname . "_widget_edit" , |
---|
295 | 'options' => $mydirname. '||1' , |
---|
296 | 'can_clone' => true , |
---|
297 | 'func_num' => $b_no, |
---|
298 | ); |
---|
299 | } |
---|
300 | $b_no++; |
---|
301 | $modversion['blocks'][$b_no] = array( |
---|
302 | 'file' => 'enhanced_block.php' , |
---|
303 | 'name' => constant('_MI_XP2_BLOCK_ENHANCED') , |
---|
304 | 'description' => '' , |
---|
305 | 'show_func' => "b_". $mydirname . "_enhanced_show" , |
---|
306 | 'edit_func' => "b_". $mydirname . "_enhanced_edit" , |
---|
307 | 'options' => $mydirname. '||' , |
---|
308 | 'can_clone' => true , |
---|
309 | 'func_num' => $b_no, |
---|
310 | ); |
---|
311 | |
---|
312 | |
---|
313 | // Notification |
---|
314 | $modversion['hasNotification'] = 1; |
---|
315 | $modversion['notification'] = array( |
---|
316 | 'lookup_file' => 'include/notification.inc.php' , |
---|
317 | 'lookup_func' => "xpress_notify" , |
---|
318 | 'category' => array( |
---|
319 | array( |
---|
320 | 'name' => 'global' , |
---|
321 | 'title' => constant('_MI_XP2_NOTCAT_GLOBAL') , |
---|
322 | 'description' => constant('_MI_XP2_NOTCAT_GLOBALDSC') , |
---|
323 | 'subscribe_from' => 'index.php' , |
---|
324 | ) , |
---|
325 | array( |
---|
326 | 'name' => 'category' , |
---|
327 | 'title' => constant('_MI_XP2_NOTCAT_CAT') , |
---|
328 | 'description' => constant('_MI_XP2_NOTCAT_CATDSC') , |
---|
329 | 'subscribe_from' => 'index.php' , |
---|
330 | 'item_name' => 'cat' , |
---|
331 | 'allow_bookmark' => 1 , |
---|
332 | ) , |
---|
333 | array( |
---|
334 | 'name' => 'author' , |
---|
335 | 'title' => constant('_MI_XP2_NOTCAT_AUTHOR') , |
---|
336 | 'description' => constant('_MI_XP2_NOTCAT_AUTHORDSC') , |
---|
337 | 'subscribe_from' => 'index.php' , |
---|
338 | 'item_name' => 'author' , |
---|
339 | 'allow_bookmark' => 1 , |
---|
340 | ) , |
---|
341 | array( |
---|
342 | 'name' => 'post' , |
---|
343 | 'title' => constant('_MI_XP2_NOTCAT_POST') , |
---|
344 | 'description' => constant('_MI_XP2_NOTCAT_POSTDSC') , |
---|
345 | 'subscribe_from' => 'index.php' , |
---|
346 | 'item_name' => 'p' , |
---|
347 | 'allow_bookmark' => 1 , |
---|
348 | ) , |
---|
349 | ) , |
---|
350 | 'event' => array( |
---|
351 | array( |
---|
352 | 'name' => 'waiting' , |
---|
353 | 'category' => 'global' , |
---|
354 | 'title' => constant('_MI_XP2_NOTIFY_GLOBAL_WAITING') , |
---|
355 | 'caption' => constant('_MI_XP2_NOTIFY_GLOBAL_WAITINGCAP') , |
---|
356 | 'description' => constant('_MI_XP2_NOTIFY_GLOBAL_WAITINGCAP') , |
---|
357 | 'mail_template' => 'global_waiting' , |
---|
358 | 'mail_subject' => constant('_MI_XP2_NOTIFY_GLOBAL_WAITINGSBJ') , |
---|
359 | 'admin_only' => 1 , |
---|
360 | ) , |
---|
361 | array( |
---|
362 | 'name' => 'newpost' , |
---|
363 | 'category' => 'global' , |
---|
364 | 'title' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWPOST') , |
---|
365 | 'caption' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWPOSTCAP') , |
---|
366 | 'description' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWPOSTCAP') , |
---|
367 | 'mail_template' => 'global_newpost' , |
---|
368 | 'mail_subject' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWPOSTSBJ') , |
---|
369 | ) , |
---|
370 | array( |
---|
371 | 'name' => 'comment' , |
---|
372 | 'category' => 'global' , |
---|
373 | 'title' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENT') , |
---|
374 | 'caption' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENTCAP') , |
---|
375 | 'description' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENTCAP') , |
---|
376 | 'mail_template' => 'global_newcomment' , |
---|
377 | 'mail_subject' => constant('_MI_XP2_NOTIFY_GLOBAL_NEWCOMMENTSBJ') , |
---|
378 | ) , |
---|
379 | |
---|
380 | array( |
---|
381 | 'name' => 'newpost' , |
---|
382 | 'category' => 'category' , |
---|
383 | 'title' => constant('_MI_XP2_NOTIFY_CAT_NEWPOST') , |
---|
384 | 'caption' => constant('_MI_XP2_NOTIFY_CAT_NEWPOSTCAP') , |
---|
385 | 'description' => constant('_MI_XP2_NOTIFY_CAT_NEWPOSTCAP') , |
---|
386 | 'mail_template' => 'category_newpost' , |
---|
387 | 'mail_subject' => constant('_MI_XP2_NOTIFY_CAT_NEWPOSTSBJ') , |
---|
388 | ) , |
---|
389 | array( |
---|
390 | 'name' => 'comment' , |
---|
391 | 'category' => 'category' , |
---|
392 | 'title' => constant('_MI_XP2_NOTIFY_CAT_NEWCOMMENT') , |
---|
393 | 'caption' => constant('_MI_XP2_NOTIFY_CAT_NEWCOMMENTCAP') , |
---|
394 | 'description' => constant('_MI_XP2_NOTIFY_CAT_NEWCOMMENTCAP') , |
---|
395 | 'mail_template' => 'category_newcomment' , |
---|
396 | 'mail_subject' => constant('_MI_XP2_NOTIFY_CAT_NEWCOMMENTSBJ') , |
---|
397 | ) , |
---|
398 | |
---|
399 | array( |
---|
400 | 'name' => 'newpost' , |
---|
401 | 'category' => 'author' , |
---|
402 | 'title' => constant('_MI_XP2_NOTIFY_AUT_NEWPOST') , |
---|
403 | 'caption' => constant('_MI_XP2_NOTIFY_AUT_NEWPOSTCAP') , |
---|
404 | 'description' => constant('_MI_XP2_NOTIFY_AUT_NEWPOSTCAP') , |
---|
405 | 'mail_template' => 'author_newpost' , |
---|
406 | 'mail_subject' => constant('_MI_XP2_NOTIFY_AUT_NEWPOSTSBJ') , |
---|
407 | ) , |
---|
408 | array( |
---|
409 | 'name' => 'comment' , |
---|
410 | 'category' => 'author' , |
---|
411 | 'title' => constant('_MI_XP2_NOTIFY_AUT_NEWCOMMENT') , |
---|
412 | 'caption' => constant('_MI_XP2_NOTIFY_AUT_NEWCOMMENTCAP') , |
---|
413 | 'description' => constant('_MI_XP2_NOTIFY_AUT_NEWCOMMENTCAP') , |
---|
414 | 'mail_template' => 'author_newcomment' , |
---|
415 | 'mail_subject' => constant('_MI_XP2_NOTIFY_AUT_NEWCOMMENTSBJ') , |
---|
416 | ) , |
---|
417 | |
---|
418 | array( |
---|
419 | 'name' => 'comment' , |
---|
420 | 'category' => 'post' , |
---|
421 | 'title' => constant('_MI_XP2_NOTIFY_POST_NEWCOMMENT') , |
---|
422 | 'caption' => constant('_MI_XP2_NOTIFY_POST_NEWCOMMENTCAP') , |
---|
423 | 'description' => constant('_MI_XP2_NOTIFY_POST_NEWCOMMENTCAP') , |
---|
424 | 'mail_template' => 'post_newcomment' , |
---|
425 | 'mail_subject' => constant('_MI_XP2_NOTIFY_POST_NEWCOMMENTSBJ') , |
---|
426 | ) , |
---|
427 | ) , |
---|
428 | ) ; |
---|
429 | |
---|
430 | |
---|
431 | ?> |
---|