2011-08-31 18:20:46 +00:00
|
|
|
<?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.
|
|
|
|
*/
|
2011-08-31 18:20:46 +00:00
|
|
|
|
|
|
|
$tmpl = new OC_Template( 'calendar', 'settings');
|
|
|
|
$timezone=OC_Preferences::getValue(OC_User::getUser(),'calendar','timezone','');
|
|
|
|
$tmpl->assign('timezone',$timezone);
|
|
|
|
$tmpl->assign('timezones',DateTimeZone::listIdentifiers());
|
|
|
|
|
|
|
|
OC_Util::addScript('calendar','settings');
|
|
|
|
|
|
|
|
return $tmpl->fetchPage();
|