summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2005-08-07 15:47:26 +0200
committerAndreas Gohr <andi@splitbrain.org>2005-08-07 15:47:26 +0200
commitd94f45680c6cae83a65737b1b9603f39d7ae05b2 (patch)
treeeb8405b42b20d948ad7789aa08c1f4fa0bd42d07
parent1380fc452d56dd6f48ddbfa3a6b0e69edd043b04 (diff)
downloadrpg-d94f45680c6cae83a65737b1b9603f39d7ae05b2.tar.gz
rpg-d94f45680c6cae83a65737b1b9603f39d7ae05b2.tar.bz2
xhtml fix for recent changes #499
darcs-hash:20050807134726-7ad00-371965dc6bea32e86221e93b3a677bc1047fb089.gz
-rw-r--r--inc/html.php30
1 files changed, 27 insertions, 3 deletions
diff --git a/inc/html.php b/inc/html.php
index 7768a1005..ede4c325c 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -414,7 +414,15 @@ function html_revisions(){
print $date;
print ' <a href="'.wl($ID,"rev=$rev,do=diff").'">';
- print '<img src="'.DOKU_BASE.'lib/images/diff.png" border="0" width="15" height="11" title="'.$lang['diff'].'" />';
+ $p = array();
+ $p['src'] = DOKU_BASE.'lib/images/diff.png';
+ $p['border'] = 0;
+ $p['width'] = 15;
+ $p['height'] = 11;
+ $p['title'] = $lang['diff'];
+ $p['alt'] = $lang['diff'];
+ $att = buildAttributes($p);
+ print "<img $att />";
print '</a> ';
print '<a class="wikilink1" href="'.wl($ID,"rev=$rev").'">'.$ID.'</a> ';
@@ -466,11 +474,27 @@ function html_recent($first=0){
print $date.' ';
print '<a href="'.wl($id,"do=diff").'">';
- print '<img src="'.DOKU_BASE.'lib/images/diff.png" border="0" width="15" height="11" title="'.$lang['diff'].'" />';
+ $p = array();
+ $p['src'] = DOKU_BASE.'lib/images/diff.png';
+ $p['border'] = 0;
+ $p['width'] = 15;
+ $p['height'] = 11;
+ $p['title'] = $lang['diff'];
+ $p['alt'] = $lang['diff'];
+ $att = buildAttributes($p);
+ print "<img $att />";
print '</a> ';
print '<a href="'.wl($id,"do=revisions").'">';
- print '<img src="'.DOKU_BASE.'lib/images/history.png" border="0" width="12" height="14" title="'.$lang['btn_revs'].'" />';
+ $p = array();
+ $p['src'] = DOKU_BASE.'lib/images/history.png';
+ $p['border'] = 0;
+ $p['width'] = 12;
+ $p['height'] = 14;
+ $p['title'] = $lang['btn_revs'];
+ $p['alt'] = $lang['btn_revs'];
+ $att = buildAttributes($p);
+ print "<img $att />";
print '</a> ';
print html_wikilink($id,$conf['useheading']?NULL:$id);