Changeset 396177
- Timestamp:
- 06/12/2011 07:23:26 AM (15 years ago)
- Location:
- chat/trunk
- Files:
-
- 2 edited
-
chat.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
chat/trunk/chat.php
r396162 r396177 9 9 Author: S H Mohanjith (Incsub) 10 10 WDP ID: 223 11 Version: 1.0. 511 Version: 1.0.6 12 12 Stable tag: trunk 13 13 Author URI: http://premium.wpmudev.org … … 1940 1940 1941 1941 if(($message) != "\n" && ($message) != "<br />" && ($message) != "") { 1942 if(preg_match($reg_exUrl, $message, $url)) { 1943 $message = preg_replace($reg_exUrl, '<a href="'.$url[0].'" target="_blank">'.$url[0].'</a>', $message); 1942 if(preg_match_all($reg_exUrl, $message, $urls) && isset($urls[0]) && count($urls[0]) > 0) { 1943 foreach ($urls[0] as $url) { 1944 $message = str_replace($url, '<a href="'.$url.'" target="_blank">'.$url.'</a>', $message); 1944 1945 } 1946 } 1945 1947 } 1946 1948 -
chat/trunk/readme.txt
r395666 r396177 55 55 == ChangeLog == 56 56 57 = 1.0.6 = 58 * Allow multiple links to be in the chat message 59 57 60 = 1.0.5 = 58 61 * Removing update notification
Note: See TracChangeset
for help on using the changeset viewer.