diff --git a/Update.bat b/Update.bat index 986e2d1..3dd613c 100644 --- a/Update.bat +++ b/Update.bat @@ -8,6 +8,9 @@ CACLS config.php /e /p everyone:f CACLS Update.bat /e /p everyone:f CACLS replace.vbs /e /p everyone:f ICACLS .git /grant:r "NT AUTHORITY\NETWORKSERVICE":(OI)(CI)RXW /T +ICACLS config.php /grant:r "NT AUTHORITY\NETWORKSERVICE":(OI)(CI)RXW /T +ICACLS Update.bat /grant:r "NT AUTHORITY\NETWORKSERVICE":(OI)(CI)RXW /T +ICACLS replace.vbs /grant:r "NT AUTHORITY\NETWORKSERVICE":(OI)(CI)RXW /T echo Permissions Updated @ECHO OFF @@ -241,6 +244,25 @@ findstr "KWorldEnabled" config.php >nul 2>&1 goto END :END + rem widgetcolour +findstr "widgetcolour" config.php >nul 2>&1 + if errorlevel 1 goto ONE + if errorlevel 0 goto ZERO + goto END + :ZERO + echo widgetcolour Already Updated + goto END + :ONE + echo ^>config.php + echo //// widgetcolour Settings >> config.php + echo $widgetcolour = "#000000"; >> config.php + echo //// >> config.php + echo ^?^> >> config.php + echo WidgetColour Updated + goto END + :END + + rem Update Version findstr "localversion" config.php >nul 2>&1 if errorlevel 1 goto ONE @@ -261,8 +283,8 @@ findstr "localversion" config.php >nul 2>&1 goto END :END :ONE - cscript replace.vbs "config.php" "2.0" "2.1" - echo Version Updated to 2.1 + cscript replace.vbs "config.php" "2.1" "2.2" + echo Version Updated to 2.2 goto END :END diff --git a/bootstrap_services.php b/bootstrap_services.php index bfb41e6..66c29e7 100644 --- a/bootstrap_services.php +++ b/bootstrap_services.php @@ -28,7 +28,7 @@ require "configs_services.php"; # Start a variable to contain Service Status. -$serverStatus = ""; +$serverStatus = "
ServiceStatus
"; # Process all services montiored. foreach( $configs['servicesKloud'] as $serviceName => $servicePort ) diff --git a/clock.php b/clock.php index 750f01f..266c44a 100644 --- a/clock.php +++ b/clock.php @@ -12,7 +12,7 @@
ServiceStatus
- + diff --git a/config/menu.php b/config/menu.php index 46046bb..ac4074c 100644 --- a/config/menu.php +++ b/config/menu.php @@ -1,2 +1,2 @@ -General - SAB/Couch/Sick - Others - Drive Space - RSS/Server Statuses - Picture Upload - Manual Update +General - SAB/Couch/Sick - Others - Drive Space - RSS/Server Statuses - Picture Upload - Manual Update - Download Config File diff --git a/config/set1.php b/config/set1.php index 0522f18..826b7c6 100644 --- a/config/set1.php +++ b/config/set1.php @@ -21,6 +21,8 @@
Custom Background Colour:
+ Widget Header Colour: +

KWorld Enabled: "0") echo "checked=checked; "; ?> />

@@ -37,11 +39,11 @@
Show Version : "0") echo "checked=checked; "; ?> /> ()

- Widget Background: "0") echo "checked=checked; "; ?> />
- Custom Widget Background: "0") echo "checked=checked; "; ?> />
- Background Colour: + Icon Background: "0") echo "checked=checked; "; ?> />
+ Custom Icon Background: "0") echo "checked=checked; "; ?> />
+ Custom Icon Background Colour:
- Reset Widgets :
+ Reset Icon Positions :

diff --git a/config/write1.php b/config/write1.php index 1dbc42e..49e30ae 100644 --- a/config/write1.php +++ b/config/write1.php @@ -16,6 +16,7 @@ $widgetbackgroud1 = $_POST['widgetvisible']; $customwidgetbackgroud1 = $_POST['customwidget']; $widgetbackgroudcolour1 = $_POST['widgetbackgroudcolour']; $KWorldEnabled1 = $_POST['kworldenabled']; +$widgetcolor1 = $_POST['widgetcolor']; // $fl='../config.php'; @@ -29,6 +30,7 @@ $content = preg_replace( '/\$base = \"(.*?)\";/', '$base = "'.$yb.'";', $conte $content = preg_replace( '/\$user = \"(.*?)\";/', '$user = "'.$user1.'";', $content); $content = preg_replace( '/\$pass = \"(.*?)\";/', '$pass = "'.$pass1.'";', $content); $content = preg_replace( '/\$custombackground = \"(.*?)\";/', '$custombackground = "#'.$backgroundcolor1.'";', $content); +$content = preg_replace( '/\$widgetcolour = \"(.*?)\";/', '$widgetcolour = "#'.$widgetcolor1.'";', $content); // version Settings if (empty($showversion1)) { $content = preg_replace( '/\$showversion = \"(.*?)\";/', '$showversion = "0";', $content); diff --git a/css/static.php b/css/static.php new file mode 100644 index 0000000..5f51c8a --- /dev/null +++ b/css/static.php @@ -0,0 +1,13 @@ + + + +table,th,td { } + +tr { background-color:; + +} + + + diff --git a/download.php b/download.php new file mode 100644 index 0000000..0d6a2e3 --- /dev/null +++ b/download.php @@ -0,0 +1,22 @@ + \ No newline at end of file diff --git a/drives/drive1.php b/drives/drive1.php index d228f96..8968f17 100644 --- a/drives/drive1.php +++ b/drives/drive1.php @@ -30,8 +30,8 @@ require_once 'DiskStatus.class.php'; } ?> - - + + - + diff --git a/drives/drive3.php b/drives/drive3.php index 9388120..1b71aee 100644 --- a/drives/drive3.php +++ b/drives/drive3.php @@ -31,7 +31,7 @@ require_once 'DiskStatus.class.php'; ?> - + - + - + - + - + - + \ No newline at end of file diff --git a/feeds/kknowledgefeed.php b/feeds/kknowledgefeed.php index 150623b..4d618b6 100644 --- a/feeds/kknowledgefeed.php +++ b/feeds/kknowledgefeed.php @@ -1,5 +1,6 @@ +
Time
\ (of )
\ (of )
diff --git a/drives/drive2.php b/drives/drive2.php index 5355a7c..2ddea76 100644 --- a/drives/drive2.php +++ b/drives/drive2.php @@ -31,7 +31,7 @@ require_once 'DiskStatus.class.php'; ?>
\ (of )\ (of )
\ (of )\ (of )
diff --git a/drives/drive4.php b/drives/drive4.php index 70b4985..b0d06c4 100644 --- a/drives/drive4.php +++ b/drives/drive4.php @@ -31,7 +31,7 @@ require_once 'DiskStatus.class.php'; ?>
\ (of )\ (of )
diff --git a/drives/drive5.php b/drives/drive5.php index 0e62747..cdf8a17 100644 --- a/drives/drive5.php +++ b/drives/drive5.php @@ -31,7 +31,7 @@ require_once 'DiskStatus.class.php'; ?>
\ (of )\ (of )
diff --git a/drives/drive6.php b/drives/drive6.php index a32381c..a4d7187 100644 --- a/drives/drive6.php +++ b/drives/drive6.php @@ -31,7 +31,7 @@ require_once 'DiskStatus.class.php'; ?>
\ (of )\ (of )
diff --git a/drives/drive7.php b/drives/drive7.php index d06716f..074f6d7 100644 --- a/drives/drive7.php +++ b/drives/drive7.php @@ -31,7 +31,7 @@ require_once 'DiskStatus.class.php'; ?>
\ (of )\ (of )
diff --git a/drives/head.php b/drives/head.php index 38ea357..076a7a3 100644 --- a/drives/head.php +++ b/drives/head.php @@ -1,5 +1,5 @@
Drive Space