- Timestamp:
- Mar 31, 2009, 12:43:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/plugins/xpressme/include/d3forum_comment_disp.php
r108 r144 1 1 <?php 2 global $xoops_db,$ XPressME;2 global $xoops_db,$xpress_config; 3 3 $xoops_trust_path = get_xoops_trust_path(); 4 4 $xoops_root_path = get_xoops_root_path(); … … 10 10 include_once($xpress_dir . '/class/xpressD3commentContent.class.php'); 11 11 12 $dir_name = $ XPressME->d3forum_module_dir;13 $forum_id = $ XPressME->d3forum_forum_id;14 $external_link_format = $ XPressME->d3forum_external_link_format;15 if ($ XPressME->is_d3forum_desc){12 $dir_name = $xpress_config->d3forum_module_dir; 13 $forum_id = $xpress_config->d3forum_forum_id; 14 $external_link_format = $xpress_config->d3forum_external_link_format; 15 if ($xpress_config->is_d3forum_desc){ 16 16 $order = 'desc'; 17 17 } else { 18 18 $order = 'asc'; 19 19 } 20 if ($ XPressME->is_d3forum_desc){20 if ($xpress_config->is_d3forum_desc){ 21 21 $order = 'desc'; 22 22 } else { … … 24 24 } 25 25 26 if ($ XPressME->is_d3forum_flat){26 if ($xpress_config->is_d3forum_flat){ 27 27 $view = 'listposts_flat'; 28 28 } else { 29 29 $view = 'listtopics'; 30 30 } 31 $posts_num = $ XPressME->d3forum_views_num;31 $posts_num = $xpress_config->d3forum_views_num; 32 32 33 33 // force UPDATE forums.forum_external_link_format "(dirname)::(classname)::(trustdirname)"
Note: See TracChangeset
for help on using the changeset viewer.