rename some gui include files

git-svn-id: http://www.observium.org/svn/observer/trunk@891 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-02-20 17:37:42 +00:00
parent caab3ee1c4
commit e227df8ef2
18 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
include("../../config.php"); include("../../config.php");
include("../../includes/functions.php"); include("../../includes/functions.php");
include("../includes/authenticate.inc"); include("../includes/authenticate.inc.php");
if(!$_SESSION['authenticated']) { echo("unauthenticated"); exit; } if(!$_SESSION['authenticated']) { echo("unauthenticated"); exit; }
if(isset($_GET['device_id'])){ if(isset($_GET['device_id'])){
+1 -1
View File
@@ -7,7 +7,7 @@
include("../config.php"); include("../config.php");
include("../includes/functions.php"); include("../includes/functions.php");
include("includes/authenticate.inc"); include("includes/authenticate.inc.php");
if(!$_SESSION['authenticated']) { echo("unauthenticated"); exit; } if(!$_SESSION['authenticated']) { echo("unauthenticated"); exit; }
require("includes/jpgraph/src/jpgraph.php"); require("includes/jpgraph/src/jpgraph.php");
include("includes/jpgraph/src/jpgraph_line.php"); include("includes/jpgraph/src/jpgraph_line.php");
+1 -1
View File
@@ -26,7 +26,7 @@ if($_GET['debug']) {
include("../config.php"); include("../config.php");
include("../includes/functions.php"); include("../includes/functions.php");
include("includes/authenticate.inc"); include("includes/authenticate.inc.php");
if(!$_SESSION['authenticated']) { echo("not authenticated"); exit; } if(!$_SESSION['authenticated']) { echo("not authenticated"); exit; }
function makeTextBlock($text, $fontfile, $fontsize, $width) { function makeTextBlock($text, $fontfile, $fontsize, $width) {
+1 -1
View File
@@ -13,7 +13,7 @@ if($_GET['debug']) {
include("../includes/common.php"); include("../includes/common.php");
include("../includes/graphing.php"); include("../includes/graphing.php");
include("../includes/rewrites.php"); include("../includes/rewrites.php");
include("includes/authenticate.inc"); include("includes/authenticate.inc.php");
# if(!$_SESSION['authenticated']) { echo("not authenticated"); exit; } # if(!$_SESSION['authenticated']) { echo("not authenticated"); exit; }
+1 -1
View File
@@ -15,7 +15,7 @@ if($debug) {
include("../config.php"); include("../config.php");
include("../includes/functions.php"); include("../includes/functions.php");
include("includes/functions.inc.php"); include("includes/functions.inc.php");
include("includes/authenticate.inc"); include("includes/authenticate.inc.php");
$start = utime(); $start = utime();
$now = time(); $now = time();
+1 -1
View File
@@ -2,7 +2,7 @@
include("../config.php"); include("../config.php");
include("../includes/functions.php"); include("../includes/functions.php");
include("includes/authenticate.inc"); include("includes/authenticate.inc.php");
if (isset($_GET['device'])) { $where = "WHERE device_id = ".$_GET['device']; } else { $where = ""; } if (isset($_GET['device'])) { $where = "WHERE device_id = ".$_GET['device']; } else { $where = ""; }
$deviceresult = mysql_query("SELECT * from devices $where"); $deviceresult = mysql_query("SELECT * from devices $where");
+1 -1
View File
@@ -12,7 +12,7 @@ if($_GET[debug]) {
include("../config.php"); include("../config.php");
include("../includes/functions.php"); include("../includes/functions.php");
include("includes/authenticate.inc"); include("includes/authenticate.inc.php");
if(!$_SESSION['authenticated']) { echo("unauthenticated"); exit; } if(!$_SESSION['authenticated']) { echo("unauthenticated"); exit; }
+1 -1
View File
@@ -6,7 +6,7 @@ if($_SESSION['userlevel'] < '10') {
if($_POST['addsrv']) { if($_POST['addsrv']) {
if($_SESSION['userlevel'] == '10') { if($_SESSION['userlevel'] == '10') {
include("includes/add-srv.inc"); include("includes/service-add.inc.php");
} }
} }
+1 -1
View File
@@ -6,7 +6,7 @@ if($_SESSION['userlevel'] < '5') {
if($_POST['delsrv']) { if($_POST['delsrv']) {
if($_SESSION['userlevel'] > "5") { if($_SESSION['userlevel'] > "5") {
include("includes/del-srv.inc"); include("includes/service-delete.inc.php");
} }
} }
+1 -1
View File
@@ -17,7 +17,7 @@ $select[$section] = "selected";
$device_query = mysql_query("SELECT * FROM `devices` WHERE `device_id` = '" . $_GET['id'] . "'"); $device_query = mysql_query("SELECT * FROM `devices` WHERE `device_id` = '" . $_GET['id'] . "'");
while($device = mysql_fetch_array($device_query)) { while($device = mysql_fetch_array($device_query)) {
echo('<table cellpadding="15" cellspacing="0" class="devicetable" width="100%">'); echo('<table cellpadding="15" cellspacing="0" class="devicetable" width="100%">');
include("includes/device-header.inc"); include("includes/device-header.inc.php");
echo("</table>"); echo("</table>");
echo("<div class=mainpane>"); echo("<div class=mainpane>");
+1 -1
View File
@@ -6,7 +6,7 @@ if($_SESSION['userlevel'] < '5') {
if($_POST['editing']) { if($_POST['editing']) {
if($_SESSION['userlevel'] > "5") { if($_SESSION['userlevel'] > "5") {
include("includes/edit-host.inc"); include("includes/device-edit.inc.php");
} }
} }
+1 -1
View File
@@ -39,7 +39,7 @@ if($_GET['opta'] == "details" ) {
$hostname = $device['hostname']; $hostname = $device['hostname'];
#if(!is_integer($x/2)) { $device_colour = $list_colour_a; } else { $device_colour = $list_colour_b; } #if(!is_integer($x/2)) { $device_colour = $list_colour_a; } else { $device_colour = $list_colour_b; }
echo("<table cellpadding=7 cellspacing=0 class=devicetable width=100%>"); echo("<table cellpadding=7 cellspacing=0 class=devicetable width=100%>");
include("includes/device-header.inc"); include("includes/device-header.inc.php");
echo("</table>"); echo("</table>");
$ports = mysql_query("SELECT * FROM `ports` WHERE `ifVrf` = '".$device['vrf_id']."' and device_id = '".$device['device_id']."'"); $ports = mysql_query("SELECT * FROM `ports` WHERE `ifVrf` = '".$device['vrf_id']."' and device_id = '".$device['device_id']."'");
unset($seperator); unset($seperator);
+1 -1
View File
@@ -2,7 +2,7 @@
include("../config.php"); include("../config.php");
include("../includes/functions.php"); include("../includes/functions.php");
include("includes/authenticate.inc"); include("includes/authenticate.inc.php");
if (isset($_GET["dir"])) { if (isset($_GET["dir"])) {
$dir = $_GET["dir"]; $dir = $_GET["dir"];