diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-24 19:36:18 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-24 19:36:18 +0000 |
commit | 7c3a2b1456bf64bbbbc4a3ea366c16e17be5bee8 (patch) | |
tree | 46d78fa1adddef6fd5af6acacfbc521828828465 /update/plugin/phpBB3/trunk/root/includes/acp/acp_instadisc.php | |
parent | f7a0bb1a348f68314f4a3f9a0525fd26350b9615 (diff) | |
download | instadisc-7c3a2b1456bf64bbbbc4a3ea366c16e17be5bee8.tar.gz instadisc-7c3a2b1456bf64bbbbc4a3ea366c16e17be5bee8.tar.bz2 instadisc-7c3a2b1456bf64bbbbc4a3ea366c16e17be5bee8.zip |
Update: Added encryption field to phpBB3 ACP
Refs #39
Diffstat (limited to 'update/plugin/phpBB3/trunk/root/includes/acp/acp_instadisc.php')
-rw-r--r-- | update/plugin/phpBB3/trunk/root/includes/acp/acp_instadisc.php | 3 |
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 | } |