X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=httemplate%2Felements%2Fcoord-links.html;h=db04dad97787c47dd4d2c4b685416f9e4bc22911;hp=a755791ae4994216e9cb390f04d0e4689632dd26;hb=ff27c3f36240aee48ed50153dd5d8fe3ac3f2443;hpb=e1acfb2921b35fe097015208e8072a2675d01d69 diff --git a/httemplate/elements/coord-links.html b/httemplate/elements/coord-links.html index a755791ae..db04dad97 100644 --- a/httemplate/elements/coord-links.html +++ b/httemplate/elements/coord-links.html @@ -1,7 +1,5 @@ <& /elements/init_overlib.html &> -% if ( $apikey ) { - <& /elements/popup_link.html, 'action' => $p. 'view/map.html?'. $query, 'label' => mt('map'), @@ -21,8 +19,6 @@ &> % } -% } # end if $apikey - <% mt('earth') |h %> <%init> @@ -55,7 +51,9 @@ my $apikey = $conf->config('google_maps_api_key'); #for directions link my @origin = $opt{company_address} ? @{ $opt{company_address} } - : $conf->config('company_address', $agentnum); + : ( $conf->config('company_physical_address', $agentnum) + ? $conf->config('company_physical_address', $agentnum) + : $conf->config('company_address', $agentnum) ); my $origin = uri_escape(join(',', @origin));