Date: Wed, 1 May 2013 12:28:36 +0000 (UTC) From: Gavin Atkinson <gavin@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r41532 - head/en_US.ISO8859-1/htdocs/cgi Message-ID: <201305011228.r41CSaET030510@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305011228.r41CSaET030510>