|
|
Ja, Danke. Habe es so gemacht doch es passiert nix. Die Buttons bleiben verschwunden.
Ich schreib dir mal den ode hier ein.
Funktion.php:
Code: 1 2 3 4 5 6 7 8 9 10
| $this->tpl->set_template('headline.htm',0); $this->tpl->add_variables(array( 'location' => $location, 'is_guest' => !$this->sess->is_loggedin(), 'can_view_chat' => in_array(U,BS_advanced_explode(',',$this->sess->userdata['user_group'])) || in_array(N,BS_advanced_explode(',',$this->sess->userdata['user_group'])), 'can_view_counter' => in_array(S,BS_advanced_explode(',',$this->sess->userdata['user_group'])) || in_array(N,BS_advanced_explode(',',$this->sess-> userdata['user_group'])), 'action_type' => BS_ACTION_LOGIN, 'login_url' => $this->url->get_URL('login'), 'show_deactivated_notice' => $this->cfg['enable_board'] == 0 && $this->sess->is_admin(), 'headline_url' => $this->url->get_forums_url() |
Und von der Headline.htm
Code: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| {IF can_view_chat} <td title="Chat" class="bs_top_menu" onmouseover="document.getElementById('link20').style.textDecoration = 'underline';" onmouseout="document.getElementById('link20').style.textDecoration = 'none';" align="center" style="border: 1px solid #777777;" onclick="document.location.href = 'http://dp-online.cyber-operations.de/index.php?action=chat';"> <a id="link20" class="bs_top_menu" href="http://dp-online.cyber-operations.de/index.php?action=chat" target="_self">Chat</a></td> {ENDIF} {IF can_view_counter} <td title="Counter" class="bs_top_menu" onmouseover="document.getElementById('link21').style.textDecoration = 'underline';" onmouseout="document.getElementById('link21').style.textDecoration = 'none';" align="center" style="border: 1px solid #777777;" onclick="document.location.href = 'http://dp-online.cyber-operations.de/index.php?action=counter';"> <a id="link20" class="bs_top_menu" href="http://dp-online.cyber-operations.de/index.php?action=counter" target="_self">Counter</a></td> {ENDIF} |
Wo ist der Fehler?
{brigens Ein Kezboard/Treiber ist v;llig [berfl[ssig! Fragen Sie nicht, was Ihr Computer für Sie tun kann. Fragen Sie, was Sie für Ihren Computer tun können.
Dieser Beitrag wurde insgesamt 2 mal editiert. Das letzte mal 05.11.2007, 11:55 von Tille2000.
|
|