Project

General

Profile

Bug #21776 » 12889_2.diff

Administrator Admin, 2010-09-30 15:11

View differences:

typo3/sysext/cms/tslib/media/scripts/fe_adminLib.inc (working copy)
foreach ($this->conf['parseValues.'] as $theField => $theValue) {
$listOfCommands = t3lib_div::trimExplode(',',$theValue,1);
foreach ($listOfCommands as $cmd) {
$cmdParts = split('\[|\]',$cmd); // Point is to enable parameters after each command enclosed in brackets [..]. These will be in position 1 in the array.
$cmdParts = preg_split('/\[|\]/', $cmd); // Point is to enable parameters after each command enclosed in brackets [..]. These will be in position 1 in the array.
$theCmd=trim($cmdParts[0]);
switch($theCmd) {
case 'int':
......
foreach ($this->conf[$this->cmdKey.'.']['evalValues.'] as $theField => $theValue) {
$listOfCommands = t3lib_div::trimExplode(',',$theValue,1);
foreach ($listOfCommands as $cmd) {
$cmdParts = split('\[|\]',$cmd); // Point is to enable parameters after each command enclosed in brackets [..]. These will be in position 1 in the array.
$cmdParts = preg_split('/\[|\]/', $cmd); // Point is to enable parameters after each command enclosed in brackets [..]. These will be in position 1 in the array.
$theCmd = trim($cmdParts[0]);
switch($theCmd) {
case 'uniqueGlobal':
......
foreach ($this->conf[$this->cmdKey.'.']['evalValues.'] as $theField => $theValue) {
$listOfCommands = t3lib_div::trimExplode(',',$theValue,1);
foreach ($listOfCommands as $cmd) {
$cmdParts = split('\[|\]',$cmd); // Point is to enable parameters after each command enclosed in brackets [..]. These will be in position 1 in the array.
$cmdParts = preg_split('/\[|\]/', $cmd); // Point is to enable parameters after each command enclosed in brackets [..]. These will be in position 1 in the array.
$theCmd = trim($cmdParts[0]);
switch($theCmd) {
case 'twice':
......
foreach ($this->conf['parseValues.'] as $theField => $theValue) {
$listOfCommands = t3lib_div::trimExplode(',',$theValue,1);
foreach ($listOfCommands as $cmd) {
$cmdParts = split('\[|\]',$cmd); // Point is to enable parameters after each command enclosed in brackets [..]. These will be in position 1 in the array.
$cmdParts = preg_split('/\[|\]/', $cmd); // Point is to enable parameters after each command enclosed in brackets [..]. These will be in position 1 in the array.
$theCmd = trim($cmdParts[0]);
switch($theCmd) {
case 'multiple':
(2-2/2)