2011-08-31 22:20:46 +04:00
|
|
|
<?php
|
2011-09-24 00:59:24 +04:00
|
|
|
/**
|
|
|
|
* 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.
|
|
|
|
*/
|
2011-08-31 22:20:46 +04:00
|
|
|
|
2012-05-07 01:00:36 +04:00
|
|
|
$tmpl = new OCP\Template( 'calendar', 'settings');
|
2012-05-02 17:54:34 +04:00
|
|
|
$timezone=OCP\Config::getUserValue(OCP\USER::getUser(),'calendar','timezone','');
|
2011-08-31 22:20:46 +04:00
|
|
|
$tmpl->assign('timezone',$timezone);
|
|
|
|
$tmpl->assign('timezones',DateTimeZone::listIdentifiers());
|
|
|
|
|
2012-05-01 22:03:41 +04:00
|
|
|
OCP\Util::addscript('calendar','settings');
|
2011-08-31 22:20:46 +04:00
|
|
|
|
|
|
|
return $tmpl->fetchPage();
|