} chdir("{$racine_fma}/"); // Génération de l'interface $inclusion = false; if (file_exists("themes/{$Default_Theme}/html/modules/f-manager/pic-manager.html")) { $inclusion = "themes/{$Default_Theme}/html/modules/f-manager/pic-manager.html"; } elseif (file_exists("themes/default/html/modules/f-manager/pic-manager.html")) { $inclusion = "themes/default/html/modules/f-manager/pic-manager.html"; } else { echo "html/modules/f-manager/pic-manager.html manquant / not find !"; } if ($inclusion) { $Xcontent = join("", file($inclusion)); $Xcontent = str_replace("_back", extend_ascii($cur_nav_href_back), $Xcontent); $Xcontent = str_replace("_refresh", "<a href=\"modules.php?ModPath={$ModPath}&ModStart={$ModStart}&FmaRep={$FmaRep}&browse=" . rawurlencode($browse) . "\">" . fma_translate("Rafraichir") . "</a>", $Xcontent); $Xcontent = str_replace("_nb_subdir", $obj->Count("d") - $dir_minuscptr, $Xcontent); $Xcontent = str_replace("_subdirs", $subdirs, $Xcontent); if ($uniq_fma) { $Xcontent = str_replace("_fileM", "<a href=\"modules.php?ModPath={$ModPath}&ModStart=f-manager&FmaRep={$FmaRep}&browse=" . rawurlencode($browse) . "\"><b>" . fma_translate("F-Manager") . "</b></a>", $Xcontent); } else { $Xcontent = str_replace("_fileM", "", $Xcontent); } if (isset($files)) { $Xcontent = str_replace("_files", $files, $Xcontent); } else { $Xcontent = str_replace("_files", "", $Xcontent); } if (!$NPDS_fma) { // utilisation de pages.php settype($PAGES, 'array'); require_once "themes/pages.php";