Forum27 - Türkiye'nin En Büyük Forumu
 

Go Back   Forum27 - Türkiye'nin En Büyük Forumu > Webmaster Dünyası > SMF

Cevapla

 

LinkBack Seçenekler Stil
  #1  
Alt 2 August 2009, 16:36
Senior Member
 
Kayıt Tarihi: 1 August 2009
Mesajlar: 184
Konular:
Aldığı Beğeni: 0 xx
Beğendiği Mesajlar: 0 xx
UstA - İCQ üzeri Mesaj gönder UstA - MSN üzeri Mesaj gönder
Standart Admin Butonları



Üst buton dizisinin altında adminlere özel admin paneline daha hızlı ulaşmanız için kısayol vazifesi gören tuşlar oluşturmaktadır.


index.template.php de bul

Kod:
}

// Generate a strip of buttons.
function template_button_strip($button_strip, $direction = 'top', $force_reset = false, $custom_td = '')
üstüne ekle

Kod:
// Admin Tusları By ARSLAN_BEY
echo '
<table  cellpadding="0" cellspacing="0" border="0" style="margin-left: 10px;">
<tr> 
<td>&nbsp;</td>';

// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'admin' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=featuresettings"><b>Forum Seçenekleri</b></a>
</td>' , $current_action == 'admin' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : ''; 
if ($context['allow_admin'])
echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'admin' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=manageboards"><b>Kategoriler</b></a>
</td>' , $current_action == 'admin' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
if ($context['allow_admin'])
echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'admin' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=permissions"><b>Üye İzinleri</b></a>
</td>' , $current_action == 'admin' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
if ($context['allow_admin'])
echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'admin' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=maintain"><b>Forum Bakımı</b></a>
</td>' , $current_action == 'admin' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
if ($context['allow_admin'])
echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'admin' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=reports"><b>Raporlar</b></a>
</td>' , $current_action == 'admin' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
if ($context['allow_admin'])
echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'admin' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=news"><b>Haberler</b></a>
</td>' , $current_action == 'admin' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

if ($context['allow_admin'])
echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'admin' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=packages"><b>Paketler</b></a>
</td>' , $current_action == 'admin' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// Admin Tusları sonu
echo '
<td>&nbsp;</td>
</tr>
</table>';
Ortalanmış halde koymak isteyenler için:

Kod:
// Admin Tusları By ARSLAN_BEY
echo '
<center><table  cellpadding="0" cellspacing="0" border="0" style="margin-left: 10px;">
<tr> 
<td>&nbsp;</td>';

// Is the user allowed to administrate at all? ([admin])
if ($context['allow_admin'])
echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'admin' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=featuresettings"><b>Forum Seçenekleri</b></a>
</td>' , $current_action == 'admin' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : ''; 
if ($context['allow_admin'])
echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'admin' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=manageboards"><b>Kategoriler</b></a>
</td>' , $current_action == 'admin' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
if ($context['allow_admin'])
echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'admin' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=permissions"><b>Üye İzinleri</b></a>
</td>' , $current_action == 'admin' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
if ($context['allow_admin'])
echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'admin' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=maintain"><b>Forum Bakımı</b></a>
</td>' , $current_action == 'admin' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
if ($context['allow_admin'])
echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'admin' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=reports"><b>Raporlar</b></a>
</td>' , $current_action == 'admin' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';
if ($context['allow_admin'])
echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'admin' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=news"><b>Haberler</b></a>
</td>' , $current_action == 'admin' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

if ($context['allow_admin'])
echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '">&nbsp;</td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'admin' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=packages"><b>Paketler</b></a>
</td>' , $current_action == 'admin' ? '<td class="maintab_active_' . $last . '">&nbsp;</td>' : '';

// Admin Tusları sonu
echo '
<td>&nbsp;</td>
</tr>
</table></center>';
Alıntı ile Cevapla
Cevapla

Seçenekler
Stil


Benzer Konular

Konu Konuyu Başlatan Forum Cevaplar Son Mesaj
Ani ısı değişimine dikkat! ceyLin Sağlık 0 10 December 2008 17:58
esref saati bolum 30 part5 eLanuR Eşref Saati 0 17 November 2008 17:33
yeni bir hayat :)))) Yildiz_ Komik Loglar 0 13 November 2008 19:08
Yalan Yakalamak eLanuR Anne ve Çocuk 0 7 November 2008 15:47


Saat: 16:43


Telif Hakları vBulletin® v3.8.9 Copyright ©2000 - 2019, ve
Jelsoft Enterprises Ltd.'e Aittir.
Tipobet forum Kameralı Sohbet Sevgi forumu Kadınca Forum Mutlu Forum forumcu forum kadinca forum dernek forum forum ankara forum aktuel webmaster forum istanbul escort istanbul escort Betvole tipobet365

Search Engine Friendly URLs by vBSEO 3.6.0 PL2