Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
Tz Tools
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
3d33413b
authored
2010-11-15 20:19:18 +0000
by
Kevin Burton
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
notification update
1 parent
07d8996d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
tz-tools.php
tz-tools.php
View file @
3d33413
...
...
@@ -144,11 +144,11 @@ function add_settings_fields($class, $page = 'general', $section = 'default') {
}
}
function
TzSuperPaginationBar
(
$pages
=
null
,
$range
=
2
,
$before
=
""
,
$after
=
""
,
$show_search
=
false
,
$show_advanced
=
false
)
{
function
TzSuperPaginationBar
(
$pages
=
null
,
$range
=
2
,
$before
=
""
,
$after
=
""
,
$show_search
=
false
,
$show_advanced
=
false
,
$post_type
=
""
)
{
$bar
=
'<div class="TzSuperPaginationBar">'
;
if
(
$show_search
)
{
$bar
.=
'<div class="pagination-search"><form
><input type="input" style="width:120px;
" /></form></div>'
;
}
if
(
$show_advanced
)
{
$bar
.=
'<div class="pagination-advanced"><a href="">Advanced</a></div>'
;
}
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>'
;
}
if
(
$show_advanced
)
{
$bar
.=
'<div class="pagination-advanced"><a href="
#" onclick="return false;
">Advanced</a></div>'
;
}
$bar
.=
'<div class="pagination-paging">'
.
pagination
(
$pages
,
$range
,
$before
,
$after
,
false
)
.
'</div>'
;
$bar
.=
'<div style="clear:both;"></div>'
;
$bar
.=
'</div>'
;
...
...
Please
register
or
sign in
to post a comment