nextcloud/apps/impress/documentation.php
Frank Karlitschek 1cfa831239 A first basic presentation app based on the amazing impress.js.
You have to put a presentation file that contains the presentation defined in html into your ownCloud with the file extension .impress
Then you can use this app to play it. It also contains a demo presentation that you can use to learn.
Help is welcome to improve this app. :-)
2012-08-21 14:44:23 +02:00

34 lines
1,004 B
PHP
Executable file

<?php
/**
* ownCloud - Impress App
*
* @author Frank Karlitschek
* @copyright 2011 Frank Karlitschek karlitschek@kde.org
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* License as published by the Free Software Foundation; either
* version 3 of the License, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
*
*/
require_once('lib/impress.php');
OCP\User::checkLoggedIn();
OCP\App::setActiveNavigationEntry( 'impress_index' );
$tmpl = new OCP\Template('impress', 'documentation', 'user');
$tmpl->printPage();