Translations of this page?:

HTML_EDIT_FORMSELECTION

Description:
add elements to edit forms for editing the given wikitext
DefaultAction:
a plain textarea is added to the edit form
Preventable:
yes
Added:
2010-01-19

This event is signaled by html_edit() in inc/html.php when an edit form is shown, handlers can use it to provide own edit forms for special content. The whole form can be changed in HTML_EDITFORM_OUTPUT.

Passed Data

  • $data['wr']: Whether the page is writable
  • $data['form']: The Doku_Form object for the edit form
  • $data['media_manager']: Whether the no-JavaScript fallback media manager link should be shown
  • $data['intro_locale']: The locale name of the intro page; Unset this for hiding the intro text

Plugins handling this event

The following plugins are known to handle this event and their source code may be a good start for understanding and implementing a handler yourself.

See also

devel/event/html_edit_formselection.txt · Last modified: 2010/03/10 18:33 by 74.93.99.97
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate