summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-05-26 16:51:09 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-05-26 16:51:09 -0400
commit6b268694ca0159a9ebfb4e6e1b9f1291d70aadb2 (patch)
treed898b95ad4a6f31f906d0c879a88c136e07a09db /appinfo
parent6e91029b210cea92adc3534d9d77e008ced6e99d (diff)
new icon for the navigation entry
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/app.php16
1 files changed, 14 insertions, 2 deletions
diff --git a/appinfo/app.php b/appinfo/app.php
index 279969872..3678d476f 100644
--- a/appinfo/app.php
+++ b/appinfo/app.php
@@ -30,6 +30,18 @@ OC::$CLASSPATH['OC_News_ItemMapper'] = 'apps/news/lib/itemmapper.php';
$l = new OC_l10n('news');
OCP\App::registerAdmin('news','settings');
-OCP\App::register( array( 'order' => 70, 'id' => 'news', 'name' => 'News' ));
-OCP\App::addNavigationEntry( array( 'id' => 'news', 'order' => 74, 'href' => OC_Helper::linkTo( 'news', 'index.php' ), 'icon' => OC_Helper::imagePath( 'news', 'example.png' ), 'name' => 'News'));
+
+OCP\App::register( array(
+ 'order' => 70,
+ 'id' => 'news',
+ 'name' => 'News'
+));
+
+OCP\App::addNavigationEntry( array(
+ 'id' => 'news',
+ 'order' => 74,
+ 'href' => OC_Helper::linkTo( 'news', 'index.php' ),
+ 'icon' => OC_Helper::imagePath( 'news', 'icon.svg' ),
+ 'name' => $l->t('News')
+));