From df6a7e9d33cc2380de59088d6661174266fde1bd Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 19 Sep 2006 16:32:34 +0000 Subject: [PATCH] Simplify by eliminating $text temporary --- web/htdocs/chrome/layout.mc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/web/htdocs/chrome/layout.mc b/web/htdocs/chrome/layout.mc index a5fefe8..1cd4c6e 100644 --- a/web/htdocs/chrome/layout.mc +++ b/web/htdocs/chrome/layout.mc @@ -1,4 +1,4 @@ -%# $Id: layout.mc,v 1.3 2006-09-19 11:13:58 mike Exp $ +%# $Id: layout.mc,v 1.4 2006-09-19 16:32:34 mike Exp $ <%args> $debug => undef $title @@ -8,9 +8,6 @@ $component use lib "/usr/local/src/cvs/irspy/lib"; use ZOOM::IRSpy; -<%perl> -my $text = $m->scomp($component, %ARGS); - <& /chrome/head.mc, title => $title &> <& /chrome/bannerrow.mc, title => $title &> @@ -26,7 +23,7 @@ my $text = $m->scomp($component, %ARGS);
- <% $text %> +<& $component, %ARGS &>
<& /chrome/tail.mc &> -- 1.7.10.4