oci_prv => oci if (ereg("(.*)_", $lang_aide, $regs)) return fichier_aide($regs[1]); return false; } if (!$aide) $aide = 'spip'; $lang_aide = $spip_lang; // Recuperation du contenu de l'aide demandee list($fichier_aide, $l) = fichier_aide($lang_aide); if (!$fichier_aide) $html = _T('aide_non_disponible'); else { if ($var_lang) { $lastmodified = filemtime($fichier_aide); $headers_only = http_last_modified($lastmodified); if ($headers_only) exit; } $html = join('', file($fichier_aide)); $html = substr($html, strpos($html,"<$aide>") + strlen("<$aide>")); $html = substr($html, 0, strpos($html, "")); // Localisation des images de l'aide (si disponibles) $suite = $html; $html = ""; while (ereg("AIDE/([-_a-zA-Z0-9]+\.(gif|jpg))", $suite, $r)) { $f = $r[1]; if (@file_exists("AIDE/$l/$f")) $f = "$l/$f"; else if (@file_exists("AIDE/fr/$f")) $f = "fr/$f"; $p = strpos($suite, $r[0]); $html .= substr($suite, 0, $p) . "AIDE/$f"; $suite = substr($suite, $p + strlen($r[0])); } $html .= $suite; } ?> "; if ($aide == 'spip') { echo '
SPIP
'; } // hack pour que la langue de typo() soit celle de l'aide en ligne $spip_lang = $lang_aide; $html = justifier(propre($html)."

"); // Remplacer les liens externes par des liens ouvrants (a cause des frames) $html = ereg_replace(']*)>', '', $html); echo $html; echo "$les_notes

"; ?>