server/apps/calendar/settings.php

17 lines
493 B
PHP
Raw Normal View History

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