Skip to content

Commit 800ec32

Browse files
committed
feat: update to phpbb 3.1.2
1 parent 288b34b commit 800ec32

5 files changed

Lines changed: 36 additions & 16 deletions

File tree

style.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
# General Information about this style
2222
name = subsilver2
2323
copyright = © 2005 phpBB Limited
24-
style_version = 3.3.1
25-
phpbb_version = 3.3.1
24+
style_version = 3.3.2
25+
phpbb_version = 3.3.2
2626

2727
# Defining a different template bitfield
28-
# template_bitfield = lNg=
28+
template_bitfield = //g=
2929

3030
# Parent style
3131
# Set value to empty or to this style's name if this style does not have a parent style

template/bbcode.html

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,21 @@
100100

101101
<!-- BEGIN url --><a href="{URL}" class="postlink">{DESCRIPTION}</a><!-- END url -->
102102

103-
<!-- BEGIN email --><a href="mailto:{EMAIL}">{DESCRIPTION}</a><!-- END email -->
103+
{# https://s9etextformatter.readthedocs.io/Plugins/BBCodes/Custom_BBCode_syntax/ #}
104+
<!-- BEGIN email -->
105+
<a>
106+
<xsl:attribute name="href">
107+
<xsl:text>mailto:</xsl:text>
108+
<xsl:value-of select="@email"/>
109+
<xsl:if test="@subject or @body">
110+
<xsl:text>?</xsl:text>
111+
<xsl:if test="@subject">subject=<xsl:value-of select="@subject"/></xsl:if>
112+
<xsl:if test="@body"><xsl:if test="@subject">&amp;</xsl:if>body=<xsl:value-of select="@body"/></xsl:if>
113+
</xsl:if>
114+
</xsl:attribute>
115+
<xsl:apply-templates/>
116+
</a>
117+
<!-- END email -->
104118

105119
<!-- BEGIN flash -->
106120
<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=5,0,0,0" width="{WIDTH}" height="{HEIGHT}">

template/posting_attach_body.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,13 @@
2626
</th>
2727
</tr>
2828
<tr>
29-
<td class="row3" colspan="2"><span class="gensmall">{L_ADD_ATTACHMENT_EXPLAIN}</span></td>
29+
<td class="row3" colspan="2">
30+
<span class="gensmall">{L_ADD_ATTACHMENT_EXPLAIN}</span>
31+
{% if MAX_ATTACHMENT_FILESIZE is not empty %}
32+
<br><br>
33+
<span class="gensmall">{{ MAX_ATTACHMENT_FILESIZE }}</span>
34+
{% endif %}
35+
</td>
3036
</tr>
3137

3238
<tr>

template/ucp_agreement.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
<table class="tablebg" width="100%" cellspacing="1">
3434
<tr>
35-
<th height="25">{SITENAME} - {L_REGISTRATION}</th>
35+
<th height="25">{{ SITENAME }} - {{ lang('REGISTRATION') }}</th>
3636
</tr>
3737
<tr>
3838
<td class="row1" align="center">
@@ -41,25 +41,25 @@
4141
<!-- IF S_SHOW_COPPA -->
4242
<td class="gen" align="center">
4343
<br />
44-
{L_COPPA_BIRTHDAY}
44+
{{ lang('COPPA_BIRTHDAY') }}
4545
<br /><br />
4646
<button type="submit" name="coppa_no" id="coppa_no" class="hyperlink">
47-
{L_COPPA_NO}
47+
{{ lang('COPPA_NO') }}
4848
</button>
4949
::
5050
<button type="submit" name="coppa_yes" id="coppa_yes" class="hyperlink">
51-
{L_COPPA_YES}
51+
{{ lang('COPPA_YES') }}
5252
</button>
5353
<br /><br />
5454
</td>
5555
<!-- ELSE -->
5656
<td>
5757
<!-- EVENT ucp_agreement_terms_before -->
58-
<span class="genmed"><br />{L_TERMS_OF_USE}<br /><br /></span>
58+
<span class="genmed"><br />{{ lang('TERMS_OF_USE') }}<br /><br /></span>
5959
<!-- EVENT ucp_agreement_terms_after -->
6060
<div align="center">
61-
<input class="btnlite" type="submit" id="agreed" name="agreed" value="{L_AGREE}" /><br /><br />
62-
<input class="btnlite" type="submit" name="not_agreed" value="{L_NOT_AGREE}" />
61+
<input class="btnlite" type="submit" id="agreed" name="agreed" value="{{ lang('AGREE') }}" /><br /><br />
62+
<input class="btnlite" type="submit" name="not_agreed" value="{{ lang('NOT_AGREE') }}" />
6363
</div>
6464
</td>
6565
<!-- ENDIF -->
@@ -76,16 +76,16 @@
7676

7777
<table class="tablebg" width="100%" cellspacing="1">
7878
<tr>
79-
<th height="25">{SITENAME} - {AGREEMENT_TITLE}</th>
79+
<th height="25">{{ SITENAME }} - {{ AGREEMENT_TITLE }}</th>
8080
</tr>
8181
<tr>
8282
<td class="row1" align="center">
8383
<table width="90%" cellspacing="2" cellpadding="2" border="0" align="center">
8484
<tr>
8585
<td>
86-
<span class="genmed"><br />{AGREEMENT_TEXT}<br /><br /></span>
86+
<span class="genmed"><br />{{ AGREEMENT_TEXT }}<br /><br /></span>
8787
<div align="center">
88-
<a href="{U_BACK}">{L_BACK}</a>
88+
<a href="{U_BACK}">{{ lang('BACK') }}</a>
8989
</div>
9090
</td>
9191
</tr>

template/ucp_reset_password.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
</tr>
1818
{% endif %}
1919
<tr>
20-
<td class="row1" width="38%"><b class="genmed">{{ lang('NEW_PASSWORD') ~ lang('COLON') }}</b></td>
20+
<td class="row1" width="38%"><b class="genmed">{{ lang('NEW_PASSWORD') ~ lang('COLON') }}</b><br /><span class="gensmall">{{ lang('CHANGE_PASSWORD_EXPLAIN') }}</span></td>
2121
<td class="row2"><input type="password" class="post" name="new_password" size="25" maxlength="255" title="{{ lang('CHANGE_PASSWORD') }}" autocomplete="off" /></td>
2222
</tr>
2323
<tr>

0 commit comments

Comments
 (0)