Blame view

sources/apps/calendar/settings.php 577 Bytes
923852aa1   Kload   Official Owncloud...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  <?php
  /**
   * Copyright (c) 2011 Bart Visscher <bartv@thisnet.nl>
   * This file is licensed under the Affero General Public License version 3 or
   * later.
   * See the COPYING-README file.
   */
  
  $tmpl = new OCP\Template( 'calendar', 'settings');
  $timezone=OCP\Config::getUserValue(OCP\USER::getUser(),'calendar','timezone','');
  $tmpl->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();