From 37a1dc12655862a2f6e02b06145bd31a2f8b5489 Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 12 Oct 2008 22:11:22 +0200 Subject: Changed html_revisions() to use Doku_Form, FS#1064 html_revisions() uses Doku_Form now like html_recent(), the new event HTML_REVISIONSFORM_OUTPUT can be used to create action-plugins to customize the revisions-ouput like e.g. suggested in FS#1064. darcs-hash:20081012201122-074e0-c965ada0cc5ff572cc905d5fc7152a94c93b2741.gz --- inc/html.php | 132 ++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 86 insertions(+), 46 deletions(-) (limited to 'inc') diff --git a/inc/html.php b/inc/html.php index f9c58c896..80cefd9b1 100644 --- a/inc/html.php +++ b/inc/html.php @@ -424,28 +424,48 @@ function html_revisions($first=0){ $date = @strftime($conf['dformat'],$INFO['lastmod']); print p_locale_xhtml('revisions'); - print '
'; - print ''; - print ''; - print '
'; + $form->addElement(form_makeCloseTag('ul')); + $form->addElement(form_makeButton('submit', 'diff', $lang['diff2'])); + html_form('revisions', $form); print '