Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28078
Modified Files:
serendipity_functions.inc.php
Log Message:
right printf()ing
Index: serendipity_functions.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_functions.inc.php,v
retrieving revision 1.277
retrieving revision 1.278
diff -u -d -r1.277 -r1.278
--- serendipity_functions.inc.php 7 Jun 2004 09:49:55 -0000 1.277
+++ serendipity_functions.inc.php 7 Jun 2004 12:12:21 -0000 1.278
@@ -1455,7 +1455,7 @@
function serendipity_sendComment($to, $fromName, $fromEmail, $fromUrl, $id, $title, $comment, $type = 'NORMAL') {
global $serendipity;
-
+
if (empty($fromName)) {
$fromName = ANONYMOUS;
}
@@ -2545,7 +2545,7 @@
if (is_array($rows)) {
foreach ($rows as $row) {
printf(
- '<a href="%s://%1$s" title="%1$s" >%1$s</a> (%2$s)<br />',
+ '<a href="%1$s://%2$s" title="%2$s" >%2$s</a> (%3$s)<br />',
$row['scheme'],
$row['host'],
$row['total']
|