HEX
Server: Apache
System: Linux webd003.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: slyfwmm (169339)
PHP: 8.1.34
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/slyfwmm/cortonavolley/wp-content/plugins/postie/config_form_user.php
<div id="simpleTabs-content-2" class="simpleTabs-content">
    <table class='form-table'>

        <tr>
            <th scope="row">
                <?php _e('Roles That Can Post', 'postie') ?><br />
            </th>
            <td>
                <table class="checkbox-table">
                    <?php
                    foreach ($wp_roles->role_names as $roleId => $name) {
                        $name = translate_user_role($name);
                        $role = $wp_roles->get_role($roleId);
                        if ($roleId != 'administrator') {
                            ?>
                            <tr>
                                <td>
                                    <input type='checkbox' value='1' name='postie-settings[role_access][<?php echo $roleId; ?>]' <?php echo ($role->has_cap("post_via_postie")) ? 'checked="checked"' : "" ?>  >
                                    <?php echo $name; ?>
                                </td>
                            </tr>
                            <?php
                        } else {
                            ?>
                            <tr>
                                <td>
                                    <input type='checkbox' value='1' disabled='disabled' checked='checked' > <?php echo $name; ?>
                                </td>
                            </tr>
                            <?php
                        }
                    }
                    ?>
                    <p class='description'><?php _e("This allows you to grant access to other users to post if they have the proper access level. Administrators can always post.", 'postie'); ?></p>

                </table>
            </td>
        </tr>

        <?php echo PostieAdmin::textarea_html(__("Authorized Addresses", 'postie'), "postie-settings[authorized_addresses]", $authorized_addresses, __("(optional) Put each email address on a single line. Posts from emails in this list will be treated as if they came from the admin. If you would prefer to have users post under their own name - create a WordPress user with the correct access level.", 'postie')); ?>
        <tr> 
            <th scope="row"><?php _e('Default Poster', 'postie') ?></th> 
            <td>
                <select name='postie-settings[admin_username]' id='postie-settings[admin_username]'>
                    <?php
                    $adminusers = get_users('orderby=nicename&role=administrator');
                    foreach ($config['role_access'] as $userrole => $value) {
                        $adminusers = array_merge($adminusers, get_users("orderby=nicename&role=$userrole"));
                    }
                    foreach ($adminusers as $user) {
                        $selected = "";
                        if ($user->user_login == $admin_username) {
                            $selected = " selected='selected'";
                        }
                        echo "<option value='$user->user_login'$selected>$user->user_nicename ($user->user_login)</option>";
                    }
                    ?>
                </select>
                <p class='description'><?php _e("This will be the poster if you allow posting from emails that are not a registered blog user.", 'postie'); ?></p>
            </td> 
        </tr> 
        <?php echo PostieAdmin::boolean_select_html(__("Force User Login", 'postie'), "postie-settings[force_user_login]", $force_user_login, __("Changing this to yes will cause Postie to try and login as the 'from' user if they exist. This should be set to 'Yes' if you use custom taxonomies in the subject line.", 'postie')); ?>
        <?php echo PostieAdmin::boolean_select_html(__("Allow Anyone To Post Via Email", 'postie'), "postie-settings[turn_authorization_off]", $turn_authorization_off, __("Changing this to yes <b style='color: red'>is not recommended</b> - anything that gets sent in will automatically be posted.", 'postie')); ?>

    </table> 
</div>