aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeswitch/freeswitch_dialplan_includes.tmp
diff options
context:
space:
mode:
Diffstat (limited to 'config/freeswitch/freeswitch_dialplan_includes.tmp')
-rw-r--r--config/freeswitch/freeswitch_dialplan_includes.tmp16
1 files changed, 3 insertions, 13 deletions
diff --git a/config/freeswitch/freeswitch_dialplan_includes.tmp b/config/freeswitch/freeswitch_dialplan_includes.tmp
index 7519d052..55379ea5 100644
--- a/config/freeswitch/freeswitch_dialplan_includes.tmp
+++ b/config/freeswitch/freeswitch_dialplan_includes.tmp
@@ -111,18 +111,8 @@ include("head.inc");
<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"), true, "/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"), false, "/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>
@@ -163,7 +153,7 @@ include("head.inc");
</strong></span></span>
</td>
<td align='right'>
- <input type='button' value='default.xml' onclick="document.location.href='/pkg_edit.php?xml=freeswitch_dialplan.xml&id=0';">
+ <input type='button' value='default.xml' onclick="document.location.href='/packages/freeswitch/freeswitch_dialplan.php';">
</td>
</tr>
<tr>