1
0

BP: Page footer previous/next links - add option "none" so links can be suppressed.

This commit is contained in:
Don Chambers
2008-09-30 16:02:32 +00:00
parent 5cfe5abb91
commit 6a742bf8d5
2 changed files with 4 additions and 3 deletions

View File

@ -205,7 +205,8 @@ $template_config = array(
'default' => 'text',
'select_values' => array('text' => PREV_NEXT_TEXT,
'texticon' => PREV_NEXT_TEXT_ICON,
'icon' => PREV_NEXT_ICON)
'icon' => PREV_NEXT_ICON,
'none' => NONE)
),
array(
'var' => 'show_pagination',

View File

@ -389,7 +389,7 @@
{else}
<a title="{$CONST.PREVIOUS_PAGE}" href="{$footer_prev_page}"><img alt="{$CONST.PREVIOUS_PAGE}" src="{$serendipityHTTPPath}templates/{$template}/img/{$template_option.colorset}_back.png" /></a>
{/if}
{else}
{elseif $template_option.prev_next_style == 'text'}
<a title="{$CONST.PREVIOUS_PAGE}" href="{$footer_prev_page}">&laquo; {$CONST.PREVIOUS_PAGE}</a>&#160;&#160;
{/if}
{/if}
@ -411,7 +411,7 @@
{else}
<a title="{$CONST.NEXT_PAGE}" href="{$footer_next_page}"><img alt="{$CONST.NEXT_PAGE}" src="{$serendipityHTTPPath}templates/{$template}/img/{$template_option.colorset}_forward.png" /></a>
{/if}
{else}
{elseif $template_option.prev_next_style == 'text'}
<a title="{$CONST.NEXT_PAGE}" href="{$footer_next_page}">{$CONST.NEXT_PAGE} &raquo;</a>
{/if}
{/if}