nextcloud/apps/calendar/ajax/getcal.php

27 lines
1.1 KiB
PHP
Raw Normal View History

2011-08-12 16:29:45 +04: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");
2011-08-12 16:29:45 +04:00
if(!OC_USER::isLoggedIn()) {
die("<script type=\"text/javascript\">document.location = oc_webroot;</script>");
2011-08-12 16:29:45 +04:00
}
$output = new OC_TEMPLATE("calendar", "part.getcal");
$output -> printpage();
?>