Update of /cvsroot/php-blog/serendipity/plugins/serendipity_event_emoticate
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3164/plugins/serendipity_event_emoticate
Modified Files:
serendipity_event_emoticate.php
Log Message:
make the alt="" human readable
Index: serendipity_event_emoticate.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/plugins/serendipity_event_emoticate/serendipity_event_emoticate.php,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- serendipity_event_emoticate.php 16 Feb 2005 10:26:05 -0000 1.23
+++ serendipity_event_emoticate.php 21 Feb 2005 10:54:56 -0000 1.24
@@ -172,7 +172,7 @@
foreach ($this->getEmoticons() as $key => $value) {
$element = preg_replace("/([\t\s\.\!>]+)" . $key . "([\t\s\!\.\)<]+|\$)/U",
- "$1<img src=\"$value\" alt=\"$key\" style=\"display: inline; vertical-align: bottom;\" class=\"emoticon\" />$2",
+ "$1<img src=\"$value\" alt=\"" . $this->humanReadableEmoticon($key) . "\" style=\"display: inline; vertical-align: bottom;\" class=\"emoticon\" />$2",
$element);
}
}
|