nouveau module "models" dans l'environnement
[mtweb] / mw / app / out / default / views / head.php
index b33f80b..8a252ca 100644 (file)
@@ -1,7 +1,9 @@
     <meta charset="UTF-8">
 
     <title><?php echo $this->config("site_name"); ?></title>
-    <meta name="description" content="<?php echo esc_attr($this->config("description")); ?>" />
+    <?php if($this->config("description")) : ?>
+    <meta name="description" content="<?php echo $this->helper("mw_helper_out")->esc_attr($this->config("description")); ?>" />
+    <?php endif; ?>
 
     <!--[if lt IE 9]>\r
     <script type="text/javascript" src="<?php echo $this->out_url("js/html5.js"); ?>"></script>\r