drive space switch

This commit is contained in:
Karl Hudgell 2015-07-05 09:57:32 +01:00
parent 269c41de82
commit 1e21f2de5a
2 changed files with 9 additions and 14 deletions

View File

@ -16,7 +16,8 @@ $madsonicport = "";
$plexport = "";
$squeezeport = "";
$drive1visible = "1"; // Set drive visible or not 0 = no 1 = yes
$drivespacevisible = "1"; // Set to turn on or off drive space (0 = no 1 = yes)
$drive1visible = "1"; // Set drive visible or not ()0 = no 1 = yes)
$drive1 = "C:"; // Set the hard drives to display
$drive2visible = "1";
$drive2 = "D:";
@ -40,12 +41,13 @@ $server3url = "";
$server4name = "";
$server4url = "";
// Set widgets visible or not 0 = no 1 = yes
// Set widgets visible or not (0 = no 1 = yes)
$clockvisible = "1";
$kknowledgefeedvisible = "1";
$webclipfeedvisible = "1";
// do not edit past here
$local = "1";

View File

@ -36,20 +36,13 @@ indicateSelected(formref.switchcontrol)
}
</script>
</head>
<div id="style">
<div class="innertube">
<table width='190' border='0' cellspacing='0' cellpadding='0'>
<tr BGCOLOR='#0066FF'>
<th style='text-align: left;'><font color='white'>Drive Space</font></th>
</tr>
<tr>
<td BGCOLOR='#FFFFFF'>
</form>
</td>
</table>
<?php include 'config.php';?>
<?php
if ($drivespacevisible > "0") {
require "drives/head.php";
}
?>
<?php
if ($drive1visible > "0") {
require "drives/drive1.php";
}