BP: Page footer previous/next links - add option "none" so links can be suppressed.
This commit is contained in:
@ -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',
|
||||
|
@ -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}">« {$CONST.PREVIOUS_PAGE}</a>  
|
||||
{/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} »</a>
|
||||
{/if}
|
||||
{/if}
|
||||
|
Reference in New Issue
Block a user