]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-register.php
More XHTML-fied and extended header added to templates
[mailer.git] / inc / modules / guest / what-register.php
index 979b7813a7a9e5bb796ca09c237a4fc85c5be219..08bc75286c7bea7fb1735b74d705f09136f3f679 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Anmeldeformular                                  *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision:: 856                                                    $ *
+ * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. March 2009)             $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author:: stelzi                                                   $ *
+ * Needs to be in all Files and every File needs "svn propset           *
+ * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2008 by Roland Haeder                           *
  * For more information visit: http://www.mxchange.org                  *
@@ -120,8 +125,8 @@ if (IS_FORM_SENT()) {
                        REQUEST_SET_POST('pass1', "!");
                        REQUEST_SET_POST('pass2', "!");
                } else {
-                       if (!REQUEST_ISSET_POST(('pass1'))) { REQUEST_SET_POST('pass1', "!"); } else { REQUEST_SET_POST('pass1' ""); }
-                       if (!REQUEST_ISSET_POST(('pass2'))) { REQUEST_SET_POST('pass2', "!"); } else { REQUEST_SET_POST('pass2' ""); }
+                       if (!REQUEST_ISSET_POST(('pass1'))) { REQUEST_SET_POST('pass1', "!"); } else { REQUEST_SET_POST('pass1', ""); }
+                       if (!REQUEST_ISSET_POST(('pass2'))) { REQUEST_SET_POST('pass2', "!"); } else { REQUEST_SET_POST('pass2', ""); }
                }
                $FAILED = true;
        } // END - if
@@ -170,7 +175,7 @@ if (IS_FORM_SENT()) {
 
 if ((IS_FORM_SENT()) && ((!$FAILED) || (IS_ADMIN()))) {
        // Prepapre month and day of birth
-       if (strlen(REQUEST_POST('day'))   == 1) REQUEST_POST('day')   = "0".REQUEST_POST('day');
+       if (strlen(REQUEST_POST('day'))   == 1) REQUEST_SET_POST('day'  , "0".REQUEST_POST('day'));
        if (strlen(REQUEST_POST('month')) == 1) REQUEST_SET_POST('month', "0".REQUEST_POST('month'));
 
        // Get total ...
@@ -402,7 +407,7 @@ VALUES ('%s','%s','%s','%s','%s',%s,'%s','%s',%s, %s,%s,'%s',%s, %s,'%s','UNCONF
        } // END - if
 
        if ((!empty($cats)) && ($cats < getConfig('least_cats'))) {
-               OUTPUT_HTML("<div class=\"register_failed\">{--CATS_LEAST--}: ".getConfig('least_cats')."</div>");
+               OUTPUT_HTML("<div class=\"register_failed\">".sprintf(getMessage('CATS_LEAST'), getConfig('least_cats'))."</div>");
        } // END - if
 
        // Generate birthday selection