X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Fheader.html;h=30a6189f661a1866f4582eefaf296f48144dc1ea;hb=5e0a78a1dca6d39ea70c8c01002024929e36f2d8;hp=4f5015e7a11ecb24026964bf45385393554cb376;hpb=3ff1fb4e10fdaef86527c10bd416e988d2a62a49;p=freeside.git diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html index 4f5015e7a..30a6189f6 100644 --- a/httemplate/elements/header.html +++ b/httemplate/elements/header.html @@ -25,6 +25,9 @@ Example: <% $title |h %> + + + @@ -48,11 +51,11 @@ Example: STYLE="margin-top:0; margin-bottom:0; margin-left:0px; margin-right:0px"> - + -
freeside<% $company_url ? qq() : '' |n %>freeside<% $company_url ? '' : '' |n %> <% $company_name || 'ExampleCo' %> Logged in as <% getotaker %>  logout
Preferences +
Logged in as <% $FS::CurrentUser::CurrentUser->username |h %>  logout
Preferences % if ( $conf->config("ticket_system") % && FS::TicketSystem->access_right(\%session, 'ModifySelf') ) { | Ticketing preferences @@ -203,11 +206,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'); }