[pmwiki-devel] Double click for admins only...

The Editor editor at fast.st
Tue Mar 20 03:56:39 CDT 2007


For what it's worth there must have been a glitch in the code
somewhere.  I got this to work for me however (changed to edit
permissions):

if (CondAuth($pagename, 'edit') == true) $BodyAttr =
'ondblclick="window.location.href=window.location.href +
\'?action=edit\'"';

However I wanted to put this in my skin.php file so it would be
available as a part of the skin, across my various fields.  While it
works in config.php, it does not work in skin.php.  Any ideas why?

I can live with manually inserting it into each config file, just
trying to understand how the skins work a bit better.

Cheers,
Dan



More information about the pmwiki-devel mailing list