aboutsummaryrefslogtreecommitdiffstats
path: root/config/openospfd/status_ospfd.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-03-06 13:51:32 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-03-06 13:51:35 -0500
commit1ab04cff625cfce3f4dda6dc08ac40c2324b453a (patch)
tree9b4ff623aa12bb415c2c58d1906725e0150e317d /config/openospfd/status_ospfd.php
parent79266bafc42f6a9e3b52ffbdac72ec628ba2e24c (diff)
downloadpfsense-packages-1ab04cff625cfce3f4dda6dc08ac40c2324b453a.tar.gz
pfsense-packages-1ab04cff625cfce3f4dda6dc08ac40c2324b453a.tar.bz2
pfsense-packages-1ab04cff625cfce3f4dda6dc08ac40c2324b453a.zip
Fixup html.
Diffstat (limited to 'config/openospfd/status_ospfd.php')
-rw-r--r--config/openospfd/status_ospfd.php94
1 files changed, 42 insertions, 52 deletions
diff --git a/config/openospfd/status_ospfd.php b/config/openospfd/status_ospfd.php
index 61ca5675..caf7f32e 100644
--- a/config/openospfd/status_ospfd.php
+++ b/config/openospfd/status_ospfd.php
@@ -1,5 +1,4 @@
<?php
-
/*
status_ospfd.php
Copyright (C) 2010 Nick Buraglio; nick@buraglio.com
@@ -35,55 +34,46 @@ include("head.inc");
?>
-<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
-<?php include("fbegin.inc"); ?>
-<p class="pgtitle"><?=$pgtitle?></font></p>
-<?php if ($savemsg) print_info_box($savemsg); ?>
-
-<div id="mainlevel">
-<table width="100%" border="0" cellpadding="0" cellspacing="0">
-<?php
- $tab_array = array();
- $tab_array[] = array(gettext("Settings"), false, "/pkg_edit.php?xml=openospfd.xml&id=0");
- $tab_array[] = array(gettext("Interfaces"), false, "/pkg.php?xml=openospfd_interfaces.xml");
- $tab_array[] = array(gettext("Status"), true, "/status_ospfd.php");
- display_top_tabs($tab_array);
-?>
-</table>
-<table width="100%" border="0" cellpadding="0" cellspacing="0">
- <tr>
- <td class="tabcont" >
- <form action="status_ospfd.php" method="post">
- </form>
- </td>
- </tr>
- <tr>
- <td class="tabcont" >
-
-<?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");
-
-?>
-
- <div id="cmdspace" style="width:100%">
- <?php listCmds(); ?>
-
- <?php execCmds(); ?>
+<html>
+ <body link="#0000CC" vlink="#0000CC" alink="#0000CC">
+ <?php include("fbegin.inc"); ?>
+ <p class="pgtitle"><?=$pgtitle?></font></p>
+ <?php if ($savemsg) print_info_box($savemsg); ?>
+ <div id="mainlevel">
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <?php
+ $tab_array = array();
+ $tab_array[] = array(gettext("Settings"), false, "/pkg_edit.php?xml=openospfd.xml&id=0");
+ $tab_array[] = array(gettext("Interfaces"), false, "/pkg.php?xml=openospfd_interfaces.xml");
+ $tab_array[] = array(gettext("Status"), true, "/status_ospfd.php");
+ display_top_tabs($tab_array);
+ ?>
+ </table>
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
+ <tr>
+ <td class="tabcont" >
+ <form action="status_ospfd.php" method="post">
+ </form>
+ </td>
+ </tr>
+ <tr>
+ <td class="tabcont" >
+ <?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");
+ ?>
+ <div id="cmdspace" style="width:100%">
+ <?php listCmds(); ?>
+ <?php execCmds(); ?>
+ </div>
+ </td>
+ </tr>
+ </table>
</div>
-
- </table>
- </td>
- </tr>
-</table>
-</div>
-
-<?php include("fend.inc"); ?>
-
-</body>
-</html> \ No newline at end of file
+ <?php include("fend.inc"); ?>
+ </body>
+</html>