summaryrefslogtreecommitdiff
path: root/includes/template_head_end.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/template_head_end.php')
-rw-r--r--includes/template_head_end.php11
1 files changed, 3 insertions, 8 deletions
diff --git a/includes/template_head_end.php b/includes/template_head_end.php
index 9eea077..3cbea98 100644
--- a/includes/template_head_end.php
+++ b/includes/template_head_end.php
@@ -1,10 +1,5 @@
<?php
-$BODY_BG ??= "BLACK";
-$BODY_TX ??= "WHITE";
-$BODY_LN ??= "#FFFF99";
-$BODY_LV ??= "#FFFF99";
-$BODY_LA ??= "#FF9999";
-?>
-</head>
-<body bgcolor="<?= htmlentities($BODY_BG); ?>" background="/images/leather.gif" text="<?= htmlentities($BODY_TX); ?>" link="<?= htmlentities($BODY_LN); ?>" vlink="<?= htmlentities($BODY_LV); ?>" alink="<?= htmlentities($BODY_LA); ?>">
+$__mobile = include __DIR__ . "/mobile-detect.php";
+
+include __DIR__ . "/" . ($__mobile ? "mobile" : "desktop") . "/template_head_end.php";