diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3c41f8c --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +config.php +.idea/ +.vscode/ +.code/ \ No newline at end of file diff --git a/template.php b/template.php index b66b8dc..9fa6e61 100644 --- a/template.php +++ b/template.php @@ -58,9 +58,13 @@ class Template{ + fclose($headfile); + echo $head_additionalcode; + } + ?> <?php echo $page_name." - ".NAME ?> @@ -174,6 +178,9 @@ class Template{ /** * Renders a toggle switch * Created by Yigit Kerem Oktay + * @param String $toggletext will decide what the description text next to the toggle will be + * @param String $input_name will decide what the HTML Name attribute of the toggle will be + * @param Boolean $checked will decide if the toggle will initially be on or off */ public static function render_toggle($toggletext,$input_name,$checked){ ?> @@ -199,7 +206,7 @@ class Template{
-
Copyright © Server Status Project Contributors 1){ echo " and ".COPYRIGHT_TEXT; } ?>
+
Copyright © Server Status Project Contributors 1){ echo " and ".COPYRIGHT_TEXT; } ?>