From 2eccb56ec81ba62171ceebea6630b56df4e1c09b Mon Sep 17 00:00:00 2001 From: luniki <luniki@gmail.com> Date: Tue, 15 Nov 2016 08:25:53 +0100 Subject: [PATCH] update to new Icon-API --- PluginMarket.class.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/PluginMarket.class.php b/PluginMarket.class.php index d2740fa..580aa6d 100755 --- a/PluginMarket.class.php +++ b/PluginMarket.class.php @@ -20,11 +20,11 @@ class PluginMarket extends StudIPPlugin implements SystemPlugin, HomepagePlugin { parent::__construct(); $top = new Navigation($this->getDisplayTitle(), PluginEngine::getURL($this, array('view' => 'tiles'), "presenting/overview")); - $top->setImage($this->getPluginURL()."/assets/topicon.svg"); + $top->setImage(Icon::create($this->getPluginURL()."/assets/topicon.svg")); $overview = new Navigation($this->getDisplayTitle(), PluginEngine::getURL($this, array(), "presenting/overview")); $top->addSubNavigation("presenting", $overview); - $overview->addSubNavigation("overview", new AutoNavigation(_('�bersicht'), PluginEngine::getURL($this, array(), "presenting/overview"))); + $overview->addSubNavigation("overview", new AutoNavigation(_('Übersicht'), PluginEngine::getURL($this, array(), "presenting/overview"))); $overview->addSubNavigation("all", new AutoNavigation(_('Alle Plugins'), PluginEngine::getURL($this, array(), "presenting/all"))); $overview->addSubNavigation("tools", new AutoNavigation(_('Tools'), PluginEngine::getURL($this, array(), "tools/sidebar_graphics_generator"))); @@ -41,13 +41,13 @@ class PluginMarket extends StudIPPlugin implements SystemPlugin, HomepagePlugin } } if ($GLOBALS['perm']->have_perm("root")) { - $approving = new Navigation(_("Qualit�tssicherung"), PluginEngine::getURL($this, array(), "approving/overview")); + $approving = new Navigation(_("Qualitätssicherung"), PluginEngine::getURL($this, array(), "approving/overview")); $top->addSubNavigation("approving", $approving); } Navigation::addItem("/pluginmarket", $top); $loginlink = new Navigation($this->getDisplayTitle(), PluginEngine::getURL($this, array(), "presenting/overview")); - $loginlink->setDescription(_("Laden Sie hier Plugins f�r Ihr Stud.IP herunter")); + $loginlink->setDescription(_("Laden Sie hier Plugins für Ihr Stud.IP herunter")); Navigation::addItem("/login/pluginmarket",$loginlink); NotificationCenter::addObserver($this, "triggerFollowingStudips", "PluginReleaseDidUpdateCode"); @@ -112,4 +112,4 @@ class PluginMarket extends StudIPPlugin implements SystemPlugin, HomepagePlugin } } -} \ No newline at end of file +} -- GitLab