about summary refs log tree commit diff stats
path: root/update/plugin/phpBB3/trunk/root/includes/acp/acp_instadisc.php
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2008-09-28 19:08:18 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-09-28 19:08:18 +0000
commit65e7975414f6b6887fed9834bb6e1a3fa6d12863 (patch)
tree87863220c0e0f15a85e45749b5a0b3ba41067aeb /update/plugin/phpBB3/trunk/root/includes/acp/acp_instadisc.php
parentdbdf94e953b0b1fe7c19e98888d512d6d16ee4cf (diff)
downloadinstadisc-65e7975414f6b6887fed9834bb6e1a3fa6d12863.tar.gz
instadisc-65e7975414f6b6887fed9834bb6e1a3fa6d12863.tar.bz2
instadisc-65e7975414f6b6887fed9834bb6e1a3fa6d12863.zip
Update: Modifed phpBB3 ACP
Also modified subscription file to look pretty and to show verification when the subscription is encrypted. Fixes #68
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.php5
1 files changed, 2 insertions, 3 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 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
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_subscription_url', $_POST['subscription_url']);
35 set_config('id_encryption_key', $_POST['encryption_key']); 34 set_config('id_encryption_key', $_POST['encryption_key']);
36 35
37 trigger_error($user->lang['ID_CHANGES_SAVED'] . adm_back_link($this->u_action), E_USER_NOTICE); 36 trigger_error($user->lang['ID_CHANGES_SAVED'] . adm_back_link($this->u_action), E_USER_NOTICE);
38 } else { 37 } else {
39 $idst = isset($config['id_subscription_title']) ? $config['id_subscription_title'] : $config['sitename']; 38 $idst = isset($config['id_subscription_title']) ? $config['id_subscription_title'] : $config['sitename'];
40 $idsu = isset($config['id_subscription_url']) ? $config['id_subscription_url'] : ''; 39 $idsf = generate_board_url() . '/instadisc.php';
41 $idec = isset($config['id_encryption_key']) ? $config['id_encryption_key'] : ''; 40 $idec = isset($config['id_encryption_key']) ? $config['id_encryption_key'] : '';
42 41
43 $template->assign_vars(array( 42 $template->assign_vars(array(
44 'S_SUBSCRIPTION_TITLE' => $idst, 43 'S_SUBSCRIPTION_TITLE' => $idst,
45 'S_SUBSCRIPTION_URL' => $idsu, 44 'S_SUBSCRIPTION_FILE' => $idsf,
46 'S_ENCRYPTION_KEY' => $idec, 45 'S_ENCRYPTION_KEY' => $idec,
47 'S_SUBMIT' => $this->u_action 46 'S_SUBMIT' => $this->u_action
48 )); 47 ));