| @@ -80,7 +80,7 @@ | ||
| 80 | 80 | */ | 
| 81 | 81 | $lang = array_merge($lang, array( | 
| 82 | 82 | 'PPDE_DONORS' => array( | 
| 83 | - 1 => '%d donateur', // 1 | |
| 83 | + 1 => '%d donateur', // 1 | |
| 84 | 84 | 2 => '%d donateurs', // 2+ | 
| 85 | 85 | ), | 
| 86 | 86 | )); | 
| @@ -80,7 +80,7 @@ | ||
| 80 | 80 | */ | 
| 81 | 81 | $lang = array_merge($lang, array( | 
| 82 | 82 | 'PPDE_DONORS' => array( | 
| 83 | - 1 => '%d donor', // 1 | |
| 83 | + 1 => '%d donor', // 1 | |
| 84 | 84 | 2 => '%d donors', // 2+ | 
| 85 | 85 | ), | 
| 86 | 86 | )); | 
| @@ -42,16 +42,16 @@ | ||
| 42 | 42 | * | 
| 43 | 43 | */ | 
| 44 | 44 | private static $paypal_vars_table = array( | 
| 45 | -		array('name' => 'confirmed', 'default' => false),    // Used to check if the payment is confirmed | |
| 46 | -		array('name' => 'exchange_rate', 'default' => ''),   // Exchange rate used if a currency conversion occurred | |
| 47 | -		array('name' => 'mc_currency', 'default' => ''),     // Currency | |
| 48 | -		array('name' => 'mc_gross', 'default' => 0.00),      // Amt received (before fees) | |
| 49 | -		array('name' => 'mc_fee', 'default' => 0.00),        // Amt of fees | |
| 50 | -		array('name' => 'payment_status', 'default' => ''),  // Payment status. e.g.: 'Completed' | |
| 45 | +		array('name' => 'confirmed', 'default' => false), // Used to check if the payment is confirmed | |
| 46 | +		array('name' => 'exchange_rate', 'default' => ''), // Exchange rate used if a currency conversion occurred | |
| 47 | +		array('name' => 'mc_currency', 'default' => ''), // Currency | |
| 48 | +		array('name' => 'mc_gross', 'default' => 0.00), // Amt received (before fees) | |
| 49 | +		array('name' => 'mc_fee', 'default' => 0.00), // Amt of fees | |
| 50 | +		array('name' => 'payment_status', 'default' => ''), // Payment status. e.g.: 'Completed' | |
| 51 | 51 |  		array('name' => 'settle_amount', 'default' => 0.00), // Amt received after currency conversion (before fees) | 
| 52 | 52 |  		array('name' => 'settle_currency', 'default' => ''), // Currency of 'settle_amount' | 
| 53 | -		array('name' => 'test_ipn', 'default' => false),     // Used when transaction come from Sandbox platform | |
| 54 | -		array('name' => 'txn_type', 'default' => ''),        // Transaction type - Should be: 'web_accept' | |
| 53 | +		array('name' => 'test_ipn', 'default' => false), // Used when transaction come from Sandbox platform | |
| 54 | +		array('name' => 'txn_type', 'default' => ''), // Transaction type - Should be: 'web_accept' | |
| 55 | 55 | array( // Primary merchant e-mail address | 
| 56 | 56 | 'name' => 'business', | 
| 57 | 57 | 'default' => '', | 
| @@ -36,8 +36,7 @@ | ||
| 36 | 36 | manager $notification, | 
| 37 | 37 | currency $ppde_actions_currency, | 
| 38 | 38 | transactions $ppde_entity_transaction | 
| 39 | - ) | |
| 40 | -	{ | |
| 39 | +	) { | |
| 41 | 40 | $this->container = $container; | 
| 42 | 41 | $this->notification = $notification; | 
| 43 | 42 | $this->ppde_actions_currency = $ppde_actions_currency; | 
| @@ -52,8 +52,7 @@ | ||
| 52 | 52 | main_display_stats $ppde_controller_display_stats, | 
| 53 | 53 | template $template, | 
| 54 | 54 | $php_ext | 
| 55 | - ) | |
| 56 | -	{ | |
| 55 | +	) { | |
| 57 | 56 | $this->config = $config; | 
| 58 | 57 | $this->controller_helper = $controller_helper; | 
| 59 | 58 | $this->language = $language; | 
| @@ -51,8 +51,7 @@ | ||
| 51 | 51 | $lang_key_suffix = '', | 
| 52 | 52 | $table_name = '', | 
| 53 | 53 | $table_schema = array() | 
| 54 | - ) | |
| 55 | -	{ | |
| 54 | +	) { | |
| 56 | 55 | $this->db = $db; | 
| 57 | 56 | $this->language = $language; | 
| 58 | 57 | $this->user = $user; | 
| @@ -72,8 +72,7 @@ | ||
| 72 | 72 | extension_manager $ppde_ext_manager, | 
| 73 | 73 | ipn_log $ppde_ipn_log, | 
| 74 | 74 | request $request | 
| 75 | - ) | |
| 76 | -	{ | |
| 75 | +	) { | |
| 77 | 76 | $this->config = $config; | 
| 78 | 77 | $this->language = $language; | 
| 79 | 78 | $this->ppde_ext_manager = $ppde_ext_manager; | 
| @@ -37,8 +37,7 @@ | ||
| 37 | 37 | language $language, | 
| 38 | 38 | currency $ppde_actions_currency, | 
| 39 | 39 | template $template | 
| 40 | - ) | |
| 41 | -	{ | |
| 40 | +	) { | |
| 42 | 41 | $this->config = $config; | 
| 43 | 42 | $this->language = $language; | 
| 44 | 43 | $this->ppde_actions_currency = $ppde_actions_currency; | 
| @@ -64,8 +64,7 @@ | ||
| 64 | 64 | filesystem_interface $filesystem, | 
| 65 | 65 | path_helper $path_helper, | 
| 66 | 66 | main_controller $ppde_controller_main | 
| 67 | - ) | |
| 68 | -	{ | |
| 67 | +	) { | |
| 69 | 68 | $this->config = $config; | 
| 70 | 69 | $this->filesystem = $filesystem; | 
| 71 | 70 | $this->path_helper = $path_helper; |