diff --git a/settingswrapper.php b/settingswrapper.php index 6fcb3cd6..f9aa2e86 100644 --- a/settingswrapper.php +++ b/settingswrapper.php @@ -1,14 +1,13 @@ assign('timezone',$timezone); $tmpl->assign('timezones',DateTimeZone::listIdentifiers()); $tmpl->assign('calendars', OC_Calendar_Calendar::allCalendars(OCP\USER::getUser()), false); OCP\Util::addscript('calendar','settings'); -$tmpl->printPage(); +$tmpl->printPage(); \ No newline at end of file diff --git a/templates/part.choosecalendar.php b/templates/part.choosecalendar.php deleted file mode 100644 index 5236c845..00000000 --- a/templates/part.choosecalendar.php +++ /dev/null @@ -1,33 +0,0 @@ -
-

t('Your calendars')); ?>:

- - "); - $tmpl = new OCP\Template('calendar', 'part.choosecalendar.rowfields'); - $tmpl->assign('calendar', $option_calendars[$i]); - if ($option_calendars[$i]['userid'] != OCP\User::getUser()) { - $sharedCalendar = OCP\Share::getItemSharedWithBySource('calendar', $option_calendars[$i]['id']); - $shared = true; - } else { - $shared = false; - } - $tmpl->assign('shared', $shared); - $tmpl->printpage(); - print_unescaped(""); - } - ?> - - - - - - -
- -
-

">

-

- -
\ No newline at end of file diff --git a/templates/part.choosecalendar.settings.php b/templates/part.choosecalendar.settings.php deleted file mode 100644 index 803ac524..00000000 --- a/templates/part.choosecalendar.settings.php +++ /dev/null @@ -1,130 +0,0 @@ -
-

t('Your calendars')); ?>:

- - "); - $tmpl = new OCP\Template('calendar', 'part.choosecalendar.rowfields'); - $tmpl->assign('calendar', $option_calendars[$i]); - if ($option_calendars[$i]['userid'] != OCP\User::getUser()) { - $sharedCalendar = OCP\Share::getItemSharedWithBySource('calendar', $option_calendars[$i]['id']); - $shared = true; - } else { - $shared = false; - } - $tmpl->assign('shared', $shared); - $tmpl->printpage(); - print_unescaped(""); - } - ?> - - - - - - -
- -
-

">

-

- -
-

t('General')); ?>

-
- - - - - - - - - - - - - - - - - - - - - -
- -    - - -
-    - - -   - -
- -    - - -
- -    - - -
- -    - - -
-
-

t('URLs')); ?>

-
- t('Calendar CalDAV syncing addresses')); ?> (t('more info')); ?>) -
-
t('Primary address (Kontact et al)')); ?>
-
-
t('iOS/OS X')); ?>
-
principals//
-
t('Read only iCalendar link(s)')); ?>
-
- -
- -
-
-
- diff --git a/templates/settings.php b/templates/settings.php index 1000690c..a0b4af56 100644 --- a/templates/settings.php +++ b/templates/settings.php @@ -1,12 +1,36 @@ - - * Copyright (c) 2012 Georg Ehrke - * This file is licensed under the Affero General Public License version 3 or - * later. - * See the COPYING-README file. - */ -?> +
+

t('Your calendars')); ?>:

+ + "); + $tmpl = new OCP\Template('calendar', 'part.choosecalendar.rowfields'); + $tmpl->assign('calendar', $option_calendars[$i]); + if ($option_calendars[$i]['userid'] != OCP\User::getUser()) { + $sharedCalendar = OCP\Share::getItemSharedWithBySource('calendar', $option_calendars[$i]['id']); + $shared = true; + } else { + $shared = false; + } + $tmpl->assign('shared', $shared); + $tmpl->printpage(); + print_unescaped(""); + } + ?> + + + + + + +
+ +
+

">

+

+ +

t('General')); ?>

@@ -104,4 +128,4 @@ - \ No newline at end of file +