- '.t3lib_BEfunc::getFuncCheck($this->pObj->id,"SET[ts_browser_regexsearch]",$this->pObj->MOD_SETTINGS["ts_browser_regexsearch"],'','','id="checkTs_browser_regexsearch"').' |
+ '.t3lib_BEfunc::getFuncCheck($this->pObj->id,"SET[ts_browser_regexsearch]",$this->pObj->MOD_SETTINGS["ts_browser_regexsearch"],'','','id="checkTs_browser_regexsearch"').' |
|
Index: typo3/class.browse_links.php
===================================================================
--- typo3/class.browse_links.php (revision 4809)
+++ typo3/class.browse_links.php (working copy)
@@ -2481,7 +2481,7 @@
* @return boolean If the input path is found in PATH_site then it returns true.
*/
function isWebFolder($folder) {
- $folder = ereg_replace('\/$','',$folder).'/';
+ $folder = rtrim($folder, '/').'/';
return t3lib_div::isFirstPartOfStr($folder,PATH_site) ? TRUE : FALSE;
}
@@ -2492,7 +2492,7 @@
* @return boolean If the input path is found in the backend users filemounts, then return true.
*/
function checkFolder($folder) {
- return $this->fileProcessor->checkPathAgainstMounts(ereg_replace('\/$', '', $folder) . '/') ? true : false;
+ return $this->fileProcessor->checkPathAgainstMounts(rtrim($folder, '/') . '/') ? true : false;
}
/**
@@ -2502,7 +2502,7 @@
* @return boolean If the input path is found in the backend users filemounts and if the filemount is of type readonly, then return true.
*/
function isReadOnlyFolder($folder) {
- return ($GLOBALS['FILEMOUNTS'][$this->fileProcessor->checkPathAgainstMounts(ereg_replace('\/$', '', $folder) . '/')]['type'] == 'readonly');
+ return ($GLOBALS['FILEMOUNTS'][$this->fileProcessor->checkPathAgainstMounts(rtrim($folder, '/') . '/')]['type'] == 'readonly');
}
/**
Index: typo3/wizard_forms.php
===================================================================
--- typo3/wizard_forms.php (revision 4809)
+++ typo3/wizard_forms.php (working copy)
@@ -811,7 +811,7 @@
}
// Compile the final line:
- $inLines[]=ereg_replace("[\n\r]*",'',implode(' | ',$thisLine));
+ $inLines[]=preg_replace("/[\n\r]*/",'',implode(' | ',$thisLine));
}
}
// Finally, implode the lines into a string, and return it:
@@ -857,7 +857,7 @@
if ($confData['type']) {
if (count($typeParts)==1) {
- $confData['fieldname'] = substr(ereg_replace('[^a-zA-Z0-9_]','',str_replace(' ','_',trim($parts[0]))),0,30);
+ $confData['fieldname'] = substr(preg_replace('/[^a-zA-Z0-9_]/','',str_replace(' ','_',trim($parts[0]))),0,30);
// Attachment names...
if ($confData['type']=='file') {
Index: typo3/wizard_table.php
===================================================================
--- typo3/wizard_table.php (revision 4809)
+++ typo3/wizard_table.php (working copy)
@@ -360,7 +360,7 @@
if ($this->inputStyle) {
$cells[]='