mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@@ -2,7 +2,7 @@
|
||||
|
||||
include("../../config.php");
|
||||
include("../../includes/functions.php");
|
||||
include("../includes/authenticate.inc");
|
||||
include("../includes/authenticate.inc.php");
|
||||
if(!$_SESSION['authenticated']) { echo("unauthenticated"); exit; }
|
||||
|
||||
if(isset($_GET['device_id'])){
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
include("../config.php");
|
||||
include("../includes/functions.php");
|
||||
include("includes/authenticate.inc");
|
||||
include("includes/authenticate.inc.php");
|
||||
if(!$_SESSION['authenticated']) { echo("unauthenticated"); exit; }
|
||||
require("includes/jpgraph/src/jpgraph.php");
|
||||
include("includes/jpgraph/src/jpgraph_line.php");
|
||||
|
||||
@@ -26,7 +26,7 @@ if($_GET['debug']) {
|
||||
|
||||
include("../config.php");
|
||||
include("../includes/functions.php");
|
||||
include("includes/authenticate.inc");
|
||||
include("includes/authenticate.inc.php");
|
||||
if(!$_SESSION['authenticated']) { echo("not authenticated"); exit; }
|
||||
|
||||
function makeTextBlock($text, $fontfile, $fontsize, $width) {
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@ if($_GET['debug']) {
|
||||
include("../includes/common.php");
|
||||
include("../includes/graphing.php");
|
||||
include("../includes/rewrites.php");
|
||||
include("includes/authenticate.inc");
|
||||
include("includes/authenticate.inc.php");
|
||||
|
||||
# if(!$_SESSION['authenticated']) { echo("not authenticated"); exit; }
|
||||
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ if($debug) {
|
||||
include("../config.php");
|
||||
include("../includes/functions.php");
|
||||
include("includes/functions.inc.php");
|
||||
include("includes/authenticate.inc");
|
||||
include("includes/authenticate.inc.php");
|
||||
$start = utime();
|
||||
|
||||
$now = time();
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
include("../config.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 = ""; }
|
||||
$deviceresult = mysql_query("SELECT * from devices $where");
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ if($_GET[debug]) {
|
||||
|
||||
include("../config.php");
|
||||
include("../includes/functions.php");
|
||||
include("includes/authenticate.inc");
|
||||
include("includes/authenticate.inc.php");
|
||||
if(!$_SESSION['authenticated']) { echo("unauthenticated"); exit; }
|
||||
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ if($_SESSION['userlevel'] < '10') {
|
||||
|
||||
if($_POST['addsrv']) {
|
||||
if($_SESSION['userlevel'] == '10') {
|
||||
include("includes/add-srv.inc");
|
||||
include("includes/service-add.inc.php");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ if($_SESSION['userlevel'] < '5') {
|
||||
|
||||
if($_POST['delsrv']) {
|
||||
if($_SESSION['userlevel'] > "5") {
|
||||
include("includes/del-srv.inc");
|
||||
include("includes/service-delete.inc.php");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ $select[$section] = "selected";
|
||||
$device_query = mysql_query("SELECT * FROM `devices` WHERE `device_id` = '" . $_GET['id'] . "'");
|
||||
while($device = mysql_fetch_array($device_query)) {
|
||||
echo('<table cellpadding="15" cellspacing="0" class="devicetable" width="100%">');
|
||||
include("includes/device-header.inc");
|
||||
include("includes/device-header.inc.php");
|
||||
echo("</table>");
|
||||
|
||||
echo("<div class=mainpane>");
|
||||
|
||||
@@ -6,7 +6,7 @@ if($_SESSION['userlevel'] < '5') {
|
||||
|
||||
if($_POST['editing']) {
|
||||
if($_SESSION['userlevel'] > "5") {
|
||||
include("includes/edit-host.inc");
|
||||
include("includes/device-edit.inc.php");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@ if($_GET['opta'] == "details" ) {
|
||||
$hostname = $device['hostname'];
|
||||
#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%>");
|
||||
include("includes/device-header.inc");
|
||||
include("includes/device-header.inc.php");
|
||||
echo("</table>");
|
||||
$ports = mysql_query("SELECT * FROM `ports` WHERE `ifVrf` = '".$device['vrf_id']."' and device_id = '".$device['device_id']."'");
|
||||
unset($seperator);
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
include("../config.php");
|
||||
include("../includes/functions.php");
|
||||
include("includes/authenticate.inc");
|
||||
include("includes/authenticate.inc.php");
|
||||
|
||||
if (isset($_GET["dir"])) {
|
||||
$dir = $_GET["dir"];
|
||||
|
||||
Reference in New Issue
Block a user