nextcloud/apps/calendar/settings.php

17 lines
492 B
PHP
Raw Normal View History

<?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.
*/
$tmpl = new OC_Template( 'calendar', 'settings');
2012-05-01 20:50:31 +04:00
$timezone=OC_Preferences::getValue(OCP\USER::getUser(),'calendar','timezone','');
$tmpl->assign('timezone',$timezone);
$tmpl->assign('timezones',DateTimeZone::listIdentifiers());
2012-05-01 22:03:41 +04:00
OCP\Util::addscript('calendar','settings');
return $tmpl->fetchPage();