summaryrefslogtreecommitdiffstats
path: root/appinfo/app.php
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-04-28 10:27:29 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-04-28 10:27:29 -0400
commit797edb75a159f4bce2a5df1d6a04905caf85d563 (patch)
tree7c8e10d43045036293a81b65e3c8ea0deae48385 /appinfo/app.php
parentf3e249a4a24548fb1487aec76113b5e1216db75c (diff)
created a stub for the News app
Diffstat (limited to 'appinfo/app.php')
-rw-r--r--appinfo/app.php29
1 files changed, 29 insertions, 0 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
new file mode 100644
index 000000000..a8169548c
--- /dev/null
+++ b/appinfo/app.php
@@ -0,0 +1,29 @@
+<?php
+
+/**
+* ownCloud - News app (feed reader)
+*
+* @author Alessandro Cosentino
+* @copyright 2012 Alessandro Cosentino cosenal@gmail.com
+*
+* 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/>.
+*
+*/
+
+OC_APP::registerAdmin('news','settings');
+
+OC_App::register( array( 'order' => 70, 'id' => 'news', 'name' => 'News' ));
+
+OC_App::addNavigationEntry( array( 'id' => 'news', 'order' => 74, 'href' => OC_Helper::linkTo( 'news', 'index.php' ), 'icon' => OC_Helper::imagePath( 'news', 'example.png' ), 'name' => 'News'));
+