From 3b9841b9ad6c6edfc20cc83220b4ccda8bd917d9 Mon Sep 17 00:00:00 2001
From: jim-p
Date: Mon, 20 Sep 2010 08:31:52 -0400
Subject: Some cosmetic changes to OpenBGP. Submitted-By: garga on IRC
---
config/openbgpd/openbgpd_raw.php | 26 ++++++++++++++++++--------
1 file changed, 18 insertions(+), 8 deletions(-)
(limited to 'config/openbgpd/openbgpd_raw.php')
diff --git a/config/openbgpd/openbgpd_raw.php b/config/openbgpd/openbgpd_raw.php
index 2e0a4a09..506a4475 100644
--- a/config/openbgpd/openbgpd_raw.php
+++ b/config/openbgpd/openbgpd_raw.php
@@ -31,6 +31,8 @@
require("guiconfig.inc");
require("openbgpd.inc");
+global $config;
+
if (isset($_POST['openbgpd_raw'])) {
openbgpd_put_raw_config($_POST['openbgpd_raw']);
write_config();
@@ -39,13 +41,22 @@ if (isset($_POST['openbgpd_raw'])) {
$openbgpd_raw = openbgpd_get_raw_config();
-$pgtitle = "OpenBGPD: raw config";
+if ($config['version'] >= 6)
+ $pgtitle = array("OpenBGPD", "Raw config");
+else
+ $pgtitle = "OpenBGPD: Raw config";
+
include("head.inc");
?>
-=$pgtitle?>
+
+' . $pgtitle . '
';
+?>
+
@@ -60,30 +71,29 @@ include("head.inc");
display_top_tabs($tab_array);
?>
-
-
--
cgit v1.2.3