opentechinstitute/TidePools — pull request #14 by g33kgrrl (2013-03-18 21:13:19+00:00)
Title: Lisa search

Boosted performance and consolidated functionality through the following changes:

Added 2 new variables to tidepools_variables.php, for storing arrays of landmark types. One is for Search functions and the Landmark menu. The other is for the Landmark Filter menu. Landmarks Filter has 3 landmark types that Landmark doesn't have, and they're in a different order. When these issues are resolved, all 3 functions can be combined to use 1 single array.

Created landmarks_menu.php to auto-generate LandMark menu.

Created landmarks_filter_menu.php to auto-generate Landmark Filters menu. Note that 2 icons do not appear because their .png files aren't consistent with their names. Suggested changes: filter_wifi.png => filter_freewifi.png and filter_other.png => filter_somethingelse.png .

Renamed index.html to index.php, to enable menu auto-generation as above. Used PHP includes to replace manually-written HTML menus with dynamically-generated ones from the designated PHP files.