Valla Yeni paket listesinde gördüm hoşuma gitti sizle paylaşayım dedim.
Versiyon: 1.1.x
Yazar By: babjusi
Mod İşlevi : pop up olarak çıkış yapan uyarı mesajı veriyor.
Orjinal Konu : http://www.simplemachines.org/community/index.php?topic=315055.0
Mod Linki : http://custom.simplemachines.org/mods/index.php?mod=1869
Manuel Kurulum :
./Themes/default/index.template.php
// Otherwise, they might want to [logout]...
if ($context['user']['is_logged'])
echo ($current_action == 'logout' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'logout' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '">' , $txt[108] , '</a>
</td>' , $current_action == 'logout' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
Değiştir:
// Otherwise, they might want to [logout]...
if ($context['user']['is_logged'])
echo ($current_action == 'logout' || $context['browser']['is_ie4']) ? '<td class="maintab_active_' . $first . '"> </td>' : '' , '
<td valign="top" class="maintab_' , $current_action == 'logout' ? 'active_back' : 'back' , '">
<a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '" onclick="return confirm(\'', $txt['logout_pop_up'], '?\');">' , $txt[108] , '</a>
</td>' , $current_action == 'logout' ? '<td class="maintab_active_' . $last . '"> </td>' : '';
Türkçesi İçin :
Modifications.turkish.php de
BuL:
?>
Üst Satırına ekle
//The start of the language strings for the mod
$txt['logout_pop_up']='Gerçekten çıkış yapmak istediğinizden emin misiniz?'.$context['user']['name'].' ';
İsteyen " Gerçekten çıkış yapmak istediğinizden emin misiniz? "
Yerini Değişebilir.
Eline sağlık DNA27. Bunun karartmalı olanı vardı bi ara.. :)
Afiyet olsun görmedim onu :)