History log of /dokuwiki/inc/Menu/Item/Admin.php (Results 1 – 12 of 12)
Revision Date Author Comments
# dbe59455 19-Apr-2025 Andreas Gohr <andi@splitbrain.org>

check permissions for admin menu item earlier

I am not sure why moving the context visibility check to a later stage
suddenly surfaced the issue of $INFO not being set in the
general_html_test. I wo

check permissions for admin menu item earlier

I am not sure why moving the context visibility check to a later stage
suddenly surfaced the issue of $INFO not being set in the
general_html_test. I would have expected the same issue before the
changes of 33792c0e7da35449c4591cfbb2b77377e2f465b1

In any case it makes not much sense to do the permission checks there
anyway. Doing it in the constructor makes more sense since this is not a
context sensitive check.

show more ...


# 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


# 8c7c53b0 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

codestyle adjustments: class declaration braces


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

Apply rector fixes to inc/Menu


# 3d90b12c 30-Oct-2018 Andreas Gohr <gohr@cosmocode.de>

Admin Menu Item should not throw an exception

instead the visibility is properly checked in the visibleInContext()
method.


# 4bb2fc4a 25-May-2017 Andreas Gohr <andi@splitbrain.org>

overwrite item properties in constructor only

Othewise weird side effects may happen when a parent constructor
overwrites them again.


# 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


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

use menu system for user tools

also adjusts styles and adds 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 ...