| 11 | | @@ -102,15 +102,15 @@ |
|---|
| 12 | | </a> |
|---|
| 13 | | <?php } ?> |
|---|
| | 11 | @@ -135,8 +135,10 @@ |
|---|
| | 12 | print_sub_tool( _("Setup") , "config.php" , $currentFile=='config.php' && isset($_REQUEST['type']) && ($_REQUEST['type']=='setup' || $_REQUEST['type'] == ""), "config.php?type=setup", false ); |
|---|
| | 13 | print_sub_tool( _("Tools") , "config.php" , $currentFile=='config.php' && isset($_REQUEST['type']) && $_REQUEST['type']=='tool' , "config.php?type=tool", false ); |
|---|
| | 14 | print_sub_tool( _("Reports") , "reports.php", $currentFile=='reports.php' ); |
|---|
| | 15 | - print_sub_tool( _("Panel") , "panel.php" , $currentFile=='panel.php' ); |
|---|
| | 16 | - print_sub_tool( _("Recordings"), "../recordings/index.php" ,0, NULL, true ); |
|---|
| | 17 | + if (is_file("panel/index_amp.php)) |
|---|
| | 18 | + print_sub_tool( _("Panel") , "panel.php" , $currentFile=='panel.php' ); |
|---|
| | 19 | + if (is_file("recordings/index.php")) |
|---|
| | 20 | + print_sub_tool( _("Recordings"), "../recordings/index.php" ,0, NULL, true ); |
|---|
| | 21 | echo "\t\t</ul>\n"; |
|---|
| 15 | | -<?php if (is_file("../panel/index_amp.php")){ ?> |
|---|
| 16 | | +<?php if (is_file("panel/index_amp.php")){ ?> |
|---|
| 17 | | <a id="<?php echo ($currentFile=='panel.php' ? 'current':'') ?>" href="panel.php?"> |
|---|
| 18 | | • |
|---|
| 19 | | <li><?php echo _("Panel") ?></li> |
|---|
| 20 | | </a> |
|---|
| 21 | | <?php } ?> |
|---|
| 22 | | |
|---|
| 23 | | -<?php if (is_file("../recordings/index.php")){ ?> |
|---|
| 24 | | - <a href="../recordings/index.php" target="_blank"> |
|---|
| 25 | | +<?php if (is_file("recordings/index.php")){ ?> |
|---|
| 26 | | + <a href="recordings/index.php" target="_blank"> |
|---|
| 27 | | • |
|---|
| 28 | | <li><?php echo _("Recordings") ?></li> |
|---|
| 29 | | </a> |
|---|
| | 23 | $freepbx_alt = _("freePBX"); |
|---|