Changeset 108 for trunk/class
- Timestamp:
- Mar 15, 2009, 10:29:28 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/class/xpressD3commentContent.class.php
r104 r108 125 125 if( ! empty( $params['view'] ) ) { 126 126 return $params['view'] ; 127 } else if( ! empty( $this->mod_config['comment_view'] ) ) {128 return $this->mod_config['comment_view'] ;129 127 } else { 130 128 return 'listposts' ; … … 137 135 function getOrder( $params ) 138 136 { 137 global $XPressME; 139 138 if( ! empty( $params['order'] ) ) { 140 139 return strtolower( $params['order'] ) ; 141 } else if( ! empty( $this->mod_config['comment_order'] ) ) {142 return $this->mod_config['comment_order'] ;143 140 } else { 144 141 return 'desc' ; … … 154 151 if( ! empty( $params['posts_num'] ) ) { 155 152 return $params['posts_num'] ; 156 } else if( ! empty( $this->mod_config['comment_posts_num'] ) ) {157 return $this->mod_config['comment_posts_num'] ;158 153 } else { 159 154 return 10 ;
Note: See TracChangeset
for help on using the changeset viewer.