From owner-svn-doc-all@FreeBSD.ORG Wed May 1 12:28:36 2013 Return-Path: Delivered-To: svn-doc-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A7C93957; Wed, 1 May 2013 12:28:36 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 9A1D41BDC; Wed, 1 May 2013 12:28:36 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r41CSaNt030511; Wed, 1 May 2013 12:28:36 GMT (envelope-from gavin@svn.freebsd.org) Received: (from gavin@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r41CSaET030510; Wed, 1 May 2013 12:28:36 GMT (envelope-from gavin@svn.freebsd.org) Message-Id: <201305011228.r41CSaET030510@svn.freebsd.org> From: Gavin Atkinson Date: Wed, 1 May 2013 12:28:36 +0000 (UTC) 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 X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 May 2013 12:28:36 -0000 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 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);