[dev] PATCH Nag XHTML fix

Mike Cochrane mike@graftonhall.co.nz
Fri, 9 Aug 2002 04:25:56 +0100


Fix up XHTML in summary and fix indenting.

- Mike :-)

Index: nag/lib/api.php
===================================================================
RCS file: /httpd/horde/nag/lib/api.php,v
retrieving revision 1.19
diff -I$Horde -I$Revision -I$Date -u -r1.19 api.php
--- nag/lib/api.php	2002/08/01 18:37:04	1.19
+++ nag/lib/api.php	2002/08/09 03:24:20
@@ -80,12 +80,12 @@
 
         $html .= '  <tr>';
 
-      if ($prefs->getValue('summary_show_priorities')) {
-          $style = 'text' . $task['priority'];
-          $priority_cell = '<td width=20 align=center class="' . $style . '">'
. $task['priority'] . '</td>';
-          $spacer_cell = '<td width="3"></td>';
-          $html .= $priority_cell . $spacer_cell;
-      }
+        if ($prefs->getValue('summary_show_priorities')) {
+            $style = 'text' . $task['priority'];
+            $priority_cell = '<td width="20" align="center" class="' . $style .
'">' . $task['priority'] . '</td>';
+            $spacer_cell = '<td width="3"></td>';
+            $html .= $priority_cell . $spacer_cell;
+        }
 
         $html .= '<td class="text">';
         $row = Horde::link(Horde::applicationUrl('view.php?task=' . $id),
$task['name']) . htmlspecialchars($task['name']) . '</a>';

-------------------------------------------------------------------------
This mail sent from Mike's CVS HEAD install of IMP: http://horde.org/imp/