-
{$input.desc}
+ {if isset($input.desc)}
{$input.desc}
{/if}
{if isset($fields_value.image) && $fields_value.image}
{$fields_value.image}
@@ -74,23 +78,15 @@
{/if}
-
+
+
{l s='e.g. 10:00AM - 9:30PM'}
+ {foreach $fields_value.days as $k => $value}
+
+ {/foreach}
{/foreach}
{/if}
{/block}
diff --git a/admin-dev/themes/default/template/controllers/stores/helpers/options/options.tpl b/admin-dev/themes/default/template/controllers/stores/helpers/options/options.tpl
index bac61db89..697adf6a5 100644
--- a/admin-dev/themes/default/template/controllers/stores/helpers/options/options.tpl
+++ b/admin-dev/themes/default/template/controllers/stores/helpers/options/options.tpl
@@ -37,13 +37,13 @@
{
if (html == 'false')
{
- $("#conf_id_PS_SHOP_STATE_ID").fadeOut();
+ $("#conf_id_PS_SHOP_STATE_ID").parent().fadeOut();
$('#PS_SHOP_STATE_ID option[value=0]').attr("selected", "selected");
}
else
{
$("#PS_SHOP_STATE_ID").html(html);
- $("#conf_id_PS_SHOP_STATE_ID").fadeIn();
+ $("#conf_id_PS_SHOP_STATE_ID").parent().fadeIn();
$('#PS_SHOP_STATE_ID option[value=' + id_state_selected + ']').attr("selected", "selected");
}
}
@@ -52,13 +52,13 @@
$(document).ready(function(){
{if isset($categoryData.fields.PS_SHOP_STATE_ID.value)}
- if ($('#PS_SHOP_COUNTRY_ID') && $('#PS_SHOP_STATE_ID'))
- {
- ajaxStoreStates({$categoryData.fields.PS_SHOP_STATE_ID.value});
- $('#PS_SHOP_COUNTRY_ID').change(function() {
- ajaxStoreStates();
- });
- }
+ if ($('#PS_SHOP_COUNTRY_ID') && $('#PS_SHOP_STATE_ID'))
+ {
+ ajaxStoreStates({$categoryData.fields.PS_SHOP_STATE_ID.value});
+ $('#PS_SHOP_COUNTRY_ID').change(function() {
+ ajaxStoreStates();
+ });
+ }
{/if}
});
diff --git a/admin-dev/themes/default/template/helpers/form/form.tpl b/admin-dev/themes/default/template/helpers/form/form.tpl
index fc412b6f8..a4a7d8c37 100644
--- a/admin-dev/themes/default/template/helpers/form/form.tpl
+++ b/admin-dev/themes/default/template/helpers/form/form.tpl
@@ -48,13 +48,10 @@
{$field}
{elseif $key == 'input'}
{foreach $field as $input}
-
{/foreach}
diff --git a/controllers/admin/AdminGeolocationController.php b/controllers/admin/AdminGeolocationController.php
index edb6bb68b..665c838c9 100755
--- a/controllers/admin/AdminGeolocationController.php
+++ b/controllers/admin/AdminGeolocationController.php
@@ -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(),
),
diff --git a/controllers/admin/AdminStoresController.php b/controllers/admin/AdminStoresController.php
index 336a79d54..adcb0c673 100644
--- a/controllers/admin/AdminStoresController.php
+++ b/controllers/admin/AdminStoresController.php
@@ -125,7 +125,7 @@ class AdminStoresControllerCore extends AdminController
if ($this->display == 'options')
unset($this->toolbar_btn['new']);
- else
+ else if ($this->display != 'add' && $this->display != 'edit')
unset($this->toolbar_btn['save']);
}