Jump to content

Problème avec ma balise head


Recommended Posts

Bonjour, après avoir jeter un coup d'oeil dans le code source de mes fiches produits je me suis aperçu que j'avais un espace dans ma balise head : <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr"><head ><title >

 

Je souhaiterais donc l'enlever et savoir donc dans quel fichier je devais aller pour enlever cet espace. Quelqu'un aurait une idée ? Merci. :)

Link to comment
Share on other sites

Ok merci franck c'est donc bien ce qu'il me semblait, pourtant lorsque je vais dans mon header.tpl je ne vois pas l'espace en question :

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{$lang_iso}">

<head>

<title>{$meta_title|escape:'htmlall':'UTF-8'}

{if $smarty.get.p} - page {$smarty.get.p}{/if}

{if $smarty.get.tag} - {$smarty.get.tag}{/if}

{if isset($search_query)} - {$search_query|escape:html:'UTF-8'}{/if}

</title>

{if isset($meta_description) AND $meta_description}

<meta name="description" content="{$meta_description|escape:html:'UTF-8'}

{if $smarty.get.tag} - {$smarty.get.tag}{/if}

{if $smarty.get.p} - page {$smarty.get.p}{/if}

"/>

{/if}

{if $smarty.get.n || $smarty.get.orderby ||$smarty.get.orderway}

<link rel="canonical" href="{$canUrl}" />

{/if}

{if isset($meta_keywords) AND $meta_keywords}

<meta name="keywords" content="{$meta_keywords|escape:html:'UTF-8'}" />

{/if}

<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />

<meta name="generator" content="PrestaShop" />

<meta name="robots" content="{if isset($nobots)}no{/if}index,follow" />

<link rel="icon" type="image/vnd.microsoft.icon" href="{$img_ps_dir}favicon.ico" />

<link rel="shortcut icon" type="image/x-icon" href="{$img_ps_dir}favicon.ico" />

<script type="text/javascript">

var baseDir = '{$content_dir}';

var static_token = '{$static_token}';

var token = '{$token}';

var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals};

var priceDisplayMethod = {$priceDisplay};

var roundMode = {$roundMode};

</script>

<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>

<script src="http://connect.facebook.net/fr_FR/all.js#xfbml=1"></script>

 

{if isset($css_files)}

{foreach from=$css_files key=css_uri item=media}

<link href="{$css_uri}" rel="stylesheet" type="text/css" media="{$media}" />

{/foreach}

{/if}

{if isset($js_files)}

{foreach from=$js_files item=js_uri}

<script type="text/javascript" src="{$js_uri}"></script>

{/foreach}

{/if}

 

{if $page_name == panier && $page_name == contact}

{include file='include_head.tpl'}

<meta name="robots" content="noindex,follow">

{else}

<meta name="robots" content="{if isset($nobots)}no{/if}index,follow">

{/if}

 

{if $page_name == index}

<link rel="canonical" href="{$base_dir}" />

{elseif $page_name == product}

<link rel="canonical" href="{$base_dir}{$request_uri}" />

{else}

<link rel="canonical" href="{$base_dir}{$request_uri|substr:1|regex_replace:'/\/(.*)/':''|regex_replace:'/\?(.*)/':''}" />

{/if}

{$HOOK_HEADER}

</head>

<body {if $page_name}id="{$page_name|escape:'htmlall':'UTF-8'}"{/if}>

{if $page_name == "index"}

<h1 class="h1_title " style="text-align: right;">Livres de poker - strategie, astuce, conseil poker</h1>

{/if}

<!--[if lt IE 7]><div style='clear:both;height:59px;padding:0 15px 0 15px;position:relative;z-index:10000;text-align:center;'><a href="http://www.microsoft.com/windows/internet-explorer/default.aspx?ocid=ie6_countdown_bannercode"><img src="http://www.theie6countdown.com/images/upgrade.jpg" border="0" height="42" width="820" alt="You are using an outdated browser. For a faster, safer browsing experience, upgrade for free today." /></a></div><![endif]-->

{if isset($ad) && isset($live_edit)}{include file="$tpl_dir./live_edit.tpl"}{/if}

{if !$content_only}

{if isset($restricted_country_mode) && $restricted_country_mode}<div id="restricted-country"><p>{l s='You cannot place a new order from your country.'} <span class="bold">{$geolocation_country}</span></p></div>{/if}

<div id="wrapper1">

 

<div id="wrapper2">

 

<div id="wrapper3">

<!-- Header -->

 

<div id="header">

 

<a id="header_logo" href="{$base_dir}" title="lirelepoker.com">

<img class="logo" src="{$img_ps_dir}logo.png?{$time}" alt="lirelepoker.com" />

</a>

<span class="logo2"><img src="{$img_dir}logo2.png?{$time}" alt="banniere poker" /></span>

<div id="header_right">

{$HOOK_TOP}

</div>

</div>

<div id="columns">

<!-- Left -->

<div id="left_column" class="column"><fb:like layout="button_count" font="arial"></fb:like><g:plusone></g:plusone>{$HOOK_LEFT_COLUMN}</div>

<!-- Center -->

<div id="center_column" class="center_column">

<div id="center_column_inner">

{/if}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...