// Geoloc bootstrap design
This commit is contained in:
+3
-1
@@ -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(),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user