diff --git a/index.php b/index.php index 7952d89..2c4dc26 100644 --- a/index.php +++ b/index.php @@ -22,14 +22,14 @@ if ($ICEcoder["checkUpdates"]) { $thisV = $ICEcoder["versionNo"]; if (strpos($thisV,"beta")>-1 && !strpos($icv,"beta") && str_replace(" beta","",$thisV) == $icv) {$thisV-=0.1;}; if ($thisV<$icv) { - $updateMsg = ";top.ICEcoder.dataMessage('".$t['UPDATE INFO'].": ICEcoder v ".$icv." ".$t['now available'].". (".$t['Your version is']." v ".$ICEcoder["versionNo"].").

".$t['Update now']."

".$icvI."');"; + $updateMsg = ";ICEcoder.dataMessage('".$t['UPDATE INFO'].": ICEcoder v ".$icv." ".$t['now available'].". (".$t['Your version is']." v ".$ICEcoder["versionNo"].").

".$t['Update now']."

".$icvI."');"; } } $isMac = strpos($_SERVER['HTTP_USER_AGENT'], "Macintosh")>-1 ? true : false; ?> - + ICEcoder v <?php echo $ICEcoder["versionNo"];?> @@ -39,8 +39,8 @@ $isMac = strpos($_SERVER['HTTP_USER_AGENT'], "Macintosh")>-1 ? true : false; - - + @@ -49,9 +49,9 @@ echo "?microtime=".microtime(true); iceRoot = ""; window.onbeforeunload = function() { - if(top.ICEcoder.autoLogoutTimer < top.ICEcoder.autoLogoutMins*60) { + if(ICEcoder.autoLogoutTimer < ICEcoder.autoLogoutMins*60) { for(var i=1;i<=ICEcoder.savedPoints.length;i++) { - if (ICEcoder.savedPoints[i-1]!=top.ICEcoder.getcMInstance(i).changeGeneration()) { + if (ICEcoder.savedPoints[i-1]!=ICEcoder.getcMInstance(i).changeGeneration()) { return "."; } } @@ -74,54 +74,54 @@ $t = $text['index']; ?> } - - - - - - + + + + + + ICEcoder.init();top.ICEcoder.content.style.visibility='visible';top.ICEcoder.filesFrame.contentWindow.frames['processControl'].location.href = 'processes/on-load.php';" onResize="ICEcoder.setLayout()" onKeyDown="return ICEcoder.interceptKeys('coder',event);" onKeyUp="parent.ICEcoder.resetKeys(event);" onBlur="parent.ICEcoder.resetKeys(event);"> + echo "ICEcoder.csrf = '".$_SESSION["csrf"]."';"; +?>ICEcoder.init();ICEcoder.content.style.visibility='visible';ICEcoder.filesFrame.contentWindow.frames['processControl'].location.href = iceLoc+'/processes/on-load.php';" onResize="ICEcoder.setLayout()" onKeyDown="return ICEcoder.interceptKeys('coder',event);" onKeyUp="ICEcoder.resetKeys(event);" onBlur="ICEcoder.resetKeys(event);">
@@ -139,70 +139,70 @@ $t = $text['index'];
-
: 0" onMouseOver="top.ICEcoder.showHidePlugins('show')" onMouseOut="top.ICEcoder.showHidePlugins('hide')" onClick="top.ICEcoder.showHidePlugins('hide')"> +
: 0" onMouseOver="ICEcoder.showHidePlugins('show')" onMouseOut="ICEcoder.showHidePlugins('hide')" onClick="ICEcoder.showHidePlugins('hide')">
- Color Picker

+ Color Picker

- + / - + + / -
-
+
- - + +

- +
- + ">
- +

- - - - + + + + - +

- +

Zip It!'.PHP_EOL; + echo 'Zip It!'.PHP_EOL; }; ?> - +

- +
-
+
    -
  • -
  • -
  • -
  • +
  • +
  • +
  • +
-
Commit
+
Commit
Selected: 0
-
Pull
+
Pull
-
+
-
+
  • @@ -236,7 +236,7 @@ $t = $text['index'];
-
+
  • Localhost
  • FTP
  • @@ -250,7 +250,7 @@ $t = $text['index']; //-->
-
+
  • ')">
  • @@ -259,32 +259,32 @@ $t = $text['index'];
- +
-
Terminal
-
Output
-
Database
-
Git
+
Terminal
+
Output
+
Database
+
Git
- - + +
'; + echo '
'; } ?>
+
-
+
- +
"> -
+
> - 0" onClick="top.ICEcoder.codeAssistToggle()"> + 0" onClick="ICEcoder.codeAssistToggle()">
-
-
- - +
+
+ + ">
- -
Output
via top.ICEcoder.output(message);

- + +
Output
via ICEcoder.output(message);

+

sudo nohup php processes/system.php > data/nohup.log 2>&1 &

...to run as a background process"; };?>
- +