diff options
Diffstat (limited to 'config/openbgpd/openbgpd_status.php')
-rw-r--r-- | config/openbgpd/openbgpd_status.php | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/config/openbgpd/openbgpd_status.php b/config/openbgpd/openbgpd_status.php index 2dce434d..b493236f 100644 --- a/config/openbgpd/openbgpd_status.php +++ b/config/openbgpd/openbgpd_status.php @@ -30,7 +30,11 @@ require("guiconfig.inc"); -$pgtitle = "OpenBGPD: Status"; +if ($config['version'] >= 6) + $pgtitle = array("OpenBGPD", "Status"); +else + $pgtitle = "OpenBGPD: Status"; + include("head.inc"); function doCmdT($title, $command) { @@ -110,7 +114,12 @@ function execCmds() { ?> <body link="#0000CC" vlink="#0000CC" alink="#0000CC"> <?php include("fbegin.inc"); ?> -<p class="pgtitle"><?=$pgtitle?></font></p> + +<?php + if ($config['version'] < 6) + echo '<p class="pgtitle">' . $pgtitle . '</font></p>'; +?> + <?php if ($savemsg) print_info_box($savemsg); ?> <div id="mainlevel"> |