aboutsummaryrefslogtreecommitdiff
path: root/views/default/event_calendar/nav.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/event_calendar/nav.php')
-rw-r--r--views/default/event_calendar/nav.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/event_calendar/nav.php b/views/default/event_calendar/nav.php
index ceedfd485..746a46151 100644
--- a/views/default/event_calendar/nav.php
+++ b/views/default/event_calendar/nav.php
@@ -17,7 +17,7 @@ $url_start = $vars['url'].'mod/event_calendar/show_events.php?group_guid='.$vars
<div id="elgg_horizontal_tabbed_nav">
<ul>
<?php
-$event_calendar_spots_display = get_plugin_setting('spots_display', 'event_calendar');
+$event_calendar_spots_display = elgg_get_plugin_setting('spots_display', 'event_calendar');
if ($event_calendar_spots_display == "yes") {
?>
<li <?php echo $openselect; ?> ><a onclick="javascript:$('#event_list').load('<?php echo $url_start; ?>&amp;filter=open&amp;callback=true'); return false;" href="<?php echo $url_start; ?>&amp;filter=open&amp;callback=true"><?php echo elgg_echo('event_calendar:open'); ?></a></li>
@@ -30,7 +30,7 @@ if ($event_calendar_spots_display == "yes") {
</ul>
</div>
<?php
-$event_calendar_region_display = get_plugin_setting('region_display', 'event_calendar');
+$event_calendar_region_display = elgg_get_plugin_setting('region_display', 'event_calendar');
if ($event_calendar_region_display == 'yes') {
$url_start .= '&amp;filter='.$vars['filter'];
echo elgg_view('event_calendar/region_select',array('url_start'=>$url_start,'region'=>$vars['region']));