Use URI::Escape on behalf of several components that need it.
[irspy-moved-to-github.git] / web / htdocs / chrome / layout.mc
1 %# $Id: layout.mc,v 1.11 2006-10-26 17:22:15 mike Exp $
2 <%args>
3 $debug => undef
4 $title
5 $component
6 </%args>
7 <%once>
8 use URI::Escape;
9 BEGIN {
10     use vars qw($LIBDIR);
11     $LIBDIR = $r->dir_config("IRSpyLibDir");
12 }
13 use lib $LIBDIR;
14 use ZOOM::IRSpy::Web;
15 use ZOOM::IRSpy qw(irspy_xpath_context xml_encode);
16 </%once>
17 <& /chrome/head.mc, title => $title &>
18   <table border="0" cellpadding="0" cellspacing="0" width="100%">
19 <& /chrome/bannerrow.mc, title => $title &>
20   </table>
21   <table border="0" cellpadding="0" cellspacing="0" width="100%">
22 <& /chrome/lmenu.mc &>
23   </table>
24   <p></p>
25   <table border="0" cellpadding="0" cellspacing="0" width="100%">
26    <tr>
27     <td valign="top" class="panel1">
28 <& /chrome/menu.mc &>
29     </td>
30     <td class="spacer">&nbsp;</td>
31     <td valign="top">
32 <& $component, %ARGS &>
33     </td>
34    </tr>
35   </table>
36 <& /chrome/tail.mc &>