Go to Line
-
-
+
diff --git a/lang/english.php b/lang/english.php
new file mode 100644
index 0000000..953bcdd
--- /dev/null
+++ b/lang/english.php
@@ -0,0 +1,122 @@
+ and HTML equivalents (eg &). Translations on right side.
+
+$text = array(
+
+// / [ROOT LEVEL]
+
+ "editor" =>
+ array(
+ "Click icons for..." => "
Click icons for help & usage info ",
+ "server" => "server",
+ "Server name, OS..." => "Server name, OS & IP:",
+ "Root" => "Root:",
+ "ICEcoder root" => "ICEcoder root:",
+ "PHP version" => "PHP version:",
+ "Date & time" => "Date & time:",
+ "your device" => "your device",
+ "Browser" => "Browser:",
+ "Your IP" => "Your IP:",
+ "files" => "files",
+ "Last 10 files..." => "Last 10 files opened:",
+ "none" => "[none]",
+ "test suite" => "test suite",
+ "Run unit tests" => "Run unit tests",
+ "dev mode" => "dev mode",
+ "Status" => "Status",
+ "Using" => "Using",
+ "You can switch..." => "You can switch dev mode on/off
+in lib/config__settings.php",
+ "results" => "results"
+
+ ),
+
+ "files" =>
+ array(
+ "Lock" => "Lock",
+ "Refresh" => "Refresh",
+ "ROOT" => "[ROOT]"
+
+ ),
+
+ "index" =>
+ array(
+ "UPDATE INFO" => "UPDATE INFO",
+ "now available" => "now available",
+ "Your version is" => "Your version is",
+ "Update now" => "Update now",
+ "You have some..." => "You have some unsaved changes",
+ "working" => "working",
+ "Color picker" => "Color picker",
+ "New File" => "New File",
+ "New Folder" => "New Folder",
+ "Upload File(s)" => "Upload File(s)",
+ "Paste" => "Paste",
+ "Open" => "Open",
+ "Copy" => "Copy",
+ "Duplicate" => "Duplicate",
+ "Delete" => "Delete",
+ "Rename" => "Rename",
+ "View Webpage" => "View Webpage",
+ "Download" => "Download",
+ "Properties" => "Properties",
+ "File" => "File",
+ "Edit" => "Edit",
+ "Remote" => "Remote",
+ "Help" => "Help",
+ "Save" => "Save",
+ "Save As" => "Save As",
+ "Live Preview" => "Live Preview",
+ "Upload" => "Upload",
+ "Zip" => "Zip",
+ "Print" => "Print",
+ "Fullscreen toggle" => "Fullscreen toggle",
+ "Logout" => "Logout",
+ "Undo" => "Undo",
+ "Redo" => "Redo",
+ "Indent more" => "Indent more",
+ "Indent less" => "Indent less",
+ "Autocomplete" => "Autocomplete",
+ "Comment/Uncomment" => "Comment/Uncomment",
+ "Jump to Definition" => "Jump to Definition",
+ "Manual" => "Manual",
+ "Shortcuts" => "Shortcuts",
+ "Settings" => "Settings",
+ "Search for selected" => "Search for selected",
+ "website" => "website",
+ "Close all tabs" => "Close all tabs",
+ "Alphabetize tabs" => "Alphabetize tabs",
+ "Find" => "Find",
+ "in" => "in",
+ "and" => "and",
+ "replace" => "replace",
+ "replace all" => "replace all",
+ "this document" => "this document",
+ "open documents" => "open documents",
+ "all files" => "all files",
+ "all filenames" => "all filenames",
+ "Turn on/off..." => "Turn on/off code assist",
+ "Code Assist" => "Code Assist",
+ "Go to Line" => "Go to Line",
+ "View" => "View",
+ "Bug reporting not active" => "Bug reporting not active"
+ ),
+
+// /LIB
+
+ "login" =>
+ array(
+ "set password" => "set password",
+ "login" => "login",
+ "To disable registration..." => "To disable registration mode, open the settings menu or open lib/config___settings.php and change enableRegistration to false then reload this page",
+ "Registration mode enabled" => "Registration mode enabled",
+ "auto-check for updates" => "auto-check for updates",
+ "To put into..." => "To put into multi-user mode, open the settings menu or open lib/config___settings.php and change multiUser to true then reload this page",
+ "multi-user" => "multi-user"
+ )
+);
+?>
\ No newline at end of file
diff --git a/lib/config___settings.php b/lib/config___settings.php
index 8ec579f..9e1d7e5 100644
--- a/lib/config___settings.php
+++ b/lib/config___settings.php
@@ -9,6 +9,6 @@ $ICEcoderSettings = array(
"loginRequired" => true,
"multiUser" => false,
"lineEnding" => "\n",
- "enableRegistration" => true
+ "enableRegistration" => false
);
?>
\ No newline at end of file
diff --git a/lib/get-branch.php b/lib/get-branch.php
index c64bafb..eebf766 100644
--- a/lib/get-branch.php
+++ b/lib/get-branch.php
@@ -119,7 +119,7 @@ foreach($finalArray as $entry) {
if($_SESSION['bannedFiles'][$i] != "" && strpos($entry,$_SESSION['bannedFiles'][$i])!==false) {$canAdd = false;}
}
if ("/".$entry == $ICEcoderDir) {
- $canAdd = false;
+ //$canAdd = false;
}
if ($entry != "." && $entry != ".." && $canAdd) {
is_dir($docRoot.$iceRoot.$location."/".$entry)
diff --git a/lib/login.php b/lib/login.php
index 0a33529..6021901 100644
--- a/lib/login.php
+++ b/lib/login.php
@@ -1,6 +1,7 @@
@@ -27,17 +28,17 @@ echo $ICEcoder["password"] == "" && !$ICEcoder["multiUser"] ? "Setup" : "Login";