Changeset 3926:199b1f662109 for inc/admin
- Timestamp:
- 11/13/18 11:30:23 (7 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/admin/lib.dc.page.php
r3922 r3926 1011 1011 public static function jsFilterControl($show = true) 1012 1012 { 1013 $js = [ 1014 'show_filters' => (boolean) $show, 1015 'filter_posts_list' => __('Show filters and display options'), 1016 'cancel_the_filter' => __('Cancel filters and display options') 1017 ]; 1013 1018 return 1014 self::jsLoad('js/filter-controls.js') . 1015 '<script type="text/javascript">' . "\n" . 1016 self::jsVar('dotclear.msg.show_filters', $show ? 'true' : 'false') . "\n" . 1017 self::jsVar('dotclear.msg.filter_posts_list', __('Show filters and display options')) . "\n" . 1018 self::jsVar('dotclear.msg.cancel_the_filter', __('Cancel filters and display options')) . "\n" . 1019 "</script>"; 1019 self::jsJson('filter_controls', $js). 1020 self::jsLoad('js/filter-controls.js'); 1020 1021 } 1021 1022
Note: See TracChangeset
for help on using the changeset viewer.