Merge pull request #410 from metaskop/adminfirstlast
[req171] First / Last page for admin area
This commit is contained in:
commit
d1c88a6fdb
@ -642,7 +642,15 @@ div.plugin-links > span.separator {
|
||||
}
|
||||
|
||||
#paginator li.right {
|
||||
margin-left: 10px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
#paginator li.next {
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
#paginator li.previous {
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
/* ----------- PLUGINS FORM ----------- */
|
||||
|
@ -47,6 +47,7 @@ echo '
|
||||
<ul>
|
||||
<?php
|
||||
if(Paginator::get('showNewer')) {
|
||||
echo '<li class="first"><a href="'.HTML_PATH_ADMIN_ROOT.'manage-posts?page=0">« '.$Language->g('First page').'</a></li>';
|
||||
echo '<li class="previous"><a href="'.HTML_PATH_ADMIN_ROOT.'manage-posts?page='.Paginator::get('prevPage').'">« '.$Language->g('Prev page').'</a></li>';
|
||||
}
|
||||
|
||||
@ -54,6 +55,7 @@ echo '
|
||||
|
||||
if(Paginator::get('showOlder')) {
|
||||
echo '<li class="next"><a href="'.HTML_PATH_ADMIN_ROOT.'manage-posts?page='.Paginator::get('nextPage').'">'.$Language->g('Next page').' »</a></li>';
|
||||
echo '<li class="last"><a href="'.HTML_PATH_ADMIN_ROOT.'manage-posts?page='.Paginator::get('numberOfPages').'">'.$Language->g('Last page').' »</a></li>';
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user