Simplify by eliminating $text temporary
[irspy-moved-to-github.git] / web / htdocs / chrome / layout.mc
index d00a496..1cd4c6e 100644 (file)
@@ -1,4 +1,4 @@
-%# $Id: layout.mc,v 1.2 2006-09-15 16:49:05 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;
 </%once>
-<%perl>
-my $text = $m->scomp($component, %ARGS);
-</%perl>
 <& /chrome/head.mc, title => $title &>
   <table border="0" cellpadding="0" cellspacing="0" width="100%">
 <& /chrome/bannerrow.mc, title => $title &>
@@ -26,13 +23,7 @@ my $text = $m->scomp($component, %ARGS);
     </td>
     <td class="spacer"></td>
     <td valign="top">
-     <% $text %>
-    </td>
-    <td class="spacer">
-    </td>
-    <td valign="top" class="panel2">
-<& /chrome/pmenu.mc &>
-    </td>
+<& $component, %ARGS &>
    </tr>
   </table>
 <& /chrome/tail.mc &>