2011-08-31 18:20:46 +00:00
|
|
|
<?php
|
|
|
|
/*************************************************
|
|
|
|
* ownCloud - Calendar Plugin *
|
|
|
|
* *
|
|
|
|
* (c) Copyright 2011 Georg Ehrke *
|
|
|
|
* author: Georg Ehrke *
|
|
|
|
* email: ownclouddev at georgswebsite dot de *
|
|
|
|
* homepage: ownclouddev.georgswebsite.de *
|
|
|
|
* manual: ownclouddev.georgswebsite.de/manual *
|
|
|
|
* License: GNU AFFERO GENERAL PUBLIC LICENSE *
|
|
|
|
* *
|
|
|
|
* If you are not able to view the License, *
|
|
|
|
* <http://www.gnu.org/licenses/> *
|
|
|
|
* <http://ownclouddev.georgswebsite.de/license/> *
|
|
|
|
* please write to the Free Software Foundation. *
|
|
|
|
* Address: *
|
|
|
|
* 59 Temple Place, Suite 330, Boston, *
|
|
|
|
* MA 02111-1307 USA *
|
|
|
|
*************************************************/
|
|
|
|
require_once('../../../lib/base.php');
|
|
|
|
$l10n = new OC_L10N('calendar');
|
|
|
|
if(!OC_USER::isLoggedIn()) {
|
|
|
|
die("<script type=\"text/javascript\">document.location = oc_webroot;</script>");
|
|
|
|
}
|
|
|
|
$calendar = OC_Calendar_Calendar::findCalendar($_GET['calendarid']);
|
|
|
|
$tmpl = new OC_Template("calendar", "part.editcalendar");
|
2011-09-08 10:29:29 +00:00
|
|
|
$tmpl->assign('new', false);
|
|
|
|
$tmpl->assign('calendar', $calendar);
|
2011-08-31 18:20:46 +00:00
|
|
|
$tmpl->printPage();
|
|
|
|
?>
|