diff --git a/crouton.php b/crouton.php index f3d2d62..c498b97 100644 --- a/crouton.php +++ b/crouton.php @@ -531,6 +531,12 @@ public function adminOptionsPage() $this->options['meetingpage_title_template'] = isset($_POST['meetingpage_title_template']) ? str_replace('\\', '', $_POST['meetingpage_title_template']) : ""; $this->options['meetingpage_contents_template'] = isset($_POST['meetingpage_contents_template']) ? str_replace('\\', '', $_POST['meetingpage_contents_template']) : ""; $this->options['theme'] = $_POST['theme']; + $this->options['show_map'] = $_POST['show_map']; + $this->options['header'] = isset($_POST['header']) ? "1" : "0"; + $this->options['has_tabs'] = isset($_POST['has_tabs']) ? "1" : "0"; + $this->options['include_city_button'] = isset($_POST['include_city_button']) ? "1" : "0"; + $this->options['include_weekday_button'] = isset($_POST['include_weekday_button']) ? "1" : "0"; + $this->options['view_by'] = $_POST['view_by']; $this->options['recurse_service_bodies'] = isset($_POST['recurse_service_bodies']) ? $_POST['recurse_service_bodies'] : "0"; $postFilters = isset($_POST['select_filters']) ? $_POST['select_filters'] : array(); foreach ($this->hasFilters as $hasFilter) { @@ -722,6 +728,19 @@ public function adminOptionsPage() +
In addition to croutons tabular listing of meetings, the meetings can be be displayed on a map.
+You may configure the map by clicking on the "Map" tab, above.
+ + + +These values will be used when the attributes are not defined in the shortcode
@@ -762,7 +781,19 @@ public function adminOptionsPage()