X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fview%2Fmap.html;h=b3459dc1f0dd1293e412536e2efc11cc35b4e33e;hb=ae14e320388fa5e7f400bff1c251ef885b7952e6;hp=3122de6a0025ac10b1ef334f054cbc2d554ff558;hpb=d5cdad7fae9c5e45701a7e83abeb903d31b7983f;p=freeside.git diff --git a/httemplate/view/map.html b/httemplate/view/map.html index 3122de6a0..b3459dc1f 100644 --- a/httemplate/view/map.html +++ b/httemplate/view/map.html @@ -1,3 +1,5 @@ +% if ( $apikey ) { + %# the actual page <& /elements/header-popup.html, { title => '',#$name, @@ -9,6 +11,11 @@
+% } else { +<& /elements/header-popup.html &> +<& /elements/google_maps_api_key.html &> +% } + <%def .head> @@ -22,14 +29,20 @@ body { height: 100%; margin: 0px; padding: 0px } @media print { #map_canvas { height: 500px; margin: 0; } } -