OSDN Git Service

v0.44 - bugfix and add 'alt' property of img tag
authorkadota <kadota@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Wed, 10 Dec 2008 08:56:55 +0000 (08:56 +0000)
committerkadota <kadota@1ca29b6e-896d-4ea0-84a5-967f57386b96>
Wed, 10 Dec 2008 08:56:55 +0000 (08:56 +0000)
git-svn-id: https://svn.sourceforge.jp/svnroot/nucleus-jp/plugin@715 1ca29b6e-896d-4ea0-84a5-967f57386b96

trunk/NP_TodoList/NP_TodoList.php

index 67f9c0a..e6dbdfa 100644 (file)
@@ -250,7 +250,7 @@ class NP_TodoList extends NucleusPlugin {
                                        echo "<li>";\r
                                        $img_file = 'rank'.$l->rank.'.gif';\r
                                        $img_title = $this->rankname[$l->rank];\r
-                               echo "<img class='icon-mid' src='$img_path$img_file' width='14' height='14' title='$img_title' />";\r
+                               echo "<img class='icon-mid' src='$img_path$img_file' width='14' height='14' alt='$img_title' title='$img_title' />";\r
                                }\r
                                \r
                                if ($editmode) {\r
@@ -273,7 +273,7 @@ class NP_TodoList extends NucleusPlugin {
                                else {\r
                                        $img_file = 'cond'.$l->cond.'.gif';\r
                                        $img_title = $this->condname[$l->cond];\r
-                               echo " <img class='icon-mid' src='$img_path$img_file' width='52' height='14' title='$img_title' />";\r
+                               echo " <img class='icon-mid' src='$img_path$img_file' width='52' height='14' alt='$img_title' title='$img_title' />";\r
                                }\r
                                \r
                                if ($editmode and $showmode != 'nodate') {\r