[dokuwiki] [Patch] - Hide "old revs" when not actin show

Hi,
 
it's me again... This one may be debated ;-)
 
With the object of showing users which actions that are available or not, some templates has used the $ACT variable. I think it's good that templates are different and represent several kinds of user interaction BUT we should also make small usability improvements to the DokuWiki core :-) (potentially affecting all templates).
 
I have attached a small patch hiding the "Old revisions" button and link for every action besides "show". This will change template.php affecting ALL templates, not just the default. Reason behind this is that the action doesn't make sense in any other context. Especially not with the admin screen and a novice admin looking for how to revert to his/her old settings.
 
A small number of templates using bulleted lists (showing bullets) will probably have to be adjusted.  
 
Comments?
 
/Håkan
 

 


 

Other related posts: