summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr/local/www/diag_limiter_info.php4
-rw-r--r--usr/local/www/diag_pf_info.php4
-rw-r--r--usr/local/www/diag_system_activity.php4
-rw-r--r--usr/local/www/diag_system_pftop.php4
-rw-r--r--usr/local/www/installer/installer.php3
5 files changed, 0 insertions, 19 deletions
diff --git a/usr/local/www/diag_limiter_info.php b/usr/local/www/diag_limiter_info.php
index 25d066c..eb592b5 100644
--- a/usr/local/www/diag_limiter_info.php
+++ b/usr/local/www/diag_limiter_info.php
@@ -41,8 +41,6 @@
require("guiconfig.inc");
-$pfSversion = str_replace("\n", "", file_get_contents("/etc/version"));
-
$pgtitle = gettext("Diagnostics: Limiter Info");
$shortcut_section = "trafficshaper-limiters";
@@ -86,8 +84,6 @@ include("head.inc");
<div id='maincontent'>
<?php
include("fbegin.inc");
- if(strstr($pfSversion, "1.2"))
- echo "<p class=\"pgtitle\">{$pgtitle}</p>";
if($savemsg) {
echo "<div id='savemsg'>";
print_info_box($savemsg);
diff --git a/usr/local/www/diag_pf_info.php b/usr/local/www/diag_pf_info.php
index 71430df..ce7bd90 100644
--- a/usr/local/www/diag_pf_info.php
+++ b/usr/local/www/diag_pf_info.php
@@ -41,8 +41,6 @@
require("guiconfig.inc");
-$pfSversion = str_replace("\n", "", file_get_contents("/etc/version"));
-
$pgtitle = gettext("Diagnostics: pfInfo");
if($_REQUEST['getactivity']) {
@@ -80,8 +78,6 @@ jQuery(document).ready(function() {setTimeout('getpfinfo()', 5000);});
<div id='maincontent'>
<?php
include("fbegin.inc");
- if(strstr($pfSversion, "1.2"))
- echo "<p class=\"pgtitle\">{$pgtitle}</p>";
if($savemsg) {
echo "<div id='savemsg'>";
print_info_box($savemsg);
diff --git a/usr/local/www/diag_system_activity.php b/usr/local/www/diag_system_activity.php
index 6d62569..d62e7cb 100644
--- a/usr/local/www/diag_system_activity.php
+++ b/usr/local/www/diag_system_activity.php
@@ -41,8 +41,6 @@
require("guiconfig.inc");
-$pfSversion = str_replace("\n", "", file_get_contents("/etc/version"));
-
$pgtitle = gettext("Diagnostics: System Activity");
if($_REQUEST['getactivity']) {
@@ -78,8 +76,6 @@ include("head.inc");
<div id='maincontent'>
<?php
include("fbegin.inc");
- if(strstr($pfSversion, "1.2"))
- echo "<p class=\"pgtitle\">{$pgtitle}</p>";
if($savemsg) {
echo "<div id='savemsg'>";
print_info_box($savemsg);
diff --git a/usr/local/www/diag_system_pftop.php b/usr/local/www/diag_system_pftop.php
index 5bab968..a4674cb 100644
--- a/usr/local/www/diag_system_pftop.php
+++ b/usr/local/www/diag_system_pftop.php
@@ -40,8 +40,6 @@
require("guiconfig.inc");
-$pfSversion = str_replace("\n", "", file_get_contents("/etc/version"));
-
$pgtitle = gettext("Diagnostics: pfTop");
$sorttypes = array('age', 'bytes', 'dest', 'dport', 'exp', 'none', 'peak', 'pkt', 'rate', 'size', 'sport', 'src');
@@ -115,8 +113,6 @@ if($_REQUEST['sorttype'] && in_array($_REQUEST['sorttype'], $sorttypes)
<div id='maincontent'>
<?php
include("fbegin.inc");
- if(strstr($pfSversion, "1.2"))
- echo "<p class=\"pgtitle\">{$pgtitle}</p>";
if($savemsg) {
echo "<div id='savemsg'>";
print_info_box($savemsg);
diff --git a/usr/local/www/installer/installer.php b/usr/local/www/installer/installer.php
index 4774fc6..b5079c5 100644
--- a/usr/local/www/installer/installer.php
+++ b/usr/local/www/installer/installer.php
@@ -404,9 +404,6 @@ EOF;
function body_html() {
global $g, $fstype, $savemsg;
- $pfSversion = str_replace("\n", "", file_get_contents("/etc/version"));
- if(strstr($pfSversion, "1.2"))
- $one_two = true;
$pgtitle = array("{$g['product_name']}", gettext("Installer"));
include("head.inc");
echo <<<EOF
OpenPOWER on IntegriCloud