define('SERVER_URL', "http://www.mxchange.org");
// This current patch level
-define('CURR_SVN_REVISION', "318");
+define('CURR_SVN_REVISION', "319");
// Take a prime number which is long (if you know a longer one please try it out!)
define('_PRIME', 591623);
case "0.4.6": // SQL queries for v0.4.6
$SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_user_data ADD gender ENUM ('M','F') NOT NULL DEFAULT 'M'";
$SQLs[] = "UPDATE "._MYSQL_PREFIX."_user_data SET gender=sex WHERE sex != 'M'";
- $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_user_data DROP gender";
+ $SQLs[] = "ALTER TABLE "._MYSQL_PREFIX."_user_data DROP sex";
// Update notes (these will be set as task text!)
$UPDATE_NOTES = "Offensives Wort "Sex" gegen "Gender" ausgetauscht.";
}
//
function GET_POOL_TYPE($PT) {
- switch ($PT)
- {
- case "TEMP" : $ret = POOL_TEMP; break;
- case "SEND" : $ret = POOL_SEND; break;
- case "NEW" : $ret = POOL_NEW; break;
- case "ADMIN" : $ret = POOL_ADMIN; break;
- case "ACTIVE" : $ret = POOL_ACTIVE; break;
- case "DELETED": $ret = POOL_DELETED; break;
- default : $ret = POOL_UNKNOWN." (".$PT.")"; break;
- }
+ // Unknown pool type is default
+ $ret = POOL_UNKNOWN." (".$PT.")";
+
+ // Generate constant name
+ $constantName = sprintf("POOL_%s", $PT);
+
+ // Is the type known?
+ if (defined($constantName)) {
+ // Prepare eval command
+ $eval = sprintf("\$ret = %s;", $constantName);
+ eval($eval);
+ } // END - if
+
+ // Return result
return $ret;
}
//
define('MEMBER_EDIT_PROFILE', "Profildaten ändern");
define('GENDER', "Geschlecht");
define('GUEST_GENDER', "Geschlecht");
-define('GENDER_M', "Männlich");
-define('GENDER_F', "Weiblich");
+define('GENDER_M', "Herr");
+define('GENDER_F', "Frau");
define('GENDER_C', ""Firma"");
define('SAVE_CHANGES', "Änderungen speichern");
define('MYDATA_NOTE', "Geben Sie nur bei <strong>Passwort</strong> Ihr aktuelles Passwort ein, wenn Sie nur Daten ändern wollen. Geben Sie bei <strong>Passwortbestätigung</strong> das neue Passwort erneut ein, wenn Sie Ihr aktuelles Passwort ändern wollen.");
define('POOL_TEMP', "Neuer Auftrag");
define('POOL_SEND', "Gesendet");
define('POOL_NEW', "Wartet auf Versand");
+define('POOL_QUEUE', "Wird versendet");
define('POOL_ADMIN', "Wartet auf Freischaltung");
define('EMAIL_SENDER', "Versender");
define('EMAIL_SUBJECT', "Betreffzeile");
* MA 02110-1301 USA *
************************************************************************/
-// APD call (if you have this apache extension and want to debug this script for us)
-//apd_set_pprof_trace();
+// XDEBUG call
+//xdebug_start_trace();
// Load security stuff here (Oh, I hope this is not unsecure? Am I paranoia??? ;-) )
require_once ("inc/libs/security_functions.php");