[-] BO : Fixing warnings on PaymentModule Tab

This commit is contained in:
fSerny
2012-05-22 09:40:18 +00:00
parent 890cd233fa
commit b6aeb92914
2 changed files with 6 additions and 3 deletions
+4 -1
View File
@@ -166,7 +166,7 @@ class AdminPaymentControllerCore extends AdminController
break;
}
$lists = array('currencies' =>
$lists = array(
array('items' => Currency::getCurrencies(),
'title' => $this->l('Currency restrictions'),
'desc' => $this->l('Please mark the checkbox(es) for the currency or currencies for which you want the payment module(s) to be available.'),
@@ -203,6 +203,9 @@ class AdminPaymentControllerCore extends AdminController
else
$list['items'][$key_item]['check_list'][$key_module] = 'unchecked';
if (!isset($module->$name_id))
$module->$name_id = array();
// If is a country list and the country is limited, remove it from list
if ($name_id == 'country'
&& isset($module->limited_countries)
+2 -2
View File
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>
<module>
<name>blockreinsurance</name>
<displayName><![CDATA[Bloc reinsurance]]></displayName>
<displayName><![CDATA[Bloc r&eacute;assurance]]></displayName>
<version><![CDATA[1.0]]></version>
<description><![CDATA[Add a block to display more infos to reassure your customers]]></description>
<description><![CDATA[Ajoute un bloc pour afficher des informations pour rassurer vos clients]]></description>
<author><![CDATA[]]></author>
<tab><![CDATA[front_office_features]]></tab>
<is_configurable>1</is_configurable>