Project

General

Profile

Bug #22127 ยป patch13556.diff

Administrator Admin, 2010-05-21 13:15

View differences:

t3lib/jsfunc.validateform.js (Arbeitskopie)
}
if (formObject && theFieldlist) {
var index=1;
var theField = split(theFieldlist, ",", index);
var theField = split(theFieldlist, "|", index);
var msg="";
var theEreg = '';
var theEregMsg = '';
......
specialMode = theField;
index++;
theEregMsg = split(theFieldlist, ",", index);
theEregMsg = split(theFieldlist, "|", index);
index++;
theEreg = split(theFieldlist, ",", index);
theEreg = split(theFieldlist, "|", index);
} else if (theField == '_EMAIL') {
specialMode = theField;
}
......
// Get real field name if special mode has been set:
if (specialMode) {
index++;
theField = split(theFieldlist, ",", index);
theField = split(theFieldlist, "|", index);
}
index++;
theLabel = split(theFieldlist, ",", index);
theLabel = split(theFieldlist, "|", index);
theField = theField;
if (formObject[theField]) {
var fObj = formObject[theField];
......
}
}
index++;
theField = split(theFieldlist, ",", index);
theField = split(theFieldlist, "|", index);
}
if (msg) {
var theBadMess = badMess;
typo3/sysext/cms/tslib/class.tslib_content.php (Arbeitskopie)
if ($conf['REQ']) {
$validateForm = ' onsubmit="return validateForm(\'' .
$formname . '\',\'' . implode(',',$fieldlist) . '\',' .
$formname . '\',\'' . implode('|',$fieldlist) . '\',' .
t3lib_div::quoteJSvalue($conf['goodMess']) . ',' .
t3lib_div::quoteJSvalue($conf['badMess']) . ',' .
t3lib_div::quoteJSvalue($conf['emailMess']) . ')"';
    (1-1/1)