Permalink
Browse files

add zip search service

  • Loading branch information...
TekiMaki
TekiMaki committed Jan 29, 2009
1 parent 9ceee6a commit bdc899a228c14b5b31030a6ec60f5094c742e596
Showing with 10 additions and 0 deletions.
  1. +1 −0 bit_setup_inc.php
  2. +9 −0 templates/search_inc.tpl
View
@@ -15,6 +15,7 @@
'content_display_function' => 'geoserver_content_gettilelayers',
'content_edit_function' => 'geoserver_content_gettilelayers',
'content_store_function' => 'geoserver_content_store',
+ 'content_search_tpl' => 'bitpackage:geoserver/search_inc.tpl'
) );
}
?>
View
@@ -0,0 +1,9 @@
+{if $smarty.const.ACTIVE_PACKAGE eq 'gmap' || $smarty.request.display_mode eq 'map'}
+<div class="row">
+ {formlabel label="Zip Code:" for="zipcode"}
+ {forminput}
+ <input type="text" name="zipcode" value="" />
+ {formhelp note="<a href=\"javascript:void(0);\" onclick=\"BitMap.MapData[0].Map.getShapesInBounds('ca_zip_5');\">Load Zip Codes in View</a>"}
+ {/forminput}
+</div>
+{/if}

0 comments on commit bdc899a

Please sign in to comment.