History log of /dokuwiki/inc/Menu/Item/AbstractItem.php (Results 1 – 21 of 21)
Revision Date Author Comments
# c5dc288e 30-Jun-2025 Andreas Gohr <andi@splitbrain.org>

typo fix


# e44b94a4 08-Sep-2024 Andreas Gohr <andi@splitbrain.org>

Revert "use a dispatcher to access static image files"

This reverts commit 944e9ba7254387adb60f253b0d8796f2276096b1.

It was accidentally pused to master before review. A PR with a revert
for the re

Revert "use a dispatcher to access static image files"

This reverts commit 944e9ba7254387adb60f253b0d8796f2276096b1.

It was accidentally pused to master before review. A PR with a revert
for the revert will be pushed shortly.

show more ...


# 944e9ba7 08-Sep-2024 Andreas Gohr <andi@splitbrain.org>

use a dispatcher to access static image files

This makes it possible to replace default images in an update safe way.
It also addresses the issue raised in dokuwiki/docker#16

A .htaccess rewrite ca

use a dispatcher to access static image files

This makes it possible to replace default images in an update safe way.
It also addresses the issue raised in dokuwiki/docker#16

A .htaccess rewrite catches any direct accesses that might come in from
plugins.

show more ...


# d4f83172 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

code style: line breaks


# 74981a4e 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

apply PSR-12 constant visibility rule

PSR-12 says constants need their visibility declared from PHP 7.1
onwards


# 33b91513 29-Aug-2023 Andreas Gohr <andi@splitbrain.org>

Apply rector fixes to inc/Menu


# 3a5cb034 01-Dec-2019 Phy <git@phy25.com>

PHP8 fix: string offset out of range due to null


# e824d633 19-Jan-2018 Michael Große <grosse@cosmocode.de>

fix: enforce optional svg & prevent arbitrary html in html_btn

To prevent abusing this functionality for inserting arbitrary html,
inlineSVG is now called inside the html_btn function.


# 679dba01 18-Jan-2018 Michael Große <grosse@cosmocode.de>

feat: add optionally an SVG to html_btn


# 2a85c691 07-Sep-2017 Andreas Gohr <gohr@cosmocode.de>

abbreviated ternary operator


# b965a044 02-Sep-2017 Andreas Gohr <andi@splitbrain.org>

added convenience method to display item as button


# 50ca245c 02-Sep-2017 Andreas Gohr <andi@splitbrain.org>

MenuItems: add possibility to set a different title attribute


# 51b0b64b 15-Aug-2017 Andreas Gohr <andi@splitbrain.org>

move type initialization to getter


# 4887c154 25-May-2017 Andreas Gohr <andi@splitbrain.org>

make use of the new classes in tpl_get_action()

This function is now deprecated.

Tests even surfaced some smaller bugs :-)


# 4875c354 24-May-2017 Andreas Gohr <gohr@cosmocode.de>

avoid double encoding of generated URLs

getLink() now no longer escapes ampersands - this is task of the code
producing the HTML. When using asHtmlLink(), buildAttributes() will take
care of the esc

avoid double encoding of generated URLs

getLink() now no longer escapes ampersands - this is task of the code
producing the HTML. When using asHtmlLink(), buildAttributes() will take
care of the escaping for you.

show more ...


# 368ce258 19-May-2017 Andreas Gohr <andi@splitbrain.org>

more doc blocks for the menu system


# 8c51da59 19-May-2017 Andreas Gohr <andi@splitbrain.org>

remove unused $category property


# 2f7a5efd 19-May-2017 Andreas Gohr <andi@splitbrain.org>

use menu for site tools

this adds an option to print the menu without icons (as we do in the
dokuwiki template) but icons were added nontheless


# c3766a92 19-May-2017 Andreas Gohr <andi@splitbrain.org>

fixed typo


# c2b9771a 19-May-2017 Andreas Gohr <andi@splitbrain.org>

fix base dir for images


# 93b8c351 19-May-2017 Andreas Gohr <andi@splitbrain.org>

beginning of a complete refactoring of the menues

This is an attempt to:

* get rid of the super long, complex functions in in/template.php
* make it easy for plugin authors to add their own items t

beginning of a complete refactoring of the menues

This is an attempt to:

* get rid of the super long, complex functions in in/template.php
* make it easy for plugin authors to add their own items to any
of our menus, regardless of the used template
* continue the progress to make use of SVG in the menues

This takes a similar approach as my actionrefactor branch. Originially
I thought both refactorings could be done in one, merging the
functionality of DokuWiki actions and the menu items. However I couldn't
make it work. So instead we have two separate but similar things.
Maybe they can converge later on.

show more ...