space
This commit is contained in:
		
							parent
							
								
									01cd95fcc1
								
							
						
					
					
						commit
						a35c38e763
					
				| @ -16,7 +16,9 @@ $madsonicport = ""; | ||||
| $plexport = ""; | ||||
| $squeezeport = ""; | ||||
| 
 | ||||
| $drive1visible = "1"; // Set drive visible or not 0 = no 1 = yes
 | ||||
| $drive1 = "C:"; // Set the hard drives to display 
 | ||||
| $drive2visible = "1"; | ||||
| $drive2 = "D:"; | ||||
| $drive3 = "E:"; | ||||
| $drive4 = "F:"; | ||||
| @ -33,9 +35,10 @@ $server3url = ""; | ||||
| $server4name = ""; | ||||
| $server4url = ""; | ||||
| 
 | ||||
| $clockvisable = "1"; | ||||
| $kknowledgefeedvisable = "1"; | ||||
| $webclipfeedvisable = "1"; | ||||
| // Set widgets visible or not 0 = no 1 = yes
 | ||||
| $clockvisible = "1";  | ||||
| $kknowledgefeedvisible = "1"; | ||||
| $webclipfeedvisible = "1"; | ||||
| 
 | ||||
| 
 | ||||
| // do not edit past here
 | ||||
|  | ||||
| @ -30,7 +30,7 @@ indicateSelected(formref.switchcontrol) | ||||
| <div class="innertube"> | ||||
| 
 | ||||
| <?php | ||||
| if ($clockvisable > "0") { | ||||
| if ($clockvisible > "0") { | ||||
|     require "clock.php"; | ||||
| } else { | ||||
|      | ||||
| @ -38,7 +38,7 @@ if ($clockvisable > "0") { | ||||
| ?>
 | ||||
| 
 | ||||
| <?php | ||||
| if ($kknowledgefeedvisable > "0") { | ||||
| if ($kknowledgefeedvisible > "0") { | ||||
|     require "kknowledgefeed.php"; | ||||
| } else { | ||||
|      | ||||
| @ -46,7 +46,7 @@ if ($kknowledgefeedvisable > "0") { | ||||
| ?>
 | ||||
| 
 | ||||
| <?php | ||||
| if ($webclipfeedvisable > "0") { | ||||
| if ($webclipfeedvisible > "0") { | ||||
|     require "webclipfeed.php"; | ||||
| } else { | ||||
|      | ||||
|  | ||||
| @ -51,7 +51,8 @@ indicateSelected(formref.switchcontrol) | ||||
| 
 | ||||
| require_once 'DiskStatus.class.php'; | ||||
| 
 | ||||
| try { | ||||
| if ($drive1visible > "0") { | ||||
|     try { | ||||
|   $diskStatusC = new DiskStatus("$drive1"); | ||||
| 
 | ||||
|   $freeSpaceC = $diskStatusC->freeSpace(); | ||||
| @ -61,6 +62,7 @@ try { | ||||
| } catch (Exception $e) { | ||||
|   echo 'Error ('.$e->getMessage().')'; | ||||
|   exit(); | ||||
| }  | ||||
| } | ||||
| 
 | ||||
| try { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user