Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8850
Modified Files:
Tag: branch_0_6
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.248.4.3
retrieving revision 1.248.4.4
diff -u -d -r1.248.4.3 -r1.248.4.4
--- serendipity_functions.inc.php 15 Apr 2004 13:48:09 -0000 1.248.4.3
+++ serendipity_functions.inc.php 17 Apr 2004 11:27:12 -0000 1.248.4.4
@@ -210,17 +210,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.103
retrieving revision 1.103.4.1
diff -u -d -r1.103 -r1.103.4.1
--- NEWS 2 Apr 2004 09:09:28 -0000 1.103
+++ NEWS 17 Apr 2004 11:27:11 -0000 1.103.4.1
@@ -3,6 +3,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)
|