projects
/
irspy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove hardwired "use lib" path -- now taken from Apache config.
[irspy-moved-to-github.git]
/
web
/
htdocs
/
chrome
/
layout.mc
diff --git
a/web/htdocs/chrome/layout.mc
b/web/htdocs/chrome/layout.mc
index
1cd4c6e
..
1b4dd20
100644
(file)
--- a/
web/htdocs/chrome/layout.mc
+++ b/
web/htdocs/chrome/layout.mc
@@
-1,12
+1,17
@@
-%# $Id: layout.mc,v 1.4 2006-09-19 16:32:34 mike Exp $
+%# $Id: layout.mc,v 1.9 2006-09-28 16:03:08 mike Exp $
<%args>
$debug => undef
$title
$component
</%args>
<%once>
<%args>
$debug => undef
$title
$component
</%args>
<%once>
-use lib "/usr/local/src/cvs/irspy/lib";
-use ZOOM::IRSpy;
+BEGIN {
+ use vars qw($LIBDIR);
+ $LIBDIR = $r->dir_config("IRSpyLibDir");
+}
+use lib $LIBDIR;
+use ZOOM::IRSpy::Web;
+use ZOOM::IRSpy::Record qw(xml_encode);
</%once>
<& /chrome/head.mc, title => $title &>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
</%once>
<& /chrome/head.mc, title => $title &>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
@@
-21,9
+26,10
@@
use ZOOM::IRSpy;
<td valign="top" class="panel1">
<& /chrome/menu.mc &>
</td>
<td valign="top" class="panel1">
<& /chrome/menu.mc &>
</td>
- <td class="spacer"></td>
+ <td class="spacer"> </td>
<td valign="top">
<& $component, %ARGS &>
<td valign="top">
<& $component, %ARGS &>
+ </td>
</tr>
</table>
<& /chrome/tail.mc &>
</tr>
</table>
<& /chrome/tail.mc &>