Permissions Info - edit

Başlatan CeeMoo, 21 Eyl 2014 22:37

« önceki - sonraki »

0 Üye ve 1 Ziyaretçi konuyu incelemekte.

*

  1. 1,120

  2. 105

  3. 318

http://custom.simplemachines.org/mods/index.php?mod=1118

Modu kurduktan sonra;
./Themes/default/Display.template.php
Bul:
// Permissions Info
echo '
<br />
<div style="width: 200px;">
<div class="cat_bar">
    <h3 class="catbg">
            <a href="#" onclick="shrinkHeaderPI(!current_header_pi); return false;"><img id="upshrink_pi" src="', $settings['images_url'], '/', empty($options['collapse_header_pi']) ? 'collapse.gif' : 'expand.gif', '" alt="*" title="', $txt['upshrink_description'], '" /></a> ', $txt['permissions_info'], '
    </h3>
</div>
<div class="windowbg2" id="upshrinkHeaderPI"', empty($options['collapse_header_pi']) ? '' : ' style="display: none;"', '>
<span class="topslice"><span></span></span>
<div class="content smalltext">
<ul class="reset">
<li>', (allowedTo('post_new')) ? $txt['post_new_topic_permission_yes'] : $txt['post_new_topic_permission_no'], '</li>
<li>', (allowedTo('post_reply_any')) ? $txt['reply_permission_yes'] : $txt['reply_permission_no'], '</li>
<li>', (allowedTo('post_attachment')) ? $txt['attachment_permission_yes'] : $txt['attachment_permission_no'], '</li>
<li>', (allowedTo('modify_own')) ? $txt['modify_permission_yes'] : $txt['modify_permission_no'], '</li>
</ul>
<hr />
<ul class="reset">
<li><a href="', $scripturl, '?action=help;page=post#bbcref">', $txt['bbc'], '</a> ', ($modSettings['enableBBC']) ? $txt['enabled'] : $txt['disabled'], '</li>
<li><a href="', $scripturl, '?action=help;page=post#smileysref">', $txt['smiley'], '</a> ', ($modSettings['enableBBC']) ? $txt['enabled'] : $txt['disabled'], '</li>
<li><a href="', $scripturl, '?action=help;page=post#bbcref">', $txt['img'], '</a> ', (!in_array('img', (empty($modSettings['disabledBBC']) ? array() : explode(',', $modSettings['disabledBBC'])))) ? $txt['enabled'] : $txt['disabled'], '</li>
<li>', $txt['html'], ' ', ($modSettings['enablePostHTML']) ? $txt['enabled'] : $txt['disabled'], '</li>';

if (isset($modSettings['rules_enable_member_access']) || isset($modSettings['rules_enable_guest_access']))
echo'
<li><a href="'.$scripturl.'?action=rules">'.$txt['mods_cat_rules'].'</a></li>';
echo'
</ul>
</div>
<span class="botslice"><span></span></span>
</div>
</div>
<br />';

if ($context['can_reply'] && !empty($options['display_quick_reply']))

Değiştir:
// Permissions Info
echo '
<div class="information">
<table border="1" width="100%" id="table1" style="border-width:0px; border-collapse: collapse">
<tr>
<td colspan="8" style="border-style: none; border-width: medium">', (allowedTo('post_new')) ? $txt['uyeyetkileri'] : $txt['ziyaretciyetkileri'], '</td>
</tr>
<tr>
<td style="border-style: none; border-width: medium">
<p align="center"><img src="' . $settings['images_url']. '/yenikonu.png" border="0"> </td>
<td style="border-style: none; border-width: medium">
<p align="center"><img src="' . $settings['images_url']. '/cevap.png" border="0"></td>
<td style="border-style: none; border-width: medium">
<p align="center"><img src="' . $settings['images_url']. '/eklenti.png" border="0"></td>
<td style="border-style: none; border-width: medium">
<p align="center"><img src="' . $settings['images_url']. '/edit.png" border="0"></td>
<td style="border-style: none; border-width: medium" align="center" width="100">
<p align="center"><img src="' . $settings['images_url']. '/bbcode.png" border="0"></td>
<td style="border-style: none; border-width: medium" align="center" width="100">
<p align="center"><img src="' . $settings['images_url']. '/smiley.png" border="0"></td>
<td style="border-style: none; border-width: medium" align="center" width="100">
<p align="center"><img src="' . $settings['images_url']. '/camera.png" border="0"></td>
<td style="border-style: none; border-width: medium" align="center" width="100">
<p align="center"><img src="' . $settings['images_url']. '/html.png" border="0"></td>
</tr>
<tr>
<td style="border-style: none; border-width: medium" valign="top">
<p align="center">', (allowedTo('post_new')) ? $txt['post_new_topic_permission_yes'] : $txt['post_new_topic_permission_no'], '</td>
<td style="border-style: none; border-width: medium" valign="top">
<p align="center">', (allowedTo('post_reply_any')) ? $txt['reply_permission_yes'] : $txt['reply_permission_no'], '</td>
<td style="border-style: none; border-width: medium" valign="top">
<p align="center">', (allowedTo('post_attachment')) ? $txt['attachment_permission_yes'] : $txt['attachment_permission_no'], '</td>
<td style="border-style: none; border-width: medium" valign="top">
<p align="center">', (allowedTo('modify_own')) ? $txt['modify_permission_yes'] : $txt['modify_permission_no'], '</td>
<td style="border-style: none; border-width: medium" valign="top">
<p align="center"><a href="', $scripturl, '?action=help;page=post#bbcref">', $txt['bbc'], '</a> ', ($modSettings['enableBBC']) ? $txt['enabled'] : $txt['disabled'], '</td>
<td style="border-style: none; border-width: medium" valign="top">
<p align="center"><a href="', $scripturl, '?action=help;page=post#smileysref">', $txt['smiley'], '</a> ', ($modSettings['enableBBC']) ? $txt['enabled'] : $txt['disabled'], '</td>
<td style="border-style: none; border-width: medium" valign="top">
<p align="center"><a href="', $scripturl, '?action=help;page=post#bbcref">', $txt['img'], '</a> ', (!in_array('img', (empty($modSettings['disabledBBC']) ? array() : explode(',', $modSettings['disabledBBC'])))) ? $txt['enabled'] : $txt['disabled'], '</td>
<td style="border-style: none; border-width: medium" valign="top">
<p align="center">', $txt['html'], ' ', ($modSettings['enablePostHTML']) ? $txt['enabled'] : $txt['disabled'], '</td>
</tr>
</table>
</div>
';

if ($context['can_reply'] && !empty($options['display_quick_reply']))

./Themes/default/languages/Modifications.turkish.php
Bul:
//Permission Info Mod
$txt['permissions_info'] = '�zinler';
$txt['post_new_topic_permission_yes'] = 'Yeni konu <b>açabilirsiniz</b>.';
$txt['post_new_topic_permission_no'] = 'Yeni konu <b>açamazsýnýz</b>.';
$txt['reply_permission_yes'] = 'Cevap <b>yazabilirsiniz</b>.';
$txt['reply_permission_no'] = 'Cevap <b>yazamazsýnýz</b>.';
$txt['attachment_permission_yes'] = 'Eklenti <b>gönderebilirsiniz</b>.';
$txt['attachment_permission_no'] = 'Eklenti <b>gönderemezsiniz</b>.';
$txt['modify_permission_yes'] = 'Mesajýnýzý <b>düzenleyebilirsiniz</b>.';
$txt['modify_permission_no'] = 'Mesajýnýzý <b>düzenleyemezsiniz</b>.';
$txt['bbc'] = 'BBCode';
$txt['smiley'] = 'Gülücükler';
$txt['img'] = '[img]';
$txt['html'] = 'HTML';
$txt['enabled'] = '<b>Açýk</b>';
$txt['disabled'] = '<b>Kapalý</b>';
//Permission Info Mod

Değiştir:
//Permission Info Mod
$txt['permissions_info'] = '�zinler';
$txt['post_new_topic_permission_yes'] = '<img src="' . $settings['images_url']. '/ok.png" border="0"><br />Yeni konu <b>açabilirsiniz</b>.';
$txt['post_new_topic_permission_no'] = '<img src="' . $settings['images_url']. '/no.png" border="0"><br />Yeni konu <b>başlatamazsınız</b>.';
$txt['reply_permission_yes'] = '<img src="' . $settings['images_url']. '/ok.png" border="0"><br />Cevap <b>yazabilirsiniz</b>.';
$txt['reply_permission_no'] = '<img src="' . $settings['images_url']. '/no.png" border="0"><br />Cevap <b>yazamazsınız</b>.';
$txt['attachment_permission_yes'] = '<img src="' . $settings['images_url']. '/ok.png" border="0"><br />Eklenti <b>gönderebilirsiniz</b>.';
$txt['attachment_permission_no'] = '<img src="' . $settings['images_url']. '/no.png" border="0"><br />Eklenti <b>gönderemezsiniz</b>.';
$txt['modify_permission_yes'] = '<img src="' . $settings['images_url']. '/ok.png" border="0"><br />Mesajlarınızı <b>düzenleyebilirsiniz</b>.';
$txt['modify_permission_no'] = '<img src="' . $settings['images_url']. '/no.png" border="0"><br />Mesajlarınızı <b>düzenleyemezsiniz</b>.';
$txt['bbc'] = 'BBCode<br />';
$txt['smiley'] = 'Gülücükler';
$txt['img'] = 'Resim<br />';
$txt['html'] = 'HTML<br />';
$txt['enabled'] = '<b><img src="' . $settings['images_url']. '/ok.png" border="0"><br />Açık</b>';
$txt['disabled'] = '<b><img src="' . $settings['images_url']. '/no.png" border="0"><br />Kapalı</b>';
$txt['izinler'] = '<b>Yetkileriniz:</ b>';
$txt['ziyaretciyetkileri'] = '<b>Sitemize ziyaretçi olarak giriş yaptınız. Yetkileriniz: </b>';
$txt['uyeyetkileri'] = '<b>Sitemize üye olarak giriş yaptınız. Yetkileriniz: </b>';

//Permission Info Mod





Ekteki klasörden çıkan resimleri kullandığınız temanızın images klasörüne atın.


MENU ×