diff options
author | ghi <dokuwiki@imz.re> | 2015-02-18 10:47:05 +0100 |
---|---|---|
committer | ghi <dokuwiki@imz.re> | 2015-02-18 10:47:05 +0100 |
commit | c8556525035212e8abf05907e8cfdf290bb6dcd6 (patch) | |
tree | 51f4a330be86fddd2445acf019c6520991d018fd | |
parent | 0747f5d729d43516c67c5240a662a68dfb446437 (diff) | |
download | rpg-c8556525035212e8abf05907e8cfdf290bb6dcd6.tar.gz rpg-c8556525035212e8abf05907e8cfdf290bb6dcd6.tar.bz2 |
passing rev and date_at to the event
-rw-r--r-- | inc/html.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/html.php b/inc/html.php index c87d0ea87..4bf784502 100644 --- a/inc/html.php +++ b/inc/html.php @@ -237,8 +237,8 @@ function html_btn($name,$id,$akey,$params,$method='get',$tooltip='',$label=false * * @author Szymon Olewniczak <dokuwiki@imz.re> */ -function html_showrev($data) { - print p_locale_xhtml($data); +function html_showrev() { + print p_locale_xhtml('showrev'); } /** @@ -274,7 +274,7 @@ function html_show($txt=null){ }else{ if ($REV||$DATE_AT){ - $data = 'showrev'; + $data = array('rev' => &$REV, 'date_at' => &$DATE_AT); trigger_event('HTML_SHOWREV_OUTPUT', $data, 'html_showrev'); } $html = p_wiki_xhtml($ID,$REV,true,$DATE_AT); |