Good Morning! This are the darcs changes for DokuWiki committed yesterday. Please test them and report bugs. --------------------------------------------------------------------- Sun Aug 26 22:17:45 CEST 2007 Guy Brand <gb[at]isis.u-strasbg.fr> * Revert plugin die if DOKU_INC undefined Sun Aug 26 21:22:06 CEST 2007 Gabriel Birke <Gabriel.Birke[at]delti.com> * Arbitrary Button types in JS toolbar This is my patch for creating toolbar buttons with arbitrary button types, tested with Firefox, Opera and IE7. If you want to create a new type of button, you must have a function in the script.js file of your plugin. The function name must begin with "addBtnAction", followed by the type name, for example for the type "myType" the function must be called "addBtnActionMyType" (bear in mind that the first char of the type must be uppercased in the function name). The function has four parameters: "btn" is the HTML element for the button where you attach the onclick handler "props" is an associative array of the array properties that come from the toolbar array that was created by toolbar.php "edid" (optional) is the id of the editor textarea "id" (optional) is a "unique" number for each button: the index variable of the for loop where the buttons get created. --------------------------------------------------------------------- Single patches can be downloaded from http://dev.splitbrain.org/darcs/index.cgi/dokuwiki/?c=patches Bye, your darcs changelog mailer -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist