From ddd7924960a0b60e757ae6c77dc73e89269198fd Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Mon, 24 Feb 2014 09:12:06 +0000 Subject: [PATCH] Terminal link and function removed It's now an installable plugin --- index.php | 1 - lib/ice-coder.js | 5 ----- lib/ice-coder.min.js | 3 +-- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/index.php b/index.php index 9706b22..65275a8 100644 --- a/index.php +++ b/index.php @@ -101,7 +101,6 @@ window.onbeforeunload = function() {
Color Picker

- Terminal

+ / -
diff --git a/lib/ice-coder.js b/lib/ice-coder.js index c4d9c74..c453e90 100644 --- a/lib/ice-coder.js +++ b/lib/ice-coder.js @@ -1947,11 +1947,6 @@ var ICEcoder = { } }, - // Open a new terminal window - openTerminal: function() { - top.ICEcoder.demoMode ? top.ICEcoder.message('Sorry, you need to be logged in to use the terminal') : window.open('terminal'); - }, - // Logout of ICEcoder logout: function() { window.location = window.location + "?logout"; diff --git a/lib/ice-coder.min.js b/lib/ice-coder.min.js index fb2242e..8c1084b 100644 --- a/lib/ice-coder.min.js +++ b/lib/ice-coder.min.js @@ -87,8 +87,7 @@ ICEcoder.cMInstances[f]].setOption("indentWithTabs",top.ICEcoder.indentWithTabs) "right"==n?"0":"auto";p&&top.ICEcoder.refreshFileManager()},updateResultsDisplay:function(a){ICEcoder.findReplace(top.get("find").value,!0,!1);top.get("results").style.display="show"==a?"inline-block":"none"},fullScreenSwitcher:function(){"undefined"!=typeof document.cancelFullScreen?document.fullScreen?document.cancelFullScreen():document.body.requestFullScreen():"undefined"!=typeof document.mozCancelFullScreen?document.mozFullScreen?document.mozCancelFullScreen():document.body.mozRequestFullScreen(): "undefined"!=typeof document.webkitCancelFullScreen&&(document.webkitIsFullScreen?document.webkitCancelFullScreen():document.body.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT))},zipIt:function(a){a=a.replace(/\//g,"|");top.ICEcoder.filesFrame.contentWindow.frames.fileControl.location.href="plugins/zip-it/index.php?zip="+a},downloadFile:function(a){a=a.replace(/\//g,"|");top.ICEcoder.filesFrame.contentWindow.frames.fileControl.location.href="lib/download.php?file="+a},chmod:function(a,b){a= a.replace(top.iceRoot,"");top.ICEcoder.showHide("hide",top.get("blackMask"));top.ICEcoder.serverQueue("add","lib/file-control.php?action=perms&file="+a+"&perms="+b);top.ICEcoder.serverMessage("chMod "+b+" on
"+a)},openPreviewWindow:function(){if(0