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',
|
'default' => 'text',
|
||||||
'select_values' => array('text' => PREV_NEXT_TEXT,
|
'select_values' => array('text' => PREV_NEXT_TEXT,
|
||||||
'texticon' => PREV_NEXT_TEXT_ICON,
|
'texticon' => PREV_NEXT_TEXT_ICON,
|
||||||
'icon' => PREV_NEXT_ICON)
|
'icon' => PREV_NEXT_ICON,
|
||||||
|
'none' => NONE)
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'var' => 'show_pagination',
|
'var' => 'show_pagination',
|
||||||
|
@ -389,7 +389,7 @@
|
|||||||
{else}
|
{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>
|
<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}
|
{/if}
|
||||||
{else}
|
{elseif $template_option.prev_next_style == 'text'}
|
||||||
<a title="{$CONST.PREVIOUS_PAGE}" href="{$footer_prev_page}">« {$CONST.PREVIOUS_PAGE}</a>  
|
<a title="{$CONST.PREVIOUS_PAGE}" href="{$footer_prev_page}">« {$CONST.PREVIOUS_PAGE}</a>  
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
@ -411,7 +411,7 @@
|
|||||||
{else}
|
{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>
|
<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}
|
{/if}
|
||||||
{else}
|
{elseif $template_option.prev_next_style == 'text'}
|
||||||
<a title="{$CONST.NEXT_PAGE}" href="{$footer_next_page}">{$CONST.NEXT_PAGE} »</a>
|
<a title="{$CONST.NEXT_PAGE}" href="{$footer_next_page}">{$CONST.NEXT_PAGE} »</a>
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
|
Reference in New Issue
Block a user