PluginProbe
wpForo Forum / beta-4
wpForo Forum vbeta-4
3.1.5 3.1.4 3.1.2 3.1.1 3.1.0 3.0.9 3.0.8 3.0.7 trunk 1.0.0 1.0.1 1.0.2 1.1.0 1.1.1 1.1.2 1.2.0 1.3.0 1.3.1 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 1.4.13 1.4.2 All 137 releases
wpforo / wpf-admin / options-tabs / subscriptions.php

subscriptions.php in wpForo Forum beta-4, at wpf-admin/options-tabs/subscriptions.php

78 lines 5.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 // Exit if accessed directly
3 if( !defined( 'ABSPATH' ) ) exit;
4 if( !current_user_can('administrator') ) exit;
5 ?>
6
7
8 <form action="" method="POST" class="validate">
9 <?php wp_nonce_field( 'wpforo-settings-emails' ); ?>
10 <table class="wpforo_settings_table">
11 <tbody>
12 <tr>
13 <th style="width:40%"><label><?php _e('From Name', 'wpforo'); ?>:</label></th>
14 <td><input name="wpforo_subscribe_options[from_name]" type="text" value="<?php wpfo($wpforo->subscribe_options['from_name']); ?>" required></td>
15 </tr>
16 <tr>
17 <th><label><?php _e('From Email Address', 'wpforo'); ?>:</label></th>
18 <td><input name="wpforo_subscribe_options[from_email]" type="text" value="<?php wpfo($wpforo->subscribe_options['from_email']); ?>" required /></td>
19 </tr>
20 <tr>
21 <th>
22 <label><?php _e('Forum Admin Email Addresses', 'wpforo'); ?>:</label>
23 <p class="wpf-info"><?php _e('Comma separated email addresses of forum administrators to get forum notifications. For example post report messages.', 'wpforo') ?></p>
24 </th>
25 <td><input name="wpforo_subscribe_options[admin_emails]" type="text" value="<?php wpfo($wpforo->subscribe_options['admin_emails']); ?>" required /></td>
26 </tr>
27 <tr>
28 <td colspan="2" style="border-bottom:2px solid #ddd;">
29 <h3 style="font-weight:400; padding:10px 0px 0px 0px; margin:0px;"><?php _e('Subscription Emails', 'wpforo'); ?></h3>
30 </td>
31 </tr>
32 <tr>
33 <th><label><?php _e('Subscribe confirmation email subject', 'wpforo'); ?>:</label></th>
34 <td><input name="wpforo_subscribe_options[confirmation_email_subject]" type="text" value="<?php wpfo($wpforo->subscribe_options['confirmation_email_subject']); ?>" required></td>
35 </tr>
36 <tr>
37 <th><label><?php _e('Subscribe confirmation email message', 'wpforo'); ?>:</label></th>
38 <td><textarea style="height:190px;" name="wpforo_subscribe_options[confirmation_email_message]" required><?php wpfo($wpforo->subscribe_options['confirmation_email_message'], true, 'esc_textarea'); ?></textarea></td>
39 </tr>
40 <tr>
41 <th><label><?php _e('New topic notification email subject', 'wpforo'); ?>:</label></th>
42 <td><input name="wpforo_subscribe_options[new_topic_notification_email_subject]" type="text" value="<?php wpfo($wpforo->subscribe_options['new_topic_notification_email_subject']); ?>" required></td>
43 </tr>
44 <tr>
45 <th><label><?php _e('New topic notification email message', 'wpforo'); ?>:</label></th>
46 <td><textarea style="height:190px;" name="wpforo_subscribe_options[new_topic_notification_email_message]" required><?php wpfo($wpforo->subscribe_options['new_topic_notification_email_message'], true, 'esc_textarea'); ?></textarea></td>
47 </tr>
48 <tr>
49 <th><label><?php _e('New reply notification email subject', 'wpforo'); ?>:</label></th>
50 <td><input name="wpforo_subscribe_options[new_post_notification_email_subject]" type="text" value="<?php wpfo($wpforo->subscribe_options['new_post_notification_email_subject']); ?>" required></td>
51 </tr>
52 <tr>
53 <th><label><?php _e('New reply notification email message', 'wpforo'); ?>:</label></th>
54 <td><textarea style="height:190px;" name="wpforo_subscribe_options[new_post_notification_email_message]" required><?php wpfo($wpforo->subscribe_options['new_post_notification_email_message'], true, 'esc_textarea'); ?></textarea></td>
55 </tr>
56 <tr>
57 <td colspan="2" style="border-bottom:2px solid #ddd;">
58 <h3 style="font-weight:400; padding:10px 0px 0px 0px; margin:0px;"><?php _e('Post Reporting Emails', 'wpforo'); ?></h3>
59 <p class="wpf-info"><?php _e('This message comes from post reporting pop-up form.', 'wpforo') ?></p>
60 </td>
61 </tr>
62 <tr>
63 <th>
64 <label><?php _e('Report message subject', 'wpforo'); ?>:</label>
65 </th>
66 <td><input name="wpforo_subscribe_options[report_email_subject]" type="text" value="<?php wpfo($wpforo->subscribe_options['report_email_subject']); ?>" required></td>
67 </tr>
68 <tr>
69 <th><label><?php _e('Report message body', 'wpforo'); ?>:</label></th>
70 <td><textarea style="height:190px;" name="wpforo_subscribe_options[report_email_message]" required><?php wpfo($wpforo->subscribe_options['report_email_message'], true, 'esc_textarea'); ?></textarea></td>
71 </tr>
72 </tbody>
73 </table>
74 <div class="wpforo_settings_foot">
75 <input type="submit" class="button button-primary" value="<?php _e('Update Options', 'wpforo'); ?>" />
76 </div>
77 </form>
78