Move xml_encode() from IRSpy to Utils
[irspy-moved-to-github.git] / web / htdocs / chrome / layout.mc
index d44c17a..ce8e739 100644 (file)
@@ -1,4 +1,4 @@
-%# $Id: layout.mc,v 1.11 2006-10-26 17:22:15 mike Exp $
+%# $Id: layout.mc,v 1.13 2006-10-30 16:13:49 mike Exp $
 <%args>
 $debug => undef
 $title
@@ -6,13 +6,8 @@ $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 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%">