From: <vb...@us...> - 2002-09-26 12:54:36
|
Update of /cvsroot/webnotes/webnotes/core In directory usw-pr-cvs1:/tmp/cvs-serv24780/core Modified Files: string_api.php Log Message: - 0000065: Emotion icons (added rest of emotions) Index: string_api.php =================================================================== RCS file: /cvsroot/webnotes/webnotes/core/string_api.php,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- string_api.php 26 Sep 2002 12:29:30 -0000 1.8 +++ string_api.php 26 Sep 2002 12:54:33 -0000 1.9 @@ -74,11 +74,21 @@ $sad = '<img src="' . $images_dir . 'sad.gif" alt=":(" />'; $wink = '<img src="' . $images_dir . 'wink.gif" alt=";)" />'; $big_smile = '<img src="' . $images_dir . 'bigsmile.gif" alt=":D" />'; + $cool = '<img src="' . $images_dir . 'cool.gif" alt="8-D" />'; + $mad = '<img src="' . $images_dir . 'mad.gif" alt=">-(" />'; + $shocked = '<img src="' . $images_dir . 'shocked.gif" alt=":-*" />'; $p_note = str_replace( ':)', $smile, $p_note ); + $p_note = str_replace( ':-)', $smile, $p_note ); $p_note = str_replace( ':(', $sad, $p_note ); + $p_note = str_replace( ':-(', $sad, $p_note ); $p_note = str_replace( ';)', $wink, $p_note ); + $p_note = str_replace( ';-)', $wink, $p_note ); $p_note = str_replace( ':D', $big_smile, $p_note ); + $p_note = str_replace( ':-D', $big_smile, $p_note ); + $p_note = str_replace( '8-)', $cool, $p_note ); + $p_note = str_replace( '>-(', $mad, $p_note ); + $p_note = str_replace( ':-*', $shocked, $p_note ); return ( $p_note ); } |