Skip to content
Extraits de code Groupes Projets
Valider 4deef739 rédigé par Fil's avatar Fil
Parcourir les fichiers

pour l'internationalisation : possibilite de specifier un spip_meta(charset)

différent du standard iso-8859-1
parent a7a66270
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -810,6 +810,9 @@ function debut_html($titre = "") { ...@@ -810,6 +810,9 @@ function debut_html($titre = "") {
$titre = textebrut(typo($titre)); $titre = textebrut(typo($titre));
if ($nom_site_spip == "") $nom_site_spip="SPIP"; if ($nom_site_spip == "") $nom_site_spip="SPIP";
$charset = lire_meta('charset') ||
$charset = 'iso-8859-1';
?> ?>
<html> <html>
...@@ -818,7 +821,7 @@ function debut_html($titre = "") { ...@@ -818,7 +821,7 @@ function debut_html($titre = "") {
<meta http-equiv="Expires" content="0"> <meta http-equiv="Expires" content="0">
<meta http-equiv="cache-control" content="no-cache,no-store"> <meta http-equiv="cache-control" content="no-cache,no-store">
<meta http-equiv="pragma" content="no-cache"> <meta http-equiv="pragma" content="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset ; ?>">
<style><!-- <style><!--
.forml {width: 100%; background-color: #E4E4E4; background-position: center bottom; float: none; color: #000000} .forml {width: 100%; background-color: #E4E4E4; background-position: center bottom; float: none; color: #000000}
.formo {width: 100%; background-color: <?php echo $couleur_claire; ?>; background-position: center bottom; float: none;} .formo {width: 100%; background-color: <?php echo $couleur_claire; ?>; background-position: center bottom; float: none;}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter