diff options
author | Jonas Kohl | 2024-09-06 14:38:26 +0200 |
---|---|---|
committer | Jonas Kohl | 2024-09-06 14:38:26 +0200 |
commit | 0540e04c77864186ce48193456634b897a11f5aa (patch) | |
tree | 92607cc903a9b0dc482ca14f3d33ab9c3707d78c /includes/template_head_end.php | |
parent | 2d8a37e7ac46aa100f2e460b024d21bae2883f5b (diff) |
Add mobile version
Diffstat (limited to 'includes/template_head_end.php')
-rw-r--r-- | includes/template_head_end.php | 11 |
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"; |