diff options
author | Freya Murphy <freya@freyacat.org> | 2024-12-23 11:13:27 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-12-23 11:13:27 -0500 |
commit | 5a2ba9c2e7605bb788bc406184547d22c6436867 (patch) | |
tree | cbd988d534e8a8593a31d70571222443f80da0b3 /src/web/_views/head.php | |
parent | fix about modal (diff) | |
download | xssbook2-5a2ba9c2e7605bb788bc406184547d22c6436867.tar.gz xssbook2-5a2ba9c2e7605bb788bc406184547d22c6436867.tar.bz2 xssbook2-5a2ba9c2e7605bb788bc406184547d22c6436867.zip |
v2.1.0, refactor w/ crimson
Diffstat (limited to 'src/web/_views/head.php')
-rw-r--r-- | src/web/_views/head.php | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/src/web/_views/head.php b/src/web/_views/head.php index cca43a1..809ab36 100644 --- a/src/web/_views/head.php +++ b/src/web/_views/head.php @@ -4,23 +4,14 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <script> - <?php if ($this->main->session): ?> - var jwtStr = <?=json_encode($this->main->session['jwt'])?>; + <?php if ($session): ?> + var jwtStr = <?=json_encode($session['jwt'])?>; <?php else: ?> var jwtStr = null; <?php endif; ?> </script> - <?php - foreach ($js_files as $js) { - echo $this->main->link_js($js); - } - foreach ($css_files as $css) { - echo $this->main->link_css($css); - } - ?> + <?=CRIMSON_META($this)?> <title><?=$title?></title> - <!-- haa haa hee hee hoo hoo --> - <script src="https://unpkg.com/@ruffle-rs/ruffle"></script> </head> <body> <div id="toast-container"> |