Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9505
Modified Files:
NEWS serendipity_functions.inc.php
Log Message:
* Fixed losing commenting user details when previewing a comment
(garvinhicking)
Index: serendipity_functions.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_functions.inc.php,v
retrieving revision 1.253
retrieving revision 1.254
diff -u -d -r1.253 -r1.254
--- serendipity_functions.inc.php 15 Apr 2004 13:48:49 -0000 1.253
+++ serendipity_functions.inc.php 17 Apr 2004 11:30:42 -0000 1.254
@@ -209,17 +209,17 @@
<table border="0" width="100%" cellpadding="3">
<tr>
<td class="serendipity_commentsLabel"><?php echo NAME; ?></td>
- <td class="serendipity_commentsValue"><input type="text" name="serendipity[name]" value="<?php echo (isset($serendipity['POST']['name']) ? $serendipity['POST']['name'] : isset($serendipity['COOKIE']['name']) ? $serendipity['COOKIE']['name'] : ''); ?>" size="30" /></td>
+ <td class="serendipity_commentsValue"><input type="text" name="serendipity[name]" value="<?php echo (isset($serendipity['POST']['name']) ? $serendipity['POST']['name'] : (isset($serendipity['COOKIE']['name']) ? $serendipity['COOKIE']['name'] : '')); ?>" size="30" /></td>
</tr>
<tr>
<td class="serendipity_commentsLabel"><?php echo EMAIL; ?></td>
- <td class="serendipity_commentsValue"><input type="text" name="serendipity[email]" value="<?php echo (isset($serendipity['POST']['email']) ? $serendipity['POST']['email'] : isset($serendipity['COOKIE']['email']) ? $serendipity['COOKIE']['email'] : ''); ?>" /></td>
+ <td class="serendipity_commentsValue"><input type="text" name="serendipity[email]" value="<?php echo (isset($serendipity['POST']['email']) ? $serendipity['POST']['email'] : (isset($serendipity['COOKIE']['email']) ? $serendipity['COOKIE']['email'] : '')); ?>" /></td>
</tr>
<tr>
<td class="serendipity_commentsLabel"><?php echo HOMEPAGE; ?></td>
- <td class="serendipity_commentsValue"><input type="text" name="serendipity[url]" value="<?php echo (isset($serendipity['POST']['url']) ? $serendipity['POST']['url'] : isset($serendipity['COOKIE']['url']) ? $serendipity['COOKIE']['url'] : ''); ?>" /></td>
+ <td class="serendipity_commentsValue"><input type="text" name="serendipity[url]" value="<?php echo (isset($serendipity['POST']['url']) ? $serendipity['POST']['url'] : (isset($serendipity['COOKIE']['url']) ? $serendipity['COOKIE']['url'] : '')); ?>" /></td>
</tr>
<tr>
Index: NEWS
===================================================================
RCS file: /cvsroot/php-blog/serendipity/NEWS,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -d -r1.110 -r1.111
--- NEWS 15 Apr 2004 21:20:23 -0000 1.110
+++ NEWS 17 Apr 2004 11:30:42 -0000 1.111
@@ -38,6 +38,9 @@
Version 0.6 ()
------------------------------------------------------------------------
+ * Fixed losing commenting user details when previewing a comment
+ (garvinhicking)
+
* Added plugin for usage of CreativeCommons (creativecommons.org)
license for the blog's contents (Evan Nemerson)
|