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.php9
1 files changed, 3 insertions, 6 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 b7fc583..f93ece6 100644 --- a/update/plugin/phpBB3/trunk/root/includes/acp/acp_instadisc.php +++ b/update/plugin/phpBB3/trunk/root/includes/acp/acp_instadisc.php
@@ -31,21 +31,18 @@ class acp_instadisc
31 { 31 {
32 // Add config to the database 32 // Add config to the database
33 set_config('id_subscription_title', $_POST['subscription_title']); 33 set_config('id_subscription_title', $_POST['subscription_title']);
34 set_config('id_series_url', $_POST['series_url']); 34 set_config('id_subscription_url', $_POST['subscription_url']);
35 set_config('id_subscription_id', $_POST['subscription_id']);
36 set_config('id_encryption_key', $_POST['encryption_key']); 35 set_config('id_encryption_key', $_POST['encryption_key']);
37 36
38 trigger_error($user->lang['ID_CHANGES_SAVED'] . adm_back_link($this->u_action), E_USER_NOTICE); 37 trigger_error($user->lang['ID_CHANGES_SAVED'] . adm_back_link($this->u_action), E_USER_NOTICE);
39 } else { 38 } else {
40 $idst = isset($config['id_subscription_title']) ? $config['id_subscription_title'] : $config['sitename']; 39 $idst = isset($config['id_subscription_title']) ? $config['id_subscription_title'] : $config['sitename'];
41 $idsu = isset($config['id_series_url']) ? $config['id_series_url'] : ''; 40 $idsu = isset($config['id_subscription_url']) ? $config['id_subscription_url'] : '';
42 $idsi = isset($config['id_subscription_id']) ? $config['id_subscription_id'] : '';
43 $idec = isset($config['id_encryption_key']) ? $config['id_encryption_key'] : ''; 41 $idec = isset($config['id_encryption_key']) ? $config['id_encryption_key'] : '';
44 42
45 $template->assign_vars(array( 43 $template->assign_vars(array(
46 'S_SUBSCRIPTION_TITLE' => $idst, 44 'S_SUBSCRIPTION_TITLE' => $idst,
47 'S_SERIES_URL' => $idsu, 45 'S_SUBSCRIPTION_URL' => $idsu,
48 'S_SUBSCRIPTION_ID' => $idsi,
49 'S_ENCRYPTION_KEY' => $idec, 46 'S_ENCRYPTION_KEY' => $idec,
50 'S_SUBMIT' => $this->u_action 47 'S_SUBMIT' => $this->u_action
51 )); 48 ));