From 684e8bb4f650e1c79d7b134ac484bf14d40c4249 Mon Sep 17 00:00:00 2001 From: yellowled Date: Mon, 10 Sep 2007 09:55:31 +0000 Subject: [PATCH] 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. --- templates/bulletproof/UTF-8/lang_de.inc.php | 1 + templates/bulletproof/UTF-8/lang_en.inc.php | 1 + templates/bulletproof/config.inc.php | 8 ++++++++ templates/bulletproof/entries.tpl | 4 ++++ templates/bulletproof/entries_archives.tpl | 2 ++ templates/bulletproof/lang_de.inc.php | 1 + templates/bulletproof/lang_en.inc.php | 1 + templates/bulletproof/plugin_calendar.tpl | 4 ++++ 8 files changed, 22 insertions(+) diff --git a/templates/bulletproof/UTF-8/lang_de.inc.php b/templates/bulletproof/UTF-8/lang_de.inc.php index 1d88b2d..52b2e27 100644 --- a/templates/bulletproof/UTF-8/lang_de.inc.php +++ b/templates/bulletproof/UTF-8/lang_de.inc.php @@ -1,6 +1,7 @@ '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, diff --git a/templates/bulletproof/entries.tpl b/templates/bulletproof/entries.tpl index 922121d..db5b68e 100644 --- a/templates/bulletproof/entries.tpl +++ b/templates/bulletproof/entries.tpl @@ -317,12 +317,16 @@ {if $template_option.prev_next_style == 'texticon'} {if $template_option.colorset == 'blank'} {$CONST.NEXT_PAGE}{$CONST.NEXT_PAGE} + {elseif $template_option.deficons == 'true'} + {$CONST.NEXT_PAGE}{$CONST.NEXT_PAGE} {else} {$CONST.NEXT_PAGE}{$CONST.NEXT_PAGE} {/if} {elseif $template_option.prev_next_style == 'icon'} {if $template_option.colorset == 'blank'} {$CONST.NEXT_PAGE} + {elseif $template_option.deficons == 'true'} + {$CONST.NEXT_PAGE} {else} {$CONST.NEXT_PAGE} {/if} diff --git a/templates/bulletproof/entries_archives.tpl b/templates/bulletproof/entries_archives.tpl index 3be2e73..50ff75b 100644 --- a/templates/bulletproof/entries_archives.tpl +++ b/templates/bulletproof/entries_archives.tpl @@ -7,6 +7,8 @@