// Geoloc bootstrap design

This commit is contained in:
Jerome Nadaud
2013-09-23 14:04:15 +02:00
parent 748d6271a9
commit e128e17f4e
2 changed files with 4 additions and 2 deletions
@@ -53,7 +53,9 @@
{block name="input"}
{if $field['type'] == 'textarea_newlines'}
<textarea name={$key} cols="{$field['cols']}" rows="{$field['rows']}">{$field['value']|replace:';':"\n"|escape:'htmlall':'UTF-8'}</textarea>
<div class="col-lg-9">
<textarea name={$key} cols="{$field['cols']}" rows="{$field['rows']}">{$field['value']|replace:';':"\n"|escape:'htmlall':'UTF-8'}</textarea>
</div>
{else}
{$smarty.block.parent}
{/if}
@@ -72,7 +72,7 @@ class AdminGeolocationControllerCore extends AdminController
'icon' => 'world',
'description' => $this->l('You can add IP addresses that will always be allowed to access your shop (e.g. Google bots\' IP).'),
'fields' => array(
'PS_GEOLOCATION_WHITELIST' => array('title' => $this->l('Whitelisted IP addresses'), 'type' => 'textarea_newlines', 'cols' => 80, 'rows' => 30),
'PS_GEOLOCATION_WHITELIST' => array('title' => $this->l('Whitelisted IP addresses'), 'type' => 'textarea_newlines', 'cols' => 15, 'rows' => 30),
),
'submit' => array(),
),