summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandi <andi@splitbrain.org>2005-04-25 19:30:15 +0200
committerandi <andi@splitbrain.org>2005-04-25 19:30:15 +0200
commitf9b2fe70ed6834aa0e5267c2b9a756f3005d0940 (patch)
treeb745ce4138a85e88358dad60442d7d7e277b3461
parent30f1737da3d78693c37d6d8e2cb46fc02f50ad13 (diff)
downloadrpg-f9b2fe70ed6834aa0e5267c2b9a756f3005d0940.tar.gz
rpg-f9b2fe70ed6834aa0e5267c2b9a756f3005d0940.tar.bz2
changed order in recents and revisions
darcs-hash:20050425173015-9977f-b717caa94e11cc65c1a449077dd6a6431018d89a.gz
-rw-r--r--inc/html.php19
1 files changed, 14 insertions, 5 deletions
diff --git a/inc/html.php b/inc/html.php
index 7ebe1d6a1..5de965a4c 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -395,9 +395,12 @@ function html_revisions(){
print '<ul>';
if($INFO['exists']){
print '<li>';
- print '<img src="'.DOKU_BASE.'images/blank.gif" border="0" width="15" height="11" alt="" /> ';
- print $date.' <a class="wikilink1" href="'.wl($ID).'">'.$ID.'</a> ';
+ print $date;
+
+ print ' <img src="'.DOKU_BASE.'images/blank.gif" border="0" width="15" height="11" alt="" /> ';
+
+ print '<a class="wikilink1" href="'.wl($ID).'">'.$ID.'</a> ';
print $INFO['sum'];
print ' <span class="user">(';
@@ -414,11 +417,15 @@ function html_revisions(){
$info = getRevisionInfo($ID,$rev);
print '<li>';
- print '<a href="'.wl($ID,"rev=$rev,do=diff").'">';
+
+ print $date;
+
+ print ' <a href="'.wl($ID,"rev=$rev,do=diff").'">';
print '<img src="'.DOKU_BASE.'images/diff.png" border="0" width="15" height="11" title="'.$lang['diff'].'" />';
print '</a> ';
- print $date.' <a class="wikilink1" href="'.wl($ID,"rev=$rev").'">'.$ID.'</a> ';
+ print '<a class="wikilink1" href="'.wl($ID,"rev=$rev").'">'.$ID.'</a> ';
+
print htmlspecialchars($info['sum']);
print ' <span class="user">(';
print $info['ip'];
@@ -446,6 +453,8 @@ function html_recent(){
$date = date($conf['dformat'],$recents[$id]['date']);
print '<li>';
+ print $date.' ';
+
print '<a href="'.wl($id,"do=diff").'">';
print '<img src="'.DOKU_BASE.'images/diff.png" border="0" width="15" height="11" title="'.$lang['diff'].'" />';
print '</a> ';
@@ -454,8 +463,8 @@ function html_recent(){
print '<img src="'.DOKU_BASE.'images/history.png" border="0" width="12" height="14" title="'.$lang['btn_revs'].'" />';
print '</a> ';
+ print html_wikilink($id,$id);
- print $date.' '.html_wikilink($id,$id);
print ' '.htmlspecialchars($recents[$id]['sum']);
print ' <span class="user">(';
print $recents[$id]['ip'];