parent
1d1c42d91b
commit
4d5de94f8b
@ -1,5 +1,13 @@
|
||||
# Apache rules
|
||||
RewriteEngine On
|
||||
RewriteRule ^index\.html$ /index.php [L]
|
||||
RewriteRule ^cgu\.html$ /cgu.php [L]
|
||||
RewriteRule ^interventions\.html$ /interventions.php [L]
|
||||
RewriteRule ^solutions\.html$ /solutions.php [L]
|
||||
|
||||
|
||||
# nginx rules
|
||||
#rewrite ^index\.html$ /index.php last
|
||||
#rewrite ^cgu\.html$ /cgu.php last
|
||||
#rewrite ^interventions\.html$ /interventions.php last
|
||||
#rewrite ^solutions\.html$ /solutions.php last
|
||||
|
||||
@ -1,24 +1,24 @@
|
||||
<!-- Following Menu -->
|
||||
<div class="ui large top fixed hidden menu">
|
||||
<div class="ui container">
|
||||
<a class="active item">Accueil</a>
|
||||
<a class="item" href="solutions.html">Nextcloud</a>
|
||||
<a href="#" class="ui right floated dropdown item">
|
||||
Aide <i class="dropdown icon"></i>
|
||||
<div class="menu">
|
||||
<div class="item">FAQ</div>
|
||||
<div class="item">Support</div>
|
||||
<div class="item">Documentation</div>
|
||||
</div>
|
||||
</a>
|
||||
<?php
|
||||
foreach ($mainMenu as $item) {
|
||||
$active = $currentPage==$item? 'active ': '';
|
||||
echo '
|
||||
<a class="'.$active.'item" href="'.$item['key'].'.html" target="_self">'.$item['name'].'</a>';
|
||||
}
|
||||
?>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Sidebar Menu -->
|
||||
<div class="ui vertical inverted sidebar menu">
|
||||
<a class="active item">Accueil</a>
|
||||
<a class="item" href="solutions.html">Nextcloud</a>
|
||||
<a class="item">FAQ</a>
|
||||
<a class="item">Support</a>
|
||||
<a class="item">Documentation</a>
|
||||
<?php
|
||||
foreach ($mainMenu as $item) {
|
||||
$active = $currentPage==$item? 'active ': '';
|
||||
echo '
|
||||
<a class="'.$active.'item" href="'.$item['key'].'.html" target="_self">'.$item['name'].'</a>';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in new issue