Explorar o código

Added entry to homepage sort function

Henry Whitaker %!s(int64=6) %!d(string=hai) anos
pai
achega
85cb99cec3
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  1. 7 0
      api/functions/homepage-functions.php

+ 7 - 0
api/functions/homepage-functions.php

@@ -2668,6 +2668,13 @@ function buildHomepageSettings()
 					$class .= ' faded';
 				}
 				break;
+			case 'homepageOrderPihole':
+				$class = 'bg-info';
+				$image = 'plugins/images/tabs/pihole.png';
+				if (!$GLOBALS['homepagePiholeEnabled']) {
+					$class .= ' faded';
+				}
+				break;
 			default:
 				$class = 'blue-bg';
 				$image = '';