X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader.html;h=22e872eca3019d5e3139162f75e11c84688301c6;hb=d0132ff90c351362c03084c14313ff7e3b1c5d82;hp=5487346a573f0f4956462822c33efaaf9e7e3278;hpb=db73422eae5dfcd2d96380ce31941e94c9d9b1ae;p=freeside.git
diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html
index 5487346a5..22e872eca 100644
--- a/httemplate/elements/header.html
+++ b/httemplate/elements/header.html
@@ -1,4 +1,26 @@
+<%doc>
+
+Example:
+
+ include( '/elements/header.html',
+ {
+ 'title' => 'Title',
+ 'menubar' => \@menubar,
+ 'etc' => '', #included in
tag, for things like onLoad=
+ 'head' => '', #included before closing tag
+ 'nobr' => 0, #1 for no
@@ -18,27 +40,27 @@
@@ -53,10 +75,10 @@
<% $company_name || 'ExampleCo' %>
|
- Logged in as <% getotaker %> Preferences
+ | Logged in as <% getotaker %> Preferences
% if ( $conf->config("ticket_system")
% && FS::TicketSystem->access_right(\%session, 'ModifySelf') ) {
- | Ticketing preferences
+ | Ticketing preferences
% }
|
@@ -174,7 +196,7 @@ input.fstext {
% if ( $curuser->access_right('List customers') ) {
@@ -185,7 +207,7 @@ input.fstext {
% if ( $conf->exists('address2-search') ) {
@@ -194,14 +216,13 @@ input.fstext {
|
% if ( $curuser->access_right('View invoices') ) {
-
% }
|
@@ -209,7 +230,7 @@ input.fstext {
% if ( $curuser->access_right('View customer services') ) {
@@ -219,7 +240,7 @@ input.fstext {
|
% if ( $conf->config("ticket_system") ) {
@@ -313,4 +334,17 @@ if ( scalar(@agentnums) == 1 ) {
$company_name = $conf->config('company_name');
}
+my $cust_width = 288; #251 #ok for IE, slightly bigger for windows firefox
+my $cust_label = '(cust #, name, company';
+if ( $conf->exists('address1-search') ) {
+ $cust_label .= ', address';
+ $cust_width += 64;
+}
+$cust_label .= ' or contact phone)';
+
+my $address2_label = '(Unit #)';
+my $inv_label = '(inv #)';
+my $svc_label = '(user, email, ip, mac, domain or service phone)';
+my $ticketing_label = '(ticket #, subject, email or fulltext:text)';
+
%init>
|