Ana menu de "Arkadaş Listesi" butonu

tertunc

Dekan
Emektar
Katılım
18 Ağustos 2007
Mesajlar
7,204
Reaksiyon puanı
21
Puanları
218
Default içindir..

index.template.php'de
Bul:
Kod:
	if ($context['current_action'] == 'search2')
		$current_action = 'search';

Sonrasına ekle:
Kod:
	if ($context['current_action'] == 'buddies')
		$current_action = 'buddies';

Bul:
Kod:
// Edit Profile... [profile]
	if ($context['allow_edit_profile'])
		echo ($current_action == 'profile' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
				<td valign="top" class="maintab_' , $current_action == 'profile' ? 'active_back' : 'back' , '">
					<a href="', $scripturl, '?action=profile">' , $txt[79] , '</a>
				</td>' , $current_action == 'profile' ? '<td class="maintab_active_' . $last . '"> </td>' : '';

Sonrasına ekle:
Kod:
//Show the buddies link... [buddies]
	if ($context['user']['is_logged'])
	echo ($current_action == 'buddies' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
				<td valign="top" class="maintab_' , $current_action == 'buddies' ? 'active_back' : 'back' , '">
					<a href="' . $scripturl . '?action=profile;sa=editBuddies">Arkadaş Listesi</a>
				</td>' , $current_action == 'buddies' ? '<td class="maintab_active_' . $last . '"> </td>' : '';

Bir Kevon yapımıdır..
Orjinal Konu

http://www.simplemachines.org/community/index.php?topic=203134.0#quickreply
 
Üst