Tidy up a few minor items

This commit is contained in:
mattpass
2021-05-21 21:48:06 +01:00
parent ab3d04440c
commit 54e4aff163
3 changed files with 2 additions and 6 deletions

View File

@@ -3841,7 +3841,6 @@ var ICEcoder = {
thisCSS[strCSS][4].style['margin-left'] = settings.visibleTabs ? '-1px' : '0';
thisCSS[strCSS][2].style.cssText = "background-color: " + activeLineBG + " !important";
thisCSS[strCSS][5].style.cssText = "color: " + activeLineNum + " !important";
console.log(thisCSS[strCSS][2])
// Set many of the ICEcoder settings
this.lineWrapping = settings.lineWrapping;
@@ -4119,9 +4118,7 @@ var ICEcoder = {
xhr.onreadystatechange=function() {
if (4 === xhr.readyState && 200 === xhr.status) {
// console.log(xhr.responseText);
var statusArray = JSON.parse(xhr.responseText);
// console.log(statusArray);
get('bugIcon').style.color =
statusArray['result'] == "off" ? "" :
@@ -4142,7 +4139,6 @@ var ICEcoder = {
}
};
// console.log('Calling '+bugCheckURL+' via XHR');
xhr.open("GET", bugCheckURL, true);
xhr.send();

View File

@@ -32,7 +32,7 @@ $t = $text['files'];
if (false === is_dir($docRoot . $iceRoot)) {
echo '<li class="pft-directory dir"><a nohref title="' . $displayRoot . ' : can\'t access dir" onclick="parent.ICEcoder.settingsScreen(false, \'general\')" style="position: relative; left:-22px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="background: #b00">/ ';
echo $displayRoot;
echo '</span></a></li>';
echo '</span></a></li></ul>';
} else {
?><li class="pft-directory dirOpen"><a nohref title="/" ondragover="parent.ICEcoder.overFileFolder('folder', '|'); parent.ICEcoder.highlightFileFolder('|', true);" ondragleave="parent.ICEcoder.overFileFolder('folder', ''); parent.ICEcoder.highlightFileFolder('|', false);" onmouseover="parent.ICEcoder.overFileFolder('folder', '|')" onmouseout="parent.ICEcoder.overFileFolder('folder', '')" onclick="parent.ICEcoder.openCloseDir(this)" style="position: relative; left:-22px">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span id="|">/ <?php
echo $displayRoot;

View File

@@ -28,7 +28,7 @@ if (true === $ICEcoder["checkUpdates"]) {
if ($thisV < $icv) {
$updateMsg =
";ICEcoder.dataMessage('<b>" . $t['UPDATE INFO'] .
":</b> ICEcoder " . explode("\n", $icvData)[0] ." " . $t['now available'] . ". (" . $t['Your version is'] . " v" . $ICEcoder["versionNo"] .
":</b> ICEcoder " . explode("\n", $icvData)[0] ." " . $t['now available'] . ". (" . $t['Your version is'] . " " . $ICEcoder["versionNo"] .
").<br><br><a href=\\'https://icecoder.net\\' target=\\'_blank\\' style=\\'color:#fff; background: #b00; padding: 5px; text-decoration: none; cursor: pointer\\'>" .
$t['Update now'] . "</a><br><br>" . $icvI ."');";
}