nextcloud/apps/calendar/ajax/importdialog.php

18 lines
504 B
PHP
Raw Normal View History

2011-10-04 00:50:10 +04:00
<?php
/**
2012-01-14 17:22:30 +04:00
* Copyright (c) 2012 Georg Ehrke <ownclouddev at georgswebsite dot de>
2011-10-04 00:50:10 +04:00
* This file is licensed under the Affero General Public License version 3 or
* later.
* See the COPYING-README file.
*/
require_once('../../../lib/base.php');
2012-01-14 17:22:30 +04:00
OC_JSON::checkLoggedIn();
OC_Util::checkAppEnabled('calendar');
2011-10-04 00:50:10 +04:00
$l10n = new OC_L10N('calendar');
$tmpl = new OC_Template('calendar', 'part.import');
2012-01-14 17:22:30 +04:00
$tmpl->assign('path', $_POST['path']);
$tmpl->assign('filename', $_POST['filename']);
2011-10-04 00:50:10 +04:00
$tmpl->printpage();
?>