Last change
on this file since 21631 was
15948,
checked in by mistic100, 12 years ago
|
-add option to remove rating
-improve message header
|
File size:
754 bytes
|
Line | |
---|
1 | <?php |
---|
2 | if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!'); |
---|
3 | |
---|
4 | if (isset($_POST['submit'])) |
---|
5 | { |
---|
6 | $conf['guestbook'] = array( |
---|
7 | 'comments_validation' => isset($_POST['comments_validation']), |
---|
8 | 'email_admin_on_comment' => isset($_POST['email_admin_on_comment']), |
---|
9 | 'email_admin_on_comment_validation' => isset($_POST['email_admin_on_comment_validation']), |
---|
10 | 'nb_comment_page' => $_POST['nb_comment_page'], |
---|
11 | 'activate_rating' => isset($_POST['activate_rating']), |
---|
12 | ); |
---|
13 | |
---|
14 | conf_update_param('guestbook', serialize($conf['guestbook'])); |
---|
15 | array_push($page['infos'], l10n('Information data registered in database')); |
---|
16 | } |
---|
17 | |
---|
18 | $template->assign($conf['guestbook']); |
---|
19 | |
---|
20 | $template->set_filename('guestbook', dirname(__FILE__).'/template/config.tpl'); |
---|
21 | |
---|
22 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.