// English

This commit is contained in:
djfm
2013-10-29 14:37:55 +00:00
parent e1c7541a38
commit 0288696c90
2 changed files with 2 additions and 2 deletions

View File

@@ -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)

View File

@@ -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);">&lt;&lt; '.$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;">&uarr;</a><br/>
<a href="#" id="menuOrderDown" class="button" style="font-size:20px;display:block;">&darr;</a><br/>
</td>