SMF HELP! SMF.org
*
Welcome! Guest. Please Login Or Register

Last News: Zapraszam na Polish Suport Simple Machines Forum www.smf.pl  big_boss
advanced  
  HOME   FORUM   CHAT HELP SEARCH GALLERY LOGIN REGISTER  
  Strony: [1] 2   Bottom Do dołu
  Drukuj  
ico Autor    
[EN] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [RU]
      Topic: nowy przycisk - strona główna  [Przeczytany 94192 razy]
0 użytkowników i 1 Gość przegląda ten wątek.
8: Array to string conversion
Plik: /home/roco/sites/roco/www/ricoroco/poligon/fora/smf/Sources/Subs.php
Linia: 2466
Full Member
***
Offline
14.12.2019 23:26:16
Topic Starter
 Poland Mężczyzna
Poland
  WWW
DATA: [29.10.2008 10:31:54]nowy przycisk - strona główna
Link:  http://poligon.ricoroco.com/fora/smf/index.php?topic=25.msg129#msg129  
Witam jak w temacie potrzebuję dorobić przycisk powrót do strony głównej
mój index.teplate.php ze skórki

Code: [select]
// Show the start of the tab section.
echo '
<ul>';

// Show the [home] button.
echo '<li', $current_action == 'home' ? ' id="active"' : '', '><a href="', $scripturl, '">' , $txt[103] , '</a></li>';

// Show the [help] button.
echo '<li', $current_action == 'help' ? ' id="active"' : '', '><a href="', $scripturl, '?action=help">' , $txt[119] , '</a></li>';

// How about the [search] button?
if ($context['allow_search'])
echo '<li', $current_action == 'search' ? ' id="active"' : '', '><a href="', $scripturl, '?action=search">' , $txt[182] , '</a></li>';

// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo '<li', $current_action == 'admin' ? ' id="active"' : '', '><a href="', $scripturl, '?action=admin">' , $txt[2] , '</a></li>';

// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo '<li', $current_action == 'profile' ? ' id="active"' : '', '><a href="', $scripturl, '?action=profile">' , $txt[79] , '</a></li>';

// Go to PM center... [pm]
if ($context['user']['is_logged'] && $context['allow_pm'])
echo '<li', $current_action == 'pm' ? ' id="active"' : '', '><a href="', $scripturl, '?action=pm">' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</a></li>';

// The [calendar]!
if ($context['allow_calendar'])
echo '<li', $current_action == 'calendar' ? ' id="active"' : '', '><a href="', $scripturl, '?action=calendar">' , $txt['calendar24'] , '</a></li>';

// the [member] list button
if ($context['allow_memberlist'])
echo '<li', $current_action == 'mlist' ? ' id="active"' : '', '><a href="', $scripturl, '?action=mlist">' , $txt[331] , '</a></li>';

// the [SMF Gallery] button
if ($context['allow_smfgallery_view'])
echo '<li', $current_action == 'gallery' ? ' id="active"' : '', '><a href="', $scripturl, '?action=gallery">' , $txt['smfgallery_menu'] , '</a></li>';

// the [Downloads System] button
if ($context['allow_downloads_view'])
echo '<li', $current_action == 'downloads' ? ' id="active"' : '', '><a href="', $scripturl, '?action=downloads">' , $txt['downloads_menu'] , '</a></li>';

// If the user is a guest, show [login] button.
if ($context['user']['is_guest'])
echo '<li', $current_action == 'login' ? ' id="active"' : '', '><a href="', $scripturl, '?action=login">' , $txt[34] , '</a></li>';

// If the user is a guest, also show [register] button.
if ($context['user']['is_guest'])
echo '<li', $current_action == 'register' ? ' id="active"' : '', '><a href="', $scripturl, '?action=register">' , $txt[97] , '</a></li>';

// Otherwise, they might want to [logout]...
if ($context['user']['is_logged'])
echo '<li', $current_action == 'logout' ? ' id="active"' : '', '><a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a></li>';

  echo '</ul>';

}


co muszę jeszcze dodać i czy tylko w index.template czy jeszcze może w modyfication.polish

help !!!


pozdrawiam



Attention! Testing modifications - Steam Profile

Last Edit: 29.10.2008 14:51:23 by: roco IP IP Zapisane

W?adczy, choleryczny, wybuchowy, radykalny we wszystkim, z
rozpustnym wyobra?eniem upodoba? które nigdy nie by?y widziane,
ateistyczny pod wzgl?dem fanatyzmu, tutaj masz mnie w pigu?ce
i zabij mnie znowu albo we? mnie takim jaki jestem,
bo Ja si? nie zmieni?.