diff options
author | ahriman <ahriman@falte.red> | 2019-01-02 04:57:35 +0000 |
---|---|---|
committer | ahriman <ahriman@falte.red> | 2019-01-02 04:57:35 +0000 |
commit | 2bd7f83a6495011ada78ca8a9f2af417caf01760 (patch) | |
tree | f9acdb7f09e011c65330ab993d4db3620787dbfb /wiki/inc/Menu/Item/Back.php | |
parent | bcb215c3a7e914d05f166846a33860e48bba64fb (diff) | |
download | site-2bd7f83a6495011ada78ca8a9f2af417caf01760.tar.gz |
removed dokuwiki
Diffstat (limited to 'wiki/inc/Menu/Item/Back.php')
-rw-r--r-- | wiki/inc/Menu/Item/Back.php | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/wiki/inc/Menu/Item/Back.php b/wiki/inc/Menu/Item/Back.php deleted file mode 100644 index a7cc1d9..0000000 --- a/wiki/inc/Menu/Item/Back.php +++ /dev/null @@ -1,29 +0,0 @@ -<?php - -namespace dokuwiki\Menu\Item; - -/** - * Class Back - * - * 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 { - - /** @inheritdoc */ - public function __construct() { - global $ID; - parent::__construct(); - - $parent = tpl_getparent($ID); - if(!$parent) { - throw new \RuntimeException("No parent for back action"); - } - - $this->id = $parent; - $this->params = array('do' => ''); - $this->accesskey = 'b'; - $this->svg = DOKU_INC . 'lib/images/menu/12-back_arrow-left.svg'; - } - -} |