projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
persistent user prefs for UI pages, #41397
[freeside.git]
/
httemplate
/
elements
/
header.html
diff --git
a/httemplate/elements/header.html
b/httemplate/elements/header.html
index
c8a83ca
..
699f82c
100644
(file)
--- a/
httemplate/elements/header.html
+++ b/
httemplate/elements/header.html
@@
-53,6
+53,12
@@
Example:
<% $head |n %>
<% $head |n %>
+%# announce our base path, and the Mason comp path of this page
+ <script type="text/javascript">
+ window.fsurl = <% $fsurl |js_string %>;
+ window.request_comp_path = <% $m->request_comp->path |js_string %>;
+ </script>
+
</HEAD>
<BODY BGCOLOR="#f8f8f8" <% $etc |n %> STYLE="margin-top:0; margin-bottom:0; margin-left:0px; margin-right:0px">
<table width="100%" CELLPADDING=0 CELLSPACING=0 STYLE="padding-left:0px; padding-right:4px" CLASS="fshead">
</HEAD>
<BODY BGCOLOR="#f8f8f8" <% $etc |n %> STYLE="margin-top:0; margin-bottom:0; margin-left:0px; margin-right:0px">
<table width="100%" CELLPADDING=0 CELLSPACING=0 STYLE="padding-left:0px; padding-right:4px" CLASS="fshead">
@@
-178,6
+184,7
@@
Example:
% }
<% $menubar !~ /^\s*$/ ? "$menubar<BR><BR>" : '' %>
% }
<% $menubar !~ /^\s*$/ ? "$menubar<BR><BR>" : '' %>
+
<%init>
my( $title, $title_noescape, $menubar, $etc, $head ) = ( '', '', '', '', '' );
<%init>
my( $title, $title_noescape, $menubar, $etc, $head ) = ( '', '', '', '', '' );
@@
-225,4
+232,5
@@
if ( scalar(@agentnums) == 1 ) {
$company_name = $conf->config('company_name');
$company_url = $conf->config('company_url');
}
$company_name = $conf->config('company_name');
$company_url = $conf->config('company_url');
}
+
</%init>
</%init>