From df02e4d387a924226f87eb2014fe738dcd5cbc44 Mon Sep 17 00:00:00 2001 From: rurban Date: Thu, 5 Aug 2004 17:23:54 +0000 Subject: [PATCH] add alt tag for xhtml conformance git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@3912 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/plugin/RateIt.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/plugin/RateIt.php b/lib/plugin/RateIt.php index 9afb930da..a72e012ad 100644 --- a/lib/plugin/RateIt.php +++ b/lib/plugin/RateIt.php @@ -1,5 +1,5 @@ pushContent(HTML::img($img_attr)); $a1->addToolTip(_("Rate the topic of this page")); @@ -384,6 +385,7 @@ function deleteRating(actionImg, page, dimension) { $img_attr = array(); $img_attr['src'] = $WikiTheme->_findData("images/RateItAction.png"); $img_attr['name'] = $actionImgName; + $img_attr['alt'] = $img_attr['name']; //$img_attr['class'] = 'k' . $i; $img_attr['border'] = 0; $html->pushContent(HTML::img($img_attr)); @@ -401,6 +403,9 @@ function deleteRating(actionImg, page, dimension) { // $Log: not supported by cvs2svn $ +// Revision 1.15 2004/07/09 12:50:50 rurban +// references are declared, not enforced +// // Revision 1.14 2004/07/08 20:30:07 rurban // plugin->run consistency: request as reference, added basepage. // encountered strange bug in AllPages (and the test) which destroys ->_dbi -- 2.45.0