push initial du projet par Stéphane
This commit is contained in:
10
inc/inc-menu-pages.php
Executable file
10
inc/inc-menu-pages.php
Executable file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
$pages=glob(CHEMIN.DOSSIER_CUSTOM."*.xml");
|
||||
foreach($pages as $page){
|
||||
$tc=contenu_xml($page);
|
||||
echo "<li class=\"nav-item\">\n";
|
||||
echo "<span class=\"nav-link\" onclick=\"show_page('".fichier_seul($page)."');\" >";
|
||||
echo $tc['titre'];
|
||||
echo "</span></li>";
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user