function head() {
global $slogan, $site_font, $Titlesitename, $banners, $Default_Theme, $gzhandler, $tiny_mce, $language;
global $topic, $hlpfile, $user, $hr, $theme, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $bgcolor5, $bgcolor6, $textcolor1, $textcolor2, $bargif, $long_chain;
if ($gzhandler==1) {ob_start("ob_gzhandler");}
if (isset($user)) {
global $cookie;
if ($cookie[9]=="") $cookie[9]=$Default_Theme;
if (isset($theme)) $cookie[9]=$theme;
$tmp_theme=$cookie[9];
if (!$file=@opendir("themes/$cookie[9]")) $tmp_theme=$Default_Theme;
} else {
$tmp_theme=$Default_Theme;
}
!include!("themes/$tmp_theme/theme.php");
echo "\n\n";
if (file_exists("meta/meta.php")) {
!include! ("meta/meta.php");
}
echo "$Titlesitename\n";
// !include! externe file from modules/!include! or themes/.../!include! for functions, codes ...
if (file_exists("modules/!include!/header_head.inc")) {!include! ("modules/!include!/header_head.inc");}
if (file_exists("themes/$tmp_theme/!include!/header_head.inc")) {!include! ("themes/$tmp_theme/!include!/header_head.inc");}
echo "\n\n";
!include!("themes/$tmp_theme/header.php");
}
// !include! externe file from modules/!include! for functions, codes ...
if (file_exists("modules/!include!/header_before.inc")) {!include! ("modules/!include!/header_before.inc");}
// Made the title and pdst value from the pages.php config file
settype($PAGES, array());
global $pdst, $Titlesitename, $PHP_SELF;
require_once("themes/pages.php");
$pages_ref=basename($PHP_SELF);
if ($PAGES[$pages_ref][blocs]!="") {
$pdst=$PAGES[$pages_ref][blocs];
}
// Static page and Module can have Title ....
if ($pages_ref=="static.php") {
global $REQUEST_URI;
$pages_ref=substr($REQUEST_URI,strpos($REQUEST_URI,"static.php"));
}
if ($pages_ref=="modules.php") {
global $REQUEST_URI;
$pages_ref=substr($REQUEST_URI,strpos($REQUEST_URI,"modules.php"));
}
// block execution of page with run attribute = no
if ($PAGES[$pages_ref][run]=="no") {
if ($pages_ref=="index.php") {
$mes ="<body bgcolor=\"white\">
";
$mes.="Web Site closed / Site Web fermé";
$mes.="
NPDS - Portal System / Générateur de portail";
$mes.="
// Assure la gestion des titres ALTERNATIFS
$tab_page_ref=explode("|",$PAGES[$pages_ref][title]);
if (strlen($tab_page_ref[1])>1) {
$PAGES[$pages_ref][title]=$tab_page_ref[1];
} else {
$PAGES[$pages_ref][title]=$tab_page_ref[0];
}
$PAGES[$pages_ref][title]=strip_tags($PAGES[$pages_ref][title]);
if (substr($PAGES[$pages_ref][title],-1)=="+") {
$TitlesitenameX=aff_langue(substr($PAGES[$pages_ref][title],0,strlen($PAGES[$pa ges_ref][title])-1));
$TitlePageStats=$TitlesitenameX;
$Titlesitename=$TitlesitenameX." - ".$Titlesitename;
} else if (substr($PAGES[$pages_ref][title],-1)=="-") {
$Titlesitename=aff_langue(substr($PAGES[$pages_ref][title],0,strlen($PAGES[$pag es_ref][title])-1));
$TitlePageStats=$Titlesitename;
}
if ($Titlesitename=="") {$Titlesitename=$sitename; $TitlePageStats="";}
// globalisation de la variable title pour marquetapage mais protection pour la zone admin
if ($pages_ref!="admin.php")
global $title;
if (!$title)
$title=aff_langue(substr($PAGES[$pages_ref][title],0,strlen($PAGES[$pages_ref][ title])-1));
else
$title=removeHack($title);
head();
// Menu dynamique des Rubriques - Alat 2004
if (file_exists("sections.config.php")) {
!include! ("sections.config.php");
if ($sections_menudyn) { rubrique_menudyn(); }
}
global $httpref, $nuke_url, $httprefmax, $admin;
if ($httpref==1) {
$referer= removeHack(getenv("HTTP_REFERER"));
if ($referer=="" OR strstr($referer,"unknown") OR stristr($referer,$nuke_url)) {
} else {
mysql_query("insert into referer values (NULL, '$referer')");
}
$result=mysql_fetch_array(mysql_query("select count(*) as total from referer"));
if (($result[total]>=$httprefmax) and ($admin)) {
echo " ".translate("Referer max count limit : Save your referer via Admin function.")."";
}
}
!include!("counter.php");
// !include! externe file from modules/!include! for functions, codes ...
if (file_exists("modules/!include!/header_after.inc")) {!include! ("modules/!include!/header_after.inc");}
>>>> je ne vois pas où je pourrais faire une modif
Oui JPB, merci et d'accord avec toi, mais cela fait déjà un long temps (en mois) que les modifs (pour - index - titredusite) ont été faites. Finalement (j'ai pas les yeux en face des trous ou quoi ??? ou alors je suis en mode pilote automatique ) le tiret est présent dans la barre de titre du navigateur quand je suis sur mon site et, of course, dans le titre+description des moteurs de recherche (sauf msn search, j'insiste)