2 /********************************************************************
3 * Name: Calendar Export
4 * Description: This addon exports the public events of your users as calendar files
6 * Author: Tobias Diekershoff <https://f.diekershoff.de/profile/tobias>
8 * ******************************************************************/
11 function cal_install()
14 function cal_uninstall()
21 * /cal/$user/export/$format
23 function cal_content()
28 $o = "<p>".t('Some text to explain what this does.')."</p>";
29 } elseif ($a->argc==4) {
30 $username = $a->argv[1];
32 $format = $a->argv[3];
33 $o = "<p>".$do." calendar for ".$username." as ".$format." file.</p>";
35 $o = "<p>".t('Wrong number of parameters')."</p>";