# wpforo/1.0.0/wpf-admin/options-tabs/subscriptions.php

wpForo Forum, version 1.0.0. 78 lines.

- Page: https://pluginprobe.com/plugins/wpforo/1.0.0/code/wpf-admin/options-tabs/subscriptions.php
- Raw: https://pluginprobe.com/plugins/wpforo/1.0.0/raw/wpf-admin/options-tabs/subscriptions.php
- Modified: 2016-09-05T23:54:00+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wpforo/1.0.0/code/wpf-admin/options-tabs/subscriptions.php#L10-L20`.

```php
<?php
	// Exit if accessed directly
	if( !defined( 'ABSPATH' ) ) exit;
	if( !current_user_can('administrator') ) exit;
?>

	
    <form action="" method="POST" class="validate">
    	<?php wp_nonce_field( 'wpforo-settings-emails' ); ?>
        <table class="wpforo_settings_table">
            <tbody>
                <tr>
                    <th style="width:40%"><label><?php _e('From Name', 'wpforo'); ?>:</label></th>
                    <td><input name="wpforo_subscribe_options[from_name]" type="text" value="<?php wpfo($wpforo->subscribe_options['from_name']); ?>" required></td>
                </tr>
                <tr>
                    <th><label><?php _e('From Email Address', 'wpforo'); ?>:</label></th>
                    <td><input name="wpforo_subscribe_options[from_email]" type="text" value="<?php wpfo($wpforo->subscribe_options['from_email']); ?>" required /></td>
                </tr>
                <tr>
                    <th>
                    	<label><?php _e('Forum Admin Email Addresses', 'wpforo'); ?>:</label>
                    	<p class="wpf-info"><?php _e('Comma separated email addresses of forum administrators to get forum notifications. For example post report messages.', 'wpforo') ?></p>
                    </th>
                    <td><input name="wpforo_subscribe_options[admin_emails]" type="text" value="<?php wpfo($wpforo->subscribe_options['admin_emails']); ?>" required /></td>
                </tr>
                <tr>
                	<td colspan="2" style="border-bottom:2px solid #ddd;">
                    <h3 style="font-weight:400; padding:10px 0px 0px 0px; margin:0px;"><?php _e('Subscription Emails', 'wpforo'); ?></h3>
                    </td>
                </tr>
                <tr>
                    <th><label><?php _e('Subscribe confirmation email subject', 'wpforo'); ?>:</label></th>
                    <td><input name="wpforo_subscribe_options[confirmation_email_subject]" type="text"  value="<?php wpfo($wpforo->subscribe_options['confirmation_email_subject']); ?>" required></td>
                </tr>
                <tr>
                    <th><label><?php _e('Subscribe confirmation email message', 'wpforo'); ?>:</label></th>
                    <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>
                </tr>
                <tr>
                    <th><label><?php _e('New topic notification email subject', 'wpforo'); ?>:</label></th>
                    <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>
                </tr>
                <tr>
                    <th><label><?php _e('New topic notification email message', 'wpforo'); ?>:</label></th>
                    <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>
                </tr>
                <tr>
                    <th><label><?php _e('New reply notification email subject', 'wpforo'); ?>:</label></th>
                    <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>
                </tr>
                <tr>
                    <th><label><?php _e('New reply notification email message', 'wpforo'); ?>:</label></th>
                    <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>
                </tr>
                <tr>
                	<td colspan="2" style="border-bottom:2px solid #ddd;">
                    <h3 style="font-weight:400; padding:10px 0px 0px 0px; margin:0px;"><?php _e('Post Reporting Emails', 'wpforo'); ?></h3>
                    <p class="wpf-info"><?php _e('This message comes from post reporting pop-up form.', 'wpforo') ?></p>
                    </td>
                </tr>
                <tr>
                    <th>
                    	<label><?php _e('Report message subject', 'wpforo'); ?>:</label>
                    </th>
                    <td><input name="wpforo_subscribe_options[report_email_subject]" type="text"  value="<?php wpfo($wpforo->subscribe_options['report_email_subject']); ?>" required></td>
                </tr>
                <tr>
                    <th><label><?php _e('Report message body', 'wpforo'); ?>:</label></th>
                    <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>
                </tr>
            </tbody>
        </table>
        <div class="wpforo_settings_foot">
            <input type="submit" class="button button-primary" value="<?php _e('Update Options', 'wpforo'); ?>" />
        </div>
    </form>

```
