Browse Source

Syntaxe des expressions compatible apache 2.4

Matthieu Herrb 7 years ago
parent
commit
1683adabbb
1 changed files with 5 additions and 5 deletions
  1. 5 5
      menu.html

+ 5 - 5
menu.html

@@ -1,10 +1,10 @@
  <div class="pure-menu pure-menu-horizontal pure-menu-scrollable custom-menu custom-menu-bottom custom-menu-tucked" id="tuckedMenu">
     <ul class="pure-menu-list">
-	<li class="pure-menu-item <!--# if expr="${currentPage} = tetaneutral" -->pure-menu-selected<!--# endif -->"><a href="/" class="pure-menu-link"><b>teta</b>neutral.net</a></li>
-        <li class="pure-menu-item <!--# if expr="${currentPage} = services" -->pure-menu-selected<!--# endif -->"><a href="/adherer" class="pure-menu-link">Adhérer</a></li>
-        <li class="pure-menu-item <!--# if expr="${currentPage} = participer" -->pure-menu-selected<!--# endif -->"><a href="/participer" class="pure-menu-link">Participer</a></li>
-        <li class="pure-menu-item <!--# if expr="${currentPage} = administratif" -->pure-menu-selected<!--# endif -->"><a href="/administratif" class="pure-menu-link">Administratif</a></li>
-        <li class="pure-menu-item <!--# if expr="${currentPage} = contact" -->pure-menu-selected<!--# endif -->"><a href="/contact" class="pure-menu-link">Contact</a></li>
+	<li class="pure-menu-item <!--#if expr='v("currentPage") = "tetaneutral"' -->pure-menu-selected<!--#endif -->"><a href="/" class="pure-menu-link"><b>teta</b>neutral.net</a></li>
+        <li class="pure-menu-item <!--#if expr='v("currentPage") = "services"' -->pure-menu-selected<!--#endif -->"><a href="/adherer" class="pure-menu-link">Adhérer</a></li>
+        <li class="pure-menu-item <!--#if expr='v("currentPage") = "participer"' -->pure-menu-selected<!--#endif -->"><a href="/participer" class="pure-menu-link">Participer</a></li>
+        <li class="pure-menu-item <!--#if expr='v("currentPage") = "administratif"' -->pure-menu-selected<!--#endif -->"><a href="/administratif" class="pure-menu-link">Administratif</a></li>
+        <li class="pure-menu-item <!--#if expr='v("currentPage") = "contact"' -->pure-menu-selected<!--#endif -->"><a href="/contact" class="pure-menu-link">Contact</a></li>
     </ul>
 </div>