From 302648afbc90716f2a849d729315ada692ebc4fa Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Thu, 17 Mar 2011 16:18:05 +0000 Subject: [PATCH] Rename .inc to .inc.php files, remove more dead files git-svn-id: http://www.observium.org/svn/observer/trunk@1913 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/header.inc.php | 2 +- html/includes/ifbox.inc | 32 ------------------- ...nt-short.inc => print-event-short.inc.php} | 0 .../{print-event.inc => print-event.inc.php} | 0 ...rint-service.inc => print-service.inc.php} | 0 ...{print-syslog.inc => print-syslog.inc.php} | 0 .../{print-vrf.inc => print-vrf.inc.php} | 0 html/includes/publicnav.inc | 0 html/includes/{topnav.inc => topnav.inc.php} | 0 9 files changed, 1 insertion(+), 33 deletions(-) delete mode 100644 html/includes/ifbox.inc rename html/includes/{print-event-short.inc => print-event-short.inc.php} (100%) rename html/includes/{print-event.inc => print-event.inc.php} (100%) rename html/includes/{print-service.inc => print-service.inc.php} (100%) rename html/includes/{print-syslog.inc => print-syslog.inc.php} (100%) rename html/includes/{print-vrf.inc => print-vrf.inc.php} (100%) delete mode 100644 html/includes/publicnav.inc rename html/includes/{topnav.inc => topnav.inc.php} (100%) diff --git a/html/includes/header.inc.php b/html/includes/header.inc.php index 024aadb9c..40583e608 100644 --- a/html/includes/header.inc.php +++ b/html/includes/header.inc.php @@ -29,7 +29,7 @@ if ($_SESSION['authenticated']) diff --git a/html/includes/ifbox.inc b/html/includes/ifbox.inc deleted file mode 100644 index 73948f0e1..000000000 --- a/html/includes/ifbox.inc +++ /dev/null @@ -1,32 +0,0 @@ -$inf

"); - -if (isset($ifalias) && $ifalias != "") { echo(''.$ifalias.'
'); } -if (isset($iftype) && $iftype != "") -{ - echo(''.$iftype.' '); - if ($mac && $mac != "") - { - echo("$mac
"); - } - else - { - echo("
"); - } -} - -if ($interface[ifType] != "softwareLoopback") -{ - if ($speed == '0') { $speed = "0bps"; } - echo(''.$speed); - if ($interface[ifDuplex] != unknown) { echo(" / $interface[ifDuplex]-duplex"); } - if ($interface[ifMtu] && $interface[ifMtu] != "") { echo(" / $interface[ifMtu]MTU"); } - echo(''); -} - -echo(''.$status.''); - -?> diff --git a/html/includes/print-event-short.inc b/html/includes/print-event-short.inc.php similarity index 100% rename from html/includes/print-event-short.inc rename to html/includes/print-event-short.inc.php diff --git a/html/includes/print-event.inc b/html/includes/print-event.inc.php similarity index 100% rename from html/includes/print-event.inc rename to html/includes/print-event.inc.php diff --git a/html/includes/print-service.inc b/html/includes/print-service.inc.php similarity index 100% rename from html/includes/print-service.inc rename to html/includes/print-service.inc.php diff --git a/html/includes/print-syslog.inc b/html/includes/print-syslog.inc.php similarity index 100% rename from html/includes/print-syslog.inc rename to html/includes/print-syslog.inc.php diff --git a/html/includes/print-vrf.inc b/html/includes/print-vrf.inc.php similarity index 100% rename from html/includes/print-vrf.inc rename to html/includes/print-vrf.inc.php diff --git a/html/includes/publicnav.inc b/html/includes/publicnav.inc deleted file mode 100644 index e69de29bb..000000000 diff --git a/html/includes/topnav.inc b/html/includes/topnav.inc.php similarity index 100% rename from html/includes/topnav.inc rename to html/includes/topnav.inc.php