diff --git a/.gitattributes b/.gitattributes index 4ada9ff4be4db899f4b38190a571d03f7670e37a..9657dc1467cb694d1952892ae32c4b6f6aedd362 100644 --- a/.gitattributes +++ b/.gitattributes @@ -115,6 +115,7 @@ ecrire/img_pack/documents-48.png -text ecrire/img_pack/documents-48_rtl.png -text ecrire/img_pack/edit.gif -text ecrire/img_pack/effacer-cache-24.gif -text +ecrire/img_pack/favicon.ico -text ecrire/img_pack/fiche-perso-24.gif -text ecrire/img_pack/fiche-perso.png -text ecrire/img_pack/fleche-left.png -text diff --git a/ecrire/img_pack/favicon.ico b/ecrire/img_pack/favicon.ico new file mode 100755 index 0000000000000000000000000000000000000000..d64f4c538b550aa46843fd8b20a429f620f9bb5a Binary files /dev/null and b/ecrire/img_pack/favicon.ico differ diff --git a/ecrire/inc_presentation.php3 b/ecrire/inc_presentation.php3 index a6c1e75590f24ad81f5e04a3f96f57f812f62190..9b852f76d644311af168e95e182f93837ff05763 100644 --- a/ecrire/inc_presentation.php3 +++ b/ecrire/inc_presentation.php3 @@ -108,8 +108,11 @@ function debut_cadre($style, $icone = "", $fonction = "", $titre = "") { } // accesskey pour accessibilite espace prive - $accesskey_c = chr($accesskey++); - $ret = "<a name='access-$accesskey_c' href='#access-$accesskey_c' accesskey='$accesskey_c'></a>"; + if ($accesskey <= 122) // z + { + $accesskey_c = chr($accesskey++); + $ret = "<a name='access-$accesskey_c' href='#access-$accesskey_c' accesskey='$accesskey_c'></a>"; + } if ($style == "e") { $ret .= "<div class='cadre-e-noir'$style_cadre><div class='cadre-$style'>"; @@ -1595,8 +1598,11 @@ function debut_html($titre = "", $rubrique="", $onLoad="") { '<link rel="stylesheet" href="', _DIR_RESTREINT, 'spip_style_visible.css" type="text/css" title="visible" />', "\n"; $onLoadInvisible = " onLoad=\"setActiveStyleSheet('invisible'); "; + // favicon.ico + echo '<link rel="shortcut icon" href="', _DIR_IMG_PACK, 'favicon.ico" />'; + // Fin des entetes - echo "</head>\n<body text='#000000' bgcolor='#f8f7f3' link='$couleur_lien' vlink='$couleur_lien_off' alink='$couleur_lien_off' topmargin='0' leftmargin='0' marginwidth='0' marginheight='0' frameborder='0'"; + echo "\n</head>\n<body text='#000000' bgcolor='#f8f7f3' link='$couleur_lien' vlink='$couleur_lien_off' alink='$couleur_lien_off' topmargin='0' leftmargin='0' marginwidth='0' marginheight='0' frameborder='0'"; if ($spip_lang_rtl) echo " dir='rtl'";