XF 1.5 Новые сообщения

Статус
В этой теме нельзя размещать новые ответы.

tyanHARD

Только чтение
Сообщения
7
Реакции
0
Баллы
298
Здравствуйте, как убрать вид префиксов с блока "Новые сообщения"
 
Привет.

В шаблоне sidebar_new_posts находим такой код:
Код:
<div class="messageContent">
                <div class="title">
                <xen:if is="{$thread.isNew} AND {$thread.haveReadData}">
                    <a href="{xen:link threads/unread, $thread}">{xen:helper threadPrefix, $thread}{$thread.title}</a>
                <xen:else />
                    <a href="{xen:link posts, $thread.lastPostInfo}">{xen:helper threadPrefix, $thread}{$thread.title}</a>
                </xen:if>
                </div>
            </div>


И заменяем его на такой:
Код:
<div class="messageContent">
                <div class="title">
                <xen:if is="{$thread.isNew} AND {$thread.haveReadData}">
                    <a href="{xen:link threads/unread, $thread}">{$thread.title}</a>
                <xen:else />
                    <a href="{xen:link posts, $thread.lastPostInfo}">{$thread.title}</a>
                </xen:if>
                </div>
            </div>
 
Привет.

В шаблоне sidebar_new_posts находим такой код:
Код:
<div class="messageContent">
                <div class="title">
                <xen:if is="{$thread.isNew} AND {$thread.haveReadData}">
                    <a href="{xen:link threads/unread, $thread}">{xen:helper threadPrefix, $thread}{$thread.title}</a>
                <xen:else />
                    <a href="{xen:link posts, $thread.lastPostInfo}">{xen:helper threadPrefix, $thread}{$thread.title}</a>
                </xen:if>
                </div>
            </div>


И заменяем его на такой:
Код:
<div class="messageContent">
                <div class="title">
                <xen:if is="{$thread.isNew} AND {$thread.haveReadData}">
                    <a href="{xen:link threads/unread, $thread}">{$thread.title}</a>
                <xen:else />
                    <a href="{xen:link posts, $thread.lastPostInfo}">{$thread.title}</a>
                </xen:if>
                </div>
            </div>
не вижу кнопки спасибо, но спасибо )
 
Статус
В этой теме нельзя размещать новые ответы.
Современный облачный хостинг провайдер | Aéza
Назад
Сверху Снизу