[Pmwiki-users] Add a back button in Edit form

garfield_fr garfield_fr
Fri Aug 1 14:17:19 CDT 2003


I add this code in $PageEditFmt in my local

<input type='button' value=' Retour ' onClick='window.location=\"\$PageUrl\";return false;' />

This button go back to the page in read mode when you are in edit mode.
I think is a good button because it allow the user to quit edit mode without saving. I known there is a the "back" command in
browsers but the button is usefull for basic computers users .....

Eric (aka GarfieldFR)
webmaster at codedb.fr.st
http://www.codedb.fr.st
(sorry for my poor english)




More information about the pmwiki-users mailing list