[Laszlo-checkins] r13663 - tools/trunk/comdoc

hqm@openlaszlo.org hqm at openlaszlo.org
Mon Apr 13 13:11:50 PDT 2009


Author: hqm
Date: 2009-04-13 13:11:49 -0700 (Mon, 13 Apr 2009)
New Revision: 13663

Modified:
   tools/trunk/comdoc/defs.php
   tools/trunk/comdoc/leavecomment.php
   tools/trunk/comdoc/reject.php
   tools/trunk/comdoc/show.php
Log:
add confirmatin email field

Modified: tools/trunk/comdoc/defs.php
===================================================================
--- tools/trunk/comdoc/defs.php	2009-04-13 10:30:06 UTC (rev 13662)
+++ tools/trunk/comdoc/defs.php	2009-04-13 20:11:49 UTC (rev 13663)
@@ -20,13 +20,13 @@
 $reviewers = array("henry.minsky at gmail.com", 
 	           "rajubitter at me.com",
                    "ptw at laszlosystems.com",
-                   "promanik at laszlosystems.com",
+		   //		   "promanik at laszlosystems.com",
                    "max at laszlosystems.com",
-                   "liorio at laszlosystems.com",
+		   //                   "liorio at laszlosystems.com",
                    "amuntz at laszlosystems.com", 
-                   "jcrowley at laszlosystems.com"); 
+		   //                   "jcrowley at laszlosystems.com"
+		   ); 
 
 
-$reviewers = array("henry.minsky at gmail.com"); 
 
 ?>

Modified: tools/trunk/comdoc/leavecomment.php
===================================================================
--- tools/trunk/comdoc/leavecomment.php	2009-04-13 10:30:06 UTC (rev 13662)
+++ tools/trunk/comdoc/leavecomment.php	2009-04-13 20:11:49 UTC (rev 13663)
@@ -34,6 +34,7 @@
 $uid = date("U");
 $author = $_REQUEST['author'];
 $email = $_REQUEST['email'];
+ $email2 = $_REQUEST['email2'];
 
 $pwd = $_REQUEST['pwd'];
 if ($pwd != $password) {
@@ -41,6 +42,11 @@
 
 }
 
+ if ($email != $email2) {
+   exit("Sorry, your email address and confirmation email address don't match, please go back and try entering them again.");
+
+}
+
 if ($author == '') {
    $author = "Unknown";
 }

Modified: tools/trunk/comdoc/reject.php
===================================================================
--- tools/trunk/comdoc/reject.php	2009-04-13 10:30:06 UTC (rev 13662)
+++ tools/trunk/comdoc/reject.php	2009-04-13 20:11:49 UTC (rev 13663)
@@ -1,6 +1,6 @@
 <?php
 
-// approve a comment. 
+// reject a comment. 
 //
 // arguments: 
 // uid -- uid of message
@@ -35,7 +35,7 @@
 
 $subject = "Your comment has not been approved for inclusion in the doc pages";
 
-$reason = "Your comment was not accepted to add directly to the OpenLaszlo documentation page.\n\n" .
+$reason = "Thank you for submitting a comment for the documention. However your comment was not accepted to add directly to the OpenLaszlo documentation page.\n\n" .
 "This could be because your comment was a bug report, question or request for support, or was\n" .
 "in error or could not be understood by the reviewer.\n" .
 "\n" .

Modified: tools/trunk/comdoc/show.php
===================================================================
--- tools/trunk/comdoc/show.php	2009-04-13 10:30:06 UTC (rev 13662)
+++ tools/trunk/comdoc/show.php	2009-04-13 20:11:49 UTC (rev 13663)
@@ -80,8 +80,10 @@
 
 dprint('<b>Nickname:</b> <input type="text" name="author" value="" />');
 dprint('<p>');
-dprint('<b>Email:</b> <input type="text" name="email" value="" /> (will not be published, only used to inform you of your comment\'s status)');
+dprint('<b>Email Address:</b> <input type="text" name="email" value="" /> (will not be published, only used to inform you of your comment\'s status)');
 dprint('<p>');
+dprint('<b>Confirm Email Address:</b> <input type="text" name="email2" value="" /> ');
+dprint('<p>');
 dprint('<b>Anti-spam question: ');
 dprint("  <blockquote>$antispam<p>");
 dprint('<input type="text" maxlength="2" size="2" name="pwd" value="" />');



More information about the Laszlo-checkins mailing list