Folgendes Snippet-Problem (isoliert auf den folgendenTeil) habe ich seit dem Update von V3.0.2 auf 3.0.4:
------ Prosilver: Tabregister einfügen ---
--- Öffne ---
\styles\prosilver\template\overall_header.html
--- Suche ---
Code: Alles auswählen
<div class="navbar">
Code: Alles auswählen
<!-- // BEGIN: Tab-Register -->
<div id="tabs">
<ul>
<li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'index.php' or basename($_SERVER['SCRIPT_NAME']) == 'viewforum.php' or basename($_SERVER['SCRIPT_NAME']) == 'viewtopic.php' or basename($_SERVER['SCRIPT_NAME']) == 'posting.php' or basename($_SERVER['SCRIPT_NAME']) == 'mcp.php' --> class="activetab"<!-- ENDIF -->><a href="{U_INDEX}"><span>{L_FORUM}</span></a></li>
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN --><li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'ucp.php' --> class="activetab"<!-- ENDIF -->><a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="u"><span>{L_PROFILE}</span></a></li><!-- ENDIF -->
<!-- IF not S_USER_LOGGED_IN --><li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'acronyme.php' --> class="activetab"<!-- ENDIF -->><a href="{U_ACRONYME}" title="{L_ACRONYME}"><span>{L_ACRONYME}</span></a></li><!-- ENDIF -->
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN --><li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'memberlist.php' --> class="activetab"<!-- ENDIF -->><a href="{U_MEMBERLIST}" title="{L_MEMBERLIST_EXPLAIN}"><span>{L_MEMBERLIST}</span></a></li><!-- ENDIF -->
<li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'calendar.php' --> class="activetab"<!-- ENDIF -->><a href="{U_CALENDAR}"><span>{L_CALENDAR}</span></a></li>
</ul>
<ul class="rightside">
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN --><li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'downloads.php' --> class="activetab"<!-- ENDIF -->><a href="{$phpbb_root_path}downloads.php" title="{L_DL_SITE_TITLE}"><span>{L_DL_SITE_TITLE}</span></a></li><!-- ENDIF -->
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN --><li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'help.php' --> class="activetab"<!-- ENDIF -->><a href="{$phpbb_root_path}help.php" title="{L_HELP_SITE_TITLE}"><span>{L_HELP_SITE_TITLE}</span></a></li><!-- ENDIF -->
<li<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'impressum.php' --> class="activetab"<!-- ENDIF -->><a href="{U_IMPRESSUM}" title="{L_IMPRESSUM}" accesskey="l"><span>{L_IMPRESSUM}</span></a></li>
</ul>
</div>
<!-- // END: Tab-Register -->
Was in V3.0.2 funktionierte, klappt in V3.0.4 nicht mehr... es erscheint die Fehlermeldung:
nach aktualisierung (<F5>) erscheind dann diese:Parse error: syntax error, unexpected '(' in /home/vhosts/5000131927/alexhh.de/htdocs/test/forum/includes/template.php(614) : eval()'d code on line 126
PS: Lösche ich die beschriebene Zeile, springt der Fehler weiter zur nächsten Zeile, bis die Tabs vollständig entfernt wurden!Parse error: syntax error, unexpected '(' in /home/vhosts/5000131927/alexhh.de/htdocs/test/forum/cache/tpl_prosilver_overall_header.html.php on line 126