// small fix : display message for max_input_vars

This commit is contained in:
lLefevre
2012-09-04 12:18:14 +00:00
parent 053c36744e
commit 53d8ff166f
5 changed files with 5 additions and 7 deletions
@@ -28,7 +28,7 @@
{block name="override_tpl"}
{if $post_limit_exceeded}
{if !empty($limit_warning)}
<div class="warn">
{if $limit_warning['error_type'] == 'suhosin'}
{l s='Warning, your hosting provider is using the suhosin patch for PHP, which limits the maximum number of fields to post in a form:'}
@@ -28,7 +28,7 @@
{block name="override_tpl"}
{if $post_limit_exceeded}
{if !empty($limit_warning)}
<div class="warn">
{if $limit_warning['error_type'] == 'suhosin'}
{l s='Warning, your hosting provider is using the suhosin patch for PHP, which limits the maximum number of fields to post in a form:'}
@@ -37,7 +37,7 @@
<b>{$limit_warning['request.max_vars']}</b> {l s='for suhosin.request.max_vars.'}<br/>
{l s='Please ask your hosting provider to increase the suhosin post and request a limit of'}
{else}
{l s='Warning, your PHP configuration limits the maximum number of fields to post in a form:'}<br/>
{l s='Warning, your PHP configuration limits the maximum number of fields to post in a form:'}
<b>{$limit_warning['max_input_vars']}</b> {l s='for max_input_vars.'}<br/>
{l s='Please ask your hosting provider to increase the this limit to'}
{/if}
@@ -30,7 +30,7 @@
{$tinyMCE}
{if $post_limit_exceeded}
{if !empty($limit_warning)}
<div class="warn">
{if $limit_warning['error_type'] == 'suhosin'}
{l s='Warning, your hosting provider is using the suhosin patch for PHP, which limits the maximum number of fields to post in a form:'}
@@ -28,7 +28,7 @@
{block name="override_tpl"}
{if $post_limit_exceeded}
{if !empty($limit_warning)}
<div class="warn">
{if $limit_warning['error_type'] == 'suhosin'}
{l s='Warning, your hosting provider is using the suhosin patch for PHP, which limits the maximum number of fields to post in a form:'}