DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:event:html_edit_formselection

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
devel:event:html_edit_formselection [2021-12-19 16:10] – [Passed Data] update link Klap-indevel:event:html_edit_formselection [2022-07-31 21:58] (current) Klap-in
Line 8: Line 8:
 ---- ----
  
-This event is signaled by [[xref>show()]] in [[xref>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 [[devel:event:HTML_EDITFORM_OUTPUT]].+Up to release 2018 Greebo: This event is signaled by [[xref>show()]] in [[xref>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 [[devel:event:HTML_EDITFORM_OUTPUT]].
  
-[[devel:develonly]]:\\ +Since release 2020 Hogfather: This event is signaled by [[xref>Editor::show()]] in [[xref>inc/Ui/Editor.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 [[devel:event:HTML_EDITFORM_OUTPUT]].
-//This event is signaled by Editor::[[xref>show()]] in [[xref>inc/Ui/Editor.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 [[devel:event:HTML_EDITFORM_OUTPUT]].//+
  
 ===== Passed Data ===== ===== Passed Data =====
Line 17: Line 16:
   * $data['wr']: Whether the page is writable   * $data['wr']: Whether the page is writable
   * $data['form']:   * $data['form']:
-    * //Up to release 2020 Hogfather//: The Doku_Form object for the edit form +    * //Up to release 2018 Greebo//: The Doku_Form object for the edit form 
-    * [[devel:develonly]]: The ''dokuwiki\Form\Form'' object for the edit form. See [[devel:releases:refactor2021]] for fallback code for the Form update.+    * //Since release 2020 Hogfather//: The ''dokuwiki\Form\Form'' object for the edit form. See [[devel:releases:refactor2021]] for fallback code for the Form update.
   * $data['media_manager']: Whether the no-JavaScript fallback media manager link should be shown   * $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   * $data['intro_locale']: The locale name of the intro page; Unset this for hiding the intro text
devel/event/html_edit_formselection.txt · Last modified: 2022-07-31 21:58 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki