From 8d9e6ae7b19a9971ec0d95cc904de6c07e6647dc Mon Sep 17 00:00:00 2001 From: Anika Henke Date: Fri, 2 Jul 2010 23:56:08 +0100 Subject: improved diff permalink --- inc/html.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'inc/html.php') diff --git a/inc/html.php b/inc/html.php index 1b9a8d680..b475e2b7a 100644 --- a/inc/html.php +++ b/inc/html.php @@ -993,9 +993,10 @@ function html_diff($text='',$intro=true){ if($intro) print p_locale_xhtml('diff'); if (!$text) { - ptln('

'); - ptln(' '.$lang['difflink'].''); - ptln('

'); + $diffurl = wl($ID, array('do'=>'diff', 'rev2[0]'=>$l_rev, 'rev2[1]'=>$r_rev)); + ptln(''); } ?> -- cgit v1.2.3