From 2dd4c19d8576aa4a6fbcae3fb18099e61957be8d Mon Sep 17 00:00:00 2001 From: Alex Schroeder Date: Mon, 16 Aug 2004 01:50:12 +0000 Subject: [PATCH] (GetRcAtom): Only print content when full=1. --- modules/atom.pl | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/modules/atom.pl b/modules/atom.pl index ae2b21f9..69aeaa19 100644 --- a/modules/atom.pl +++ b/modules/atom.pl @@ -16,7 +16,7 @@ # 59 Temple Place, Suite 330 # Boston, MA 02111-1307 USA -$ModulesDescription .= '

$Id: atom.pl,v 1.6 2004/08/16 01:46:39 as Exp $

'; +$ModulesDescription .= '

$Id: atom.pl,v 1.7 2004/08/16 01:50:12 as Exp $

'; $Action{atom} = \&DoAtom; @@ -88,12 +88,15 @@ EOT AtomTag('modified', AtomTime($timestamp)), AtomTag('issued', AtomTime($timestamp)), AtomTag('summary', QuoteHtml($summary), 1); - print '', "\n", - '
', "\n"; - OpenPage($pagename); - PrintPageDiff(); - PrintPageHtml(); - print "\n
\n
\n\n"; + if (GetParam('full', 0)) { + print '', "\n", + '
', "\n"; + OpenPage($pagename); + PrintPageDiff(); + PrintPageHtml(); + print "\n
\n
\n"; + } + print "\n"; }, @_); print "\n";