aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/Menu
diff options
context:
space:
mode:
authorMichael Große <grosse@cosmocode.de>2018-01-18 19:43:45 +0100
committerMichael Große <grosse@cosmocode.de>2018-01-18 19:45:07 +0100
commit679dba01b427ea0357528be367261c2d30a26b22 (patch)
tree01cbc5871b62253638347588f2426ac8b4b55566 /inc/Menu
parent296321122f34c3170c5ac7a59548b61c91131ed7 (diff)
downloaddokuwiki-679dba01b427ea0357528be367261c2d30a26b22.tar.gz
dokuwiki-679dba01b427ea0357528be367261c2d30a26b22.zip
feat: add optionally an SVG to html_btn
Diffstat (limited to 'inc/Menu')
-rw-r--r--inc/Menu/Item/AbstractItem.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/Menu/Item/AbstractItem.php b/inc/Menu/Item/AbstractItem.php
index 82b351b81..e943b5900 100644
--- a/inc/Menu/Item/AbstractItem.php
+++ b/inc/Menu/Item/AbstractItem.php
@@ -171,7 +171,6 @@ abstract class AbstractItem {
*
* Uses html_btn()
*
- * @todo this does currently not support the SVG icon
* @return string
*/
public function asHtmlButton() {
@@ -182,7 +181,8 @@ abstract class AbstractItem {
$this->getParams(),
$this->method,
$this->getTitle(),
- $this->getLabel()
+ $this->getLabel(),
+ inlineSVG($this->getSvg())
);
}