From 6b99b953e87632ff84a67401f7d2fbf4bca8c4c2 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 6 Oct 2009 23:10:04 -0600 Subject: [PATCH] Move reload graphic to CSS. --- imp/folders.php | 2 +- imp/mailbox.php | 2 +- imp/templates/folders/head.html | 2 +- imp/templates/mailbox/header.html | 2 +- imp/themes/graphics/reload.png | Bin 0 -> 264 bytes imp/themes/screen.css | 5 ++++- imp/themes/silver/graphics/reload.png | Bin 0 -> 685 bytes imp/themes/silver/screen.css | 3 +++ imp/themes/tango-blue/graphics/reload.png | Bin 0 -> 912 bytes imp/themes/tango-blue/screen.css | 3 +++ 10 files changed, 14 insertions(+), 5 deletions(-) create mode 100644 imp/themes/graphics/reload.png create mode 100644 imp/themes/silver/graphics/reload.png create mode 100644 imp/themes/tango-blue/graphics/reload.png diff --git a/imp/folders.php b/imp/folders.php index 5163f7393..4c4a7a299 100644 --- a/imp/folders.php +++ b/imp/folders.php @@ -369,7 +369,7 @@ $refresh_title = Horde::stripAccessKey($refresh_title); if (!empty($refresh_ak)) { $refresh_title .= sprintf(_(" (Accesskey %s)"), $refresh_ak); } -$head_template->set('refresh', Horde::link($folders_url, $refresh_title, '', '', '', $refresh_title, $refresh_ak) . Horde::img('reload.png', _("Refresh"), null, $registry->getImageDir('horde')) . ''); +$head_template->set('refresh', Horde::link($folders_url, $refresh_title, '', '', '', $refresh_title, $refresh_ak)); $head_template->set('folders_token', $folders_token); /* Prepare the actions template. */ diff --git a/imp/mailbox.php b/imp/mailbox.php index 551725e5d..76d511fea 100644 --- a/imp/mailbox.php +++ b/imp/mailbox.php @@ -415,7 +415,7 @@ $hdr_template->set('pagetitle', $pagetitle); if ($readonly) { $hdr_template->set('readonly', Horde::img('locked.png', _("Read-Only"))); } -$hdr_template->set('refresh', Horde::link($refresh_url, $refresh_title, '', '', '', '', $refresh_ak) . Horde::img('reload.png', _("Reload"), '', $graphicsdir) . ''); +$hdr_template->set('refresh', Horde::link($refresh_url, $refresh_title, '', '', '', '', $refresh_ak)); if (isset($filter_url)) { $hdr_template->set('filter', Horde::link($filter_url, sprintf(_("Apply Filters to %s"), $rawtitle)) . Horde::img('filters.png', _("Apply Filters")) . ''); } diff --git a/imp/templates/folders/head.html b/imp/templates/folders/head.html index 2b0b8ee81..6c6fb4cb5 100644 --- a/imp/templates/folders/head.html +++ b/imp/templates/folders/head.html @@ -1,5 +1,5 @@

- Folder Navigator  + Folder Navigator 

diff --git a/imp/templates/mailbox/header.html b/imp/templates/mailbox/header.html index 8689f4d51..f02bd1bc0 100644 --- a/imp/templates/mailbox/header.html +++ b/imp/templates/mailbox/header.html @@ -2,7 +2,7 @@
style="width:40%" class="leftFloat"> - + diff --git a/imp/themes/graphics/reload.png b/imp/themes/graphics/reload.png new file mode 100644 index 0000000000000000000000000000000000000000..dcb020450dd0bfe53e5a9bd3c80e656ffb5d9e80 GIT binary patch literal 264 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbL!Yk*IP>;M1%|NQy;>F3|~pME@k z{q^F*FJa5x6&)*Ln#H{6*1GdA{vE#hebc6YLi2=PefziQ+PNbSf9<;WZQb?1n#;`> zUHTWds|jS%izB)~im@cfFPOpM*^M+Hr_j^IF{I*F>X~T1Lk2u9fwS04c?)ICQ~rCu z^{`kX^gX{%$NrzRb~|sYKyaIdLWJD;!e)WOkIi#mDAes$Pf$K*vrs08@s&WchZ2K% zyM(Jt=|Ga3qo|$wlU1TCOc#0yXVK(eAj<+hF4zv4pWTI1I|t-Zuj#*%Naaf L{an^LB{Ts5x`!iy8(2_#ButL^3%VaH2WCpD^U)OZxp@C)2#hU)y+@T%ZNzJigNk%37 zz-WYJwT%teVfiEI+B*@v4ey@58(ld4VY_&5-ox`e@AKg+0U-I`y79bmuw_~y6+4rZ zBG5EdFDS+@M0OSE`>d7SUDOzKZ&h*4eB1iX7tOd9RiYtW2mQ--bUahxr1`i{RG@dM zL#}_X=DDO1{;UI$pFu=dLYT_=5d8WC-sLfjr7UO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