diff --git a/customindex/views/default/customindex/content.php b/customindex/views/default/customindex/content.php index 8fe42d7a5802b87274eceb2258c870e0ad3afdad..eff8434b078ae763fd4ec38e30e17d30967a158e 100644 --- a/customindex/views/default/customindex/content.php +++ b/customindex/views/default/customindex/content.php @@ -361,7 +361,11 @@ if (isloggedin()) {echo('291px;');}else{echo('51px;');} echo '"></span>'; echo ' <div style="padding:10px;">'; - echo '<p style="margin:0;"><a href="pg/profile/' . $row3['username'] . '">' . $row3['name'] . '</a>: ' . $row2['description'] . '</p>'; + + ; + + echo '<p style="margin:0;"><a href="pg/profile/' . $row3['username'] . '">' . $row3['name'] . '</a>: ' . preg_replace('@(https?://([-\w\.]+)+(:\d+)?(/([\w/_\.]*(\?\S+)?)?)?)@', '<a href="$1">$1</a>', $row2['description']) . '</p>'; + //echo '<p style="margin:0;"><a href="pg/profile/' . $row3['username'] . '">' . $row3['name'] . '</a>: ' . $row2['description'] . '</p>'; echo '<p style="margin:2px 0 3px 0; font-size:10px; clear:both;float:right"><em>' . friendly_time($row['time_updated']) . '</em></p>'; echo ' </div>'; echo '</div><div class="clear"></div>';