[-] Core : fixed smarty escape htmlall > html
This commit is contained in:
+5
-5
@@ -29,26 +29,26 @@
|
||||
{l s='An electronic version of this invoice is available in your account. To access it, log in to our website using your e-mail address and password (which you created when placing your first order).' pdf='true'}
|
||||
<br />
|
||||
{/if}
|
||||
{$shop_address|escape:'htmlall':'UTF-8'}<br />
|
||||
{$shop_address|escape:'html':'UTF-8'}<br />
|
||||
|
||||
{if !empty($shop_phone) OR !empty($shop_fax)}
|
||||
{l s='For more assistance, contact Support:' pdf='true'}<br />
|
||||
{if !empty($shop_phone)}
|
||||
Tel: {$shop_phone|escape:'htmlall':'UTF-8'}
|
||||
Tel: {$shop_phone|escape:'html':'UTF-8'}
|
||||
{/if}
|
||||
|
||||
{if !empty($shop_fax)}
|
||||
Fax: {$shop_fax|escape:'htmlall':'UTF-8'}
|
||||
Fax: {$shop_fax|escape:'html':'UTF-8'}
|
||||
{/if}
|
||||
<br />
|
||||
{/if}
|
||||
|
||||
{if isset($shop_details)}
|
||||
{$shop_details|escape:'htmlall':'UTF-8'}<br />
|
||||
{$shop_details|escape:'html':'UTF-8'}<br />
|
||||
{/if}
|
||||
|
||||
{if isset($free_text)}
|
||||
{$free_text|escape:'htmlall':'UTF-8'}<br />
|
||||
{$free_text|escape:'html':'UTF-8'}<br />
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
+3
-3
@@ -32,13 +32,13 @@
|
||||
<td style="width: 50%; text-align: right;">
|
||||
<table style="width: 100%">
|
||||
<tr>
|
||||
<td style="font-weight: bold; font-size: 14pt; color: #444; width: 100%">{$shop_name|escape:'htmlall':'UTF-8'}</td>
|
||||
<td style="font-weight: bold; font-size: 14pt; color: #444; width: 100%">{$shop_name|escape:'html':'UTF-8'}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 14pt; color: #9E9F9E">{$date|escape:'htmlall':'UTF-8'}</td>
|
||||
<td style="font-size: 14pt; color: #9E9F9E">{$date|escape:'html':'UTF-8'}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 14pt; color: #9E9F9E">{$title|escape:'htmlall':'UTF-8'}</td>
|
||||
<td style="font-size: 14pt; color: #9E9F9E">{$title|escape:'html':'UTF-8'}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
@@ -26,27 +26,27 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td style="text-align: left; font-size: 6pt; color: #444">
|
||||
{$shop_address|escape:'htmlall':'UTF-8'}<br />
|
||||
{$shop_address|escape:'html':'UTF-8'}<br />
|
||||
|
||||
{if !empty($shop_phone) OR !empty($shop_fax)}
|
||||
{l s='For more assistance, contact Support:' pdf='true'}<br />
|
||||
{if !empty($shop_phone)}
|
||||
Tel: {$shop_phone|escape:'htmlall':'UTF-8'}
|
||||
Tel: {$shop_phone|escape:'html':'UTF-8'}
|
||||
{/if}
|
||||
|
||||
{if !empty($shop_fax)}
|
||||
Fax: {$shop_fax|escape:'htmlall':'UTF-8'}
|
||||
Fax: {$shop_fax|escape:'html':'UTF-8'}
|
||||
{/if}
|
||||
<br />
|
||||
{/if}
|
||||
|
||||
{if isset($shop_details)}
|
||||
{$shop_details|escape:'htmlall':'UTF-8'}<br />
|
||||
{$shop_details|escape:'html':'UTF-8'}<br />
|
||||
{/if}
|
||||
|
||||
{if isset($free_text)}
|
||||
{foreach $free_text as $text}
|
||||
{$text|escape:'htmlall':'UTF-8'}<br />
|
||||
{$text|escape:'html':'UTF-8'}<br />
|
||||
{/foreach}
|
||||
{/if}
|
||||
</td>
|
||||
|
||||
@@ -37,16 +37,16 @@
|
||||
<td style="width: 50%; text-align: right;">
|
||||
<table style="width: 100%">
|
||||
<tr>
|
||||
<td style="font-weight: bold; font-size: 14pt; color: #444; width: 100%">{$shop_name|escape:'htmlall':'UTF-8'}</td>
|
||||
<td style="font-weight: bold; font-size: 14pt; color: #444; width: 100%">{$shop_name|escape:'html':'UTF-8'}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 14pt; color: #444; font-weight: bold;">{$date|escape:'htmlall':'UTF-8'}</td>
|
||||
<td style="font-size: 14pt; color: #444; font-weight: bold;">{$date|escape:'html':'UTF-8'}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 14pt; color: #444; font-weight: bold;">{$title|escape:'htmlall':'UTF-8'}</td>
|
||||
<td style="font-size: 14pt; color: #444; font-weight: bold;">{$title|escape:'html':'UTF-8'}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="font-size: 14pt; color: #444; font-weight: bold;">{$reference|escape:'htmlall':'UTF-8'}</td>
|
||||
<td style="font-size: 14pt; color: #444; font-weight: bold;">{$reference|escape:'html':'UTF-8'}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user