ff40ee6b86a7d863083b1691a6d7f75925c7fe24
[mtweb] / web / out / dist / views / head.php
1     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
2
3     <!-- METAS -->
4
5     <title><?php echo $this->config("site_name"); ?></title>
6     <meta name="description" content="<?php echo $this->config("site_description"); ?>" />
7
8     <!-- SCRIPTS -->
9
10     <script type="text/javascript"> site_url = "<?= $this->path("web") ?>"; </script>
11     <script type="text/javascript" src="<?= $this->out_file("js/md5.js") ?>"></script>
12     <script type="text/javascript" src="<?= $this->out_file("js/login.js") ?>"></script>
13     <script type="text/javascript" src="<?= $this->out_file("js/jquery-1.5.2.min.js") ?>"></script>
14     <script type="text/javascript" src="<?= $this->out_file("js/jquery.colorbox-min.js") ?>"></script>
15     <script type="text/javascript" src="<?= $this->out_file("js/jquery-ui-1.8.12.custom.min.js") ?>"></script>
16     <script type="text/javascript" src="<?= $this->out_file("js/menu.js") ?>"></script>
17 <?php if($this->out_file_exists("js/actions/".$this->etat("mod")."_".$this->etat("controller")."_".$this->etat("action").".js")) : ?>
18     <script type="text/javascript" src="<?= $this->out_file("js/actions/".$this->etat("mod")."_".$this->etat("controller")."_".$this->etat("action").".js") ?>"></script>
19 <?php endif; ?>
20 <?php if($this->out_file_exists("js/actions/".$this->etat("mod")."_".$this->etat("controller").".js")) : ?>
21     <script type="text/javascript" src="<?= $this->out_file("js/actions/".$this->etat("mod")."_".$this->etat("controller").".js") ?>"></script>
22 <?php endif; ?>
23 <?php if($this->out_file_exists("js/actions/".$this->etat("mod").".js")) : ?>
24     <script type="text/javascript" src="<?= $this->out_file("js/actions/".$this->etat("mod").".js") ?>"></script>
25 <?php endif; ?>
26
27     <!-- CSS -->
28
29     <link rel="stylesheet" type="text/css" href="<?= $this->out_file("css/style.css") ?>" />
30     <link rel="stylesheet" type="text/css" href="<?= $this->out_file("css/colors.css") ?>" />
31     <link rel="stylesheet" type="text/css" href="<?= $this->out_file("css/colorbox.css") ?>" />
32     <link rel="stylesheet" type="text/css" href="<?= $this->out_file("css/ui-lightness/jquery-ui-1.8.12.custom.css") ?>" />
33 <?php if($this->out_file_exists("css/actions/".$this->etat("mod")."_".$this->etat("controller")."_".$this->etat("action").".css")) : ?>
34     <link rel="stylesheet" type="text/css" href="<?= $this->out_file("css/actions/".$this->etat("mod")."_".$this->etat("controller")."_".$this->etat("action").".css") ?>" />
35 <?php endif; ?>
36 <?php if($this->out_file_exists("css/actions/".$this->etat("mod")."_".$this->etat("controller").".css")) : ?>
37     <link rel="stylesheet" type="text/css" href="<?= $this->out_file("css/actions/".$this->etat("mod")."_".$this->etat("controller").".css") ?>" />
38 <?php endif; ?>
39 <?php if($this->out_file_exists("css/actions/".$this->etat("mod").".css")) : ?>
40     <link rel="stylesheet" type="text/css" href="<?= $this->out_file("css/actions/".$this->etat("mod").".css") ?>" />
41 <?php endif; ?>