summaryrefslogtreecommitdiff
path: root/src/web/_views
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-09-27 15:05:35 -0400
committerFreya Murphy <freya@freyacat.org>2024-09-27 15:05:35 -0400
commitcc2c4de595bc3c4f7424d30342d74a5974fdefe0 (patch)
tree38a1daec46b11484c12eb6f08128dd05619b1e10 /src/web/_views
parentie5 (diff)
downloadwebsite-cc2c4de595bc3c4f7424d30342d74a5974fdefe0.tar.gz
website-cc2c4de595bc3c4f7424d30342d74a5974fdefe0.tar.bz2
website-cc2c4de595bc3c4f7424d30342d74a5974fdefe0.zip
ie4
Diffstat (limited to 'src/web/_views')
-rw-r--r--src/web/_views/comments.php10
-rw-r--r--src/web/_views/footer.php4
-rw-r--r--src/web/_views/head.php8
-rw-r--r--src/web/_views/header.php5
4 files changed, 12 insertions, 15 deletions
diff --git a/src/web/_views/comments.php b/src/web/_views/comments.php
index bf30ec5..0828753 100644
--- a/src/web/_views/comments.php
+++ b/src/web/_views/comments.php
@@ -18,24 +18,24 @@
<div class="new">
<h3><?=lang('new_comment_title')?></h3>
<form id="new_comment" method="get" action="<?=lang('base_path') . '_comments/post'?>">
- <input
+ <div><input
type="text"
name="author"
id="author"
aria-label="<?=lang('new_comment_author_label')?>"
- placeholder="<?=lang('new_comment_author_ph')?>">
- <input
+ placeholder="<?=lang('new_comment_author_ph')?>"></div>
+ <div><input
type="text"
name="content"
id="content"
aria-label="<?=lang('new_comment_content_label')?>"
- placeholder="<?=lang('new_comment_content_ph')?>">
+ placeholder="<?=lang('new_comment_content_ph')?>"></div>
<input
type="hidden"
class="hidden"
name="ref"
value="<?=base64_encode($ref)?>">
- <input
+ <div><input
type="hidden"
class="hidden"
name="page"
diff --git a/src/web/_views/footer.php b/src/web/_views/footer.php
index eb0ee4c..59127ec 100644
--- a/src/web/_views/footer.php
+++ b/src/web/_views/footer.php
@@ -47,8 +47,6 @@
></iframe>
</div>
</div>
-<!--[if lt IE 8 ]>
- </center>
-<![endif]-->
+ <?=ie('</center>')?>
</body>
</html>
diff --git a/src/web/_views/head.php b/src/web/_views/head.php
index e54fd1c..f184953 100644
--- a/src/web/_views/head.php
+++ b/src/web/_views/head.php
@@ -21,15 +21,17 @@
<link rel="icon" type="image/png" sizes="512x512" href="<?=$this->get_url("public/icons/logo512.png", TRUE)?>">
<link rel="icon" type="image/png" sizes="640x640" href="<?=$this->get_url("public/icons/logo640.png", TRUE)?>">
<link rel="manifest" href="/manifest.json">
- <!--[if lt IE 8 ]>
- <?=$this->embed_css('css/ie/ie.css')?>
- <![endif]-->
+ <?=$this->link_css('css/main.css');?>
+ <?=ie($this->embed_css('css/ie/ie.css'))?>
+ <?=ie_ua($this->embed_css('css/ie/ie4.css'), 4)?>
<!--[if (gt IE 5)&(lt IE 8) ]>
<?=$this->embed_css('css/ie/ie6.css')?>
<![endif]-->
<?php foreach($css as $file)
echo $this->embed_css($file);
?>
+ <?=ie('<iframe width="0" height="0">')?>
<?php foreach($js as $file)
echo $this->link_js($file);
?>
+ <?=ie('</iframe>')?>
diff --git a/src/web/_views/header.php b/src/web/_views/header.php
index c06cef8..90a31ea 100644
--- a/src/web/_views/header.php
+++ b/src/web/_views/header.php
@@ -1,13 +1,10 @@
<?php /* Copyright (c) 2024 Freya Murphy */ ?>
<?php
$this->view('head', $data);
- echo $this->link_css('css/main.css');
?>
</head>
<body>
-<!--[if lt IE 8 ]>
- <center>
-<![endif]-->
+<?=ie('<center>')?>
<div class="center">
<div id="header" role="banner" aria-label="banner">
<?=image('img/headerLogo', 'alt_website_logo', size: '200')?>