Index: /misc/deb/trunk/debian/patches/fix-toplinks.dpatch =================================================================== --- /misc/deb/trunk/debian/patches/fix-toplinks.dpatch (revision 3558) +++ /misc/deb/trunk/debian/patches/fix-toplinks.dpatch (revision 3559) @@ -9,23 +9,17 @@ --- freepbx-2.1.3.dfsg/amp_conf/htdocs/admin/header.php 2006-05-05 20:41:30.000000000 +0300 +++ /tmp/dpep.QH14HN/freepbx-2.1.3.dfsg/amp_conf/htdocs/admin/header.php 2006-11-28 14:52:28.000000000 +0200 -@@ -102,15 +102,15 @@ - - +@@ -135,8 +135,10 @@ + print_sub_tool( _("Setup") , "config.php" , $currentFile=='config.php' && isset($_REQUEST['type']) && ($_REQUEST['type']=='setup' || $_REQUEST['type'] == ""), "config.php?type=setup", false ); + print_sub_tool( _("Tools") , "config.php" , $currentFile=='config.php' && isset($_REQUEST['type']) && $_REQUEST['type']=='tool' , "config.php?type=tool", false ); + print_sub_tool( _("Reports") , "reports.php", $currentFile=='reports.php' ); +- print_sub_tool( _("Panel") , "panel.php" , $currentFile=='panel.php' ); +- print_sub_tool( _("Recordings"), "../recordings/index.php" ,0, NULL, true ); ++ if (is_file("panel/index_amp.php)) ++ print_sub_tool( _("Panel") , "panel.php" , $currentFile=='panel.php' ); ++ if (is_file("recordings/index.php")) ++ print_sub_tool( _("Recordings"), "../recordings/index.php" ,0, NULL, true ); + echo "\t\t\n"; -- -+ - - • -
  • -
    - - -- -- -+ -+ - • -
  • -
    + $freepbx_alt = _("freePBX"); diff -urNad freepbx-2.1.3.dfsg/amp_conf/htdocs/admin/panel.php /tmp/dpep.QH14HN/freepbx-2.1.3.dfsg/amp_conf/htdocs/admin/panel.php --- freepbx-2.1.3.dfsg/amp_conf/htdocs/admin/panel.php 2006-04-11 00:06:12.000000000 +0300