aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch/freeswitch_gateways_edit.tmp
diff options
context:
space:
mode:
authormcrane <mctch@yahoo.com>2009-05-13 12:25:35 -0600
committermcrane <mctch@yahoo.com>2009-05-13 13:04:45 -0600
commit4d34902d09109f13bc95ee05066fda2b4501a935 (patch)
tree05a363ec69cac98474cdd6c3e75e9618dadbaf3c /config/freeswitch/freeswitch_gateways_edit.tmp
parent1d234ac49964955334883e42a15865528a34f648 (diff)
downloadpfsense-packages-4d34902d09109f13bc95ee05066fda2b4501a935.tar.gz
pfsense-packages-4d34902d09109f13bc95ee05066fda2b4501a935.tar.bz2
pfsense-packages-4d34902d09109f13bc95ee05066fda2b4501a935.zip
FreeSWITCH create lan sip profile during install, update dialplan, public, and var textareas, add set to default to the textareas, make the tab menu dynamic so it can be modified from one file rather than having to modify all php files.
Diffstat (limited to 'config/freeswitch/freeswitch_gateways_edit.tmp')
-rw-r--r--config/freeswitch/freeswitch_gateways_edit.tmp14
1 files changed, 2 insertions, 12 deletions
diff --git a/config/freeswitch/freeswitch_gateways_edit.tmp b/config/freeswitch/freeswitch_gateways_edit.tmp
index f5a54881..28c0a74a 100644
--- a/config/freeswitch/freeswitch_gateways_edit.tmp
+++ b/config/freeswitch/freeswitch_gateways_edit.tmp
@@ -273,18 +273,8 @@ function show_advanced_config() {
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td class="tabnavtbl">
<?php
-
- $tab_array = array();
- $tab_array[] = array(gettext("Settings"), false, "/pkg_edit.php?xml=freeswitch.xml&amp;id=0");
- $tab_array[] = array(gettext("Dialplan"), false, "/packages/freeswitch/freeswitch_dialplan_includes.php");
- $tab_array[] = array(gettext("Extensions"), false, "/packages/freeswitch/freeswitch_extensions.php");
- $tab_array[] = array(gettext("Features"), false, "/packages/freeswitch/freeswitch_features.php");
- $tab_array[] = array(gettext("Gateways"), true, "/packages/freeswitch/freeswitch_gateways.php");
- $tab_array[] = array(gettext("Profiles"), false, "/packages/freeswitch/freeswitch_profiles.php");
- $tab_array[] = array(gettext("Public"), false, "/packages/freeswitch/freeswitch_public_includes.php");
- $tab_array[] = array(gettext("Status"), false, "/packages/freeswitch/freeswitch_status.php");
- $tab_array[] = array(gettext("Vars"), false, "/pkg_edit.php?xml=freeswitch_vars.xml&amp;id=0");
- display_top_tabs($tab_array);
+
+display_top_tabs(build_menu());
?>
</td></tr>