// 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));
//
function ADD_SELECTION ($type, $DEFAULT, $prefix="", $id="0") {
- global $MONTH_DESCR;
$OUT = "";
if ($type == "yn") {
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";
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ärz",
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
// 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
// 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('_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