Files
kabano/views/d.index.html
2025-08-02 10:45:36 +02:00

43 lines
813 B
HTML
Executable File

<!DOCTYPE html>
<html lang="fr">
<? include('blocks/d.head.html'); ?>
<body>
<? include('blocks/d.nav.html'); ?>
<aside id="indexFullW">
<div id="AScontent">
<div id="imglegend">
<p>Refuge de Pointe Basse</p>
</div>
</div>
</aside>
<?
require_once($config['models_folder']."d.wiki.php");
$wikiPage = new Kabano\WikiPage();
$wikiPage->checkPermalink('index');
$wikiPage->md2html();
?>
<section id="index">
<h1><?=$wikiPage->name?></h1>
<? if($user->rankIsHigher('moderator')) { ?>
<span class="subtitle">
<a href="<?=$config['rel_root_folder']?>wiki/index/edit"><i class="fas fa-pencil-alt"></i> Éditer la page</a>
</span>
<? } ?>
<br><br>
<?=$wikiPage->content_html?>
</section>
<? include('blocks/d.footer.html'); ?>
</body>
</html>