->['month_descr'], fix in registration page
authorRoland Häder <roland@mxchange.org>
Wed, 4 Mar 2009 20:35:30 +0000 (20:35 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 4 Mar 2009 20:35:30 +0000 (20:35 +0000)
inc/databases.php
inc/functions.php
inc/language/de.php
inc/modules/guest/what-register.php
inc/modules/guest/what-stats.php
inc/modules/member/what-holiday.php

index 40d8bd35c8f9c36699f767adf8c34751c19190cb..105db9ec14d13cf8e4c0a068c39539018e8d7f1a 100644 (file)
@@ -98,7 +98,7 @@ define('SERVER_URL', "http://www.mxchange.org");
 
 // Current SVN revision
 //define('CURR_SVN_REVISION', getActualVersion(0));
 
 // Current SVN revision
 //define('CURR_SVN_REVISION', getActualVersion(0));
-define('CURR_SVN_REVISION', "825");
+define('CURR_SVN_REVISION', "826");
 define('CURR_SVN_DATE'    , getActualVersion(1));
 define('CURR_SVN_VERSION' , getActualVersion(2));
 
 define('CURR_SVN_DATE'    , getActualVersion(1));
 define('CURR_SVN_VERSION' , getActualVersion(2));
 
index 58eeca9c43ae353e1da93d122ac1407a0a713b27..1465d609d15928ee16cb75884b8cba289ad061ec 100644 (file)
@@ -1108,7 +1108,6 @@ function array_pk_sort (&$array, $a_sort, $primary_key = 0, $order = -1, $nums =
 
 //
 function ADD_SELECTION ($type, $DEFAULT, $prefix="", $id="0") {
 
 //
 function ADD_SELECTION ($type, $DEFAULT, $prefix="", $id="0") {
-       global $MONTH_DESCR;
        $OUT = "";
 
        if ($type == "yn") {
        $OUT = "";
 
        if ($type == "yn") {
@@ -1133,7 +1132,7 @@ function ADD_SELECTION ($type, $DEFAULT, $prefix="", $id="0") {
                break;
 
        case "month": // Month
                break;
 
        case "month": // Month
-               foreach ($MONTH_DESCR as $month => $descr) {
+               foreach ($GLOBALS['month_descr'] as $month => $descr) {
                        $OUT .= "<option value=\"".$month."\"";
                        if ($DEFAULT == $month) $OUT .= " selected=\"selected\"";
                        $OUT .= ">".$descr."</option>\n";
                        $OUT .= "<option value=\"".$month."\"";
                        if ($DEFAULT == $month) $OUT .= " selected=\"selected\"";
                        $OUT .= ">".$descr."</option>\n";
index 7209f9f37864f7a8cd1d5aa9c9849bb21eb91d12..463d4701298c8974d328b4bd0fe72fc97979fab0 100644 (file)
@@ -716,7 +716,7 @@ define('BASE_URL_NOTE', "Ohne abschliessendem /!");
 define('ADMIN_WRONG_CALL', "Falscher Aufruf einer Aktion oder des Scriptes. Bitte navigieren Sie links weiter.");
 
 // Description of all months
 define('ADMIN_WRONG_CALL', "Falscher Aufruf einer Aktion oder des Scriptes. Bitte navigieren Sie links weiter.");
 
 // Description of all months
-$MONTH_DESCR = array(
+$GLOBALS['month_descr'] = array(
        '01' => "Januar",
        '02' => "Februar",
        '03' => "M&auml;rz",
        '01' => "Januar",
        '02' => "Februar",
        '03' => "M&auml;rz",
index 979b7813a7a9e5bb796ca09c237a4fc85c5be219..f211e88c6a9d3809bb1ee17f3d760140fc0beef8 100644 (file)
@@ -120,8 +120,8 @@ if (IS_FORM_SENT()) {
                        REQUEST_SET_POST('pass1', "!");
                        REQUEST_SET_POST('pass2', "!");
                } else {
                        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
                }
                $FAILED = true;
        } // END - if
index b7e9484bf9f36cb449a8f054d419cedfb51282ee..1be2f8e639d7ba4c9d80394136c4c5b9645ffe46 100644 (file)
@@ -131,7 +131,7 @@ case "MEMBERS": // Statistics about your members
                // Prepare data for template
                $content = array(
                        'l_class'  => $l,
                // Prepare data for template
                $content = array(
                        'l_class'  => $l,
-                       'm_descr'  => $MONTH_DESCR[$month],
+                       'm_descr'  => $GLOBALS['month_descr'][$month],
                        'r_class'  => $r,
                        'r2_class' => $r2,
                        'cnt'      => $cnt
                        'r_class'  => $r,
                        'r2_class' => $r2,
                        'cnt'      => $cnt
index 4b2c0ca3342725b8138909673f53f9ee4cfac0d2..e2894115d2ad6d5c9a6f5908152b9a63b2b17e19 100644 (file)
@@ -107,10 +107,10 @@ WHERE userid=%s LIMIT 1",
 
                // Prepare constants
                define('_START_DAY'  , REQUEST_POST('start_day'));
 
                // Prepare constants
                define('_START_DAY'  , REQUEST_POST('start_day'));
-               define('_START_MONTH', $MONTH_DESCR[REQUEST_POST('start_month')]);
+               define('_START_MONTH', $GLOBALS['month_descr'][REQUEST_POST('start_month')]);
                define('_START_YEAR' , REQUEST_POST('start_year'));
                define('_END_DAY'    , REQUEST_POST('end_day'));
                define('_START_YEAR' , REQUEST_POST('start_year'));
                define('_END_DAY'    , REQUEST_POST('end_day'));
-               define('_END_MONTH'  , $MONTH_DESCR[REQUEST_POST('end_month')]);
+               define('_END_MONTH'  , $GLOBALS['month_descr'][REQUEST_POST('end_month')]);
                define('_END_YEAR'   , REQUEST_POST('end_year'));
 
                // Send mail to member
                define('_END_YEAR'   , REQUEST_POST('end_year'));
 
                // Send mail to member