[dokuwiki] Re: plugin and config mgrs

  • From: Anika Henke <a.c.henke@xxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 28 Jul 2006 23:32:56 +0200

Ben Coburn wrote:

On Jun 18, 2006, at 5:13 PM, Chris Smith wrote:

In the config manager I stumbled across the labels being wrapped inside an <a class="nolink" title="whatever">. Why is that? Are there plans to make them links or anchors?

I think that was added by Ben when he structured the settings into groups and generally improved the layout of the config plugin page. Its there to provide the actual config setting in tooltip. I would think it could be done by a <span title="whatever"> or even placed on the <td> container. Is the title attribute on <span> or <td> supported across all major browsers?

I don't remember why it ended up like that. Unless there are objections I will move the 'title' attribute back into the 'label' tag itself.

Just sent a patch substituting the <a> with a <span>.

While I was checking the soon-to-become new release for xhtml validity again, I found two other issues regarding the config manager:

1. <fieldset id="_basic"> and other fieldset id's beginning with "_".
ID and NAME must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").
Could we distinguish the fieldset ids with something different, like "fs_" ...?

2. 'Reference to non-existent ID "config__disableactions"', meaning the new "Disable DokuWiki actions" part. Because of the different approach of having labels inside the second td, the other label in the first td is not really needed anymore. (I mean, the <label>, not the text inside of it.)
But if no-one comes up with a simple solution, I think, we can *ignore* this warning. It's not that important ...

Other things I noticed about that "Disable DokuWiki actions" section:
The info on whether or not any of the checkboxes show the default or protected value does not seem to work. And the "Other actions" will turn white when a checkbox is checked ...

Hmm ... Something that could solve many "problems" there could be a multiple select!?

Anika -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: