Hi,
I had a request from by boss concerning changing the index page display of free space to a percentage rather than fixed size. It makes sense so I did it.
Changes: File: index.php Line: 105 [code]DisplaySection('f4',__("Partition free space less than ").$partition_free_space.__(" %"),'PartitionUsage','Partitions');[/code]
File: index_data.php Line: 367 [code]$sql .= "WHERE round(((par.partition_free_space/par.partition_size) * 100),1) < '$partition_free_space' AND sys.system_uuid = par.partition_uuid AND par.partition_timestamp = sys.system_timestamp ";[/code]
One place I am not sure where to make the change is in the admin config page. I can enter a number, let's say "10", and it works fine. there are two places in the admin page that would need updating:
1. The form changed from MB to % 2. The default value for that field changed from "500" to "10"
Hope everyone finds it useful.
Jason
_________________ OA Deployment: Windows 2003 with XAMPP install 80 Windows Servers 250 Windows workstations (mixed XP and 2000) 5 MACs Multiple printers, switches, routers, firewalls, and other servers (ESX, AIX etc.)
|