#1
|
|||
|
|||
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 = '') Kod:
// Admin Tusları By ARSLAN_BEY echo ' <table cellpadding="0" cellspacing="0" border="0" style="margin-left: 10px;"> <tr> <td> </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 . '"> </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 . '"> </td>' : ''; if ($context['allow_admin']) echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : ''; if ($context['allow_admin']) echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : ''; if ($context['allow_admin']) echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : ''; if ($context['allow_admin']) echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : ''; if ($context['allow_admin']) echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : ''; if ($context['allow_admin']) echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : ''; // Admin Tusları sonu echo ' <td> </td> </tr> </table>'; Kod:
// Admin Tusları By ARSLAN_BEY echo ' <center><table cellpadding="0" cellspacing="0" border="0" style="margin-left: 10px;"> <tr> <td> </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 . '"> </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 . '"> </td>' : ''; if ($context['allow_admin']) echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : ''; if ($context['allow_admin']) echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : ''; if ($context['allow_admin']) echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : ''; if ($context['allow_admin']) echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : ''; if ($context['allow_admin']) echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : ''; if ($context['allow_admin']) echo ($current_action == 'admin' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </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 . '"> </td>' : ''; // Admin Tusları sonu echo ' <td> </td> </tr> </table></center>'; |
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 |