From: Ben Klang Date: Sat, 2 Jan 2010 20:32:43 +0000 (-0500) Subject: Shout: Add expandable destination info block X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=dad8c8d9039cc5488c5b9b128b3b60663ed2ed27;p=horde.git Shout: Add expandable destination info block --- diff --git a/shout/templates/extensions/list.inc b/shout/templates/extensions/list.inc index aa403a23c..0915a5379 100644 --- a/shout/templates/extensions/list.inc +++ b/shout/templates/extensions/list.inc @@ -20,10 +20,6 @@ E-Mail Address 'javascript:alert(this.getNode().parent);', - 'id' => 'myid'); - $expandButton = Horde::img('tree/plusonly.png', _("Expand"), $expandAttrs, - $registry->getImageDir('horde')); foreach ($extensions as $extension => $info) { $url = Horde::applicationUrl("extensions.php"); @@ -35,13 +31,19 @@ $editurl = Horde_Util::addParameter($url, 'action', 'edit'); $deleteurl = Horde_Util::addParameter($url, 'action', 'delete'); ?> - + - - + 'javascript:destinations("' . $extension . '");', + 'id' => 'destX' . $extension . 'toggle'); + echo Horde::img('tree/plusonly.png', _("Destinations"), $attrs, + $registry->getImageDir('horde')); + echo Horde::link($editurl); + echo $info['name']; ?> + -
+
+ + diff --git a/shout/themes/screen.css b/shout/themes/screen.css index 39548fdd7..082ac57df 100644 --- a/shout/themes/screen.css +++ b/shout/themes/screen.css @@ -34,6 +34,12 @@ table { padding: 5px; } +.extensionDestinations +{ + /*display: none;*/ + position: relative; + left: 24px; +} #extensionDetail { left: 200px; @@ -50,7 +56,7 @@ table { } #extensionDetail .darkHint{ - background: #797 + background: #797; color: #fff; }