// English
This commit is contained in:
@@ -526,7 +526,7 @@ class AuthControllerCore extends FrontController
|
||||
|
||||
if (Tools::isSubmit('submitAccount') || Tools::isSubmit('submitGuestAccount'))
|
||||
if (!($country = new Country($$addresses_type->id_country, Configuration::get('PS_LANG_DEFAULT'))) || !Validate::isLoadedObject($country))
|
||||
$this->errors[] = Tools::displayError('The Country is invalid');
|
||||
$this->errors[] = Tools::displayError('Country is invalid');
|
||||
$contains_state = isset($country) && is_object($country) ? (int)$country->contains_states: 0;
|
||||
$id_state = isset($$addresses_type) && is_object($$addresses_type) ? (int)$$addresses_type->id_state: 0;
|
||||
if ((Tools::isSubmit('submitAccount')|| Tools::isSubmit('submitGuestAccount')) && $contains_state && !$id_state)
|
||||
|
||||
@@ -292,7 +292,7 @@ class Blocktopmenu extends Module
|
||||
<a href="#" id="removeItem" style="border: 1px solid rgb(170, 170, 170); margin: 2px; padding: 2px; text-align: center; display: block; text-decoration: none; background-color: rgb(250, 250, 250); color: rgb(18, 52, 86);"><< '.$this->l('Remove').'</a>
|
||||
</td>
|
||||
<td style="vertical-align:top;padding:5px 15px;">
|
||||
<h4 style="margin-top:5px;">'.$this->l('Change order').':</h4>
|
||||
<h4 style="margin-top:5px;">'.$this->l('Change position').'</h4>
|
||||
<a href="#" id="menuOrderUp" class="button" style="font-size:20px;display:block;">↑</a><br/>
|
||||
<a href="#" id="menuOrderDown" class="button" style="font-size:20px;display:block;">↓</a><br/>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user