]> git.mxchange.org Git - friendica-addons.git/commitdiff
cal: user settings info about supported formats
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 16 Jun 2013 06:49:10 +0000 (08:49 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 16 Jun 2013 06:49:10 +0000 (08:49 +0200)
cal/cal.php

index fb5ae482c6118f0e6bf5d11071c01c04afc03060..461cb02083ca816e6279c40500d87c654b4cc09d 100644 (file)
@@ -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/<em>format</em>';
 
     $s .= '<h3>'.t('Export Events').'</h3>';
     $s .= '<p>'.t('If this is enabled, you public events will be available at').' <strong>'.$url.'</strong></p>';
+    $s .= '<p>'.t('Currently supported formats are ical and csv.').'</p>';
     $s .= '<div id="cal-enable-wrapper">';
     $s .= '<label id="cal-enable-label" for="cal-checkbox">'. t('Enable calendar export') .'</label>';
     $s .= '<input id="cal-checkbox" type="checkbox" name="cal-enable" value="1" ' . $checked . '/>';