Помогите узнать как называется эта штука в Xenforo

Добро пожаловать!

Зарегистрировавшись у нас, вы сможете обсуждать, делиться и отправлять личные сообщения другим участникам нашего сообщества.

Зарегистрироваться!
Заблокированный
Регистрация
15 Сен 2025
Сообщения
39
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки. Мы не несем ответственности за действия пользователя вне форума.
Помогите пожалуйста, как называется эта штука? И как ее изменить под свой вкус?
OFFTOP

мне не нужно чтобы отредактировать цвет, мне нужно чтобы я мог туда вставить в свой картинку, и имею ввиду я не про логотип, и будьте добры еще скажите шаблон если он там настраивается

 

Вложения

  • Screenshot_20251021_165608.jpg
    Screenshot_20251021_165608.jpg
    31.6 KB · Просмотры: 17
Команда форума
Модератор
Регистрация
4 Ноя 2024
Сообщения
1,152
Помогите пожалуйста, как называется эта штука?
Навигация
скажите шаблон если он там настраивается
PAGE_CONTAINER, а на какой строке и как прописан, все зависит от стиля
HTML:
<xf:set var="$navHtml">
    <nav class="p-nav">
        <div class="p-nav-inner">
            <xf:button class="button--plain p-nav-menuTrigger" data-xf-click="off-canvas" data-menu=".js-headerOffCanvasMenu" tabindex="0"
                aria-label="{{ phrase('menu')|for_attr }}">
                <i aria-hidden="true"></i>
            </xf:button>

            <div class="p-nav-smallLogo">
                <a href="{{ ($xf.options.logoLink && $xf.homePageUrl) ? $xf.homePageUrl : link('index') }}">
                    <img src="{{ base_url(property('publicLogoUrl')) }}" srcset="{$srcset}" alt="{$xf.options.boardTitle}"
                        width="{{ property('publicLogoWidth') ?: '' }}" height="{{ property('publicLogoHeight') ?: '' }}" />
                </a>
            </div>

            <div class="p-nav-scroller hScroller" data-xf-init="h-scroller" data-auto-scroll=".p-navEl.is-selected">
                <div class="hScroller-scroll">
                    <ul class="p-nav-list js-offCanvasNavSource">
                    <xf:foreach loop="$navTree" key="$navSection" value="$navEntry" i="$i" if="{{ $navSection != $xf.app.defaultNavigationId }}">
                        <li>
                            <xf:macro name="nav_entry"
                                arg-navId="{$navSection}"
                                arg-nav="{$navEntry}"
                                arg-selected="{{ $navSection == $pageSection }}"
                                arg-shortcut="{$i}" />
                        </li>
                    </xf:foreach>
                    </ul>
                </div>
            </div>

            <div class="p-nav-opposite">
                <div class="p-navgroup p-account {{ $xf.visitor.user_id ? 'p-navgroup--member' : 'p-navgroup--guest' }}">
                    <xf:if is="$xf.visitor.user_id">
                        <xf:if is="$xf.visitor.user_state == 'rejected' OR $xf.visitor.user_state == 'disabled'">
                            <a href="{{ link('account') }}"
                                class="p-navgroup-link p-navgroup-link--iconic p-navgroup-link--user">
                                <xf:avatar user="$xf.visitor" size="xxs" href="" title="" />
                                <span class="p-navgroup-linkText">{$xf.visitor.username}</span>
                            </a>

                            <a href="{{ link('logout', null, {'t': csrf_token()}) }}" class="p-navgroup-link">
                                <span class="p-navgroup-linkText">{{ phrase('log_out') }}</span>
                            </a>
                        <xf:else />
                            <a href="{{ link('account') }}"
                                class="p-navgroup-link p-navgroup-link--iconic p-navgroup-link--user"
                                data-xf-click="menu"
                                data-xf-key="{{ phrase('shortcut.visitor_menu')|for_attr }}"
                                data-menu-pos-ref="< .p-navgroup"
                                title="{$xf.visitor.username}"
                                aria-expanded="false"
                                aria-haspopup="true">
                                <xf:avatar user="$xf.visitor" size="xxs" href="" title="" />
                                <span class="p-navgroup-linkText">{$xf.visitor.username}</span>
                            </a>
                            <div class="menu menu--structural menu--wide menu--account" data-menu="menu" aria-hidden="true"
                                data-href="{{ link('account/visitor-menu') }}"
                                data-load-target=".js-visitorMenuBody">
                                <div class="menu-content js-visitorMenuBody">
                                    <div class="menu-row">
                                        {{ phrase('loading...') }}
                                    </div>
                                </div>
                            </div>

                            <a href="{{ link('conversations') }}"
                                class="p-navgroup-link p-navgroup-link--iconic p-navgroup-link--conversations js-badge--conversations badgeContainer{{ $xf.visitor.conversations_unread ? ' badgeContainer--highlighted' : '' }}"
                                data-badge="{$xf.visitor.conversations_unread|number}"
                                data-xf-click="menu"
                                data-xf-key="{{ phrase('shortcut.conversations_menu')|for_attr }}"
                                data-menu-pos-ref="< .p-navgroup"
                                title="{{ phrase('conversations')|for_attr }}"
                                aria-label="{{ phrase('conversations')|for_attr }}"
                                aria-expanded="false"
                                aria-haspopup="true">
                                <i aria-hidden="true"></i>
                                <span class="p-navgroup-linkText">{{ phrase('nav_inbox') }}</span>
                            </a>
                            <div class="menu menu--structural menu--medium" data-menu="menu" aria-hidden="true"
                                data-href="{{ link('conversations/popup') }}"
                                data-nocache="true"
                                data-load-target=".js-convMenuBody">
                                <div class="menu-content">
                                    <h3 class="menu-header">{{ phrase('conversations') }}</h3>
                                    <div class="js-convMenuBody">
                                        <div class="menu-row">{{ phrase('loading...') }}</div>
                                    </div>
                                    <div class="menu-footer menu-footer--split">
                                        <div class="menu-footer-main">
                                            <ul class="listInline listInline--bullet">
                                                <li><a href="{{ link('conversations') }}">{{ phrase('show_all') }}</a></li>
                                                <xf:if is="$xf.visitor.canStartConversation()">
                                                    <li><a href="{{ link('conversations/add') }}">{{ phrase('start_new_conversation') }}</a></li>
                                                </xf:if>
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                            </div>

                            <a href="{{ link('account/alerts') }}"
                                class="p-navgroup-link p-navgroup-link--iconic p-navgroup-link--alerts js-badge--alerts badgeContainer{{ $xf.visitor.alerts_unviewed ? ' badgeContainer--highlighted' : '' }}"
                                data-badge="{$xf.visitor.alerts_unviewed|number}"
                                data-xf-click="menu"
                                data-xf-key="{{ phrase('shortcut.alerts_menu')|for_attr }}"
                                data-menu-pos-ref="< .p-navgroup"
                                title="{{ phrase('alerts')|for_attr }}"
                                aria-label="{{ phrase('alerts')|for_attr }}"
                                aria-expanded="false"
                                aria-haspopup="true">
                                <i aria-hidden="true"></i>
                                <span class="p-navgroup-linkText">{{ phrase('nav_alerts') }}</span>
                            </a>
                            <div class="menu menu--structural menu--medium" data-menu="menu" aria-hidden="true"
                                data-href="{{ link('account/alerts-popup') }}"
                                data-nocache="true"
                                data-load-target=".js-alertsMenuBody">
                                <div class="menu-content">
                                    <h3 class="menu-header">{{ phrase('alerts') }}</h3>
                                    <div class="js-alertsMenuBody">
                                        <div class="menu-row">{{ phrase('loading...') }}</div>
                                    </div>
                                    <div class="menu-footer menu-footer--split">
                                        <div class="menu-footer-main">
                                            <ul class="listInline listInline--bullet">
                                                <li><a href="{{ link('account/alerts') }}">{{ phrase('show_all') }}</a></li>
                                                <li><a href="{{ link('account/alerts/mark-read') }}" class="js-alertsMarkRead">{{ phrase('mark_read') }}</a></li>
                                                <li><a href="{{ link('account/preferences') }}">{{ phrase('preferences') }}</a></li>
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </xf:if>
                    <xf:else />
                        <a href="{{ link('login') }}" class="p-navgroup-link p-navgroup-link--textual p-navgroup-link--logIn"
                            data-xf-click="overlay" data-follow-redirects="on">
                            <span class="p-navgroup-linkText">{{ phrase('log_in') }}</span>
                        </a>
                        <xf:if is="$xf.options.registrationSetup.enabled">
                            <a href="{{ link('register') }}" class="p-navgroup-link p-navgroup-link--textual p-navgroup-link--register"
                                data-xf-click="overlay" data-follow-redirects="on">
                                <span class="p-navgroup-linkText">{{ phrase('register') }}</span>
                            </a>
                        </xf:if>
                    </xf:if>
                </div>

                <div class="p-navgroup p-discovery{{ !$xf.visitor.canSearch() ? ' p-discovery--noSearch' : '' }}">
                    <a href="{{ link('whats-new') }}"
                        class="p-navgroup-link p-navgroup-link--iconic p-navgroup-link--whatsnew"
                        aria-label="{{ phrase('whats_new')|for_attr }}"
                        title="{{ phrase('whats_new')|for_attr }}">
                        <i aria-hidden="true"></i>
                        <span class="p-navgroup-linkText">{{ phrase('whats_new') }}</span>
                    </a>

                    <xf:if is="$xf.visitor.canSearch()">
                        <a href="{{ link('search') }}"
                            class="p-navgroup-link p-navgroup-link--iconic p-navgroup-link--search"
                            data-xf-click="menu"
                            data-xf-key="{{ phrase('shortcut.search_menu')|for_attr }}"
                            aria-label="{{ phrase('search')|for_attr }}"
                            aria-expanded="false"
                            aria-haspopup="true"
                            title="{{ phrase('search')|for_attr }}">
                            <i aria-hidden="true"></i>
                            <span class="p-navgroup-linkText">{{ phrase('search') }}</span>
                        </a>
                        <div class="menu menu--structural menu--wide" data-menu="menu" aria-hidden="true">
                            <form action="{{ link('search/search') }}" method="post"
                                class="menu-content"
                                data-xf-init="quick-search">

                                <h3 class="menu-header">{{ phrase('search') }}</h3>
                                <!--[XF:search_menu:above_input]-->
                                <div class="menu-row">
                                    <xf:if is="$searchConstraints">
                                        <div class="inputGroup inputGroup--joined">
                                            <xf:textbox name="keywords"
                                                placeholder="{{ phrase('search...') }}"
                                                aria-label="{{ phrase('search') }}"
                                                data-menu-autofocus="true" />
                                            <xf:select name="constraints"
                                                class="js-quickSearch-constraint"
                                                aria-label="{{ phrase('search_within') }}">

                                                <xf:option value="">{{ phrase('everywhere') }}</xf:option>
                                                <xf:foreach loop="$searchConstraints" key="$constraintName" value="$constraint">
                                                    <xf:option value="{$constraint|json}">{$constraintName}</xf:option>
                                                </xf:foreach>
                                            </xf:select>
                                        </div>
                                    <xf:else />
                                        <xf:textbox name="keywords"
                                            placeholder="{{ phrase('search...') }}"
                                            aria-label="{{ phrase('search') }}"
                                            data-menu-autofocus="true" />
                                    </xf:if>
                                </div>

                                <!--[XF:search_menu:above_title_only]-->
                                <div class="menu-row">
                                    <xf:checkbox standalone="true">
                                        <xf:option name="c[title_only]">
                                            <xf:label>
                                                {{ phrase('search_titles_only') }}

                                                <xf:if is="$xf.options.enableTagging">
                                                    <span tabindex="0" role="button"
                                                        data-xf-init="tooltip" data-trigger="hover focus click" title="{{ phrase('tags_will_also_be_searched')|for_attr }}">

                                                        <xf:fa icon="far fa-question-circle" class="u-muted u-smaller" />
                                                    </span>
                                                </xf:if>
                                            </xf:label>
                                        </xf:option>
                                    </xf:checkbox>
                                </div>
                                <!--[XF:search_menu:above_member]-->
                                <div class="menu-row">
                                    <div class="inputGroup">
                                        <span class="inputGroup-text" id="ctrl_search_menu_by_member">{{ phrase('by:') }}</span>
                                        <input type="text" class="input" name="c[users]" data-xf-init="auto-complete" placeholder="{{ phrase('member') }}" aria-labelledby="ctrl_search_menu_by_member" />
                                    </div>
                                </div>
                                <div class="menu-footer">
                                    <span class="menu-footer-controls">
                                        <xf:button type="submit" class="button--primary" icon="search" />
                                        <xf:button href="{{ link('search') }}">{{ phrase('advanced_search...') }}</xf:button>
                                    </span>
                                </div>

                                <xf:csrf />
                            </form>
                        </div>
                    </xf:if>
                </div>
            </div>
        </div>
    </nav>
</xf:set>
 
Сверху