From b0a04dab2757b6d3ff20f82ac8215c161a6eb030 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Wed, 6 Aug 2008 11:37:40 +0000 Subject: Update: Created phpBB3 plugin Subscription File Also started on the plugin's update library, currently uses a function identical to the library's. May want to change it so that it does more post-object work than the foreign function has to. Refs #7 --- update/plugin/phpBB3/trunk/root/instadisc.php | 37 +++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 update/plugin/phpBB3/trunk/root/instadisc.php (limited to 'update/plugin/phpBB3/trunk/root/instadisc.php') diff --git a/update/plugin/phpBB3/trunk/root/instadisc.php b/update/plugin/phpBB3/trunk/root/instadisc.php new file mode 100644 index 0000000..76771f7 --- /dev/null +++ b/update/plugin/phpBB3/trunk/root/instadisc.php @@ -0,0 +1,37 @@ +session_begin(); +$auth->acl($user->data); + +$user->setup('mods/instadisc', $forum_data['forum_style']); + +$template->set_filenames(array( + 'body' => 'instadisc.html') +); + +$template->assign_vars(array( + 'S_SUBSCRIPTION' => ($config['server_protocol'] . $config['server_name'] . $config['script_path'] . '/'), + 'S_TITLE' => $config['id_subscription_title'], +)); + +page_footer(); + +?> -- cgit 1.4.1