give tabs a class for special styling

I nearly needed that but then didn't. but it might come in handy
This commit is contained in:
Andreas Gohr 2017-03-09 16:16:19 +01:00
commit a94fc7a514

View file

@ -9,7 +9,7 @@ $tabs = \dokuwiki\template\sprintdoc\Template::getInstance()->getMetaBoxTabs();
<li class="a11y">&nbsp;</li> <li class="a11y">&nbsp;</li>
<?php <?php
foreach($tabs as $tab) { foreach($tabs as $tab) {
echo '<li>'; echo '<li class="' . $tab['id'] . '">';
echo '<a href="#' . $tab['id'] . '" aria-expanded="false">'; echo '<a href="#' . $tab['id'] . '" aria-expanded="false">';
echo '<span class="prefix">'; echo '<span class="prefix">';
echo $tab['label']; echo $tab['label'];