Fwd: [dev] klutz view

Ben Chavet ben at chavet.net
Wed Apr 21 11:27:40 PDT 2004


This has been out there for a while.  I just wanted to make sure it didn't get
lost...

--Ben

----- Forwarded message from ben at chavet.net -----
    Date: Tue, 30 Mar 2004 13:34:16 -0600 (CST)
    From: Ben Chavet <ben at chavet.net>
Reply-To: Ben Chavet <ben at chavet.net>
 Subject: [dev] klutz view
      To: dev at lists.horde.org

Attached is a patch to make the comics list much more readable on a dark
background (ie, the horde default theme)

modified files:
  klutz/templates/comics/main.inc

--Ben

----- End forwarded message -----
-------------- next part --------------
Index: main.inc
===================================================================
RCS file: /repository/klutz/templates/comics/main.inc,v
retrieving revision 1.17
diff -u -r1.17 main.inc
--- main.inc	10 Dec 2003 00:54:31 -0000	1.17
+++ main.inc	30 Mar 2004 19:32:51 -0000
@@ -1,6 +1,10 @@
 <table border="0" cellpadding="3" cellspacing="3">
  <tr>
-  <td align="left" class="header" width="50%">
+
+  <td valign="top">
+   <table cellspacing="0">
+    <tr>
+     <td align="left" class="header" width="50%">
 <?php if (!is_null($prev_month_url)): ?>
    <?php echo Horde::link($prev_month_url) .
               Horde::img('nav/left.gif', '', 'hspace="2"', $registry->getParam('graphics', 'horde')) ?></a>
@@ -10,12 +14,11 @@
    <?php echo Horde::link($next_month_url) .
               Horde::img('nav/right.gif', '', 'hspace="2"', $registry->getParam('graphics', 'horde')) ?></a>
 <?php endif; ?>
-  </td>
-  <td align="left" class="header" width="50%"><?php echo _("View by comic") ?></td>
- </tr>
- <tr>
-  <td align="left" valign="top" class="light">
-   <ul>
+     </td>
+    </tr>
+    <tr>
+     <td align="left" valign="top" class="item">
+      <ul>
 <?php foreach ($storage->listDates($date) as $time): ?>
     <li><?php
 $url = Horde::selfURL();
@@ -29,10 +32,20 @@
 echo strftime('%B %d, %Y', $time);
         ?></a></li>
 <?php endforeach; ?>
-   </ul>
+      </ul>
+     </td>
+    </tr>
+   </table>
   </td>
-  <td align="left" valign="top" class="light">
-   <ul>
+
+  <td valign="top">
+   <table cellspacing="0">
+    <tr>
+     <td align="left" class="header" width="50%"><?php echo _("View by comic") ?></td>
+    </tr>
+    <tr>
+     <td align="left" valign="top" class="item">
+      <ul>
 <?php foreach ($comics as $index => $comic): ?>
     <li><?php
 $url = Horde::selfURL();
@@ -47,7 +60,11 @@
 printf(_("%s by %s"), $comic['name'], $comic['author']);
         ?></a></li>
 <?php endforeach; ?>
-   </ul>
+      </ul>
+     </td>
+    </tr>
+   </table>
   </td>
+
  </tr>
 </table>


More information about the dev mailing list