X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader.html;h=e5211bf466a31d27ee3f59f71fbc1988cdf8d1aa;hb=edf68fde8ea6c36084ef6fe6a481f0d9502b116b;hp=61d031376a8c30ee8a34afa4550574a340373cbf;hpb=fb4ab1073f0d15d660c6cdc4e07afebf68ef3924;p=freeside.git diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 61d031376..e5211bf46 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -25,6 +25,9 @@ Example: <% $title |h %> + + + @@ -42,14 +45,20 @@ Example: <% include('init_overlib.html') |n %> <% include('rs_init_object.html') |n %> <% include('logout.html') |n %> +% my $timeout = $conf->config('logout-timeout'); +% if ( $timeout && $timeout =~ /^\s*\d+\s*$/ ) { + +% } <% $head |n %> STYLE="margin-top:0; margin-bottom:0; margin-left:0px; margin-right:0px"> - +
- + @@ -69,7 +78,7 @@ Example: % if ( $menu_position eq 'top' ) { - + % if ( $mobile ) { @@ -92,7 +101,7 @@ Example: - + + @@ -140,7 +149,7 @@ Example: % if ( $menu_position eq 'left' ) { - % } - +%# page content starts here
freeside<% $company_url ? qq() : '' |n %>freeside<% $company_url ? '' : '' |n %> <% $company_name || 'ExampleCo' %>
<% include('searchbar-prospect.html') |n %> @@ -124,7 +133,7 @@ Example: % } else { #$menu_position eq 'left' -
+ @@ -156,7 +165,7 @@ Example: @@ -204,11 +213,13 @@ if ( $cgi->param('mobile') =~ /^(\d)$/ ) { # allow client to override $mobile = $1; } -my $company_name; +my($company_name, $company_url); my @agentnums = $curuser->agentnums; if ( scalar(@agentnums) == 1 ) { $company_name = $conf->config('company_name', $agentnums[0] ); + $company_url = $conf->config('company_url', $agentnums[0] ); } else { $company_name = $conf->config('company_name'); + $company_url = $conf->config('company_url'); }