- Автор темы
- #1
Зарегистрировавшись у нас, вы сможете обсуждать, делиться и отправлять личные сообщения другим участникам нашего сообщества.
Зарегистрироваться!PAGE_CONTAINER
<div class="uix_welcomeSection">
<style type="text/css">
.uix_welcomeSection {
position: relative;
background: #212428 url(styles/uix_dark/images/welcome-banner.png);
border-radius: 3px;
margin-bottom: 20px;
background-size: cover;
background-position: center;
}
.uix_welcomeSection .uix_welcomeSection__inner {
position: relative;
color: #fff;
padding: 20px;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.uix_welcomeSection .uix_welcomeSection__text {
font-size: 16px;
color: rgba(255,255,255,0.75);
padding-top: 4px;
padding-bottom: 16px;
}
.uix_welcomeSection .uix_welcomeSection__title {
font-size: 26px;
margin: 0;
font-family: 'Roboto',-apple-system,BlinkMacSystemFont,'Segoe UI','Oxygen','Ubuntu','Cantarell','Fira Sans','Droid Sans','Helvetica Neue',sans-serif;
}
.button, a.button {
Display: none;
display: inline-block;
border: 1px solid transparent;
-webkit-transition: background-color .2s ease;
transition: background-color .2s ease;
font-size: 14px;
font-weight: 500;
border-radius: 3px;
padding-top: 0;
padding-right: 10px;
padding-bottom: 0;
padding-left: 10px;
text-align: center;
outline: none;
line-height: 32px;
height: 32px;
text-decoration: none;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-sizing: content-box;
-webkit-appearance: none;
text-transform: uppercase;
will-change: box-shadow;
transition: all .3s cubic-bezier(.25, .8, .25, 1);
border: none;
white-space: nowrap;
color: #fff;
background: transparent;
border-color: rgba(20,20,20,0);
}
</style>
<div class="uix_welcomeSection__inner">
<div class="media__container">
<div class="media__body">
<div class="uix_welcomeSection__title">Добро пожаловать!</div>
<div class="uix_welcomeSection__text">Для того, чтобы начать взаимодействовать с форумом Вам необходимо будет зарегистрировать аккаунт.</div>
<a href="/index.php?register/" class="button--cta button rippleButton"><span class="button-text">Зарегистрироваться</span></a>
</div>
</div>
</div>
</div>
uix_welcomeSection
вставьте в него этот код<xf:macro name="welcomeSection" arg-location="!" arg-showWelcomeSection="{{ false }}">
<xf:if is="$showWelcomeSection">
<xf:if is="$location == property('uix_welcomeSectionLocation')">
<xf:css src="uix_welcomeSection.less" />
<div class="uix_welcomeSection">
<div class="uix_welcomeSection__inner">
<div class="media__container">
<xf:if is="property('uix_welcomeSection__icon')">
<div class="media__object media--left">
<span class="uix_welcomeSection__icon"><i class="uix_icon {{ property('uix_welcomeSection__icon')}}"></i></span>
</div>
</xf:if>
<div class="media__body">
<xf:if is="property('uix_welcomeSection__title')"><div class="uix_welcomeSection__title">{{ property('uix_welcomeSection__title')}}</div></xf:if>
<xf:if is="property('uix_welcomeSection__text')"><div class="uix_welcomeSection__text">{{ property('uix_welcomeSection__text')}}</div></xf:if>
<xf:if is="property('uix_welcomeSection__url')"><xf:button href="{{ link(property('uix_welcomeSection__url')) }}" class="button--cta">{{ property('uix_welcomeSection__buttonText')}}</xf:button></xf:if>
</div>
</div>
</div>
</div>
</xf:if>
</xf:if>
</xf:macro>
PAGE_CONTAINER
найдите строки 1487 - 1567 и аккуратно удалите код с этих строк