From 923db0ba778921818d877914584021719b737bf9 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 20 Oct 2009 03:11:50 -0600 Subject: [PATCH] Cleanups to DIMP template and CSS Remove last of hardcoded images in template (at least for non-dynamic/non-configurable items). --- imp/templates/index/index-dimp.inc | 61 ++++++++++++-------------- imp/themes/graphics/horde.png | Bin 0 -> 488 bytes imp/themes/graphics/info_icon.png | Bin 0 -> 477 bytes imp/themes/graphics/prefs.png | Bin 0 -> 333 bytes imp/themes/graphics/print.png | Bin 0 -> 537 bytes imp/themes/ie6_or_less-dimp.css | 3 -- imp/themes/screen-dimp.css | 73 +++++++++++++++---------------- imp/themes/silver/graphics/horde.png | Bin 0 -> 604 bytes imp/themes/silver/graphics/info_icon.png | Bin 0 -> 782 bytes imp/themes/silver/graphics/prefs.png | Bin 0 -> 610 bytes imp/themes/silver/graphics/print.png | Bin 0 -> 731 bytes imp/themes/silver/screen-dimp.css | 19 ++++++++ 12 files changed, 83 insertions(+), 73 deletions(-) create mode 100644 imp/themes/graphics/horde.png create mode 100644 imp/themes/graphics/info_icon.png create mode 100644 imp/themes/graphics/prefs.png create mode 100644 imp/themes/graphics/print.png create mode 100644 imp/themes/silver/graphics/horde.png create mode 100644 imp/themes/silver/graphics/info_icon.png create mode 100644 imp/themes/silver/graphics/prefs.png create mode 100644 imp/themes/silver/graphics/print.png diff --git a/imp/templates/index/index-dimp.inc b/imp/templates/index/index-dimp.inc index 2d6ca4725..c70811d82 100644 --- a/imp/templates/index/index-dimp.inc +++ b/imp/templates/index/index-dimp.inc @@ -1,11 +1,8 @@ getImageDir('horde'); $usetrash = $prefs->getValue('use_trash'); $show_text = in_array($prefs->getValue('menu_view'), array('both', 'text')); $use_sub = $prefs->getValue('subscribe'); -$loading_text = _("Loading..."); $has_blacklist = $registry->hasMethod('mail/blacklistFrom'); $has_whitelist = $registry->hasMethod('mail/whitelistFrom'); @@ -31,52 +28,52 @@ function _createDA($text, $image, $id = null, $class = '', $show_text = true, echo '' . IMP_Dimp::actionButton($params) . ''; } -function _simpleButton($id, $text, $image, $imagedir = null) +function _simpleButton($id, $text, $image) { $ak = Horde::getAccessKey($text, true); - return ''; + return ''; } ?>
- +
+