This commit is contained in:
Murphy 2024-09-27 15:10:18 -04:00
parent cc2c4de595
commit 36c2de429b
Signed by: freya
GPG key ID: 744AB800E383AE52

View file

@ -21,17 +21,27 @@
<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">
<?=$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);
<?php
/* Main CSS */
if (CONTEXT['app'] != 'bucket')
echo $this->link_css('css/main.css');
/* IE 4-7 Styles */
echo ie($this->embed_css('css/ie/ie.css'));
/* IE 4 Styles */
echo ie_ua($this->embed_css('css/ie/ie4.css'), 4);
/* IE 6-7 Styles */
echo '<!--[if (gt IE 5)&(lt IE 8) ]>';
echo $this->embed_css('css/ie/ie6.css');
echo '<![endif]-->';
/* CSS Files */
foreach($css as $file)
echo $this->embed_css($file);
/* JS Files */
echo ie('<iframe width="0" height="0">');
foreach($js as $file)
echo $this->link_js($file);
echo ie('</iframe>');
?>
<?=ie('<iframe width="0" height="0">')?>
<?php foreach($js as $file)
echo $this->link_js($file);
?>
<?=ie('</iframe>')?>