Display tweaks; remove redundant edit icon.
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 4 Jun 2009 19:05:27 +0000 (13:05 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 4 Jun 2009 19:05:27 +0000 (13:05 -0600)
ingo/filters.php
ingo/templates/filters/filter.html
ingo/templates/filters/header.inc
ingo/themes/screen.css

index 2d39f02..d9deaca 100644 (file)
@@ -242,7 +242,6 @@ if (count($filter_list) == 0) {
 
         /* Create edit link. */
         $entry['editlink'] = Horde::link($editurl, sprintf(_("Edit %s"), $name));
-        $entry['editimg'] = Horde::img('edit.png', sprintf(_("Edit %s"), $name), '', $registry->getImageDir('horde'));
 
         /* Create delete link. */
         if (!is_null($delurl)) {
index 05834a4..72b206e 100644 (file)
@@ -1,9 +1,6 @@
 <loop:filter>
 <tr>
  <td class="nowrap">
-<if:edit_allowed>
-  <tag:filter.editlink /><tag:filter.editimg /></a>
-</if:edit_allowed>
 <if:delete_allowed>
 <if:filter.dellink>
   <tag:filter.dellink /><tag:filter.delimg /></a>
index 749bfed..0fa51cc 100644 (file)
@@ -24,9 +24,7 @@ function moveFromTo(from, to, upurl, downurl)
   <th class="leftAlign"><?php echo _("Rule") ?></th>
   <th width="1%"><?php echo _("Enabled") ?></th>
   <?php if ($edit_allowed): ?>
-  <th width="1%"></th>
-  <th width="1%"></th>
-  <th width="1%"><?php echo _("Move") ?></th>
+  <th colspan="3" width="1%"><?php echo _("Move") ?></th>
   <?php endif; ?>
  </tr>
 </thead>
index a81e3e6..1dfe964 100644 (file)
@@ -1,9 +1,3 @@
-/* Menu bottom margin, added for BC. */
-#menu {
-    margin-bottom: 8px;
-}
-
-/* Added for BC. */
-.hidden {
-    display: none;
+.striped tr td:first-child {
+    padding-right: 8px;
 }