X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fdirections.html;h=f23b7eb7f70cf4cb8e9e80587154fc7079e5de57;hb=53a8c81b4f3a414803a52fc8114b26a71055d012;hp=f14a11a0754ef59c50cbd1271d720581a65049cc;hpb=2a7f90bbc8958c0674bb470ecd8e4bed00e6a8c4;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 } } -