2011-08-31 22:20:46 +04:00
|
|
|
<?php
|
2011-09-11 18:45:58 +04:00
|
|
|
/*************************************************
|
|
|
|
* ownCloud - Calendar Plugin *
|
|
|
|
* *
|
|
|
|
* (c) Copyright 2011 Bart Visscher *
|
|
|
|
* License: GNU AFFERO GENERAL PUBLIC LICENSE *
|
|
|
|
* *
|
|
|
|
* If you are not able to view the License, *
|
|
|
|
* <http://www.gnu.org/licenses/> *
|
|
|
|
* please write to the Free Software Foundation. *
|
|
|
|
* Address: *
|
|
|
|
* 59 Temple Place, Suite 330, Boston, *
|
|
|
|
* MA 02111-1307 USA *
|
|
|
|
*************************************************/
|
2011-08-31 22:20:46 +04: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();
|