notification update
Showing
1 changed file
with
3 additions
and
3 deletions
| ... | @@ -144,11 +144,11 @@ function add_settings_fields($class, $page = 'general', $section = 'default') { | ... | @@ -144,11 +144,11 @@ function add_settings_fields($class, $page = 'general', $section = 'default') { |
| 144 | } | 144 | } |
| 145 | } | 145 | } |
| 146 | 146 | ||
| 147 | function TzSuperPaginationBar($pages = null, $range = 2, $before = "", $after = "",$show_search = false, $show_advanced = false) { | 147 | function TzSuperPaginationBar($pages = null, $range = 2, $before = "", $after = "",$show_search = false, $show_advanced = false, $post_type="") { |
| 148 | 148 | ||
| 149 | $bar = '<div class="TzSuperPaginationBar">'; | 149 | $bar = '<div class="TzSuperPaginationBar">'; |
| 150 | if ($show_search) { $bar .= '<div class="pagination-search"><form><input type="input" style="width:120px;" /></form></div>'; } | 150 | if ($show_search) { $bar .= '<div class="pagination-search"><form id="TzPaginationSearch"><input type="hidden" name="post_type" value="'.$post_type.'" /><input name="search_criteria" type="input" /></form></div>'; } |
| 151 | if ($show_advanced) { $bar .= '<div class="pagination-advanced"><a href="">Advanced</a></div>'; } | 151 | if ($show_advanced) { $bar .= '<div class="pagination-advanced"><a href="#" onclick="return false;">Advanced</a></div>'; } |
| 152 | $bar .= '<div class="pagination-paging">'.pagination($pages,$range,$before,$after,false).'</div>'; | 152 | $bar .= '<div class="pagination-paging">'.pagination($pages,$range,$before,$after,false).'</div>'; |
| 153 | $bar .= '<div style="clear:both;"></div>'; | 153 | $bar .= '<div style="clear:both;"></div>'; |
| 154 | $bar .= '</div>'; | 154 | $bar .= '</div>'; | ... | ... |
-
Please register or sign in to post a comment