svn commit: r41532 - head/en_US.ISO8859-1/htdocs/cgi
Gavin Atkinson
gavin at FreeBSD.org
Wed May 1 12:28:36 UTC 2013
Author: gavin
Date: Wed May 1 12:28:35 2013
New Revision: 41532
URL: http://svnweb.freebsd.org/changeset/doc/41532
Log:
Only output the <help> section if tasks were created - otherwise the
empty section needs removing manually during compilation.
Modified:
head/en_US.ISO8859-1/htdocs/cgi/monthly.cgi
Modified: head/en_US.ISO8859-1/htdocs/cgi/monthly.cgi
==============================================================================
--- head/en_US.ISO8859-1/htdocs/cgi/monthly.cgi Wed May 1 12:07:59 2013 (r41531)
+++ head/en_US.ISO8859-1/htdocs/cgi/monthly.cgi Wed May 1 12:28:35 2013 (r41532)
@@ -138,6 +138,7 @@ if ($Submit)
my @info = split("\n", $info);
my $title = "FreeBSD project submission output";
+ my $tasks = xml(1, "help", "", @tasks) if @tasks;
my @contents = xml(0, "project cat=\'$Category\'",
xml(1, "title", $Project),
@@ -149,7 +150,7 @@ if ($Submit)
xml(1, "body",
xml(2, "p", "", xmltext(3, @info))),
"\n",
- xml(1, "help", "", @tasks),
+ $tasks,
);
my $contents = join('', @contents);
More information about the svn-doc-head
mailing list