fix css
This commit is contained in:
parent
cc2c4de595
commit
36c2de429b
1 changed files with 23 additions and 13 deletions
|
@ -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)
|
||||
<?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);
|
||||
?>
|
||||
<?=ie('<iframe width="0" height="0">')?>
|
||||
<?php foreach($js as $file)
|
||||
|
||||
/* JS Files */
|
||||
echo ie('<iframe width="0" height="0">');
|
||||
foreach($js as $file)
|
||||
echo $this->link_js($file);
|
||||
echo ie('</iframe>');
|
||||
?>
|
||||
<?=ie('</iframe>')?>
|
||||
|
|
Loading…
Reference in a new issue