@@ -45,8 +45,7 @@ |
||
| 45 | 45 | string $lang_key_suffix = '', |
| 46 | 46 | string $table_name = '', |
| 47 | 47 | array $table_schema = [] |
| 48 | - ) |
|
| 49 | - { |
|
| 48 | + ) { |
|
| 50 | 49 | $this->db = $db; |
| 51 | 50 | $this->language = $language; |
| 52 | 51 | $this->lang_key_prefix = $lang_key_prefix; |
@@ -43,8 +43,7 @@ |
||
| 43 | 43 | string $adm_relative_path, |
| 44 | 44 | string $phpbb_root_path, |
| 45 | 45 | string $php_ext |
| 46 | - ) |
|
| 47 | - { |
|
| 46 | + ) { |
|
| 48 | 47 | $this->template = $template; |
| 49 | 48 | $this->language = $language; |
| 50 | 49 | $this->user = $user; |
@@ -34,8 +34,7 @@ |
||
| 34 | 34 | \phpbb\config\config $config, |
| 35 | 35 | $phpbb_root_path, |
| 36 | 36 | $php_ext |
| 37 | - ) |
|
| 38 | - { |
|
| 37 | + ) { |
|
| 39 | 38 | $this->auth = $auth; |
| 40 | 39 | $this->config = $config; |
| 41 | 40 | $this->phpbb_root_path = $phpbb_root_path; |
@@ -73,14 +73,14 @@ |
||
| 73 | 73 | private function populate_template_vars(): array |
| 74 | 74 | { |
| 75 | 75 | return [ |
| 76 | - ['var' => '{USER_ID}', 'value' => $this->user->data['user_id']], |
|
| 77 | - ['var' => '{USERNAME}', 'value' => $this->user->data['username']], |
|
| 78 | - ['var' => '{SITE_NAME}', 'value' => $this->config['sitename']], |
|
| 79 | - ['var' => '{SITE_DESC}', 'value' => $this->config['site_desc']], |
|
| 80 | - ['var' => '{BOARD_CONTACT}', 'value' => $this->config['board_contact']], |
|
| 81 | - ['var' => '{BOARD_EMAIL}', 'value' => $this->config['board_email']], |
|
| 82 | - ['var' => '{BOARD_SIG}', 'value' => $this->config['board_email_sig']], |
|
| 83 | - ['var' => '{DONATION_GOAL}', 'value' => $this->actions_currency->format_currency((float) $this->config['ppde_goal'])], |
|
| 76 | + ['var' => '{USER_ID}', 'value' => $this->user->data['user_id']], |
|
| 77 | + ['var' => '{USERNAME}', 'value' => $this->user->data['username']], |
|
| 78 | + ['var' => '{SITE_NAME}', 'value' => $this->config['sitename']], |
|
| 79 | + ['var' => '{SITE_DESC}', 'value' => $this->config['site_desc']], |
|
| 80 | + ['var' => '{BOARD_CONTACT}', 'value' => $this->config['board_contact']], |
|
| 81 | + ['var' => '{BOARD_EMAIL}', 'value' => $this->config['board_email']], |
|
| 82 | + ['var' => '{BOARD_SIG}', 'value' => $this->config['board_email_sig']], |
|
| 83 | + ['var' => '{DONATION_GOAL}', 'value' => $this->actions_currency->format_currency((float) $this->config['ppde_goal'])], |
|
| 84 | 84 | ['var' => '{DONATION_RAISED}', 'value' => $this->actions_currency->format_currency((float) $this->config['ppde_raised'])], |
| 85 | 85 | ]; |
| 86 | 86 | } |
@@ -41,8 +41,7 @@ |
||
| 41 | 41 | config $config, |
| 42 | 42 | language $language, |
| 43 | 43 | user $user |
| 44 | - ) |
|
| 45 | - { |
|
| 44 | + ) { |
|
| 46 | 45 | $this->actions_core = $actions_core; |
| 47 | 46 | $this->actions_currency = $actions_currency; |
| 48 | 47 | $this->config = $config; |