about summary refs log tree commit diff stats
path: root/update/plugin/phpBB3/trunk/root/includes/acp
diff options
context:
space:
mode:
Diffstat (limited to 'update/plugin/phpBB3/trunk/root/includes/acp')
-rw-r--r--update/plugin/phpBB3/trunk/root/includes/acp/acp_instadisc.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/update/plugin/phpBB3/trunk/root/includes/acp/acp_instadisc.php b/update/plugin/phpBB3/trunk/root/includes/acp/acp_instadisc.php index dc28771..71eaef1 100644 --- a/update/plugin/phpBB3/trunk/root/includes/acp/acp_instadisc.php +++ b/update/plugin/phpBB3/trunk/root/includes/acp/acp_instadisc.php
@@ -35,6 +35,7 @@ class acp_instadisc
35 set_config('id_username', $_POST['central_server_username']); 35 set_config('id_username', $_POST['central_server_username']);
36 set_config('id_password', $_POST['central_server_password']); 36 set_config('id_password', $_POST['central_server_password']);
37 set_config('id_activation_key', $_POST['central_server_activation']); 37 set_config('id_activation_key', $_POST['central_server_activation']);
38 set_config('id_encryption_key', $_POST['encryption_key']);
38 39
39 trigger_error('The changes you made to your InstaDisc settings have been saved!' . adm_back_link($this->u_action), E_USER_NOTICE); 40 trigger_error('The changes you made to your InstaDisc settings have been saved!' . adm_back_link($this->u_action), E_USER_NOTICE);
40 } else { 41 } else {
@@ -44,6 +45,7 @@ class acp_instadisc
44 $idps = isset($config['id_password']) ? $config['id_password'] : ''; 45 $idps = isset($config['id_password']) ? $config['id_password'] : '';
45 $idak = isset($config['id_activation_key']) ? $config['id_activation_key'] : ''; 46 $idak = isset($config['id_activation_key']) ? $config['id_activation_key'] : '';
46 $idsf = generate_board_url() . '/instadisc.php'; 47 $idsf = generate_board_url() . '/instadisc.php';
48 $idec = isset($config['id_encryption_key']) ? $config['id_encryption_key'] : '';
47 49
48 $template->assign_vars(array( 50 $template->assign_vars(array(
49 'S_SUBSCRIPTION_TITLE' => $idst, 51 'S_SUBSCRIPTION_TITLE' => $idst,
@@ -52,6 +54,7 @@ class acp_instadisc
52 'S_PASSWORD' => $idps, 54 'S_PASSWORD' => $idps,
53 'S_ACTIVATION' => $idak, 55 'S_ACTIVATION' => $idak,
54 'S_SUBSCRIPTION_FILE' => $idsf, 56 'S_SUBSCRIPTION_FILE' => $idsf,
57 'S_ENCRYPTION_KEY' => $idec,
55 'S_SUBMIT' => $this->u_action 58 'S_SUBMIT' => $this->u_action
56 )); 59 ));
57 } 60 }