diff options
-rw-r--r-- | config/openospfd/status_ospfd.php | 49 |
1 files changed, 26 insertions, 23 deletions
diff --git a/config/openospfd/status_ospfd.php b/config/openospfd/status_ospfd.php index e7a5b4ec..6fcca6bd 100644 --- a/config/openospfd/status_ospfd.php +++ b/config/openospfd/status_ospfd.php @@ -106,39 +106,42 @@ if(strstr($pfSversion, "1.2")) <p class="pgtitle"><?=$pgtitle?></font></p> <?php endif; ?> <?php if ($savemsg) print_info_box($savemsg); ?> - <div id="mainlevel"> - <table width="100%" border="0" cellpadding="6" cellspacing="0"> - <?php + + <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=openospfd.xml&id=0"); $tab_array[] = array(gettext("Interface Settings"), false, "/pkg.php?xml=openospfd_interfaces.xml"); $tab_array[] = array(gettext("Status"), true, "/status_ospfd.php"); display_top_tabs($tab_array); ?> - </table> - <tr> - <td class="tabcont" > - <table width="100%" border="0" cellpadding="6" cellspacing="0"> - <tr> - <td> + </td></tr> + <tr> + <td> + <div id="mainarea"> + <table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0"> + <tr> + <td> <?php - defCmdT("OpenOSPFd Summary","/usr/local/sbin/ospfctl show summary"); - defCmdT("OpenOSPFd Neighbors","/usr/local/sbin/ospfctl show neighbor"); - defCmdT("OpenOSPFd FIB","/usr/local/sbin/ospfctl show fib"); - defCmdT("OpenOSPFd RIB","/usr/local/sbin/ospfctl show rib"); - defCmdT("OpenOSPFd Interfaces","/usr/local/sbin/ospfctl show interfaces"); - defCmdT("OpenOSPFD Database","/usr/local/sbin/ospfctl show database"); + defCmdT("OpenOSPFd Summary","/usr/local/sbin/ospfctl show summary"); + defCmdT("OpenOSPFd Neighbors","/usr/local/sbin/ospfctl show neighbor"); + defCmdT("OpenOSPFd FIB","/usr/local/sbin/ospfctl show fib"); + defCmdT("OpenOSPFd RIB","/usr/local/sbin/ospfctl show rib"); + defCmdT("OpenOSPFd Interfaces","/usr/local/sbin/ospfctl show interfaces"); + defCmdT("OpenOSPFD Database","/usr/local/sbin/ospfctl show database"); ?> - <div id="cmdspace" style="width:100%"> - <?php listCmds(); ?> - <?php execCmds(); ?> - </div> - </td> - </tr> + <div id="cmdspace" style="width:100%"> + <?php listCmds(); ?> + <?php execCmds(); ?> + </div> + </td> + </tr> + </table> + </div> </td> </tr> - </table> - </div> + </table> <?php include("fend.inc"); ?> </body> </html> |