From 6d5d5850aa6da932b04b53fd2b2e609b82a84e47 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 15 Jan 2009 14:21:33 -0700 Subject: [PATCH] More Image/CSS tweaking in DIMP --- imp/compose-dimp.php | 2 +- imp/templates/chunks/compose.php | 10 ++++------ imp/templates/chunks/message.php | 16 +++++++--------- imp/templates/index/index.inc | 6 +++--- imp/themes/screen-dimp.css | 36 +++++++++++++----------------------- 5 files changed, 28 insertions(+), 42 deletions(-) diff --git a/imp/compose-dimp.php b/imp/compose-dimp.php index 990bc267c..1b0c17b04 100644 --- a/imp/compose-dimp.php +++ b/imp/compose-dimp.php @@ -297,7 +297,7 @@ $args = array( $t = new IMP_Template(IMP_TEMPLATES . '/imp/'); $t->setOption('gettext', true); $t->set('title', $title); -$t->set('closelink', Horde::img('close.png', 'X', array('id' => 'compose_close'), $registry->getImageDir('horde'))); +$t->set('closelink', IMP::img('close.png', 'X', array('id' => 'compose_close'), $registry->getImageDir('horde'))); $compose_result = IMP_Views_Compose::showCompose($args); $t->set('compose_html', $compose_result['html']); diff --git a/imp/templates/chunks/compose.php b/imp/templates/chunks/compose.php index b648fc65d..0eb0a5c7a 100644 --- a/imp/templates/chunks/compose.php +++ b/imp/templates/chunks/compose.php @@ -15,8 +15,6 @@ $d_read = $GLOBALS['prefs']->getValue('disposition_request_read'); $save_attach = $GLOBALS['prefs']->getValue('save_attachments'); -$loading_img = Horde::img('loading.gif', _("Loading...")); - // Small utility function to simplify creating dimpactions buttons. // As of right now, we don't show text only links. function _createDAcompose($text, $image, $id) @@ -89,7 +87,7 @@ function _createDAcompose($text, $image, $id) - + @@ -103,7 +101,7 @@ function _createDAcompose($text, $image, $id) - + @@ -117,7 +115,7 @@ function _createDAcompose($text, $image, $id) - + @@ -133,7 +131,7 @@ function _createDAcompose($text, $image, $id) - + - +
: diff --git a/imp/templates/chunks/message.php b/imp/templates/chunks/message.php index 5eec13c65..d1940dde1 100644 --- a/imp/templates/chunks/message.php +++ b/imp/templates/chunks/message.php @@ -10,8 +10,6 @@ $horde_img = $registry->getImageDir('horde'); $menu_view = $prefs->getValue('menu_view'); $show_text = ($menu_view == 'text' || $menu_view == 'both'); -$attachment = Horde::img('attachment.png', '', array('class' => 'attachmentImage')); - // Small utility function to simplify creating dimpactions buttons. // As of right now, we don't show text only links. function _createDAfmsg($text, $image, $id, $class = '', $show_text = true) @@ -30,11 +28,11 @@ function _createDAfmsg($text, $image, $id, $class = '', $show_text = true)
-
+
-
+
getValue('spam_folder'), true)))): ?> @@ -51,9 +49,9 @@ function _createDAfmsg($text, $image, $id, $class = '', $show_text = true)
-
+
-
+
@@ -71,7 +69,7 @@ function _createDAfmsg($text, $image, $id, $class = '', $show_text = true)
'partlist_col')) . Horde::img('arrow_expanded.png', '', array('id' => 'partlist_exp', 'style' => 'display:none')) . ' ' . $attachment ?> @@ -97,7 +95,7 @@ function _createDAfmsg($text, $image, $id, $class = '', $show_text = true) - 'popdown', 'id' => 'popdown_img', 'style' => 'display:none')) ?> + diff --git a/imp/templates/index/index.inc b/imp/templates/index/index.inc index c51245edf..8aacf92fc 100644 --- a/imp/templates/index/index.inc +++ b/imp/templates/index/index.inc @@ -168,7 +168,7 @@ function _simpleButton($id, $text, $image, $imagedir = null)
- +
@@ -259,12 +259,12 @@ function _simpleButton($id, $text, $image, $imagedir = null)