summaryrefslogtreecommitdiffstats
path: root/usr/local/www/edit.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-09-28 05:26:48 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-09-28 05:26:48 +0000
commitfae0b5112dec75106ff0cc809ad4ad0b75640085 (patch)
tree14aefad8bfee28ddf1eb69617d703d6c979b80a1 /usr/local/www/edit.php
parentbd125eb2505ee1a16a0023f5504faa846565ce10 (diff)
downloadpfsense-fae0b5112dec75106ff0cc809ad4ad0b75640085.zip
pfsense-fae0b5112dec75106ff0cc809ad4ad0b75640085.tar.gz
* Remove debugging code
* Hide syntax highlighting option for now
Diffstat (limited to 'usr/local/www/edit.php')
-rwxr-xr-xusr/local/www/edit.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr/local/www/edit.php b/usr/local/www/edit.php
index 7a11f72..e63efaa 100755
--- a/usr/local/www/edit.php
+++ b/usr/local/www/edit.php
@@ -113,7 +113,6 @@ outputJavaScriptFileInline("filebrowser/browser.js");
else if(file.indexOf(".css") > 0) lang = "css";
if($("highlight").checked && lang != "none") {
- alert("highlight");
$("fileContent").className = lang + ":showcolumns";
dp.SyntaxHighlighter.HighlightAll("fileContent", true, false);
}
@@ -166,7 +165,11 @@ outputJavaScriptFileInline("filebrowser/browser.js");
<input type="button" class="formbtn" id="fbOpen" value="<?=gettext('Browse');?>" />
<input type="button" class="formbtn" onclick="saveFile();" value="<?=gettext('Save');?>" />
<br />
- <input type="checkbox" id="highlight" /><?=gettext("Enable syntax highlighting");?>
+ <?php
+ /*
+ <input type="checkbox" id="highlight" /><?=gettext("Enable syntax highlighting");
+ */
+ ?>
</td>
</tr>
</table>
OpenPOWER on IntegriCloud