Move xml_encode() from IRSpy to Utils
[irspy-moved-to-github.git] / web / htdocs / chrome / layout.mc
index 600b9f0..ce8e739 100644 (file)
@@ -1,17 +1,13 @@
-%# $Id: layout.mc,v 1.10 2006-10-20 16:56:07 mike Exp $
+%# $Id: layout.mc,v 1.13 2006-10-30 16:13:49 mike Exp $
 <%args>
 $debug => undef
 $title
 $component
 </%args>
 <%once>
-BEGIN {
-    use vars qw($LIBDIR);
-    $LIBDIR = $r->dir_config("IRSpyLibDir");
-}
-use lib $LIBDIR;
+use URI::Escape;
 use ZOOM::IRSpy::Web;
-use ZOOM::IRSpy qw(irspy_xpath_context xml_encode);
+use ZOOM::IRSpy::Utils qw(irspy_xpath_context xml_encode);
 </%once>
 <& /chrome/head.mc, title => $title &>
   <table border="0" cellpadding="0" cellspacing="0" width="100%">