Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9246
Modified Files:
serendipity_functions.inc.php
Log Message:
Add DEFAULT
Index: serendipity_functions.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_functions.inc.php,v
retrieving revision 1.376
retrieving revision 1.377
diff -u -d -r1.376 -r1.377
--- serendipity_functions.inc.php 28 Jul 2004 19:06:54 -0000 1.376
+++ serendipity_functions.inc.php 28 Jul 2004 19:18:07 -0000 1.377
@@ -1602,6 +1602,9 @@
/* Link to the user's website, if the URL is valid */
$showlink = serendipity_get_config_var('top_as_links', true);
+ if ($showlink === true) {
+ $linktext = ' (<a href="' . str_replace('"', '"', $comment['url']) . '" ' . serendipity_xhtml_target('_blank') . ' title="' . htmlspecialchars($comment['url']) . '">Link</a>)';
+ }
if (($showlink === true) && (!isset($comment['type']) || $comment['type'] != 'trackback') && !empty($comment['url']) && $comment['url'] != 'http://' && eregi('^https?://', $comment['url'])) {
echo ' (<a href="' . str_replace('"', '"', $comment['url']) . '" ' . serendipity_xhtml_target('_blank') . ' title="' . htmlspecialchars($comment['url']) . '">Link</a>)';
}
|