Log out pop up message ( Çıkış Yaparken uyarı )

Started by DNA27, June 04, 2009, 08:56:31 PM

Previous topic - Next topic

DNA27

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 . '">&nbsp;</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 . '">&nbsp;</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 . '">&nbsp;</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 . '">&nbsp;</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.
Sevda Gelmişse başa artıq kıvırmak boşa sen git o sefdanın arkasından koşa koşa

grafitus

Eline sağlık DNA27. Bunun karartmalı olanı vardı bi ara.. :)

DNA27

Sevda Gelmişse başa artıq kıvırmak boşa sen git o sefdanın arkasından koşa koşa

Advertisement: