BP: modified pagination in entries.tpl & added pagination styles to colorset stylesheets.
This commit is contained in:
@ -150,6 +150,30 @@ body {
|
|||||||
margin: 5px 0 10px;
|
margin: 5px 0 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* pagination links */
|
||||||
|
div.pagination{
|
||||||
|
margin-top: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pagination a:link,
|
||||||
|
.pagination a:visited{
|
||||||
|
border: 1px solid #CFCFCF;
|
||||||
|
padding: 2px 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
span#thispage {
|
||||||
|
background-color: #3D98C5;
|
||||||
|
border: 1px solid #3D98C5;
|
||||||
|
color: #ffffff;
|
||||||
|
padding: 2px 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pagination a:hover,
|
||||||
|
.pagination a:active {
|
||||||
|
background-color: #EDF8FD;
|
||||||
|
border: 1px solid #3D98C5;
|
||||||
|
}
|
||||||
|
|
||||||
.serendipitySideBarItem {
|
.serendipitySideBarItem {
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
@ -221,6 +221,34 @@ a.homelink2:link, a.homelink2:visited,
|
|||||||
background-color: #ecf3fd;
|
background-color: #ecf3fd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* pagination links */
|
||||||
|
div.pagination{
|
||||||
|
margin-top: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pagination a:link,
|
||||||
|
.pagination a:visited{
|
||||||
|
background: #DDECFB url(img/default_sitenav_back.png) center left repeat-x;
|
||||||
|
border: 1px solid #CFCFCF;
|
||||||
|
padding: 2px 6px;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
span#thispage {
|
||||||
|
background: #235587;
|
||||||
|
border: 1px solid #235587;
|
||||||
|
color: #ffffff;
|
||||||
|
padding: 2px 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pagination a:hover,
|
||||||
|
.pagination a:active {
|
||||||
|
background: #5F90BA;
|
||||||
|
border: 1px solid #235587;
|
||||||
|
color: #ffffff;
|
||||||
|
padding: 2px 6px;
|
||||||
|
}
|
||||||
|
|
||||||
img.serendipity_entryIcon {
|
img.serendipity_entryIcon {
|
||||||
float: right;
|
float: right;
|
||||||
border: 0px;
|
border: 0px;
|
||||||
|
@ -425,6 +425,15 @@
|
|||||||
{if $paginationStartPage <= 0}
|
{if $paginationStartPage <= 0}
|
||||||
{assign var="paginationStartPage" value="1"}
|
{assign var="paginationStartPage" value="1"}
|
||||||
{/if}
|
{/if}
|
||||||
|
{if $footer_prev_page}
|
||||||
|
<a title="{$CONST.PREVIOUS_PAGE}" href="{$footer_prev_page}">◄</a>
|
||||||
|
{/if}
|
||||||
|
{if $paginationStartPage > 1}
|
||||||
|
<a href="{'1'|string_format:$footer_pageLink}">1</a>
|
||||||
|
{/if}
|
||||||
|
{if $paginationStartPage > 2}
|
||||||
|
…
|
||||||
|
{/if}
|
||||||
{section name=i start=$paginationStartPage loop=$footer_totalPages+1 max=7}
|
{section name=i start=$paginationStartPage loop=$footer_totalPages+1 max=7}
|
||||||
{if $smarty.section.i.index != $footer_currentPage}
|
{if $smarty.section.i.index != $footer_currentPage}
|
||||||
<a href="{$smarty.section.i.index|string_format:$footer_pageLink}">{$smarty.section.i.index}</a>
|
<a href="{$smarty.section.i.index|string_format:$footer_pageLink}">{$smarty.section.i.index}</a>
|
||||||
@ -432,12 +441,19 @@
|
|||||||
<span id="thispage">{$smarty.section.i.index}</span>
|
<span id="thispage">{$smarty.section.i.index}</span>
|
||||||
{/if}
|
{/if}
|
||||||
{/section}
|
{/section}
|
||||||
|
{if $smarty.section.i.index < $footer_totalPages}
|
||||||
|
…
|
||||||
|
{/if}
|
||||||
{if $smarty.section.i.index <= $footer_totalPages}
|
{if $smarty.section.i.index <= $footer_totalPages}
|
||||||
… <a href="{$footer_totalPages|string_format:$footer_pageLink}">{$footer_totalPages}</a>
|
<a href="{$footer_totalPages|string_format:$footer_pageLink}">{$footer_totalPages}</a>
|
||||||
|
{/if}
|
||||||
|
{if $footer_next_page}
|
||||||
|
<a title="{$CONST.NEXT_PAGE}" href="{$footer_next_page}">►</a>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
|
||||||
{serendipity_hookPlugin hook="entries_footer"}
|
{serendipity_hookPlugin hook="entries_footer"}
|
||||||
</div>
|
</div>
|
||||||
<!-- ENTRIES END -->
|
<!-- ENTRIES END -->
|
||||||
|
@ -145,6 +145,31 @@ body {
|
|||||||
margin: 5px 0 10px;
|
margin: 5px 0 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* pagination links */
|
||||||
|
div.pagination{
|
||||||
|
margin-top: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pagination a:link,
|
||||||
|
.pagination a:visited{
|
||||||
|
border: 1px solid #AFA283;
|
||||||
|
padding: 2px 6px;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
span#thispage {
|
||||||
|
background-color: #224C03;
|
||||||
|
border: 1px solid #224C03;
|
||||||
|
color: #ffffff;
|
||||||
|
padding: 2px 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pagination a:hover,
|
||||||
|
.pagination a:active {
|
||||||
|
background-color: #E7D9B7;
|
||||||
|
border: 1px solid #224C03;
|
||||||
|
}
|
||||||
|
|
||||||
.serendipitySideBarItem {
|
.serendipitySideBarItem {
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Name: Bulletproof v1.4 beta (s9y-bulletproof.com)
|
Name: Bulletproof v1.4 beta (s9y-bulletproof.com)
|
||||||
Author: Bulletproof development team
|
Author: Bulletproof development team
|
||||||
Date: 2008-08-08
|
Date: 2008-09-29
|
||||||
Require Serendipity: 1.2
|
Require Serendipity: 1.2
|
||||||
|
@ -147,6 +147,30 @@ body {
|
|||||||
margin: 5px 0 10px;
|
margin: 5px 0 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* pagination links */
|
||||||
|
div.pagination{
|
||||||
|
margin-top: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pagination a:link,
|
||||||
|
.pagination a:visited{
|
||||||
|
border: 1px solid #EDBCF9;
|
||||||
|
padding: 2px 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
span#thispage {
|
||||||
|
background-color: #823995;
|
||||||
|
border: 1px solid #823995;
|
||||||
|
color: #ffffff;
|
||||||
|
padding: 2px 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pagination a:hover,
|
||||||
|
.pagination a:active {
|
||||||
|
background-color: #EDBCF9;
|
||||||
|
border: 1px solid #823995;
|
||||||
|
}
|
||||||
|
|
||||||
.serendipitySideBarItem {
|
.serendipitySideBarItem {
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
Reference in New Issue
Block a user