mirror of
https://github.com/nextcloud/server.git
synced 2026-04-07 18:16:14 -04:00
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. :-)
38 lines
1.1 KiB
PHP
38 lines
1.1 KiB
PHP
<?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/>.
|
|
*
|
|
*/
|
|
|
|
OCP\Util::addStyle( 'impress', 'style');
|
|
|
|
OCP\App::register(array('order' => 70, 'id' => 'impress', 'name' => 'Impress'));
|
|
|
|
OCP\App::addNavigationEntry(array(
|
|
'id' => 'impress_index',
|
|
'order' => 80,
|
|
'href' => OCP\Util::linkTo('impress', 'index.php'),
|
|
'icon' => OCP\Util::imagePath('impress', 'impress.png'),
|
|
'name' => 'Impress')
|
|
);
|
|
|
|
|
|
|
|
?>
|