diff options
author | Anika Henke <anika@selfthinker.org> | 2011-04-16 12:51:56 +0100 |
---|---|---|
committer | Anika Henke <anika@selfthinker.org> | 2011-04-16 12:51:56 +0100 |
commit | c2e7388603824fb21afecae11b46d07de5d1c54c (patch) | |
tree | 532ba9a42dd6bbdb67da61aeed2dd410521a35ab | |
parent | 6cd259d7de1e82b753b5b7ce593637e58b36288b (diff) | |
download | rpg-c2e7388603824fb21afecae11b46d07de5d1c54c.tar.gz rpg-c2e7388603824fb21afecae11b46d07de5d1c54c.tar.bz2 |
don't use form_makeTag() for blank.gif as empty attributes are not passed on (which resulted in a missing alt attribute)
-rw-r--r-- | inc/html.php | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/inc/html.php b/inc/html.php index be4cb4f9c..0774086f9 100644 --- a/inc/html.php +++ b/inc/html.php @@ -457,11 +457,7 @@ function html_revisions($first=0){ $form->addElement($date); $form->addElement(form_makeCloseTag('span')); - $form->addElement(form_makeTag('img', array( - 'src' => DOKU_BASE.'lib/images/blank.gif', - 'width' => '15', - 'height' => '11', - 'alt' => ''))); + $form->addElement('<img src="'.DOKU_BASE.'lib/images/blank.gif" width="15" height="11" alt="" />'); $form->addElement(form_makeOpenTag('a', array( 'class' => 'wikilink1', @@ -499,11 +495,7 @@ function html_revisions($first=0){ 'name' => 'rev2[]', 'value' => $rev))); }else{ - $form->addElement(form_makeTag('img', array( - 'src' => DOKU_BASE.'lib/images/blank.gif', - 'width' => 14, - 'height' => 11, - 'alt' => ''))); + $form->addElement('<img src="'.DOKU_BASE.'lib/images/blank.gif" width="15" height="11" alt="" />'); } $form->addElement(form_makeOpenTag('span', array('class' => 'date'))); @@ -524,11 +516,7 @@ function html_revisions($first=0){ $form->addElement($ID); $form->addElement(form_makeCloseTag('a')); }else{ - $form->addElement(form_makeTag('img', array( - 'src' => DOKU_BASE.'lib/images/blank.gif', - 'width' => '15', - 'height' => '11', - 'alt' => ''))); + $form->addElement('<img src="'.DOKU_BASE.'lib/images/blank.gif" width="15" height="11" alt="" />'); $form->addElement($ID); } |