[nag] Bugfix: CVS RELENG
Leena Heino
Leena.Heino@uta.fi
Fri Nov 1 13:18:36 2002
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)