Updated Bulletproof and it's lang files. Added theme options to use default icons regardless of colorset chosen as a fallback option in case a colorset stylesheet doesn't have these icons.
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
<?php
|
||||
// Colorsets
|
||||
@define('THEME_COLORSET', 'Farbwahl');
|
||||
@define('DEF_ICONS', 'Unabhängig vom gewählten Farbset immer Standardicons verwenden');
|
||||
@define('BP_COLORSET_DEF', 'leer');
|
||||
@define('BP_COLORSET_OPT1', 'violett');
|
||||
@define('BP_COLORSET_OPT2', 'blau');
|
||||
|
@ -1,6 +1,7 @@
|
||||
<?php
|
||||
// Colorsets
|
||||
@define('THEME_COLORSET', 'Colorset');
|
||||
@define('DEF_ICONS', 'Always use default icons regardless of colorset chosen');
|
||||
@define('BP_COLORSET_DEF', 'blank');
|
||||
@define('BP_COLORSET_OPT1', 'purple');
|
||||
@define('BP_COLORSET_OPT2', 'blue');
|
||||
|
@ -38,6 +38,14 @@ $template_config = array(
|
||||
'default' => 'purple',
|
||||
'select_values' => $colorsets
|
||||
),
|
||||
array(
|
||||
'var' => 'deficons',
|
||||
'name' => DEF_ICONS,
|
||||
'type' => 'radio',
|
||||
'default' => 'false',
|
||||
'radio' => array('value' => array('true', 'false'),
|
||||
'desc' => array(YES,NO))
|
||||
),
|
||||
array(
|
||||
'var' => 'layouttype',
|
||||
'name' => LAYOUT_TYPE,
|
||||
|
@ -317,12 +317,16 @@
|
||||
{if $template_option.prev_next_style == 'texticon'}
|
||||
{if $template_option.colorset == 'blank'}
|
||||
<a title="{$CONST.NEXT_PAGE}" href="{$footer_next_page}">{$CONST.NEXT_PAGE}<img alt="{$CONST.NEXT_PAGE}" title="{$CONST.NEXT_PAGE}" src="{serendipity_getFile file="img/forward.png"}" /></a>
|
||||
{elseif $template_option.deficons == 'true'}
|
||||
<a title="{$CONST.NEXT_PAGE}" href="{$footer_next_page}">{$CONST.NEXT_PAGE}<img alt="{$CONST.NEXT_PAGE}" title="{$CONST.NEXT_PAGE}" src="{serendipity_getFile file="img/forward.png"}" /></a>
|
||||
{else}
|
||||
<a title="{$CONST.NEXT_PAGE}" href="{$footer_next_page}">{$CONST.NEXT_PAGE}<img alt="{$CONST.NEXT_PAGE}" title="{$CONST.NEXT_PAGE}" src="{$serendipityHTTPPath}templates/{$template}/img/{$template_option.colorset}_forward.png" /></a>
|
||||
{/if}
|
||||
{elseif $template_option.prev_next_style == 'icon'}
|
||||
{if $template_option.colorset == 'blank'}
|
||||
<a title="{$CONST.NEXT_PAGE}" href="{$footer_next_page}"><img alt="{$CONST.NEXT_PAGE}" src="{serendipity_getFile file="img/forward.png"}" /></a>
|
||||
{elseif $template_option.deficons == 'true'}
|
||||
<a title="{$CONST.NEXT_PAGE}" href="{$footer_next_page}"><img alt="{$CONST.NEXT_PAGE}" src="{serendipity_getFile file="img/forward.png"}" /></a>
|
||||
{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}
|
||||
|
@ -7,6 +7,8 @@
|
||||
<ul class="archives_row">
|
||||
{if $template_option.colorset == 'blank'}
|
||||
<li class="archives_graph"><img src="{serendipity_getFile file="img/graph_bar_horisontal.png"}" alt="bar graph" height="10" width="{math width=100 equation="count * width / max" count=$month.entry_count max=$max_entries format="%d"}" style="border: 1px solid #000000" /></li>
|
||||
{elseif $template_option.deficons == 'true'}
|
||||
<li class="archives_graph"><img src="{serendipity_getFile file="img/graph_bar_horisontal.png"}" alt="bar graph" height="10" width="{math width=100 equation="count * width / max" count=$month.entry_count max=$max_entries format="%d"}" style="border: 1px solid #000000" /></li>
|
||||
{else}
|
||||
<li class="archives_graph"><img src="{$serendipityHTTPPath}templates/{$template}/img/{$template_option.colorset}_graph_bar.png" alt="bar graph" height="10" width="{math width=100 equation="count * width / max" count=$month.entry_count max=$max_entries format="%d"}" style="border: 1px solid #000000" /></li>
|
||||
{/if}
|
||||
|
@ -1,6 +1,7 @@
|
||||
<?php
|
||||
// Colorsets
|
||||
@define('THEME_COLORSET', 'Farbwahl');
|
||||
@define('DEF_ICONS', 'Unabh<62>ngig vom gew<65>hlten Farbset immer Standardicons verwenden');
|
||||
@define('BP_COLORSET_DEF', 'leer');
|
||||
@define('BP_COLORSET_OPT1', 'violett');
|
||||
@define('BP_COLORSET_OPT2', 'blau');
|
||||
|
@ -1,6 +1,7 @@
|
||||
<?php
|
||||
// Colorsets
|
||||
@define('THEME_COLORSET', 'Colorset');
|
||||
@define('DEF_ICONS', 'Always use default icons regardless of colorset chosen');
|
||||
@define('BP_COLORSET_DEF', 'blank');
|
||||
@define('BP_COLORSET_OPT1', 'purple');
|
||||
@define('BP_COLORSET_OPT2', 'blue');
|
||||
|
@ -5,6 +5,8 @@
|
||||
{if $plugin_calendar_head.minScroll le $plugin_calendar_head.month_date}
|
||||
{if $template_option.colorset == 'blank'}
|
||||
<a title="{$CONST.BACK}" href="{$plugin_calendar_head.uri_previous}"><img alt="{$CONST.BACK}" src="{serendipity_getFile file="img/back.png"}" width="12" height="12" /></a>
|
||||
{elseif $template_option.deficons == 'true'}
|
||||
<a title="{$CONST.BACK}" href="{$plugin_calendar_head.uri_previous}"><img alt="{$CONST.BACK}" src="{serendipity_getFile file="img/back.png"}" width="12" height="12" /></a>
|
||||
{else}
|
||||
<a title="{$CONST.BACK}" href="{$plugin_calendar_head.uri_previous}"><img alt="{$CONST.BACK}" src="{$serendipityHTTPPath}templates/{$template}/img/{$template_option.colorset}_back.png" width="12" height="12" /></a>
|
||||
{/if}
|
||||
@ -21,6 +23,8 @@
|
||||
{if $plugin_calendar_head.maxScroll ge $plugin_calendar_head.month_date}
|
||||
{if $template_option.colorset == 'blank'}
|
||||
<a title="{$CONST.FORWARD}" href="{$plugin_calendar_head.uri_next}"><img alt="{$CONST.FORWARD}" src="{serendipity_getFile file="img/forward.png"}" width="12" height="12" /></a>
|
||||
{elseif $template_option.deficons == 'true'}
|
||||
<a title="{$CONST.FORWARD}" href="{$plugin_calendar_head.uri_next}"><img alt="{$CONST.FORWARD}" src="{serendipity_getFile file="img/forward.png"}" width="12" height="12" /></a>
|
||||
{else}
|
||||
<a title="{$CONST.FORWARD}" href="{$plugin_calendar_head.uri_next}"><img alt="{$CONST.FORWARD}" src="{$serendipityHTTPPath}templates/{$template}/img/{$template_option.colorset}_forward.png" width="12" height="12" /></a>
|
||||
{/if}
|
||||
|
Reference in New Issue
Block a user