Changeset 2135:35a0194cdafa for admin/comments.php
- Timestamp:
- 09/27/13 20:16:29 (12 years ago)
- Branch:
- Ticket #1548
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/comments.php
r1999 r2135 152 152 /* DISPLAY 153 153 -------------------------------------------------------- */ 154 $starting_script = dcPage::jsLoad('js/_comments.js'); 155 if (!$show_filters) { 156 $starting_script .= dcPage::jsLoad('js/filter-controls.js'); 157 } 154 $starting_script = dcPage::jsLoad('js/_comments.js'); 155 $starting_script .= dcPage::jsLoad('js/filter-controls.js'); 156 $starting_script .= 157 '<script type="text/javascript">'."\n". 158 "//<![CDATA["."\n". 159 dcPage::jsVar('dotclear.msg.show_filters', $show_filters ? 'true':'false')."\n". 160 dcPage::jsVar('dotclear.msg.filter_posts_list',$form_filter_title)."\n". 161 dcPage::jsVar('dotclear.msg.cancel_the_filter',__('Cancel the filter'))."\n". 162 "//]]>". 163 "</script>"; 164 165 $form_filter_title = __('Filter comments, trackbacks list and display options'); 158 166 159 167 dcPage::open(__('Comments and trackbacks'),$starting_script, … … 203 211 echo '</form>'; 204 212 } 205 206 # Filters207 if (!$show_filters) {208 echo '<p><a id="filter-control" class="form-control" href="#">'.209 __('Filter comments and trackbacks list').'</a></p>';210 }211 213 212 214 echo … … 269 271 '</div>'. 270 272 271 '</form>' 273 '</form>', 274 $show_filters 272 275 ); 273 276 }
Note: See TracChangeset
for help on using the changeset viewer.