Import iosdate() from Utils.pm
[irspy-moved-to-github.git] / web / htdocs / chrome / layout.mc
index d00a496..ad7d4c9 100644 (file)
@@ -1,16 +1,16 @@
-%# $Id: layout.mc,v 1.2 2006-09-15 16:49:05 mike Exp $
+%# $Id: layout.mc,v 1.19 2006-11-29 18:19:17 mike Exp $
 <%args>
 $debug => undef
 $title
 $component
 </%args>
 <%once>
-use lib "/usr/local/src/cvs/irspy/lib";
-use ZOOM::IRSpy;
+use URI::Escape;
+use ZOOM;
+use ZOOM::IRSpy::Web;
+use ZOOM::IRSpy::Utils qw(isodate xml_encode cql_quote cql_target
+                          irspy_xpath_context modify_xml_document);
 </%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 &>
@@ -24,14 +24,9 @@ my $text = $m->scomp($component, %ARGS);
     <td valign="top" class="panel1">
 <& /chrome/menu.mc &>
     </td>
-    <td class="spacer"></td>
+    <td class="spacer">&nbsp;</td>
     <td valign="top">
-     <% $text %>
-    </td>
-    <td class="spacer">
-    </td>
-    <td valign="top" class="panel2">
-<& /chrome/pmenu.mc &>
+<& $component, %ARGS &>
     </td>
    </tr>
   </table>