Bugfix: CVS RELENG

Leena Heino <[email protected]>
Newsgroups gmane.comp.horde.nag
Message-ID <[email protected]>
Here's a patch to remove extra '\n'-characters from Nag's category menu.
--- nag/lib/Nag.php.orig	Wed Oct 16 12:12:37 2002
+++ nag/lib/Nag.php	Fri Nov  1 15:10:55 2002
@@ -403,12 +403,12 @@
     {
         $html = "<select name=\"$name\">";

-        $html .= '<option value="">'. _("Select Category") . '</option>\n';
+        $html .= '<option value="">'. _("Select Category") . '</option>' . "\n";

         if ($newheader) {
-            $html .= '<option value="">----</option>\n';
+            $html .= '<option value="">----</option>' . "\n";
             $html .= '<option value="*new*">' . _("New Category") . "</option>\n";
-            $html .= '<option value="">----</option>\n';
+            $html .= '<option value="">----</option>' . "\n";
         }

         foreach (Nag::listCategories() as $id => $name) {

-- 
  -- Leena Heino (liinu at uta.fi)


-- 
Nag mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.