diff options
author | Michael Hamann <michael@content-space.de> | 2012-07-25 17:40:34 +0200 |
---|---|---|
committer | Michael Hamann <michael@content-space.de> | 2012-07-25 17:44:15 +0200 |
commit | 0686da461503e8b1161e3aaedbb8a42795e1f095 (patch) | |
tree | 485286dc1eb69029826890028fb8d6687248d697 | |
parent | 71e14df475a4a212fd2a7b6efa38ef95352401f8 (diff) | |
download | rpg-0686da461503e8b1161e3aaedbb8a42795e1f095.tar.gz rpg-0686da461503e8b1161e3aaedbb8a42795e1f095.tar.bz2 |
Fix icon alt text for page changes
The alt text is now the page id as it is the media id for media changes,
previously it was empty as $filename is undefined in that context.
-rw-r--r-- | inc/html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/html.php b/inc/html.php index 0afdb1820..83e1f3643 100644 --- a/inc/html.php +++ b/inc/html.php @@ -709,7 +709,7 @@ function html_recent($first=0, $show_changes='both'){ $form->addElement(media_printicon($recent['id'])); } else { $icon = DOKU_BASE.'lib/images/fileicons/file.png'; - $form->addElement('<img src="'.$icon.'" alt="'.$filename.'" class="icon" />'); + $form->addElement('<img src="'.$icon.'" alt="'.$recent['id'].'" class="icon" />'); } $form->addElement(form_makeOpenTag('span', array('class' => 'date'))); |