Wenn ja, wie habt ihr das mit den Tabs geregelt? Denn seit der Version 3.0.3 funktioniert
Code: Select all
basename()
Hier zum Beitrag auf phpBB.de
Code: Select all
basename()
Code: Select all
<div id="tabs">
<ul>
<li<!-- IF SCRIPT_NAME == "portal" --> class="activetab"<!-- ENDIF -->><a href="{U_PORTAL}"><span>{L_PORTAL}</span></a></li>
<li<!-- IF SCRIPT_NAME == "index" or SCRIPT_NAME == "viewforum" or SCRIPT_NAME == "viewtopic" or SCRIPT_NAME == "posting" --> class="activetab"<!-- ENDIF -->><a href="{U_INDEX}"><span>{L_INDEX}</span></a></li>
<!-- IF S_DISPLAY_SEARCH --><li<!-- IF SCRIPT_NAME == "search" --> class="activetab"<!-- ENDIF -->><a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}"><span>{L_SEARCH}</span></a></li><!-- ENDIF -->
<!-- IF S_DISPLAY_MEMBERLIST --><li<!-- IF SCRIPT_NAME == "memberlist" --> class="activetab"<!-- ENDIF -->><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}"><span>{L_MEMBERLIST}</span></a></li><!-- ENDIF -->
<li<!-- IF SCRIPT_NAME == "faq" --> class="activetab"<!-- ENDIF -->><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}"><span>{L_FAQ}</span></a></li>
</ul>
</div>
Code: Select all
<div id="tabs">
<ul>
<li<!-- IF $_SERVER['SCRIPT_NAME'] == '/portal.php' --> class="activetab"<!-- ENDIF -->><a href="{U_PORTAL}"><span>{L_PORTAL}</span></a></li>
<li<!-- IF $_SERVER['SCRIPT_NAME'] == '/index.php' or $_SERVER['SCRIPT_NAME'] == '/viewforum.php' or $_SERVER['SCRIPT_NAME'] == '/viewtopic.php' or $_SERVER['SCRIPT_NAME'] == '/posting.php' or $_SERVER['SCRIPT_NAME'] == '/mcp.php' --> class="activetab"<!-- ENDIF -->><a href="{U_INDEX}"><span>{L_FORUM}</span></a></li>
<li<!-- IF $_SERVER['SCRIPT_NAME'] == '/downloads.php'--> class="activetab"<!-- ENDIF -->><a href="{U_DOWNLOADS}" title="{L_DOWNLOADS}"><span>{L_DOWNLOADS}</span></a></li>
<li<!-- IF $_SERVER['SCRIPT_NAME'] == '/contact.php'--> class="activetab"<!-- ENDIF -->><a href="{U_CONTACTFORM}" title="{L_CONTACTFORM}"><span>{L_CONTACTFORM}</span></a></li>
</ul>
</div>
Zeig mal den Code und wie heißen die Ordner in denen die Mods liegen?GreyAstra wrote:mmh, komisch habe es mal geändert bleiben aber immer noch nicht aktiv
Code: Select all
<li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'faq.php' --> class="activetab"<!-- ENDIF -->><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}"><span>{L_FAQ}</span></a></li>
<li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'calendar.php' --> class="activetab"<!-- ENDIF -->><a href="{U_CALENDAR}"><span>Kalender</span></a></li>
<li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'geomap.php' --> class="activetab"<!-- ENDIF -->><a href="{U_GEOMAP}"><span>Memberkarte</span></a></li>
<li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'gallery/index.php' --> class="activetab"<!-- ENDIF -->><a href="{U_GALLERY_MOD}" title="{L_GALLERY_EXPLAIN}"><span>{L_GALLERY}</span></a></li>
<li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'partners.php' --> class="activetab"<!-- ENDIF -->><a href="{U_PARTNERS}" title="{L_PARTNERS}"><span>{L_PARTNERS}</span></a></li>
<li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'newspage.php' --> class="activetab"<!-- ENDIF -->><a href="{U_NEWS}" title="{L_NEWS}"><span>{L_NEWS}</span></a></li>
<li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'knowledge/index.php' --> class="activetab"<!-- ENDIF -->><a href="{U_KB}" title="{L_KNOWLEDGE_BASE}"><span>Astra Knowledge</span></a></li>
<li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'downloads.php' --> class="activetab"<!-- ENDIF -->><a href="{U_DOWNLOADS}" title="{L_DOWNLOADS}"><span>Astra Datenbank</span></a></li>
Code: Select all
'knowledge/index.php'
Code: Select all
'/knowledge/index.php'
Code: Select all
<li<!-- IF $_SERVER['SCRIPT_NAME'] == '/knowledge/index.php'--> class="activetab"<!-- ENDIF -->><a href="{U_KB}" title="{L_KNOWLEDGE_BASE}"><span>Astra Knowledge</span></a></li>
Code: Select all
<li<!-- IF $_SERVER['SCRIPT_NAME'] == '/forum/portal.php' --> class="activetab"<!-- ENDIF -->><a href="{U_PORTAL}"><span><img src="styles/prosilver/theme/images/16x16/home.png" alt="" /> {L_PORTAL}</span></a></li>
<li<!-- IF $_SERVER['SCRIPT_NAME'] == '/forum/index.php' or ($_SERVER['SCRIPT_NAME'] == '/forum/viewforum.php' and (not $_SERVER['SCRIPT_NAME'] == '/forum/viewforum.php?f=82')) or $_SERVER['SCRIPT_NAME'] == '/forum/viewtopic.php' --> class="activetab"<!-- ENDIF -->><a href="{U_INDEX}"><span><img src="styles/prosilver/theme/images/16x16/forum.png" alt="" /> {L_INDEX}</span></a></li>
<li<!-- IF $_SERVER['SCRIPT_NAME'] == '/forum/viewforum.php?f=82' --> class="activetab"<!-- ENDIF -->><a href="{U_DOWNLOADS}"><span><img src="styles/prosilver/theme/images/16x16/download.png" alt="" /> {L_DOWNLOADS}</span></a></li>
Code: Select all
<li<!-- IF $_SERVER['SCRIPT_NAME'] == '/forum/portal.php' --> class="activetab"<!-- ENDIF -->><a href="{U_PORTAL}"><span><img src="styles/prosilver/theme/images/16x16/home.png" alt="" /> {L_PORTAL}</span></a></li>
<li<!-- IF $_SERVER['SCRIPT_NAME'] == '/forum/index.php' or ($_SERVER['SCRIPT_NAME'] == '/forum/viewforum.php' and FORUM_ID != 82) or $_SERVER['SCRIPT_NAME'] == '/forum/viewtopic.php' or $_SERVER['SCRIPT_NAME'] == '/forum/posting.php' or $_SERVER['SCRIPT_NAME'] == '/forum/mcp.php' --> class="activetab"<!-- ENDIF -->><a href="{U_INDEX}"><span><img src="styles/prosilver/theme/images/16x16/forum.png" alt="" /> {L_INDEX}</span></a></li>
<li<!-- IF FORUM_ID == 82 --> class="activetab"<!-- ENDIF -->><a href="{U_DOWNLOADS}"><span><img src="styles/prosilver/theme/images/16x16/download.png" alt="" /> {L_DOWNLOADS}</span></a></li>
Code: Select all
<!-- IF SCRIPT_NAME == "ucp.php?i=mypage&mode=edit" -->
Code: Select all
<div id="tabs">
<ul>
<li class="activetab"><a href="./portal.php"><span>Portal</span></a></li>
<li><a href="./index.php"><span>Foren-Übersicht</span></a></li>
<li><a href="./search.php?search_id=newposts"><span>Neue Beiträge</span></a></li>
<li><a href="./search.php?search_id=egosearch"><span>Eigene Beiträge</span></a></li>
<li><a href="./ucp.php"><span>Persönlicher Bereich</span></a></li>
<li><a href="./ucp.php?i=pm&folder=inbox"><span><strong>0</strong> neue Nachrichten</span></a></li>
<li><a href="./search.php" title="Zeigt die erweiterten Suchoptionen an"><span>Suche</span></a></li><li><a href="./memberlist.php" title="Zeigt eine vollständige Liste aller Mitglieder an"><span>Mitglieder</span></a></li>
<li><a href="./downloads.php"><span>Downloads</span></a></li>
<li><a href="./faq.php" title="Häufig gestellte Fragen"><span>FAQ</span></a></li>
</ul>
</div>