// Fix timezone and country on installer #PSTEST-641
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12971 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -39,7 +39,7 @@ var default_iso = '<?php echo $this->session->shop_country ?>';
|
||||
<label for="infosCountry" class="aligned"><?php echo $this->l('Default country:') ?></label>
|
||||
<span class="contentinput">
|
||||
<select name="shop_country" id="infosCountry">
|
||||
<option><?php echo $this->l('-- Select your country --') ?></option>
|
||||
<option value="0"><?php echo $this->l('-- Select your country --') ?></option>
|
||||
<?php foreach ($this->language->getCountries() as $iso => $country_name): ?>
|
||||
<option value="<?php echo $iso ?>" <?php if ($this->session->shop_country == $iso): ?>selected="selected"<?php endif; ?>><?php echo $country_name ?></option>
|
||||
<?php endforeach; ?>
|
||||
@@ -54,7 +54,7 @@ var default_iso = '<?php echo $this->session->shop_country ?>';
|
||||
<label for="infosTimezone" class="aligned"><?php echo $this->l('Shop timezone:') ?></label>
|
||||
<span class="contentinput">
|
||||
<select name="shop_timezone" id="infosTimezone">
|
||||
<option><?php echo $this->l('-- Select your timezone --') ?></option>
|
||||
<option value="0"><?php echo $this->l('-- Select your timezone --') ?></option>
|
||||
<?php foreach ($this->getTimezones() as $timezone): ?>
|
||||
<option value="<?php echo $timezone ?>" <?php if ($this->session->shop_timezone == $timezone): ?>selected="selected"<?php endif; ?>><?php echo $timezone ?></option>
|
||||
<?php endforeach; ?>
|
||||
|
||||
Reference in New Issue
Block a user