2011-08-11 13:22:07 +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 *
|
2011-08-19 22:33:48 +04:00
|
|
|
* License: GNU AFFERO GENERAL PUBLIC LICENSE *
|
2011-08-11 13:22:07 +04:00
|
|
|
* *
|
|
|
|
* 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 *
|
|
|
|
*************************************************/
|
2011-08-19 22:33:48 +04:00
|
|
|
require_once('../../../lib/base.php');
|
|
|
|
$l10n = new OC_L10N('calendar');
|
2011-08-11 13:22:07 +04:00
|
|
|
if(!OC_USER::isLoggedIn()) {
|
2011-08-19 22:33:48 +04:00
|
|
|
die("<script type=\"text/javascript\">document.location = oc_webroot;</script>");
|
2011-08-11 13:22:07 +04:00
|
|
|
}
|
2011-08-19 22:33:48 +04:00
|
|
|
$output = new OC_TEMPLATE("calendar", "part.newevent");
|
2011-08-11 13:22:07 +04:00
|
|
|
$output -> printpage();
|
|
|
|
?>
|