Use URI::Escape on behalf of several components that need it.
[irspy-moved-to-github.git] / web / htdocs / chrome / layout.mc
index 1b4dd20..d44c17a 100644 (file)
@@ -1,17 +1,18 @@
-%# $Id: layout.mc,v 1.9 2006-09-28 16:03:08 mike Exp $
+%# $Id: layout.mc,v 1.11 2006-10-26 17:22:15 mike Exp $
 <%args>
 $debug => undef
 $title
 $component
 </%args>
 <%once>
+use URI::Escape;
 BEGIN {
     use vars qw($LIBDIR);
     $LIBDIR = $r->dir_config("IRSpyLibDir");
 }
 use lib $LIBDIR;
 use ZOOM::IRSpy::Web;
-use ZOOM::IRSpy::Record qw(xml_encode);
+use ZOOM::IRSpy qw(irspy_xpath_context xml_encode);
 </%once>
 <& /chrome/head.mc, title => $title &>
   <table border="0" cellpadding="0" cellspacing="0" width="100%">