1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-22 00:32:29 +02:00

[ticket/9665] Allow preview of signature when it is the string "0".

Since only the SIGNATURE_PREVIEW parameter is evaluated in the templates
<!-- IF SIGNATURE_PREVIEW --> will not allow the signature to be "0".
<!-- IF SIGNATURE_PREVIEW != '' --> however does allow "0".

PHPBB3-9665
This commit is contained in:
Andreas Fischer 2010-06-20 13:38:36 +02:00
parent 6d248097e5
commit 6221ba4dd1
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
<h2>{L_TITLE}</h2>
<!-- IF SIGNATURE_PREVIEW -->
<!-- IF SIGNATURE_PREVIEW != '' -->
<div class="panel">
<div class="inner"><span class="corners-top"><span></span></span>
<h3>{L_SIGNATURE_PREVIEW}</h3>

View File

@ -93,7 +93,7 @@
</td>
</tr>
<!-- IF SIGNATURE_PREVIEW -->
<!-- IF SIGNATURE_PREVIEW != '' -->
<tr>
<th colspan="2" valign="middle">{L_SIGNATURE_PREVIEW}</th>
</tr>