From 65e7975414f6b6887fed9834bb6e1a3fa6d12863 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 28 Sep 2008 19:08:18 +0000 Subject: Update: Modifed phpBB3 ACP Also modified subscription file to look pretty and to show verification when the subscription is encrypted. Fixes #68 --- update/plugin/phpBB3/trunk/root/includes/acp/acp_instadisc.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (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 f93ece6..9527908 100644 --- a/update/plugin/phpBB3/trunk/root/includes/acp/acp_instadisc.php +++ b/update/plugin/phpBB3/trunk/root/includes/acp/acp_instadisc.php @@ -31,18 +31,17 @@ class acp_instadisc { // Add config to the database set_config('id_subscription_title', $_POST['subscription_title']); - set_config('id_subscription_url', $_POST['subscription_url']); set_config('id_encryption_key', $_POST['encryption_key']); trigger_error($user->lang['ID_CHANGES_SAVED'] . adm_back_link($this->u_action), E_USER_NOTICE); } else { $idst = isset($config['id_subscription_title']) ? $config['id_subscription_title'] : $config['sitename']; - $idsu = isset($config['id_subscription_url']) ? $config['id_subscription_url'] : ''; + $idsf = generate_board_url() . '/instadisc.php'; $idec = isset($config['id_encryption_key']) ? $config['id_encryption_key'] : ''; $template->assign_vars(array( 'S_SUBSCRIPTION_TITLE' => $idst, - 'S_SUBSCRIPTION_URL' => $idsu, + 'S_SUBSCRIPTION_FILE' => $idsf, 'S_ENCRYPTION_KEY' => $idec, 'S_SUBMIT' => $this->u_action )); -- cgit 1.4.1