X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader.html;h=11211607b97b4ac7e944f71504cccd6399894172;hb=10e462292b42813dce6e1034064c55c7fddd42a4;hp=b9ddc73694484c24341a56d699f6f7d6e9ff7c78;hpb=000f20dff74059f44950c7191beaab951aeae316;p=freeside.git diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index b9ddc7369..11211607b 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -37,212 +37,141 @@ Example: %> <% include('init_overlib.html') |n %> + <% include('rs_init_object.html') |n %> + <% include('logout.html') |n %> <% $head |n %> - <% $etc |n %> STYLE="margin-top:0; margin-bottom:0; margin-left:0; margin-right:0"> + <% $etc |n %> STYLE="margin-top:0; margin-bottom:0; margin-left:0; margin-right:0"> -
freeside <% $company_name || 'ExampleCo' %> Logged in as <% getotaker %> 
Preferences +
Logged in as <% getotaker %>  logout
Preferences % if ( $conf->config("ticket_system") % && FS::TicketSystem->access_right(\%session, 'ModifySelf') ) { - | Ticketing preferences + | Ticketing preferences % }
- - - - - + + % if ( $menu_position eq 'top' ) { - - - - - - - - - - - - % } - + + - - - -
+ - - - - - -
<% include('/elements/about_freeside.html') |n %><% include('/elements/about_rt.html') |n %>
-
-
-
+ +% if ( $curuser->access_right('List prospects') ) { +
+
+ Adv + +
+% } +
% if ( $curuser->access_right('List customers') ) {
-
- Advanced +
+ Advanced
% }
+ % if ( $conf->exists('address2-search') ) {
- +
- +
% }
+ % if ( $curuser->access_right('View invoices') ) { -
- + % if ( $curuser->access_right('List invoices') ) { - Adv + Adv\ % } -
- +
% }
+ % if ( $curuser->access_right('View customer services') ) {
-
- Advanced +
+ Advanced
% }
+ % if ( $conf->config("ticket_system") ) {
-
- Advanced +
+ Advanced
% } @@ -253,31 +182,18 @@ input.fstext { - - -% if ( $menu_position eq 'left' ) { - - - - -% } - - - - - % if ( $menu_position eq 'left' ) { -
+
- +
@@ -291,7 +207,7 @@ input.fstext { % } -
<% include('/elements/about_freeside.html') |n %>
+ <% $title %> @@ -335,4 +251,19 @@ if ( scalar(@agentnums) == 1 ) { $company_name = $conf->config('company_name'); } +my $prospect_label = '(name, company or phone)'; + +my $cust_width = 246; +my $cust_label = '(cust #, name, company'; +if ( $conf->exists('address1-search') ) { + $cust_label .= ', address'; + $cust_width += 56; +} +$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)'; +