From fbd8475b6ede7cca049f232e918c95c4ab7012a7 Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Sat, 11 Oct 2014 13:01:44 +0100 Subject: [PATCH] Handling split panes on file control If GitHub diff mode, load the 2 JS files needed Ask message shown needed escaped slashes so they appear OK in dialog No longer open a new file for older version, we display now in diff pane Temp code added in comment block re getting content from GitHub for file to show in diff pane. This isn't working at present and probably just needs a tweak to make work Slightly renamed vars for active lines to handle 2 panes --- lib/file-control.php | 65 +++++++++++++++++++++++++++++++++++++------- 1 file changed, 55 insertions(+), 10 deletions(-) diff --git a/lib/file-control.php b/lib/file-control.php index ec6c506..26b9f8f 100644 --- a/lib/file-control.php +++ b/lib/file-control.php @@ -3,6 +3,10 @@ include("headers.php"); include("settings.php"); $t = $text['file-control']; ?> + + + + ","",htmlentities($loadedFile)).''; echo '