<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Bonjour,<div><br></div><div>j'utilise pmwiki 2.2.56. J'ai créé un fichier index.php, situé dans le répertoire au dessus de pmwiki/ et qui contient </div><div><br></div><div><?php chdir('pmwiki'); include_once('pmwiki.php');</div><div><br></div><div>Ça fonctionne très bien. Par contre, je voudrais que la page vers laquelle renvoie index.php (dont le nom est EN.EN) utilise un style différent des autres pages. J'ai donc mis dans local/config.php </div><div><br></div><div>$page = PageVar($pagename, '$FullName');</div><div><div>if($page=='EN.EN') {</div><div> $HTMLStylesFmt[] = "#foot p.credits {float: right; }";</div><div>}</div><div>else {</div><div> $HTMLStylesFmt[] = "#foot p.credits {float: right; visibility: hidden; }";</div><div>}</div><div><br></div><div>Malheureusement, ça ne fonctionne pas. Par contre si je remplace index.php par pmwiki/pmwiki.php?n=EN.EN dans l'url, ça marche. Quelqu'un aurait-il une idée ? Merci.</div><div><br></div><div apple-content-edited="true"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px; "><span class="Apple-style-span" style="font-size: 12px; "><div><br></div><div><font class="Apple-style-span" color="#7F7F7F">Fabien</font></div></span></span></div></span></div></span></div></span></div></span></div></span></div></span></span></div></div></body></html>