summaryrefslogtreecommitdiff
path: root/includes/desktop/template_head_start.php
blob: c9312029d020c8704b0caa299d1c6de26c80ce9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
    <meta http-equiv="imagetoolbar" content="no">
    <meta http-equiv="MSThemeCompatible" content="no">
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title><?= htmlentities($PAGE_TITLE ?? "") ?></title>
    <script language="JavaScript">
    <!--
        function getLocation() {
            return "/site.php?p=" + encodeURIComponent(location.href.split('?')[0].replace(/^.*\//, ""));
        }

        if (window.top == window.self) {
            location = getLocation();
        } else if ("history" in window.top && "replaceState" in window.top.history) {
            window.top.history.replaceState(null, "", getLocation());
            window.top.document.title = document.title + " \u2012 Mystic House Corner";
        }
    // -->
    </script>