SMF Kategori içindeki Sayfa Sayısında Düzenleme

Asi Ruh

Kayıtlı Üye
SMF Kategori içindeki Sayfa Sayısında Düzenleme

Sources/MessageIndex.php de

Bul

PHP:
// Show links to all the pages?
                if (count($tmppages) <= 5)
                    $pages = '« ' . implode(' ', $tmppages);
                // Or skip a few?
                else
                    $pages = '« ' . $tmppages[0] . ' ' . $tmppages[1] . ' ... ' . $tmppages[count($tmppages) - 2] . ' ' . $tmppages[count($tmppages) - 1];
 
                if (!empty($modSettings['enableAllMessages']) && $topic_length < $modSettings['enableAllMessages'])
                    $pages .= '  <a href="' . $scripturl . '?topic=' . $row['ID_TOPIC'] . '.0;all">' . $txt[190] . '</a>';
                $pages .= ' »';
            }
            else
                $pages = '';

Değiştir

PHP:
// Show links to all the pages?
                if (count($tmppages) <= 5)
                    $pages = '[ Sayfa: ' . implode(', ', $tmppages);
                // Or skip a few?
                else
                    $pages = '[ Sayfa: ' . $tmppages[0] . ' ' . $tmppages[1] . ' ... ' . $tmppages[count($tmppages) - 2] . ' ' . $tmppages[count($tmppages) - 1];
 
                if (!empty($modSettings['enableAllMessages']) && $topic_length < $modSettings['enableAllMessages'])
                    $pages .= ', <a href="' . $scripturl . '?topic=' . $row['ID_TOPIC'] . '.0;all">' . $txt[190] . '</a>';
                $pages .= ' ]';
            }
            else
                $pages = '';

Sources//Recent.php de
Bul

PHP:
// Show links to all the pages?
            if (count($tmppages) <= 5)
                $pages = '« ' . implode(' ', $tmppages);
            // Or skip a few?
            else
                $pages = '« ' . $tmppages[0] . ' ' . $tmppages[1] . ' ... ' . $tmppages[count($tmppages) - 2] . ' ' . $tmppages[count($tmppages) - 1];
 
            if (!empty($modSettings['enableAllMessages']) && $topic_length < $modSettings['enableAllMessages'])
                $pages .= '  <a href="' . $scripturl . '?topic=' . $row['ID_TOPIC'] . '.0;all">' . $txt[190] . '</a>';
            $pages .= ' »';
        }
        else
            $pages = '';

Değiştir

PHP:
// Show links to all the pages?
                if (count($tmppages) <= 5)
                    $pages = '[ Sayfa: ' . implode(', ', $tmppages);
                // Or skip a few?
                else
                    $pages = '[ Sayfa: ' . $tmppages[0] . ' ' . $tmppages[1] . ' ... ' . $tmppages[count($tmppages) - 2] . ' ' . $tmppages[count($tmppages) - 1];
 
                if (!empty($modSettings['enableAllMessages']) && $topic_length < $modSettings['enableAllMessages'])
                    $pages .= ', <a href="' . $scripturl . '?topic=' . $row['ID_TOPIC'] . '.0;all">' . $txt[190] . '</a>';
                $pages .= ' ]';
            }
            else
                $pages = '';

MessageIndex.template.php de

Bul

PHP:
// Is this topic new? (assuming they are logged in!)
            if ($topic['new'] && $context['user']['is_logged'])
                    echo '
                            <a href="', $topic['new_href'], '" id="newicon' . $topic['first_post']['id'] . '"><img src="', $settings['images_url'], '/', $context['user']['language'], '/new.gif" alt="', $txt[302], '" /></a>';
 
            echo '
                            <small id="pages' . $topic['first_post']['id'] . '">', $topic['pages'], '</small>
                        </td>
                        <td class="windowbg2" valign="middle" width="14%">
                            ', $topic['first_post']['member']['link'], '
                        </td>
                        <td class="windowbg' , $topic['is_sticky'] ? '3' : '' , '" valign="middle" width="4%" align="center">
                            ', $topic['replies'], '
                        </td>
                        <td class="windowbg' , $topic['is_sticky'] ? '3' : '' , '" valign="middle" width="4%" align="center">
                            ', $topic['views'], '
                        </td>
                        <td class="windowbg2" valign="middle" width="22%">
                            <a href="', $topic['last_post']['href'], '"><img src="', $settings['images_url'], '/icons/last_post.gif" alt="', $txt[111], '" title="', $txt[111], '" style="float: right;" /></a>
                            <span class="smalltext">
                                ', $topic['last_post']['time'], '<br />
                                ', $txt[525], ' ', $topic['last_post']['member']['link'], '
                            </span>
                        </td>';

Değiştir

PHP:
// Is this topic new? (assuming they are logged in!)
            if ($topic['new'] && $context['user']['is_logged'])
                    echo '
                            <a href="', $topic['new_href'], '" id="newicon' . $topic['first_post']['id'] . '"><img src="', $settings['images_url'], '/', $context['user']['language'], '/new.gif" alt="', $txt[302], '" /></a>';
 
            echo '<br />
                            <small id="pages' . $topic['first_post']['id'] . '">', $topic['pages'], '</small>
                        </td>
                        <td class="windowbg2" valign="middle" width="14%">
                            ', $topic['first_post']['member']['link'], '
                        </td>
                        <td class="windowbg' , $topic['is_sticky'] ? '3' : '' , '" valign="middle" width="4%" align="center">
                            ', $topic['replies'], '
                        </td>
                        <td class="windowbg' , $topic['is_sticky'] ? '3' : '' , '" valign="middle" width="4%" align="center">
                            ', $topic['views'], '
                        </td>
                        <td class="windowbg2" valign="middle" width="22%">
                            <a href="', $topic['last_post']['href'], '"><img src="', $settings['images_url'], '/icons/last_post.gif" alt="', $txt[111], '" title="', $txt[111], '" style="float: right;" /></a>
                            <span class="smalltext">
                                ', $topic['last_post']['time'], '<br />
                                ', $txt[525], ' ', $topic['last_post']['member']['link'], '
                            </span>
                        </td>';

Örnek

adsdaim5.jpg


Alıntıdır
 
bayigram takipçi satın al instagram beğeni satın al instagram takipçi satın al tiktok takipçi satın al Buy Followers bugün haber
vozol
Geri
Üst