diff options
Diffstat (limited to 'views/default/event_calendar/region_select.php')
-rw-r--r-- | views/default/event_calendar/region_select.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/views/default/event_calendar/region_select.php b/views/default/event_calendar/region_select.php deleted file mode 100644 index a987171a2..000000000 --- a/views/default/event_calendar/region_select.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php - -$region_list = trim(elgg_get_plugin_setting('region_list', 'event_calendar')); -// make sure that we are using Unix line endings -$region_list = str_replace("\r\n","\n",$region_list); -$region_list = str_replace("\r","\n",$region_list); -if ($region_list) { - $body = ''; - $options_values = array('-' =>elgg_echo('event_calendar:all')); - foreach(explode("\n",$region_list) as $region_item) { - $region_item = trim($region_item); - $options_values[$region_item] = $region_item; - } - - $body .= elgg_echo('event_calendar:region_filter_by_label'); - $body .= elgg_view('input/hidden',array('id'=>'event-calendar-region-url-start','value'=>$vars['url_start'])); - $body .= elgg_view("input/dropdown",array('id' => 'event-calendar-region','value'=>$vars['region'],'options_values'=>$options_values)); - $body .= '<br />'; -} - -echo $body; |