[+] BO: Form components

This commit is contained in:
Kevin Granger
2013-06-18 21:03:43 +02:00
parent 3bdf86e634
commit 40f03d0ba1
52 changed files with 730 additions and 259 deletions
@@ -95,7 +95,7 @@
</legend>
<div id="submitAddLangContent" style="float:left;">
<p>{l s='You can add or update a language directly from the PrestaShop website here:'}</p>
<div class="warn">
<div class="alert alert-block">
{l s='If you choose to update an existing language pack, all of your previous customization\'s in the theme named "Default" will be lost. This includes Front Office expressions and default email templates.'}
</div>
{if $packs_to_update || $packs_to_install}
@@ -28,7 +28,7 @@
{block name="override_tpl"}
{if !empty($limit_warning)}
<div class="warn">
<div class="alert alert-block">
{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 allowed in a form:'}
@@ -44,7 +44,7 @@
</div>
{else}
<div class="hint" style="display:block;">
<div class="alert alert-info" style="display:block;">
{l s='Some sentences to translate use this syntax: %s... These are variables, and PrestaShop take care of replacing them before displaying your translation. You must leave these in your translations, and place them appropriately in your sentence.' sprintf='%d, %s, %1$s, %2$d'}
</div><br /><br />
@@ -67,7 +67,7 @@
</script>
<div id="BoxUseSpecialSyntax">
<div class="warn">
<div class="alert alert-block">
<p class="syntax">
{l s='This expression uses this special syntax:'} <span>%d.</span><br />
{l s='You must use this syntax in your translations. Here are several examples:'}
@@ -28,7 +28,7 @@
{block name="override_tpl"}
{if !empty($limit_warning)}
<div class="warn">
<div class="alert alert-block">
{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 allowed in a form:'}
@@ -44,7 +44,7 @@
</div>
{else}
<div class="hint" style="display:block;">
<div class="alert alert-info" style="display:block;">
<ul style="margin-left:30px;list-style-type:disc;">
<li>{l s='Click on titles to open fieldsets'}.</li>
<li>{l s='Some sentences to translate use this syntax: %s... These are variables, and PrestaShop take care of replacing them before displaying your translation. You must leave these in your translations, and place them appropriately in your sentence.' sprintf='%d, %s, %1$s, %2$d'}</li>
@@ -77,7 +77,7 @@
</script>
<div id="BoxUseSpecialSyntax">
<div class="warn">
<div class="alert alert-block">
<p class="syntax">
{l s='This expression uses this special syntax:'} <span>%d.</span><br />
{l s='You must use this syntax in your translations. Here are several examples:'}
@@ -30,7 +30,7 @@
{$tinyMCE}
{if !empty($limit_warning)}
<div class="warn">
<div class="alert alert-block">
{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 allowed in a form:'}
@@ -46,7 +46,7 @@
</div>
{else}
<div class="hint" style="display:block;">
<div class="alert alert-info" style="display:block;">
<ul style="margin-left:30px;list-style-type:disc;">
<li>{l s='Click on titles to open fieldsets'}.</li>
<li>{l s='Some sentences to translate use this syntax: %s... These are variables, and PrestaShop take care of replacing them before displaying your translation. You must leave these in your translations, and place them appropriately in your sentence.' sprintf='%d, %s, %1$s, %2$d'}</li>
@@ -74,7 +74,7 @@
</script>
<div id="BoxUseSpecialSyntax">
<div class="warn">
<div class="alert alert-block">
<p class="syntax">
{l s='This expression uses this special syntax:'} <span>%d.</span><br />
{l s='You must use this syntax in your translations. Here are several examples:'}
@@ -28,7 +28,7 @@
{block name="override_tpl"}
{if !empty($limit_warning)}
<div class="warn">
<div class="alert alert-block">
{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 allowed in a form:'}
@@ -44,7 +44,7 @@
</div>
{else}
<div class="hint" style="display:block;">
<div class="alert alert-info" style="display:block;">
<ul style="margin-left:30px;list-style-type:disc;">
<li>{l s='Click on titles to open fieldsets'}.</li>
<li>{l s='Some sentences to translate use this syntax: %s... These are variables, and PrestaShop take care of replacing them before displaying your translation. You must leave these in your translations, and place them appropriately in your sentence.' sprintf='%d, %s, %1$s, %2$d'}</li>
@@ -70,7 +70,7 @@
</script>
<div id="BoxUseSpecialSyntax">
<div class="warn">
<div class="alert alert-block">
<p class="syntax">
{l s='This expression uses this special syntax:'} <span>%d.</span><br />
{l s='You must use this syntax in your translations. Here are several examples:'}