aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch/freeswitch_status.tmp
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2009-05-13 14:20:14 -0600
committermcrane <mctch@yahoo.com>2009-05-13 14:20:14 -0600
commitcddd115318c9277375a7ad472ff88528470831fd (patch)
tree588005ad4dbc17a6ea6e29287977b03247229f7e /config/freeswitch/freeswitch_status.tmp
parentdd9fec53a4df9ea6fbc4c7b56165c330011a2584 (diff)
downloadpfsense-packages-cddd115318c9277375a7ad472ff88528470831fd.tar.gz
pfsense-packages-cddd115318c9277375a7ad472ff88528470831fd.tar.bz2
pfsense-packages-cddd115318c9277375a7ad472ff88528470831fd.zip
FreeSWITCH package copy internal profile to lan profile, status add more lines to log view and option for toggle editor
Diffstat (limited to 'config/freeswitch/freeswitch_status.tmp')
-rw-r--r--config/freeswitch/freeswitch_status.tmp23
1 files changed, 20 insertions, 3 deletions
diff --git a/config/freeswitch/freeswitch_status.tmp b/config/freeswitch/freeswitch_status.tmp
index ea08b738..ceccd89a 100644
--- a/config/freeswitch/freeswitch_status.tmp
+++ b/config/freeswitch/freeswitch_status.tmp
@@ -115,6 +115,23 @@ if (!pkg_is_service_running('freeswitch')) {
sleep(7);
}
?>
+
+<script language="Javascript" type="text/javascript" src="/edit_area/edit_area_full.js"></script>
+<script language="Javascript" type="text/javascript">
+ // initialisation
+ editAreaLoader.init({
+ id: "log" // id of the textarea to transform
+ ,start_highlight: false
+ ,allow_toggle: true
+ ,display: "later"
+ ,language: "en"
+ ,syntax: "html"
+ ,toolbar: "search, go_to_line,|, fullscreen, |, undo, redo, |, select_font, |, syntax_selection, |, change_smooth_selection, highlight, reset_highlight, |, help"
+ ,syntax_selection_allow: "css,html,js,php,xml,c,cpp,sql"
+ ,show_line_colors: true
+ });
+</script>
+
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<?php include("fbegin.inc"); ?>
@@ -305,9 +322,9 @@ echo "</table>\n";
echo "<br /><br />\n\n";
-echo "<b>tail -n 100 /usr/local/freeswitch/log/freeswitch.log</b><br />\n";
-echo "<textarea cols='85' rows='30' wrap='off'>\n";
-echo system("tail -n 100 /usr/local/freeswitch/log/freeswitch.log");
+echo "<b>tail -n 500 /usr/local/freeswitch/log/freeswitch.log</b><br />\n";
+echo "<textarea id='log' name='log' cols='93' rows='30' wrap='off'>\n";
+echo system("tail -n 500 /usr/local/freeswitch/log/freeswitch.log");
echo "</textarea>\n";
echo "<br /><br />\n\n";