summaryrefslogtreecommitdiff
path: root/inc/html.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/html.php')
-rw-r--r--inc/html.php7
1 files changed, 4 insertions, 3 deletions
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('<div class="level1"><p>');
- ptln(' <a class="wikilink1" href="'.wl($ID, 'do=diff&rev2[]='.$l_rev.'&rev2[]='.$r_rev).'">'.$lang['difflink'].'</a>');
- ptln('</p></div>');
+ $diffurl = wl($ID, array('do'=>'diff', 'rev2[0]'=>$l_rev, 'rev2[1]'=>$r_rev));
+ ptln('<p class="difflink">');
+ ptln(' <a class="wikilink1" href="'.$diffurl.'">'.$lang['difflink'].'</a>');
+ ptln('</p>');
}
?>
<table class="diff">