From 7c3a2b1456bf64bbbbc4a3ea366c16e17be5bee8 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 24 Aug 2008 19:36:18 +0000 Subject: Update: Added encryption field to phpBB3 ACP Refs #39 --- update/plugin/phpBB3/trunk/root/includes/acp/acp_instadisc.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'update/plugin/phpBB3/trunk/root/includes/acp/acp_instadisc.php') 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 set_config('id_username', $_POST['central_server_username']); set_config('id_password', $_POST['central_server_password']); set_config('id_activation_key', $_POST['central_server_activation']); + set_config('id_encryption_key', $_POST['encryption_key']); trigger_error('The changes you made to your InstaDisc settings have been saved!' . adm_back_link($this->u_action), E_USER_NOTICE); } else { @@ -44,6 +45,7 @@ class acp_instadisc $idps = isset($config['id_password']) ? $config['id_password'] : ''; $idak = isset($config['id_activation_key']) ? $config['id_activation_key'] : ''; $idsf = generate_board_url() . '/instadisc.php'; + $idec = isset($config['id_encryption_key']) ? $config['id_encryption_key'] : ''; $template->assign_vars(array( 'S_SUBSCRIPTION_TITLE' => $idst, @@ -52,6 +54,7 @@ class acp_instadisc 'S_PASSWORD' => $idps, 'S_ACTIVATION' => $idak, 'S_SUBSCRIPTION_FILE' => $idsf, + 'S_ENCRYPTION_KEY' => $idec, 'S_SUBMIT' => $this->u_action )); } -- cgit 1.4.1