diff --git a/lib/multiple-results.php b/lib/multiple-results.php
index c891eb7..ae25e3c 100644
--- a/lib/multiple-results.php
+++ b/lib/multiple-results.php
@@ -14,7 +14,7 @@ if(isset($_GET['selectedFiles'])) {
-
+
@@ -90,7 +90,7 @@ if (startTab!=top.ICEcoder.selectedTab) {
}
}
if (userTarget.indexOf("all")>-1 || (userTarget.indexOf("selected")>-1 && foundInSelected)) {
- resultsDisplay += '
';
+ resultsDisplay += '';
resultsDisplay += targetURL.replace(/\|/g,"/").replace(/_perms/g,"").replace(//g,""+findText.toLowerCase()+"");
resultsDisplay += '';
@@ -135,7 +135,7 @@ if (startTab!=top.ICEcoder.selectedTab) {
}
}
if (!$bFile && (count($selectedFiles)==0 || count($selectedFiles)>0 && $foundInSelFile)) {
- $ret .= "
";
+ $ret .= "";
$ret .= str_replace($base,"",$fullPath)."Found ".substr_count(strtolower(toUTF8noBOM(file_get_contents($fullPath,false,$context),false)),$q)." times
";
if (isset($_GET['replace'])) {
$ret .= "
replace
";
@@ -157,7 +157,7 @@ if (startTab!=top.ICEcoder.selectedTab) {
}
?>
showHide = foundArray.length==0 ? "hide" : "show";
-top.ICEcoder.showHide(showHide,top.document.getElementById('blackMask'));
+top.ICEcoder.showHide(showHide,top.get('blackMask'));
if (foundArray.length==0) {top.ICEcoder.message('No matches found')};
if (foundArray.length!=0) {document.getElementById('replaceAll').style.opacity = 1};
@@ -170,14 +170,14 @@ document.getElementById('results').innerHTML = resultsDisplay;
var gotoTab = function(tab) {
top.ICEcoder.switchTab(tab);
- top.ICEcoder.showHide('hide',top.document.getElementById('blackMask'));
+ top.ICEcoder.showHide('hide',top.get('blackMask'));
}
var replaceSingle = function(tab) {
top.ICEcoder.switchTab(tab);
cM = top.ICEcoder.getcMInstance();
content = cM.getValue();
- cM.setValue(cM.getValue().replace(rExp,top.document.getElementById('replace').value));
+ cM.setValue(cM.getValue().replace(rExp,top.get('replace').value));
document.getElementById('foundCount'+tab).innerHTML = document.getElementById('foundCount'+tab).innerHTML.replace('Found','Replaced');
}
@@ -185,7 +185,7 @@ var replaceAll = function() {
for (var i=0;i<=foundArray.length-1;i++) {
replaceSingle(foundArray[i]);
}
- top.ICEcoder.showHide('hide',top.document.getElementById('blackMask'));
+ top.ICEcoder.showHide('hide',top.get('blackMask'));
}
var replaceInFileSingle = function(fileRef) {
@@ -196,7 +196,7 @@ var replaceInFilesAll = function() {
for (var i=0;i<=foundArray.length-1;i++) {
replaceInFileSingle(foundArray[i]);
}
- top.ICEcoder.showHide('hide',top.document.getElementById('blackMask'));
+ top.ICEcoder.showHide('hide',top.get('blackMask'));
}
var renameSingle = function(arrayRef) {
@@ -209,7 +209,7 @@ var renameAll = function() {
for (var i=0;i<=foundArray.length-1;i++) {
renameSingle(foundArray[i]);
}
- top.ICEcoder.showHide('hide',top.document.getElementById('blackMask'));
+ top.ICEcoder.showHide('hide',top.get('blackMask'));
}