1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/16612] Remove html from lang key instead of 1 br per paragraph

PHPBB3-16612
This commit is contained in:
Christian Schnegelberger
2020-10-13 18:34:42 +02:00
parent 604b3f49b7
commit 40c2fa7e5e
3 changed files with 18 additions and 16 deletions

View File

@@ -31,9 +31,9 @@
<div class="panel">
<div class="inner">
<div class="content">
<h2 class="sitename-title">{SITENAME} - {L_REGISTRATION}</h2>
<h2 class="sitename-title">{{ SITENAME }} - {{ lang('REGISTRATION') }}</h2>
<!-- EVENT ucp_agreement_terms_before -->
<div class="agreement"><!-- IF S_SHOW_COPPA --><p class="agreement-text">{L_COPPA_BIRTHDAY}</p><!-- ELSE -->{L_TERMS_OF_USE}<!-- ENDIF --></div>
<div class="agreement">{% if S_SHOW_COPPA %}<p class="agreement-text">{{ lang('COPPA_BIRTHDAY') }}</p>{% else %}{{ lang('TERMS_OF_USE') }}{% endif %}</div>
<!-- EVENT ucp_agreement_terms_after -->
</div>
</div>
@@ -61,8 +61,8 @@
<div class="panel">
<div class="inner">
<div class="content">
<h2 class="sitename-title">{SITENAME} - {AGREEMENT_TITLE}</h2>
<div class="agreement">{AGREEMENT_TEXT}</div>
<h2 class="sitename-title">{{ SITENAME }} - {{ AGREEMENT_TITLE }}</h2>
<div class="agreement">{{ AGREEMENT_TEXT }}</div>
</div>
</div>
</div>

View File

@@ -362,10 +362,12 @@ dd.option {
}
.agreement {
font-size: 10px;
font-size: 12px;
line-height: 17px;
margin-bottom: 10px;
}
.agreement .agreement-text {
.agreement-text {
line-height: 17px;
margin-bottom: 10px;
}