DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:event:html_showrev_output

HTML_SHOWREV_OUTPUT

Description:
modify the showrev warning HTML
DefaultAction:
display the p_locale_xhtml('showrev')
Preventable:
yes
Added:
2015-02-19

This event is signalled by html_show() in inc/html.php. Use this to change the default old revision warning message.

Passed Data

The passed Doku_Event object has the field: $data.

The $data field is an array with the entries:

  • $data['rev']: reference to the $REV global variable
  • $data['date_at']: reference to the $DATE_AT global variable

The BEFORE event let you prevent the default behaviour and replace it with your own.

See also

devel/event/html_showrev_output.txt · Last modified: 2018-12-08 15:34 by torpedo

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