Changeset 2135:35a0194cdafa for admin/users.php
- Timestamp:
- 09/27/13 20:16:29 (12 years ago)
- Branch:
- Ticket #1548
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/users.php
r1912 r2135 89 89 /* DISPLAY 90 90 -------------------------------------------------------- */ 91 $starting_script = dcPage::jsLoad('js/_users.js'); 92 if (!$show_filters) { 93 $starting_script .= dcPage::jsLoad('js/filter-controls.js'); 94 } 91 $starting_script = dcPage::jsLoad('js/_users.js'); 92 $starting_script .= dcPage::jsLoad('js/filter-controls.js'); 93 $starting_script .= 94 '<script type="text/javascript">'."\n". 95 "//<![CDATA["."\n". 96 dcPage::jsVar('dotclear.msg.show_filters', $show_filters ? 'true':'false')."\n". 97 dcPage::jsVar('dotclear.msg.filter_posts_list',$form_filter_title)."\n". 98 dcPage::jsVar('dotclear.msg.cancel_the_filter',__('Cancel the filter'))."\n". 99 "//]]>". 100 "</script>"; 101 102 $form_filter_title = __('Filter users list and display options'); 95 103 96 104 dcPage::open(__('Users'),$starting_script, … … 112 120 113 121 echo 114 '<p class="top-add"><strong><a class="button add" href="user.php">'.__('New user').'</a></strong></p>'; 115 116 if (!$show_filters) { 117 echo '<p><a id="filter-control" class="form-control" href="#">'.__('Filter users list').'</a></p>'; 118 } 119 120 echo 122 '<p class="top-add"><strong><a class="button add" href="user.php">'.__('New user').'</a></strong></p>'. 121 123 '<form action="users.php" method="get" id="filters-form">'. 122 '<h3 class=" hidden">'.__('Filter users list').'</h3>'.124 '<h3 class="out-of-screen-if-js">'.$form_filter_title.'</h3>'. 123 125 124 126 '<div class="table">'. … … 166 168 '</p>'. 167 169 '</div>'. 168 '</form>' 170 '</form>', 171 $show_filters 169 172 ); 170 173 }
Note: See TracChangeset
for help on using the changeset viewer.