From 9c541ae7697ffe1659d44179980f1dde0b91ede5 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 16 Jun 2013 08:49:10 +0200 Subject: [PATCH] cal: user settings info about supported formats --- cal/cal.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cal/cal.php b/cal/cal.php index fb5ae482..461cb020 100644 --- a/cal/cal.php +++ b/cal/cal.php @@ -167,10 +167,11 @@ function cal_addon_settings ( &$a, &$s ) $enabled = get_pconfig(local_user(), 'cal', 'enable'); $checked = (($enabled) ? ' checked="checked" ' : ''); - $url = $a->get_baseurl().'/cal/'.$a->user['nickname'].'/export/ical'; + $url = $a->get_baseurl().'/cal/'.$a->user['nickname'].'/export/format'; $s .= '

'.t('Export Events').'

'; $s .= '

'.t('If this is enabled, you public events will be available at').' '.$url.'

'; + $s .= '

'.t('Currently supported formats are ical and csv.').'

'; $s .= '
'; $s .= ''; $s .= '';