Bölüm içinde konu ve izin bilgisi

Başlatan CeeMoo, 21 Eyl 2014 22:26

« önceki - sonraki »

0 Üye ve 1 Ziyaretçi konuyu incelemekte.

*

  1. 1,077

  2. 98

  3. 283



messageindex.template.php de

bul ve sil
if (!empty($settings['display_who_viewing']))
{
echo '
<tr class="windowbg2 whos_viewing">
<td colspan="', !empty($context['can_quick_mod']) ? '6' : '5', '" class="smalltext">';
if ($settings['display_who_viewing'] == 1)
echo count($context['view_members']), ' ', count($context['view_members']) === 1 ? $txt['who_member'] : $txt['members'];
else
echo empty($context['view_members_list']) ? '0 ' . $txt['members'] : implode(', ', $context['view_members_list']) . ((empty($context['view_num_hidden']) or $context['can_moderate_forum']) ? '' : ' (  ' . $context['view_num_hidden'] . ' ' . $txt['hidden'] . ')');
echo $txt['who_and'], $context['view_num_guests'], ' ', $context['view_num_guests'] == 1 ? $txt['guest'] : $txt['guests'], $txt['who_viewing_board'], '
</td>
</tr>';
}

bul ve sil
echo '
<div class="tborder" id="topic_icons">
<div class="description">
<p class="floatright" id="message_index_jump_to">&nbsp;</p>';

if (!$context['no_topic_listing'])
echo '
<p class="floatleft smalltext">', !empty($modSettings['enableParticipation']) && $context['user']['is_logged'] ? '
<img src="' . $settings['images_url'] . '/topic/my_normal_post.gif" alt="" align="middle" /> ' . $txt['participation_caption'] . '<br />' : '', '
<img src="' . $settings['images_url'] . '/topic/normal_post.gif" alt="" align="middle" /> ' . $txt['normal_topic'] . '<br />
<img src="' . $settings['images_url'] . '/topic/hot_post.gif" alt="" align="middle" /> ' . sprintf($txt['hot_topics'], $modSettings['hotTopicPosts']) . '<br />
<img src="' . $settings['images_url'] . '/topic/veryhot_post.gif" alt="" align="middle" /> ' . sprintf($txt['very_hot_topics'], $modSettings['hotTopicVeryPosts']) . '
</p>
<p class="smalltext">
<img src="' . $settings['images_url'] . '/icons/quick_lock.gif" alt="" align="middle" /> ' . $txt['locked_topic'] . '<br />' . ($modSettings['enableStickyTopics'] == '1' ? '
<img src="' . $settings['images_url'] . '/icons/quick_sticky.gif" alt="" align="middle" /> ' . $txt['sticky_topic'] . '<br />' : '') . ($modSettings['pollMode'] == '1' ? '
<img src="' . $settings['images_url'] . '/topic/normal_poll.gif" alt="" align="middle" /> ' . $txt['poll'] : '') . '
</p>';

echo '
<script type="text/javascript"><!-- // --><![CDATA[
if (typeof(window.XMLHttpRequest) != "undefined")
aJumpTo[aJumpTo.length] = new JumpTo({
sContainerId: "message_index_jump_to",
sJumpToTemplate: "<label class="smalltext" for="%select_id%">', $context['jump_to']['label'], ':<"   "/label> %dropdown_list%",
iCurBoardId: ', $context['current_board'], ',
iCurBoardChildLevel: ', $context['jump_to']['child_level'], ',
sCurBoardName: "', $context['jump_to']['board_name'], '",
sBoardChildLevelIndicator: "==",
sBoardPrefix: "=> ",
sCatSeparator: "-----------------------------",
sCatPrefix: "",
sGoButtonLabel: "', $txt['quick_mod_go'], '"
});
// ]]></script>
<br class="clear" />
</div>
</div>';

bul
// Javascript for inline editing.
üstüne ekle
if (!empty($settings['display_who_viewing']))
{
echo '
<div class="smalltext whos_viewing">
<div colspan="', !empty($context['can_quick_mod']) ? '6' : '5', '" class="smalltext">';
if ($settings['display_who_viewing'] == 1)
echo count($context['view_members']), ' ', count($context['view_members']) === 1 ? $txt['who_member'] : $txt['members'];
else
echo empty($context['view_members_list']) ? '0 ' . $txt['members'] : implode(', ', $context['view_members_list']) . ((empty($context['view_num_hidden']) or $context['can_moderate_forum']) ? '' : ' (  ' . $context['view_num_hidden'] . ' ' . $txt['hidden'] . ')');
echo $txt['who_and'], $context['view_num_guests'], ' ', $context['view_num_guests'] == 1 ? $txt['guest'] : $txt['guests'], $txt['who_viewing_board'], '
</div>
</div>';
}
// Show breadcrumbs at the bottom too.
if (!$context['no_topic_listing'])
echo '
<div class="blmcndznblgstbl">
<div class="blmcndznblgs1">', !empty($modSettings['enableParticipation']) && $context['user']['is_logged'] ? '
<img src="' . $settings['images_url'] . '/topic/my_normal_post.gif" alt="" /> ' . $txt['participation_caption'] . '<br />' : '', '
<img src="' . $settings['images_url'] . '/topic/normal_post.gif" alt="" /> ' . $txt['normal_topic'] . '<br />
<img src="' . $settings['images_url'] . '/topic/hot_post.gif" alt="" /> ' . sprintf($txt['hot_topics'], $modSettings['hotTopicPosts']) . '<br />
<img src="' . $settings['images_url'] . '/topic/veryhot_post.gif" alt="" /> ' . sprintf($txt['very_hot_topics'], $modSettings['hotTopicVeryPosts']) . '
</div>
<div class="blmcndznblgs2">
<img src="' . $settings['images_url'] . '/icons/quick_lock.gif" alt="" /> ' . $txt['locked_topic'] . '<br />' . ($modSettings['enableStickyTopics'] == '1' ? '
<img src="' . $settings['images_url'] . '/icons/quick_sticky.gif" alt="" /> ' . $txt['sticky_topic'] . '<br />' : '') . ($modSettings['pollMode'] == '1' ? '
<img src="' . $settings['images_url'] . '/topic/normal_poll.gif" alt="" /> ' . $txt['poll'] : '') . '
</div>

<div class="blmcndznblgs3">
', (allowedTo('post_new')) ? $txt['post_new_topic_permission_yes'] : $txt['post_new_topic_permission_no'], '<br />
', (allowedTo('post_reply_any')) ? $txt['reply_permission_yes'] : $txt['reply_permission_no'], '<br />
', (allowedTo('post_attachment')) ? $txt['attachment_permission_yes'] : $txt['attachment_permission_no'], '<br />
', (allowedTo('modify_own')) ? $txt['modify_permission_yes'] : $txt['modify_permission_no'], '
</div>
<div class="blmcndznblgs4">
<img src="' . $settings['images_url'] . '/permissioninfoiconotherico.png" alt="" /> <a href="', $scripturl, '?action=help;page=post#bbcref">', $txt['bbc'], '</a> ', ($modSettings['enableBBC']) ? $txt['enabled'] : $txt['disabled'], '<br />
<img src="' . $settings['images_url'] . '/permissioninfoiconotherico.png" alt="" /> <a href="', $scripturl, '?action=help;page=post#smileysref">', $txt['smiley'], '</a> ', ($modSettings['enableBBC']) ? $txt['enabled'] : $txt['disabled'], '<br />
<img src="' . $settings['images_url'] . '/permissioninfoiconotherico.png" alt="" /> <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'], '<br />
<img src="' . $settings['images_url'] . '/permissioninfoiconotherico.png" alt="" /> ', $txt['html'], ' ', ($modSettings['enablePostHTML']) ? $txt['enabled'] : $txt['disabled'], '
</td>
</tr>
</div>
<br class="clear" /></div>';

index.css ekle
/* Messageindex Templatede Icon Bilgisi */
.blmcndznblgstbl
{
width: 100%;
font-size: 0.9em;
border: 1px solid red;
padding: 6px 5px 2px 5px;
background: #f5f5f0;
}
.blmcndznblgs1
{
width: 25%;
float:left;
margin: 0em 0em 0em 0em;
}
.blmcndznblgs2
{
width: 25%;
float:left;
margin: 0em 0em 0em 0em;
}
.blmcndznblgs3
{
width: 25%;
float:right;
margin: 0em 0em 0em 0em;
}
.blmcndznblgs4
{
width: 25%;
float:right;
margin: 0em 0em 0em 0em;
}

Modifications.turkish.php ye ekle
//Permission Info Mod
$txt['permissions_info'] = 'İzinler';
$txt['post_new_topic_permission_yes'] = '<img src="' . $settings['images_url'] . '/permissioninfoiconon.png" alt="" /> Yeni konu <b>açabilirsiniz</b>.';
$txt['post_new_topic_permission_no'] = '<img src="' . $settings['images_url'] . '/permissioninfoiconoff.png" alt="" /> Yeni konu <b>açamazsınız</b>.';
$txt['reply_permission_yes'] = '<img src="' . $settings['images_url'] . '/permissioninfoiconon.png" alt="" /> Cevap <b>yazabilirsiniz</b>.';
$txt['reply_permission_no'] = '<img src="' . $settings['images_url'] . '/permissioninfoiconoff.png" alt="" /> Cevap <b>yazamazsınız</b>.';
$txt['attachment_permission_yes'] = '<img src="' . $settings['images_url'] . '/permissioninfoiconon.png" alt="" /> Eklenti <b>gönderebilirsiniz</b>.';
$txt['attachment_permission_no'] = '<img src="' . $settings['images_url'] . '/permissioninfoiconoff.png" alt="" /> Eklenti <b>gönderemezsiniz</b>.';
$txt['modify_permission_yes'] = '<img src="' . $settings['images_url'] . '/permissioninfoiconon.png" alt="" /> Mesajınızı <b>düzenleyebilirsiniz</b>.';
$txt['modify_permission_no'] = '<img src="' . $settings['images_url'] . '/permissioninfoiconoff.png" alt="" /> 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

ekte bulunan, dosyanın içinden çıkan 3 resmi temanızın images klasörüne atın.


MENU ×