X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fdirections.html;h=f23b7eb7f70cf4cb8e9e80587154fc7079e5de57;hb=ae14e320388fa5e7f400bff1c251ef885b7952e6;hp=f14a11a0754ef59c50cbd1271d720581a65049cc;hpb=f3c4966ed1f6ec3db7accd6dcdd3a5a3821d72a7;p=freeside.git diff --git a/httemplate/view/directions.html b/httemplate/view/directions.html index f14a11a07..f23b7eb7f 100644 --- a/httemplate/view/directions.html +++ b/httemplate/view/directions.html @@ -1,3 +1,5 @@ +% if ( $apikey ) { + %# the actual page <& /elements/header-popup.html, { title => '',#$name, @@ -10,6 +12,11 @@
+% } else { +<& /elements/header-popup.html &> +<& /elements/google_maps_api_key.html &> +% } + <%def .head> % my $lat = $cgi->param('lat'); % my $lon = $cgi->param('lon'); @@ -38,8 +45,7 @@ body { height: 100%; margin: 0px; padding: 0px } } -