// Fixed confirmation message display in some modules
This commit is contained in:
@@ -64,7 +64,7 @@ class Blockcontact extends Module
|
|||||||
{
|
{
|
||||||
Configuration::updateValue('blockcontact_telnumber', Tools::getValue('telnumber'));
|
Configuration::updateValue('blockcontact_telnumber', Tools::getValue('telnumber'));
|
||||||
Configuration::updateValue('blockcontact_email', Tools::getValue('email'));
|
Configuration::updateValue('blockcontact_email', Tools::getValue('email'));
|
||||||
$html .= '<div class="confirm">'.$this->l('Configuration updated').'</div>';
|
$html .= '<div class="conf confirm">'.$this->l('Configuration updated').'</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$html .= '
|
$html .= '
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ class Blockcontactinfos extends Module
|
|||||||
Configuration::updateValue('blockcontactinfos_phone', ((isset($_POST['phone']) && $_POST['phone'] != '') ? $_POST['phone'] : ''));
|
Configuration::updateValue('blockcontactinfos_phone', ((isset($_POST['phone']) && $_POST['phone'] != '') ? $_POST['phone'] : ''));
|
||||||
Configuration::updateValue('blockcontactinfos_email', ((isset($_POST['email']) && $_POST['email'] != '') ? $_POST['email'] : Configuration::get('PS_SHOP_EMAIL')));
|
Configuration::updateValue('blockcontactinfos_email', ((isset($_POST['email']) && $_POST['email'] != '') ? $_POST['email'] : Configuration::get('PS_SHOP_EMAIL')));
|
||||||
|
|
||||||
$html .= '<div class="confirm">'.$this->l('Configuration updated').'</div>';
|
$html .= '<div class="conf confirm">'.$this->l('Configuration updated').'</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$html .= '
|
$html .= '
|
||||||
|
|||||||
Reference in New Issue
Block a user