X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader.html;h=e5211bf466a31d27ee3f59f71fbc1988cdf8d1aa;hb=9d175e20ee5a1d2088352acdee356afa30db5028;hp=d0ab3055d5e278f9deb06d184a76fa859c0e2972;hpb=01ea05e688db67a832764bae7356fe460e314ec7;p=freeside.git diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index d0ab3055d..e5211bf46 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -25,6 +25,9 @@ Example: <% $title |h %> + + + @@ -42,6 +45,12 @@ 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 %> @@ -49,7 +58,7 @@ Example: STYLE="margin-top:0; margin-bottom:0; margin-left:0px; margin-right:0px"> - + @@ -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'); }
freeside<% $company_url ? qq() : '' |n %>freeside<% $company_url ? '' : '' |n %> <% $company_name || 'ExampleCo' %>