]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-register.php
Floater added, admin_header.tpl added, EL code improved:
[mailer.git] / inc / modules / guest / what-register.php
index d38988eb589c61ac352094d2278b1a507ffabf2f..01773d9b814bed13e12931bcf76744c885974122 100644 (file)
@@ -14,8 +14,6 @@
  * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
  * $Author::                                                          $ *
- * Needs to be in all Files and every File needs "svn propset           *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
  * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
@@ -72,7 +70,7 @@ if ((isFormSent()) && (isRegistrationDataComplete())) {
                        registerOutputFailedMessage('ENTER_EMAIL');
                        setPostRequestParameter('email', '');
                } elseif (postRequestParameter('email') == '?') {
-                       registerOutputFailedMessage('EMAIL_ALREADY_DB');
+                       registerOutputFailedMessage('GUEST_EMAIL_ALREADY_DB');
                        setPostRequestParameter('email', '');
                }
 
@@ -103,7 +101,7 @@ if ((isFormSent()) && (isRegistrationDataComplete())) {
                } // END - if
 
                if ((!empty($GLOBALS['register_selected_cats'])) && ($GLOBALS['register_selected_cats'] < getConfig('least_cats'))) {
-                       registerOutputFailedMessage('', getMessage('CATS_LEAST'));
+                       registerOutputFailedMessage('', '{--CATS_LEAST--}');
                } // END - if
        } // END - if
 
@@ -127,10 +125,10 @@ if ((isFormSent()) && (isRegistrationDataComplete())) {
        // Shall I display the refid or shall I make it editable?
        if (getConfig('display_refid') == 'Y') {
                // Load "hide" form template
-               $content['refid_content'] = loadTemplate('guest_register_refid_hide', true, determineReferalId());
+               $content['refid_content'] = loadTemplate('guest_register_refid_hide', true);
        } else {
                // Load template to enter it
-               $content['refid_content'] = loadTemplate('guest_register_refid', true, determineReferalId());
+               $content['refid_content'] = loadTemplate('guest_register_refid', true);
        }
 
        // You may want to modify the register_header.tpl.xx file and not this script when you add your scripts etc. :-)
@@ -152,7 +150,7 @@ if ((isFormSent()) && (isRegistrationDataComplete())) {
        if (isAdmin()) $whereStatement = '';
 
        // Prepare country selection box
-       $OUT  = '<select name="country_code" class="guest_select" size="1">';
+       $OUT  = '<select name="country_code" class="form_select" size="1">';
        $OUT .= generateOptionList('countries', 'id', 'descr', postRequestParameter('country_code'), 'code', $whereStatement);
        $OUT .= '</select>';
        $content['country'] = $OUT;