patch13556.diff

Administrator Admin, 2010-05-21 13:15

Download (2.02 KB)

View differences:

t3lib/jsfunc.validateform.js (Arbeitskopie)
29 29
	}
30 30
	if (formObject && theFieldlist)	{
31 31
		var index=1;
32
		var theField = split(theFieldlist, ",", index);
32
		var theField = split(theFieldlist, "|", index);
33 33
		var msg="";
34 34
		var theEreg = '';
35 35
		var theEregMsg = '';
......
45 45
				specialMode = theField;
46 46

  
47 47
				index++;
48
				theEregMsg = split(theFieldlist, ",", index);
48
				theEregMsg = split(theFieldlist, "|", index);
49 49
				index++;
50
				theEreg = split(theFieldlist, ",", index);
50
				theEreg = split(theFieldlist, "|", index);
51 51
			} else if (theField == '_EMAIL')	{
52 52
				specialMode = theField;
53 53
			}
......
55 55
				// Get real field name if special mode has been set:
56 56
			if (specialMode)	{
57 57
				index++;
58
				theField = split(theFieldlist, ",", index);
58
				theField = split(theFieldlist, "|", index);
59 59
			}
60 60

  
61 61
			index++;
62
			theLabel = split(theFieldlist, ",", index);
62
			theLabel = split(theFieldlist, "|", index);
63 63
			theField = theField;
64 64
			if (formObject[theField])	{
65 65
				var fObj = formObject[theField];
......
128 128
				}
129 129
			}
130 130
			index++;
131
			theField = split(theFieldlist, ",", index);
131
			theField = split(theFieldlist, "|", index);
132 132
		}
133 133
		if (msg)	{
134 134
			var theBadMess = badMess;
typo3/sysext/cms/tslib/class.tslib_content.php (Arbeitskopie)
2205 2205

  
2206 2206
		if ($conf['REQ'])	{
2207 2207
			$validateForm = ' onsubmit="return validateForm(\'' .
2208
				$formname . '\',\'' . implode(',',$fieldlist) . '\',' .
2208
				$formname . '\',\'' . implode('|',$fieldlist) . '\',' .
2209 2209
				t3lib_div::quoteJSvalue($conf['goodMess']) . ',' .
2210 2210
				t3lib_div::quoteJSvalue($conf['badMess']) . ',' .
2211 2211
				t3lib_div::quoteJSvalue($conf['emailMess']) . ')"';