TinyPortal

Development => International => German => Topic started by: Nordin on September 01, 2006, 01:40:42 AM

Title: Navibutton - Problem
Post by: Nordin on September 01, 2006, 01:40:42 AM
Hallo,

ich hab in der index.template.php einen neuen Button hinzugefügt:
Quoteecho ($current_action == 'gallery' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
                <td valign="top" class="maintab_' , $current_action == 'gallery' ? 'active_back' : 'back' , '">
               <a href="', $scripturl, '?action=gallery">' , $txt['gallery'] , '</a>
            </td>' , $current_action == 'gallery' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
   // Show the [help] button.

Er funktioniert auch, nur das Problem nach dem klicken ist nicht er aktiv sondern der "ÃÆ'Ã...“bersicht"-Button aktiv!?

Am besten mal selber anschauen: www.aschersleber-community.de und auf "Galerie" klicken.

Hoffe jemand kann mir helfen.
Title: Re: Navibutton - Problem
Post by: IchBin on September 01, 2006, 04:48:19 AM
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm', 'forum', 'tpadmin', 'gallery')))
Title: Re: Navibutton - Problem
Post by: Nordin on September 01, 2006, 05:45:09 AM
thx!!
Title: Re: Navibutton - Problem
Post by: IchBin on September 01, 2006, 02:21:37 PM
no problem