[TH] AC.UI

[TH] AC.UI 2.3.4.1.0

Нет прав для скачивания
Parlevsky, если ещё актуально для тебя:
Заходишь в права группы, листаешь в самый низ, раздел: UI.X Permissions, пункт: Can collapse sidebar
Я убрал это все, но там все равно эти три точки отображаются, в них такие пункты:
  • Поделиться страницей
  • Отметить все прочитанным
 
Делаем модификацию шаблона PAGE_CONTAINER
Ключ: придумайте
Тип поиска: Простая замена
Найти:
HTML:
<xf:if contentcheck="true">
                                    <div class="p-nav-opposite">
                                        <xf:contentcheck>
                                            <xf:macro name="uix_visitorTabs__component" arg-socialMediaContent="{$uix_socialMediaContent}" arg-whatsNewContent="{$uix_whatsNew__component}" arg-searchContent="{$uix_search__component}" arg-loginTabsContent="{$uix_loginTabs__component}" arg-visitorContent="{$uix_userTabs__component}" arg-location="navigation" />
                                            <xf:macro name="uix_sidebarTrigger__component" arg-content="{$uix_sidebarTrigger__content}" arg-location="navigation" />
                                            <xf:if contentcheck="true">
                                                <div class="p-navgroup">
                                                    <a href="javascript:;" class="p-navgroup-link p-navgroup-link--iconic p-navgroup-link--more" title="{{ phrase('more_options')}}" data-xf-init="tooltip" aria-haspopup="true" data-xf-click="menu" aria-expanded="false"><i aria-hidden="true"></i></a>
                                                    <div class="menu menu--structural menu--small" data-menu="menu" aria-hidden="true">
                                                        <div class="menu-content">
                                                            <h4 class="menu-header">{{ phrase('more_options') }}</h4>
                                                            <xf:contentcheck>
                                                                {$ac_moreOptions|raw}
                                                                <xf:if is="{$sidebar}">
                                                                    <xf:if is="property('uix_collapsibleSidebar') && {$uix_canCollapseSidebar}">
                                                                        <a href="javascript:;" class="menu-linkRow uix_sidebarTrigger__component uix_sidebarTrigger" rel="nofollow">{{ phrase('th_toggle_sidebar') }}</a>
                                                                    </xf:if>
                                                                    <xf:if is="property('uix_sidebarMobileCanvas')">
                                                                        <a href="javascript:;" class="menu-linkRow uix_sidebarTrigger__component uix_sidebarCanvasTrigger">{{ phrase('th_toggle_sidebar') }}</a>
                                                                    </xf:if>
                                                                </xf:if>
                                                                <xf:if is="(property('uix_pageWidthToggle') != 'disabled') && $uix_canTogglePageWidth">
                                                                    <a href="javascript:;" class="menu-linkRow js-uix_togglePageWidth" rel="nofollow">{{ phrase('th_toggle_width_uix') }}</a>
                                                                </xf:if>
                                                                <xf:if is="is_addon_active('ThemeHouse/StyleSwitch')">
                                                                    {{ thstyleswitch_toggleswitch() }}
                                                                </xf:if>
                                                                <xf:if contentcheck="true">
                                                                    <a href="javascript:;" data-xf-click="overlay" data-target=".uix_shareWidgetModal" class="menu-linkRow ac_menuShareRow">{{ phrase('thuix_share_this_page') }}</a>
                                                                    <xf:if is="$xf.options.webShare">
                                                                        <a class="menu-linkRow shareButtons-button--share is-hidden"
                                                                           data-xf-init="web-share"
                                                                           data-title="{$pageTitle}" data-text="{$pageDesc}" data-url="{$pageUrl}"
                                                                           data-hide=".ac_menuShareRow">
                                                                            <span>{{ phrase('thuix_share_this_page') }}</span>
                                                                        </a>
                                                                    </xf:if>
                                                                    <div style="display: none">
                                                                        <div class="uix_shareWidgetModal">
                                                                            <div class="overlay-title">{{ phrase('share') }}</div>
                                                                            <div class="block-body">
                                                                                <div class="block-row">
                                                                                    <xf:contentcheck>
                                                                                        <xf:macro template="share_page_macros" name="buttons" arg-iconic="{$options.iconic}" />
                                                                                    </xf:contentcheck>                                   
                                                                                </div>
                                                                            </div>           
                                                                        </div>
                                                                    </div>
                                                                </xf:if>
                                                                <xf:if is="{$xf.visitor.user_id}">
                                                                    <a data-xf-click="overlay" href="{{ link('forums/mark-read', '-', {'date': $xf.time}) }}" class="menu-linkRow">{{ phrase('nav.markForumsRead') }}</a>
                                                                </xf:if>
                                                            </xf:contentcheck>
                                                        </div>
                                                    </div>
                                                </div>
                                            </xf:if>
                                        </xf:contentcheck>
                                    </div>
                                </xf:if>
Заменить:
HTML:
<xf:if contentcheck="true">
    <div class="p-nav-opposite">
        <xf:contentcheck>
            <xf:macro name="uix_visitorTabs__component" arg-socialMediaContent="{$uix_socialMediaContent}" arg-whatsNewContent="{$uix_whatsNew__component}" arg-searchContent="{$uix_search__component}" arg-loginTabsContent="{$uix_loginTabs__component}" arg-visitorContent="{$uix_userTabs__component}" arg-location="navigation" />
        </xf:contentcheck>
    </div>
</xf:if>
Ключ: придумайте
Тип поиска: Простая замена
Найти:
HTML:
<xf:if contentcheck="true">
                                    <div class="p-nav-opposite">
                                        <xf:contentcheck>
                                            <xf:macro id="uix_visitorTabs__component" arg-socialMediaContent="{$uix_socialMediaContent}" arg-whatsNewContent="{$uix_whatsNew__component}" arg-searchContent="{$uix_search__component}" arg-loginTabsContent="{$uix_loginTabs__component}" arg-visitorContent="{$uix_userTabs__component}" arg-location="navigation" />
                                            <xf:macro id="uix_sidebarTrigger__component" arg-content="{$uix_sidebarTrigger__content}" arg-location="navigation" />
                                            <xf:if contentcheck="true">
                                                <div class="p-navgroup">
                                                    <a href="javascript:;" class="p-navgroup-link p-navgroup-link--iconic p-navgroup-link--more" title="{{ phrase('more_options')}}" data-xf-init="tooltip" aria-haspopup="true" data-xf-click="menu" aria-expanded="false"><i aria-hidden="true"></i></a>
                                                    <div class="menu menu--structural menu--small" data-menu="menu" aria-hidden="true">
                                                        <div class="menu-content">
                                                            <h4 class="menu-header">{{ phrase('more_options') }}</h4>
                                                            <xf:contentcheck>
                                                                {$ac_moreOptions|raw}
                                                                <xf:if is="{$sidebar}">
                                                                    <xf:if is="property('uix_collapsibleSidebar') && {$uix_canCollapseSidebar}">
                                                                        <a href="javascript:;" class="menu-linkRow uix_sidebarTrigger__component uix_sidebarTrigger" rel="nofollow">{{ phrase('th_toggle_sidebar') }}</a>
                                                                    </xf:if>
                                                                    <xf:if is="property('uix_sidebarMobileCanvas')">
                                                                        <a href="javascript:;" class="menu-linkRow uix_sidebarTrigger__component uix_sidebarCanvasTrigger">{{ phrase('th_toggle_sidebar') }}</a>
                                                                    </xf:if>
                                                                </xf:if>
                                                                <xf:if is="(property('uix_pageWidthToggle') != 'disabled') && $uix_canTogglePageWidth">
                                                                    <a href="javascript:;" class="menu-linkRow js-uix_togglePageWidth" rel="nofollow">{{ phrase('th_toggle_width_uix') }}</a>
                                                                </xf:if>
                                                                <xf:if is="is_addon_active('ThemeHouse/StyleSwitch')">
                                                                    {{ thstyleswitch_toggleswitch() }}
                                                                </xf:if>
                                                                <xf:comment>
                                                                <xf:if contentcheck="true">
                                                                    <a href="javascript:;" data-xf-click="overlay" data-target=".uix_shareWidgetModal" class="menu-linkRow ac_menuShareRow">{{ phrase('thuix_share_this_page') }}</a>
                                                                    <xf:if is="$xf.options.webShare">
                                                                        <a class="menu-linkRow shareButtons-button--share is-hidden"
                                                                           data-xf-init="web-share"
                                                                           data-title="{$pageTitle}" data-text="{$pageDesc}" data-url="{$pageUrl}"
                                                                           data-hide=".ac_menuShareRow">
                                                                            <span>{{ phrase('thuix_share_this_page') }}</span>
                                                                        </a>
                                                                    </xf:if>
                                                                    <div style="display: none">
                                                                        <div class="uix_shareWidgetModal">
                                                                            <div class="overlay-title">{{ phrase('share') }}</div>
                                                                            <div class="block-body">
                                                                                <div class="block-row">
                                                                                    <xf:contentcheck>
                                                                                        <xf:macro id="share_page_macros::buttons" arg-iconic="{$options.iconic}" />
                                                                                    </xf:contentcheck>                                   
                                                                                </div>
                                                                            </div>           
                                                                        </div>
                                                                    </div>
                                                                </xf:if>
                                                                </xf:comment>
                                                                <xf:if is="{$xf.visitor.user_id}">
                                                                    <a data-xf-click="overlay" href="{{ link('forums/mark-read', '-', {'date': $xf.time}) }}" class="menu-linkRow">{{ phrase('nav.markForumsRead') }}</a>
                                                                </xf:if>
                                                            </xf:contentcheck>
                                                        </div>
                                                    </div>
                                                </div>
                                            </xf:if>
                                        </xf:contentcheck>
                                    </div>
                                </xf:if>
Заменить:
HTML:
<xf:if contentcheck="true">
    <div class="p-nav-opposite">
        <xf:contentcheck>
            <xf:macro id="uix_visitorTabs__component" arg-socialMediaContent="{$uix_socialMediaContent}" arg-whatsNewContent="{$uix_whatsNew__component}" arg-searchContent="{$uix_search__component}" arg-loginTabsContent="{$uix_loginTabs__component}" arg-visitorContent="{$uix_userTabs__component}" arg-location="navigation" />
        </xf:contentcheck>
    </div>
</xf:if>
 
Если не ошибаюсь стиль с поддержкой вариаций тёмной/светлой версии, фишка которая от 2.3
Его загружать как дочерний к style-acui.xml или как дочерний к child-acui.xml? Совсем запутался :(
 
Современный облачный хостинг провайдер | Aéza
Назад
Сверху Снизу