aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/Menu
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2017-09-02 10:16:35 +0200
committerAndreas Gohr <andi@splitbrain.org>2017-09-02 10:16:35 +0200
commitcf71061da2667f7f873a09d8aa7e8d7f932aa764 (patch)
treefe33ce517de43a5f48e21a3237480dc50acd4cc0 /inc/Menu
parent92ca7c1e55815b216e621cedc909483062e9a793 (diff)
downloaddokuwiki-cf71061da2667f7f873a09d8aa7e8d7f932aa764.tar.gz
dokuwiki-cf71061da2667f7f873a09d8aa7e8d7f932aa764.zip
added two more missing action icons
Diffstat (limited to 'inc/Menu')
-rw-r--r--inc/Menu/Item/Back.php5
-rw-r--r--inc/Menu/Item/Resendpwd.php2
2 files changed, 5 insertions, 2 deletions
diff --git a/inc/Menu/Item/Back.php b/inc/Menu/Item/Back.php
index 407bbe2fb..a7cc1d976 100644
--- a/inc/Menu/Item/Back.php
+++ b/inc/Menu/Item/Back.php
@@ -5,8 +5,8 @@ namespace dokuwiki\Menu\Item;
/**
* Class Back
*
- * @fixme where is this used?
- * @fixme missing SVG
+ * Navigates back up one namepspace. This is currently not used in any menu. Templates
+ * would need to add this item manually.
*/
class Back extends AbstractItem {
@@ -23,6 +23,7 @@ class Back extends AbstractItem {
$this->id = $parent;
$this->params = array('do' => '');
$this->accesskey = 'b';
+ $this->svg = DOKU_INC . 'lib/images/menu/12-back_arrow-left.svg';
}
}
diff --git a/inc/Menu/Item/Resendpwd.php b/inc/Menu/Item/Resendpwd.php
index ffa99d8f8..7ddc6b02f 100644
--- a/inc/Menu/Item/Resendpwd.php
+++ b/inc/Menu/Item/Resendpwd.php
@@ -17,6 +17,8 @@ class Resendpwd extends AbstractItem {
if($INPUT->server->str('REMOTE_USER')) {
throw new \RuntimeException("no resendpwd when already logged in");
}
+
+ $this->svg = DOKU_INC . 'lib/images/menu/lock-reset.svg';
}
}