Skip to content
Snippets Groups Projects
Commit c1958d12 authored by pbarroca's avatar pbarroca
Browse files

Pour éviter soucis de détections encoding en xpath, déclaration du meta...

Pour éviter soucis de détections encoding en xpath, déclaration du meta content-type avant toute sortie de texte
parent 63b365c3
Branches
Tags
No related merge requests found
<!DOCTYPE html >
<html lang="<?php echo $this->_translate()->getLocale() ?>">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title><?php echo $this->titre ?></title>
<?php $current_profil = Class_Profil::getCurrentProfil(); ?>
<?php $current_profil = Class_Profil::getCurrentProfil(); ?>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="description" content="<?php echo $current_profil->getCommentaire();?>" />
<meta name="keywords" content="<?php echo $current_profil->getRefTags();?>" />
<meta content="all" name="robots" />
<meta content="10 days" name="revisit-after" />
<?php
<meta name="description" content="<?php echo $current_profil->getCommentaire();?>" />
<meta name="keywords" content="<?php echo $current_profil->getRefTags();?>" />
<meta content="all" name="robots" />
<meta content="10 days" name="revisit-after" />
<?php
echo $current_profil->getStyleCss();
if ($current_profil->hasFavicon())
echo sprintf('<link rel="shortcut icon" href="%s"/>', $current_profil->getFavicon());
......
<!DOCTYPE html >
<html lang="<?php echo $this->_translate()->getLocale() ?>">
<head>
<title><?php echo $this->getTitre() ?></title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<link rel="apple-touch-icon" href="<?php echo URL_IMG ?>apple-touch-icon.png" />
<meta id="viewport" name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="<?php echo $this->ref_description;?>"/>
<meta name="keywords" content="<?php echo $this->ref_tags;?>"/>
<meta content="all" name="robots"/>
<meta content="3 days" name="revisit-after"/>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title><?php echo $this->getTitre() ?></title>
<link rel="apple-touch-icon" href="<?php echo URL_IMG ?>apple-touch-icon.png" />
<meta id="viewport" name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="<?php echo $this->ref_description;?>"/>
<meta name="keywords" content="<?php echo $this->ref_tags;?>"/>
<meta content="all" name="robots"/>
<meta content="3 days" name="revisit-after"/>
<?php
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment