1
0

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:
Matthias Mees
2007-09-10 09:55:31 +00:00
parent 1ec882c1e6
commit 7be9f9e0c9
8 changed files with 22 additions and 0 deletions

View File

@ -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}