Plugin Directory

Changeset 3234219


Ignore:
Timestamp:
02/03/2025 07:26:07 PM (13 months ago)
Author:
fetchdesigns
Message:

Reverted to version 2.2.14

Location:
sign-up-sheets
Files:
7 added
1 deleted
63 edited
4 copied

Legend:

Unmodified
Added
Removed
  • sign-up-sheets/trunk/controller/admin.php

    r3233567 r3234219  
    8787        $status = $migrate->getStatus();
    8888        if (!in_array($status['state'], array('running', 'rerun'))) return;
    89         Notice::add('info', esc_html__('Sign-up sheets database upgrade is processing.', 'sign-up-sheets'), false, Id::PREFIX . '-migrate-status');
     89        Notice::add('info', esc_html__('Sign-up sheets database upgrade is processing.', 'fdsus'), false, Id::PREFIX . '-migrate-status');
    9090    }
    9191
     
    100100        unset($columns['date']);
    101101        return array_merge($columns, array(
    102             'task_date' => esc_html__('Sheet Date', 'sign-up-sheets'),
    103             'total_tasks' => esc_html__('# of Tasks', 'sign-up-sheets'),
    104             'total_spots' => esc_html__('Total Spots', 'sign-up-sheets'),
    105             'filled_spots' => esc_html__('Filled Spots', 'sign-up-sheets'))
     102            'task_date' => esc_html__('Sheet Date', 'fdsus'),
     103            'total_tasks' => esc_html__('# of Tasks', 'fdsus'),
     104            'total_spots' => esc_html__('Total Spots', 'fdsus'),
     105            'filled_spots' => esc_html__('Filled Spots', 'fdsus'))
    106106        );
    107107    }
     
    158158
    159159        if (empty($_GET['sheet_id'])) {
    160             wp_die(esc_html__('No sheet ID found.', 'sign-up-sheets'));
     160            wp_die(esc_html__('No sheet ID found.', 'fdsus'));
    161161        }
    162162
    163163        if (!wp_verify_nonce($_GET['_fdsus-nonce'], 'fdsus-copysheet-' . $_GET['sheet_id'])) {
    164             wp_die(esc_html__('Copy action failed.  Please try again.', 'sign-up-sheets'));
     164            wp_die(esc_html__('Copy action failed.  Please try again.', 'fdsus'));
    165165        }
    166166
    167167        $sheetCaps = new Capabilities(SheetModel::POST_TYPE);
    168168        if (!current_user_can($sheetCaps->get('edit_post'))) {
    169             wp_die(esc_html__('You do not have sufficient permissions to access this page.', 'sign-up-sheets'));
     169            wp_die(esc_html__('You do not have sufficient permissions to access this page.', 'fdsus'));
    170170        }
    171171
     
    185185    public function head()
    186186    {
    187         // Pull pro or free
    188         $pluginPath = WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . (Id::isPro() ? Id::PRO_PLUGIN_BASENAME
    189                 : Id::FREE_PLUGIN_BASENAME);
    190 
    191187        // Dequeue meta library scripts for now
    192188        if (wp_script_is('dlsmb-main', $list = 'enqueued')) {
     
    207203            wp_enqueue_style(
    208204                Id::PREFIX . '-admin',
    209                 plugins_url('css/admin.css', $pluginPath),
     205                plugins_url('css/admin.css', dirname(__FILE__)),
    210206                array(),
    211207                Id::version()
     
    296292
    297293            $id = array('fdsus-id' => sprintf(
    298                 '<span class="fdsus-id-value">' . esc_html__('ID', 'sign-up-sheets') . ': %s</span>',
     294                '<span class="fdsus-id-value">' . esc_html__('ID', 'fdsus') . ': %s</span>',
    299295                $post->ID
    300296            ));
     
    305301                    '<a href="%s" title="" rel="permalink">%s</a>',
    306302                    esc_url(Settings::getManageSignupsPageUrl($post->ID)),
    307                     esc_html__('Manage Sign-ups', 'sign-up-sheets')
     303                    esc_html__('Manage Sign-ups', 'fdsus')
    308304                );
    309305
     
    324320                            '_fdsus-nonce'
    325321                        )),
    326                         esc_html__('Copy', 'sign-up-sheets')
     322                        esc_html__('Copy', 'fdsus')
    327323                    );
    328324                }
     
    374370        <footer class="fdsus-footer" aria-label="Sign-up Sheet">
    375371            <p>
    376                 <?php esc_html_e('Made by', 'sign-up-sheets'); ?> Fetch Designs
     372                <?php esc_html_e('Made by', 'fdsus'); ?> Fetch Designs
    377373                <span class="fdsus-footer-getpro"></span>
    378374                <?php if (!Id::isPro()): ?>
    379                     <a href="https://www.fetchdesigns.com/sign-up-sheets-wordpress-plugin/"><?php esc_html_e('Get Pro', 'sign-up-sheets'); ?></a>
     375                    <a href="https://www.fetchdesigns.com/sign-up-sheets-wordpress-plugin/"><?php esc_html_e('Get Pro', 'fdsus'); ?></a>
    380376                    &nbsp;&nbsp;|&nbsp;&nbsp;
    381377                <?php endif; ?>
    382378                <a href="<?php echo esc_url($supportUrl); ?>">
    383                     <span><?php esc_html_e('Need help? Get Support &raquo;', 'sign-up-sheets'); ?></span>
     379                    <span><?php esc_html_e('Need help? Get Support &raquo;', 'fdsus'); ?></span>
    384380                </a>
    385381            </p>
     
    400396        $settingsLink = sprintf( '<a href="%s">%s</a>',
    401397            esc_url($this->data->getSettingsUrl()),
    402             esc_html__('Settings', 'sign-up-sheets')
     398            esc_html__('Settings', 'fdsus')
    403399        );
    404400        array_unshift($links, $settingsLink);
  • sign-up-sheets/trunk/controller/admin/edit-sheet.php

    r3233567 r3234219  
    6464
    6565        $actions['copy'] = array(
    66             'title' => esc_html__('Copy Row', 'sign-up-sheets'),
     66            'title' => esc_html__('Copy Row', 'fdsus'),
    6767            'icon'  => 'dashicons dashicons-admin-page',
    6868        );
     
    140140        if ($post->post_type == SheetModel::POST_TYPE && !empty($_GET['action']) && $_GET['action'] === 'edit') {
    141141            ?>
    142             <div class="fdsus-edit-quick-info" role="group" aria-label="<?php esc_attr_e('Sheet Quick Info', 'sign-up-sheets') ?>">
    143                 <span class="quick-info-item quick-info-id"><strong><?php esc_html_e('Sheet ID', 'sign-up-sheets') ?>: </strong> <code><?php echo $post->ID ?></code></span>
     142            <div class="fdsus-edit-quick-info" role="group" aria-label="<?php esc_attr_e('Sheet Quick Info', 'fdsus') ?>">
     143                <span class="quick-info-item quick-info-id"><strong><?php esc_html_e('Sheet ID', 'fdsus') ?>: </strong> <code><?php echo $post->ID ?></code></span>
    144144                <?php do_action('fdsus_edit_sheet_quick_info', $post); ?>
    145145            </div>
  • sign-up-sheets/trunk/controller/admin/edit-signup-page.php

    r3233567 r3234219  
    4646        add_submenu_page(
    4747            '',
    48             esc_html__('Edit Sign-up', 'sign-up-sheets'),
     48            esc_html__('Edit Sign-up', 'fdsus'),
    4949            '',
    5050            $sheetCaps->get('edit_posts'),
     
    6969            $signup = new SignupModel($_GET['signup']);
    7070            if (!$signup->isValid()) {
    71                 wp_die(__('Sign-up invalid', 'sign-up-sheets'));
     71                wp_die(__('Sign-up invalid', 'fdsus'));
    7272            }
    7373        }
     
    7575        $task = new TaskModel(!empty($_GET['task']) ? $_GET['task'] : $signup->post_parent);
    7676        if (!$task->isValid()) {
    77             wp_die(__('Task invalid', 'sign-up-sheets'));
     77            wp_die(__('Task invalid', 'fdsus'));
    7878        }
    7979
    8080        $sheet = new SheetModel($task->post_parent);
    8181        if (!$sheet->isValid()) {
    82             wp_die(__('Sheet invalid', 'sign-up-sheets'));
     82            wp_die(__('Sheet invalid', 'fdsus'));
    8383        }
    8484        ?>
     
    8787            <h1 class="wp-heading-inline">
    8888                <?php echo $_GET['action'] === 'add'
    89                     ? esc_html__('Add Sign-up', 'sign-up-sheets')
    90                     : esc_html__('Edit Sign-up', 'sign-up-sheets');
     89                    ? esc_html__('Add Sign-up', 'fdsus')
     90                    : esc_html__('Edit Sign-up', 'fdsus');
    9191                ?>
    9292            </h1>
     
    108108                'multi_tag'          => '',
    109109                'states'             => $states->get(),
    110                 'submit_button_text' => __('Submit', 'sign-up-sheets'),
     110                'submit_button_text' => __('Submit', 'fdsus'),
    111111                'go_back_url'        => '',
    112112                'signup_link_hash'   => ''
     
    119119            <div id="postbox-container-1" class="postbox-container">
    120120                <div class="fdsus-edit-quick-info" role="group"
    121                      aria-label="<?php esc_attr_e('Sheet Quick Info', 'sign-up-sheets') ?>">
     121                     aria-label="<?php esc_attr_e('Sheet Quick Info', 'fdsus') ?>">
    122122                    <span class="quick-info-item quick-info-id"><strong><?php esc_html_e(
    123                                 'Sheet ID', 'sign-up-sheets'
     123                                'Sheet ID', 'fdsus'
    124124                            ) ?>: </strong> <code><?php echo $sheet->ID ?></code></span>
    125125                    <?php do_action('fdsus_edit_sheet_quick_info', $sheet->getData()); ?>
     
    130130                    <div class="inside">
    131131                        <dl>
    132                             <dt><?php _e('Sheet', 'sign-up-sheets'); ?>:</dt>
     132                            <dt><?php _e('Sheet', 'fdsus'); ?>:</dt>
    133133                            <dd><?php echo wp_kses_post($sheet->post_title); ?></dd>
    134134
    135                             <dt><?php esc_html_e('Date', 'sign-up-sheets'); ?>:</dt>
     135                            <dt><?php esc_html_e('Date', 'fdsus'); ?>:</dt>
    136136                            <dd>
    137137                                <?php echo(empty($sheet->dlssus_date)
    138                                     ? esc_html__('N/A', 'sign-up-sheets')
     138                                    ? esc_html__('N/A', 'fdsus')
    139139                                    : date(get_option('date_format'), strtotime($sheet->dlssus_date))
    140140                                ); ?>
    141141                            </dd>
    142142
    143                             <dt><?php _e('Task', 'sign-up-sheets'); ?>:</dt>
     143                            <dt><?php _e('Task', 'fdsus'); ?>:</dt>
    144144                            <dd><?php esc_html_e($task->post_title); ?></dd>
    145145                        </dl>
     
    171171        switch($_GET['notice']) {
    172172            case 'edited':
    173                 Notice::add('success', esc_html__('Sign-up updated.', 'sign-up-sheets'));
     173                Notice::add('success', esc_html__('Sign-up updated.', 'fdsus'));
    174174                break;
    175175            case 'added':
    176                 Notice::add('success', esc_html__('Sign-up added.', 'sign-up-sheets'));
     176                Notice::add('success', esc_html__('Sign-up added.', 'fdsus'));
    177177                break;
    178178        }
     
    195195        $sheetCaps = new Capabilities(SheetModel::POST_TYPE);
    196196        if (!current_user_can($sheetCaps->get('edit_posts'))) {
    197             wp_die(esc_html__('You do not have sufficient permissions to access this page.', 'sign-up-sheets'));
     197            wp_die(esc_html__('You do not have sufficient permissions to access this page.', 'fdsus'));
    198198        }
    199199
    200200        if (empty($_GET['signup'])) {
    201             wp_die(esc_html__('Sign-up ID missing', 'sign-up-sheets'));
     201            wp_die(esc_html__('Sign-up ID missing', 'fdsus'));
    202202        }
    203203
     
    207207                || !wp_verify_nonce($_POST['signup_nonce'], 'fdsus_signup_submit')
    208208            ) {
    209                 wp_die(esc_html__('Sign-up nonce not valid.', 'sign-up-sheets'));
     209                wp_die(esc_html__('Sign-up nonce not valid.', 'fdsus'));
    210210            }
    211211
     
    216216
    217217            if (!$signup->isValid()) {
    218                 Notice::add('error', esc_html__('Sign-up not found.', 'sign-up-sheets'));
     218                Notice::add('error', esc_html__('Sign-up not found.', 'fdsus'));
    219219                return;
    220220            }
     
    231231                        sprintf(
    232232                        /* translators: %s is replaced with a comma separated list of all missing required fields */
    233                             esc_html__('Please complete the following required fields: %s', 'sign-up-sheets'),
     233                            esc_html__('Please complete the following required fields: %s', 'fdsus'),
    234234                            implode(', ', $missingFieldNames)
    235235                        )
     
    262262        $sheetCaps = new Capabilities(SheetModel::POST_TYPE);
    263263        if (!current_user_can($sheetCaps->get('edit_posts'))) {
    264             wp_die(esc_html__('You do not have sufficient permissions to access this page.', 'sign-up-sheets'));
     264            wp_die(esc_html__('You do not have sufficient permissions to access this page.', 'fdsus'));
    265265        }
    266266
     
    268268
    269269        if (empty($_GET['task'])) {
    270             wp_die(esc_html__('Task-up ID missing', 'sign-up-sheets'));
     270            wp_die(esc_html__('Task-up ID missing', 'fdsus'));
    271271        }
    272272
     
    276276                || !wp_verify_nonce($_POST['signup_nonce'], 'fdsus_signup_submit')
    277277            ) {
    278                 wp_die(esc_html__('Sign-up nonce not valid.', 'sign-up-sheets'));
     278                wp_die(esc_html__('Sign-up nonce not valid.', 'fdsus'));
    279279            }
    280280
     
    293293                        sprintf(
    294294                        /* translators: %s is replaced with a comma separated list of all missing required fields */
    295                             esc_html__('Please complete the following required fields: %s', 'sign-up-sheets'),
     295                            esc_html__('Please complete the following required fields: %s', 'fdsus'),
    296296                            implode(', ', $missingFieldNames)
    297297                        )
     
    328328        <p class="fdsus-user">
    329329            <label for="signup_user_id" class="signup_user_id">
    330                 <?php esc_html_e('Linked User', 'sign-up-sheets'); ?>
     330                <?php esc_html_e('Linked User', 'fdsus'); ?>
    331331            </label>
    332332            <select id="signup_user_id" class="signup_user_id" name="signup_user_id">
  • sign-up-sheets/trunk/controller/admin/export.php

    r3233567 r3234219  
    5656                )
    5757            )),
    58             esc_html__('Export All as CSV', 'sign-up-sheets')
     58            esc_html__('Export All as CSV', 'fdsus')
    5959        );
    6060        return $views;
     
    8181            '<a href="%s" id="dls-sus-export-sheet" class="quick-info-item">%s</a>',
    8282            esc_url($this->getExportUrl($post)),
    83             esc_html__('Export as CSV', 'sign-up-sheets')
     83            esc_html__('Export as CSV', 'fdsus')
    8484        );
    8585    }
     
    9595            '<a href="%s" class="add-new-h2 page-title-action"><span class="dashicons dashicons-download"></span> %s</a>',
    9696            esc_url($this->getExportUrl($sheet)),
    97             esc_html__('Export as CSV', 'sign-up-sheets')
     97            esc_html__('Export as CSV', 'fdsus')
    9898        );
    9999    }
     
    119119        $sheetCaps = new Capabilities(SheetModel::POST_TYPE);
    120120        if (!current_user_can('manage_options') && !current_user_can($sheetCaps->get('read_post'))) {
    121             wp_die(esc_html__('You do not have sufficient permissions to export.', 'sign-up-sheets'));
     121            wp_die(esc_html__('You do not have sufficient permissions to export.', 'fdsus'));
    122122        }
    123123
    124124        if (isset($_GET['sheet_id']) && !is_numeric($_GET['sheet_id'])) {
    125             wp_die(esc_html__('Invalid sheet ID.', 'sign-up-sheets'));
     125            wp_die(esc_html__('Invalid sheet ID.', 'fdsus'));
    126126        }
    127127
     
    266266
    267267        $headersArray = array();
    268         $headersArray[] = esc_html__('Sheet ID', 'sign-up-sheets');
    269         $headersArray[] = esc_html__('Sheet Title', 'sign-up-sheets');
    270         $headersArray[] = esc_html__('Sheet Date', 'sign-up-sheets');
     268        $headersArray[] = esc_html__('Sheet ID', 'fdsus');
     269        $headersArray[] = esc_html__('Sheet Title', 'fdsus');
     270        $headersArray[] = esc_html__('Sheet Date', 'fdsus');
    271271
    272272        /**
     
    281281        $headersArray = apply_filters('fdsus_export_headers_after_sheet', $headersArray, $sheets);
    282282
    283         $headersArray[] = esc_html__('Task ID', 'sign-up-sheets');
    284         $headersArray[] = esc_html__('Task Title', 'sign-up-sheets');
     283        $headersArray[] = esc_html__('Task ID', 'fdsus');
     284        $headersArray[] = esc_html__('Task Title', 'fdsus');
    285285
    286286        /**
     
    295295        $headersArray = apply_filters('fdsus_export_headers_after_task', $headersArray, $sheets);
    296296
    297         $headersArray[] = esc_html__('Sign-up ID', 'sign-up-sheets');
    298         $headersArray[] = esc_html__('Sign-up First Name', 'sign-up-sheets');
    299         $headersArray[] = esc_html__('Sign-up Last Name', 'sign-up-sheets');
    300         $headersArray[] = esc_html__('Sign-up Phone', 'sign-up-sheets');
    301         $headersArray[] = esc_html__('Sign-up Email', 'sign-up-sheets');
    302         $headersArray[] = esc_html__('Address', 'sign-up-sheets');
    303         $headersArray[] = esc_html__('City', 'sign-up-sheets');
    304         $headersArray[] = esc_html__('State', 'sign-up-sheets');
    305         $headersArray[] = esc_html__('Zip', 'sign-up-sheets');
    306         $headersArray[] = esc_html__('User ID', 'sign-up-sheets');
     297        $headersArray[] = esc_html__('Sign-up ID', 'fdsus');
     298        $headersArray[] = esc_html__('Sign-up First Name', 'fdsus');
     299        $headersArray[] = esc_html__('Sign-up Last Name', 'fdsus');
     300        $headersArray[] = esc_html__('Sign-up Phone', 'fdsus');
     301        $headersArray[] = esc_html__('Sign-up Email', 'fdsus');
     302        $headersArray[] = esc_html__('Address', 'fdsus');
     303        $headersArray[] = esc_html__('City', 'fdsus');
     304        $headersArray[] = esc_html__('State', 'fdsus');
     305        $headersArray[] = esc_html__('Zip', 'fdsus');
     306        $headersArray[] = esc_html__('User ID', 'fdsus');
    307307
    308308        /**
  • sign-up-sheets/trunk/controller/admin/help.php

    r3233567 r3234219  
    4040        add_submenu_page(
    4141            'edit.php?post_type=' . SheetModel::POST_TYPE,
    42             esc_html__('Sign-up Sheets Help', 'sign-up-sheets'),
    43             esc_html__('Help', 'sign-up-sheets'),
     42            esc_html__('Sign-up Sheets Help', 'fdsus'),
     43            esc_html__('Help', 'fdsus'),
    4444            $sheetCaps->get('read_post'),
    4545            Id::PREFIX . '-help',
     
    6262        echo '
    6363            <div class="wrap dls_sus">
    64                 <h1 class="wp-heading-inline">' . esc_html__('Sign-up Sheets', 'sign-up-sheets') . (Id::isPro() ? ' <sup class="dls-sus-pro">Pro</sup>' : '') . ' ' . esc_html__('Help', 'sign-up-sheets') . '</h1>
     64                <h1 class="wp-heading-inline">' . esc_html__('Sign-up Sheets', 'fdsus') . (Id::isPro() ? ' <sup class="dls-sus-pro">Pro</sup>' : '') . ' ' . esc_html__('Help', 'fdsus') . '</h1>
    6565        ';
    6666
     
    7070                . '</p></div>';
    7171        } elseif ($mail_result === true) {
    72             echo '<div class="updated"><p>' . esc_html__('Test email successfully sent by WordPress.', 'sign-up-sheets') . '</p></div>';
     72            echo '<div class="updated"><p>' . esc_html__('Test email successfully sent by WordPress.', 'fdsus') . '</p></div>';
    7373        }
    7474        ?>
     
    139139        ?>
    140140
    141         <h3><?php esc_html_e('System Information', 'sign-up-sheets') ?></h3>
     141        <h3><?php esc_html_e('System Information', 'fdsus') ?></h3>
    142142        <p><?php echo sprintf('%s <strong><a href="%s">%s</a></strong>',
    143143                esc_html__(
    144144                    'We may request this information to help us troubleshoot your support request. You can now find this under',
    145                     'sign-up-sheets'
     145                    'fdsus'
    146146                ),
    147147                esc_url(admin_url('site-health.php?tab=debug')),
    148                 esc_html__('Tools > Site Health > Info', 'sign-up-sheets')
     148                esc_html__('Tools > Site Health > Info', 'fdsus')
    149149            ) ?></p>
    150         <textarea readonly="readonly" class="dls-sus-system-info" rows="1" onclick="this.focus(); this.select();"><?php esc_html_e('System information has moved to Tools > Site Health > Info', 'sign-up-sheets') ?></textarea>
     150        <textarea readonly="readonly" class="dls-sus-system-info" rows="1" onclick="this.focus(); this.select();"><?php esc_html_e('System information has moved to Tools > Site Health > Info', 'fdsus') ?></textarea>
    151151
    152152        <?php
     
    156156        }
    157157        ?>
    158             <h3><?php esc_html_e('Email Test', 'sign-up-sheets') ?></h3>
    159             <p><?php esc_html_e('Having trouble with emails sending on your site? Use this quick for to test your site with sending emails to different recipients.', 'sign-up-sheets') ?></p>
    160             <p><?php esc_html_e('If the test email is successfully sent by WordPress, but still not being received...', 'sign-up-sheets') ?></p>
     158            <h3><?php esc_html_e('Email Test', 'fdsus') ?></h3>
     159            <p><?php esc_html_e('Having trouble with emails sending on your site? Use this quick for to test your site with sending emails to different recipients.', 'fdsus') ?></p>
     160            <p><?php esc_html_e('If the test email is successfully sent by WordPress, but still not being received...', 'fdsus') ?></p>
    161161            <ol>
    162                 <li><?php esc_html_e('Ask the recipient to check their SPAM mailbox or SPAM filters.  Your "From" address may need to be added to their list of safe senders.', 'sign-up-sheets') ?></li>
    163                 <li><?php esc_html_e('Check with your host to see if they can trace emails being sent from your site.  It is possible your emails are being delayed or blacklisted by your recipient\'s mail host.', 'sign-up-sheets') ?></li>
     162                <li><?php esc_html_e('Ask the recipient to check their SPAM mailbox or SPAM filters.  Your "From" address may need to be added to their list of safe senders.', 'fdsus') ?></li>
     163                <li><?php esc_html_e('Check with your host to see if they can trace emails being sent from your site.  It is possible your emails are being delayed or blacklisted by your recipient\'s mail host.', 'fdsus') ?></li>
    164164                <li><?php echo sprintf(
    165165                    /* translators: %s is replaced with a link to an SMTP plugin */
    166                         esc_html__('Try sending email via SMTP instead by using a plugin like %s.', 'sign-up-sheets'),
     166                        esc_html__('Try sending email via SMTP instead by using a plugin like %s.', 'fdsus'),
    167167                        '<a href="https://wordpress.org/plugins/easy-wp-smtp/">Easy WP SMTP</a>'
    168168                    ) ?></li>
    169169                <li><?php echo sprintf(
    170170                    /* translators: %1$s is replaced with a link to Mailgun and %2$s is replaced with a link to the Mailgun WordPress plugin */
    171                         esc_html__('Try sending email via a 3rd party service like %1$s with the %2$s', 'sign-up-sheets'),
     171                        esc_html__('Try sending email via a 3rd party service like %1$s with the %2$s', 'fdsus'),
    172172                        '<a href="https://www.mailgun.com/">Mailgun</a>',
    173173                        '<a href="https://wordpress.org/plugins/mailgun/">Mailgun for WordPress plugin</a>'
     
    177177                <fieldset>
    178178                    <p>
    179                         <label for="from"><?php esc_html_e('From', 'sign-up-sheets') ?></label><br />
     179                        <label for="from"><?php esc_html_e('From', 'fdsus') ?></label><br />
    180180                        <input type="email" name="from" id="from" value="<?php echo esc_attr($from) ?>" />
    181181                    </p>
    182182                    <p>
    183                         <label for="recipient"><?php esc_html_e('To', 'sign-up-sheets') ?></label><br />
     183                        <label for="recipient"><?php esc_html_e('To', 'fdsus') ?></label><br />
    184184                        <input type="email" name="recipient" id="recipient" value="" />
    185185                    </p>
    186186                    <p>
    187                         <label><?php esc_html_e('Message', 'sign-up-sheets') ?></label><br />
    188                         <textarea name="message" rows="3"><?php esc_html_e('This is a test email.', 'sign-up-sheets') ?></textarea>
     187                        <label><?php esc_html_e('Message', 'fdsus') ?></label><br />
     188                        <textarea name="message" rows="3"><?php esc_html_e('This is a test email.', 'fdsus') ?></textarea>
    189189                    </p>
    190190                    <p>
    191191                        <input type="checkbox" name="return_path" id="return_path" value="true" checked="checked" />
    192                         <label for="return_path"><?php esc_html_e('Send bounced messages to "From" address', 'sign-up-sheets') ?></label>
     192                        <label for="return_path"><?php esc_html_e('Send bounced messages to "From" address', 'fdsus') ?></label>
    193193                    </p>
    194194                    <input type="hidden" name="mode" value="submitted" />
    195                     <input type="submit" value="<?php esc_attr_e('Send', 'sign-up-sheets') ?>" class="button" />
     195                    <input type="submit" value="<?php esc_attr_e('Send', 'fdsus') ?>" class="button" />
    196196                </fieldset>
    197197            </form>
     
    231231            return new WP_Error(
    232232                Id::PREFIX . 'test_email_error',
    233                 esc_html__('Error sending email.', 'sign-up-sheets')
     233                esc_html__('Error sending email.', 'fdsus')
    234234                . '.. ' . implode(' --- ', $ts_mail_errors)
    235235            );
  • sign-up-sheets/trunk/controller/admin/manage-signups.php

    r3233567 r3234219  
    3636        add_submenu_page(
    3737            '',
    38             esc_html__('Manage Sign-ups', 'sign-up-sheets'),
    39             esc_html__('Manage Sign-ups', 'sign-up-sheets'),
     38            esc_html__('Manage Sign-ups', 'fdsus'),
     39            esc_html__('Manage Sign-ups', 'fdsus'),
    4040            $sheetCaps->get('read_post'),
    4141            $this->menuSlug,
     
    5151        $sheetCaps = new Capabilities(SheetModel::POST_TYPE);
    5252        if (!current_user_can($sheetCaps->get('read_post'))) {
    53             wp_die(esc_html__('You do not have sufficient permissions to access this page.', 'sign-up-sheets'));
     53            wp_die(esc_html__('You do not have sufficient permissions to access this page.', 'fdsus'));
    5454        }
    5555
    5656        if (empty($_GET['sheet_id']) || !is_numeric($_GET['sheet_id'])) {
    57             wp_die(esc_html__('Missing or invalid sheet ID.', 'sign-up-sheets'));
     57            wp_die(esc_html__('Missing or invalid sheet ID.', 'fdsus'));
    5858        }
    5959
    6060        $sheet = new SheetModel((int)$_GET['sheet_id']);
    6161        if (!is_object($sheet)) {
    62             wp_die(esc_html__('No sign-up sheet found.', 'sign-up-sheets'));
     62            wp_die(esc_html__('No sign-up sheet found.', 'fdsus'));
    6363        }
    6464        ?>
     
    6666        <div class="wrap dls_sus">
    6767            <h1>
    68                 <?php esc_html_e('Manage Sign-ups', 'sign-up-sheets'); ?>
     68                <?php esc_html_e('Manage Sign-ups', 'fdsus'); ?>
    6969                <span class="fdsus-manage-h1-suffix">
    70                     <a href="<?php echo esc_attr(get_permalink($sheet->getData())); ?>" class="add-new-h2 page-title-action"><?php esc_html_e('View Sheet', 'sign-up-sheets'); ?></a>
    71                     <a href="<?php echo esc_attr(get_edit_post_link($sheet->getData())); ?>" class="add-new-h2 page-title-action"><?php esc_html_e('Edit Sheet', 'sign-up-sheets'); ?></a>
     70                    <a href="<?php echo esc_attr(get_permalink($sheet->getData())); ?>" class="add-new-h2 page-title-action"><?php esc_html_e('View Sheet', 'fdsus'); ?></a>
     71                    <a href="<?php echo esc_attr(get_edit_post_link($sheet->getData())); ?>" class="add-new-h2 page-title-action"><?php esc_html_e('Edit Sheet', 'fdsus'); ?></a>
    7272                    <?php do_action('fdsus_manage_signup_h1_suffix', $sheet); ?>
    7373                </span>
     
    7676            <h3><?php echo wp_kses_post($sheet->post_title); ?></h3>
    7777            <p>
    78                 <?php esc_html_e('Date', 'sign-up-sheets'); ?>:
     78                <?php esc_html_e('Date', 'fdsus'); ?>:
    7979                <?php echo(empty($sheet->dlssus_date)
    80                     ? esc_html__('N/A', 'sign-up-sheets')
     80                    ? esc_html__('N/A', 'fdsus')
    8181                    : date(get_option('date_format'), strtotime($sheet->dlssus_date))
    8282                ); ?>
     
    8585            <div class="dls-sus-sheet-details"><?php echo nl2br(wp_kses_post($sheet->post_content)); ?></div>
    8686
    87             <h4><?php esc_html_e('Sign-ups', 'sign-up-sheets'); ?></h4>
     87            <h4><?php esc_html_e('Sign-ups', 'fdsus'); ?></h4>
    8888
    8989            <?php
     
    133133            ) {
    134134                Notice::add(
    135                     'error', esc_html__('Manage sign-up sheet nonce not valid', 'sign-up-sheets'), false,
     135                    'error', esc_html__('Manage sign-up sheet nonce not valid', 'fdsus'), false,
    136136                    Id::PREFIX . '-manage-signup-nonce-invalid'
    137137                );
     
    142142        $sheet = new SheetModel($sheetId);
    143143        if (!$sheet->isValid()) {
    144             Notice::add('error', esc_html__('Invalid Sheet', 'sign-up-sheets'), false, Id::PREFIX . '-sheet-invalid');
     144            Notice::add('error', esc_html__('Invalid Sheet', 'fdsus'), false, Id::PREFIX . '-sheet-invalid');
    145145            return;
    146146        }
     
    148148        $result = $sheet->deleteSignups($idsToClear);
    149149        if ($result) {
    150             Notice::add('success', esc_html__('Spot(s) cleared.', 'sign-up-sheets'), false, Id::PREFIX . '-clear-success');
     150            Notice::add('success', esc_html__('Spot(s) cleared.', 'fdsus'), false, Id::PREFIX . '-clear-success');
    151151        } else {
    152152            /* translators: %d is replaced with the sheet ID */
    153             Notice::add('success', sprintf(esc_html__('Error clearing a spot (Sheet ID #%d)', 'sign-up-sheets'), $_GET['sheet_id']), false, Id::PREFIX . '-clear-error');
     153            Notice::add('success', sprintf(esc_html__('Error clearing a spot (Sheet ID #%d)', 'fdsus'), $_GET['sheet_id']), false, Id::PREFIX . '-clear-error');
    154154        }
    155155    }
     
    173173                )
    174174            )),
    175             esc_html__('Manage Sign-ups', 'sign-up-sheets')
     175            esc_html__('Manage Sign-ups', 'fdsus')
    176176        );
    177177    }
  • sign-up-sheets/trunk/controller/admin/meta-box.php

    r3233567 r3234219  
    1414 * $metabox->add(array(
    1515 *      'id' => 'sheet',
    16  *      'title' => esc_html__('Sign-up Sheet', 'sign-up-sheets'),
     16 *      'title' => esc_html__('Sign-up Sheet', 'fdsus'),
    1717 *      'order' => 10,
    1818 *      'options' => array(
     
    2929 *      'aria-labelledby' => 'my-label-id', // Default is '<name>-label' so only need to set this to change it or set to `false` to unset the aria-labelledby
    3030 *      'aria-describedby' => 'my-description-id', // Default is not set
    31  *      'note'    => '<span id="my-description-id">' . esc_html__('Some description', 'sign-up-sheets') . '</span>',
     31 *      'note'    => '<span id="my-description-id">' . esc_html__('Some description', 'fdsus') . '</span>',
    3232 *      'pro'     => true
    3333 * ));
  • sign-up-sheets/trunk/controller/admin/settings.php

    r3233567 r3234219  
    4949        add_submenu_page(
    5050            'edit.php?post_type=' . SheetModel::POST_TYPE,
    51             esc_html__('Sign-up Sheets Settings', 'sign-up-sheets'),
    52             esc_html__('Settings', 'sign-up-sheets'),
     51            esc_html__('Sign-up Sheets Settings', 'fdsus'),
     52            esc_html__('Settings', 'fdsus'),
    5353            'manage_options',
    5454            SettingsModel::$menuSlug,
     
    6464        $sheetCaps = new Capabilities(SheetModel::POST_TYPE);
    6565        if (!current_user_can('manage_options') && !current_user_can($sheetCaps->get('read_post'))) {
    66             wp_die(esc_html__('You do not have sufficient permissions to access this page.', 'sign-up-sheets'));
     66            wp_die(esc_html__('You do not have sufficient permissions to access this page.', 'fdsus'));
    6767        }
    6868        ?>
    6969        <div class="wrap dls_sus metabox-holder">
    7070            <h1 class="wp-heading-inline">
    71                 <?php esc_html_e('Sign-up Sheets', 'sign-up-sheets'); ?>
     71                <?php esc_html_e('Sign-up Sheets', 'fdsus'); ?>
    7272                <?php if (Id::isPro()): ?><sup class="dls-sus-pro">Pro</sup><?php endif; ?>
    73                 <?php esc_html_e('Settings', 'sign-up-sheets'); ?>
     73                <?php esc_html_e('Settings', 'fdsus'); ?>
    7474            </h1>
    75             <p style="text-align: right;"><a href="#" class="dls-sus-expand-all-postbox"><?php esc_html_e('+ Expand All', 'sign-up-sheets'); ?></a></p>
     75            <p style="text-align: right;"><a href="#" class="dls-sus-expand-all-postbox"><?php esc_html_e('+ Expand All', 'fdsus'); ?></a></p>
    7676            <form name="dls-sus-form" class="dls-sus-settings" method="post" action="<?php echo esc_url($this->data->getSettingsUrl()) ?>">
    7777
     
    9393                    ?>
    9494                    <input type="hidden" name="<?php echo esc_attr($this->hiddenFieldName); ?>" value="<?php echo esc_attr($this->hiddenFieldValue) ?>">
    95                     <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes', 'sign-up-sheets'); ?>" />
     95                    <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes', 'fdsus'); ?>" />
    9696                </p>
    9797
     
    117117            if (FDSUS_DISABLE_MIGRATE_2_0_to_2_1) {
    118118                Notice::add(
    119                     'warning', esc_html__('Sorry, I cannot rerun migration.  The migration logic is currently disabled with the FDSUS_DISABLE_MIGRATE_2_0_to_2_1 configuration.', 'sign-up-sheets'), false,
     119                    'warning', esc_html__('Sorry, I cannot rerun migration.  The migration logic is currently disabled with the FDSUS_DISABLE_MIGRATE_2_0_to_2_1 configuration.', 'fdsus'), false,
    120120                    'dlssus-migrate-disabled'
    121121                );
     
    132132
    133133            Notice::add(
    134                 'info', esc_html__('Sign-up Sheets database upgrade has been triggered.', 'sign-up-sheets'), false,
     134                'info', esc_html__('Sign-up Sheets database upgrade has been triggered.', 'fdsus'), false,
    135135                'dlssus-migrate-status'
    136136            );
     
    150150
    151151        if (!isset($_GET['_fdsus-nonce']) || !wp_verify_nonce($_GET['_fdsus-nonce'], 'fdsus-settings-reset')) {
    152             wp_die(esc_html__('Invalid request.', 'sign-up-sheets'));
     152            wp_die(esc_html__('Invalid request.', 'fdsus'));
    153153        }
    154154
    155155        $sheetCaps = new Capabilities(SheetModel::POST_TYPE);
    156156        if (!current_user_can('manage_options') && !current_user_can($sheetCaps->get('read_post'))) {
    157             wp_die(esc_html__('You do not have sufficient permissions to access this page.', 'sign-up-sheets'));
     157            wp_die(esc_html__('You do not have sufficient permissions to access this page.', 'fdsus'));
    158158        }
    159159
     
    206206                    Notice::add(
    207207                        'success',
    208                         esc_html__('Sign-up Sheet settings have been successfully reset to default values.', 'sign-up-sheets')
     208                        esc_html__('Sign-up Sheet settings have been successfully reset to default values.', 'fdsus')
    209209                    );
    210210                }
     
    227227
    228228        if (!isset($_POST['_fdsus-nonce']) || !wp_verify_nonce($_POST['_fdsus-nonce'], 'fdsus-settings-update')) {
    229             wp_die(esc_html__('Invalid request.', 'sign-up-sheets'));
     229            wp_die(esc_html__('Invalid request.', 'fdsus'));
    230230        }
    231231
    232232        $sheetCaps = new Capabilities(SheetModel::POST_TYPE);
    233233        if (!current_user_can('manage_options') && !current_user_can($sheetCaps->get('read_post'))) {
    234             wp_die(esc_html__('You do not have sufficient permissions to access this page.', 'sign-up-sheets'));
     234            wp_die(esc_html__('You do not have sufficient permissions to access this page.', 'fdsus'));
    235235        }
    236236
     
    283283
    284284                if ($numberSaved === 1) {
    285                     Notice::add('success', esc_html__('Settings saved.', 'sign-up-sheets'));
     285                    Notice::add('success', esc_html__('Settings saved.', 'fdsus'));
    286286                }
    287287            }
  • sign-up-sheets/trunk/controller/admin/site-health.php

    r3233567 r3234219  
    2828    {
    2929        $info['wp-core']['fields']['fdsus_date_format'] = array(
    30             'label' => esc_html__('Date Format', 'sign-up-sheets'),
     30            'label' => esc_html__('Date Format', 'fdsus'),
    3131            'value' => esc_html(get_option('date_format')),
    3232        );
    3333        $info['wp-core']['fields']['fdsus_time_format'] = array(
    34             'label' => esc_html__('Time Format', 'sign-up-sheets'),
     34            'label' => esc_html__('Time Format', 'fdsus'),
    3535            'value' => esc_html(get_option('time_format')),
    3636        );
    3737        $info['wp-core']['fields']['fdsus_admin_email'] = array(
    38             'label' => esc_html__('Admin Email', 'sign-up-sheets'),
     38            'label' => esc_html__('Admin Email', 'fdsus'),
    3939            'value' => esc_html(get_option('admin_email')),
    4040        );
    4141        $info['wp-server']['fields']['fdsus_server_max_execution_time'] = array(
    42             'label' => esc_html__('Max Execution Time', 'sign-up-sheets'),
     42            'label' => esc_html__('Max Execution Time', 'fdsus'),
    4343            'value' => ini_get('max_execution_time') . ' seconds',
    4444        );
    4545        $info['wp-server']['fields']['fdsus_user_agent_string'] = array(
    46             'label' => esc_html__('User Agent String', 'sign-up-sheets'),
     46            'label' => esc_html__('User Agent String', 'fdsus'),
    4747            'value' => $_SERVER['HTTP_USER_AGENT'],
    4848        );
    4949        $info['sign-up-sheets'] = array(
    50             'label'  => esc_html__('Sign-up Sheets', 'sign-up-sheets'),
     50            'label'  => esc_html__('Sign-up Sheets', 'fdsus'),
    5151            'fields' => $this->getFields(),
    5252        );
     
    6767        $dataPrimary = array(
    6868            'version'            => array(
    69                 'label' => esc_html__('Version', 'sign-up-sheets'),
     69                'label' => esc_html__('Version', 'fdsus'),
    7070                'value' => Id::version(),
    7171            ),
    7272            'db_version_type'    => array(
    73                 'label' => esc_html__('Version Type', 'sign-up-sheets'),
     73                'label' => esc_html__('Version Type', 'fdsus'),
    7474                'value' => $allOptions['dls_sus_db_version_type'],
    7575            ),
    7676            'primary_db_version' => array(
    77                 'label' => esc_html__('DB Version', 'sign-up-sheets'),
     77                'label' => esc_html__('DB Version', 'fdsus'),
    7878                'value' => $allOptions['dls_sus_db_version'],
    7979            ),
  • sign-up-sheets/trunk/controller/ajax.php

    r3233567 r3234219  
    5252        $restartButton = sprintf(' <a href="%s" class="button">%s</a>',
    5353            esc_url(add_query_arg('migrate', 'rerun-2.1', $this->data->getSettingsUrl())),
    54             esc_html__('Restart Upgrade', 'sign-up-sheets')
     54            esc_html__('Restart Upgrade', 'fdsus')
    5555        );
    5656        if ($status['state'] == 'complete') {
  • sign-up-sheets/trunk/controller/base.php

    r3233567 r3234219  
    4747            $templateName = str_replace('/', DIRECTORY_SEPARATOR, $templateName);
    4848
    49             $stylesheetPathFile = get_stylesheet_directory() . DIRECTORY_SEPARATOR . $templateName; // child
    50             $templatePathFile = get_template_directory() . DIRECTORY_SEPARATOR . $templateName; // parent
    51             $proPluginFile = Id::isPro()
    52                 ? FDSUS_PRO_PLUGIN_DIR_PATH . $this->themeFilesDir . DIRECTORY_SEPARATOR . $templateName
    53                 : '';
    54             $freePluginFile = FDSUS_FREE_PLUGIN_DIR_PATH . $this->themeFilesDir . DIRECTORY_SEPARATOR . $templateName;
     49            $stylesheetPathFile = STYLESHEETPATH . DIRECTORY_SEPARATOR . $templateName; // child
     50            $templatePathFile = TEMPLATEPATH . DIRECTORY_SEPARATOR . $templateName; // parent
     51            $pluginFile = Id::getPluginPath() . $this->themeFilesDir . DIRECTORY_SEPARATOR . $templateName; // plugin
    5552
    5653            if (file_exists($stylesheetPathFile)) {
     
    6057                $located = $templatePathFile;
    6158                break;
    62             } elseif (file_exists($proPluginFile)) {
    63                 $located = $proPluginFile;
    64                 break;
    65             } elseif (file_exists($freePluginFile)) {
    66                 $located = $freePluginFile;
     59            } elseif (file_exists($pluginFile)) {
     60                $located = $pluginFile;
    6761                break;
    6862            }
    6963        }
    7064
    71         if ((true === $load) && !empty($located)) {
     65        if ((true == $load) && !empty($located)) {
    7266            load_template($located, $requireOnce, $args);
    7367        }
  • sign-up-sheets/trunk/controller/captcha.php

    r3233567 r3234219  
    99use FDSUS\Model\Settings;
    1010use FDSUS\Lib\ReCaptcha\ReCaptcha;
    11 use FDSUS\Model\Sheet as SheetModel;
    1211use WP_Error;
    1312
     
    2221            add_action('fdsus_enqueue_scripts_styles_on_signup', array(&$this, 'enqueue'), 10, 0);
    2322            add_filter('fdsus_error_before_add_signup', array(&$this, 'signupValidation'), 10, 3);
    24             add_filter('fdsus_sign_up_form_errors_required_fields', array(&$this, 'updateRequiredFields'), 10, 3);
    2523        }
    2624
     
    4543            wp_enqueue_script('fdsus-recaptcha');
    4644        }
    47     }
    48 
    49     /**
    50      * Adjust required fields
    51      *
    52      * @param array      $missingFieldNames
    53      * @param SheetModel $sheet
    54      * @param array      $fields
    55      *
    56      * @return array
    57      */
    58     public function updateRequiredFields($missingFieldNames, $sheet, $fields)
    59     {
    60         if (!is_admin()
    61             && !Settings::isAllCaptchaDisabled()
    62             && !Settings::isRecaptchaEnabled()
    63             && empty($fields['spam_check'])
    64         ) {
    65             $missingFieldNames['simple_captcha'] = esc_html__('Math Question', 'sign-up-sheets');
    66         }
    67 
    68         return $missingFieldNames;
    6945    }
    7046
     
    9571                return new WP_Error(
    9672                    'fdsus-captcha-error',
    97                     __('Please check that the reCAPTCHA field is valid.', 'sign-up-sheets')
     73                    __('Please check that the reCAPTCHA field is valid.', 'fdsus')
    9874                );
    9975            }
     
    10581                'fdsus-captcha-error', sprintf(
    10682                /* translators: %s is replaced with the users response to the simple captcha */
    107                     esc_html__('Oh dear, 7 + 1 does not equal %s. Please try again.', 'sign-up-sheets'),
     83                    esc_html__('Oh dear, 7 + 1 does not equal %s. Please try again.', 'fdsus'),
    10884                    esc_attr($_POST['spam_check'])
    10985                )
  • sign-up-sheets/trunk/controller/mail.php

    r3233567 r3234219  
    128128            return new WP_Error(
    129129                'fdsus_mail_send',
    130                 esc_html__('Error sending email.', 'sign-up-sheets')
     130                esc_html__('Error sending email.', 'fdsus')
    131131                . (Settings::isDetailedErrors() ? '.. ' . implode(' --- ', $ts_mail_errors) : '')
    132132            );
     
    172172
    173173        // Build initial signup details
    174         $signupDetails = (!empty($signupDate) ? esc_html__('Date', 'sign-up-sheets') . ': ' . date(get_option('date_format'), strtotime($signupDate)) . PHP_EOL : null)
    175             . esc_html__('Event', 'sign-up-sheets') . ': ' . wp_kses_post($args['sheet']->post_title) . PHP_EOL
     174        $signupDetails = (!empty($signupDate) ? esc_html__('Date', 'fdsus') . ': ' . date(get_option('date_format'), strtotime($signupDate)) . PHP_EOL : null)
     175            . esc_html__('Event', 'fdsus') . ': ' . wp_kses_post($args['sheet']->post_title) . PHP_EOL
    176176            . esc_html(Settings::$text['task_title_label']['value'])
    177177            . ': ' . wp_kses_post($args['task']->post_title);
  • sign-up-sheets/trunk/controller/migrate.php

    r3233567 r3234219  
    2121
    2222if (Id::isPro()) {
    23     class MigrateParent extends \FDSUSPRO\Controller\Pro\Migrate {}
     23    class MigrateParent extends Pro\Migrate {}
    2424} else {
    2525    class MigrateParent extends Base {}
     
    7979            $output = sprintf(
    8080                /* translators: %1$s is replaced with the URL to retry */
    81                 esc_html__('Migration has already been completed. <a href="%1$s" class="button">Run Migration Again</a>', 'sign-up-sheets'),
     81                esc_html__('Migration has already been completed. <a href="%1$s" class="button">Run Migration Again</a>', 'fdsus'),
    8282                esc_url(add_query_arg('retry', 'true', $this->data->getCurrentUrl()))
    8383            );
     
    603603                'group' => 'settings',
    604604                'options' => null,
    605                 'note' => esc_html__('(comma-separated list of emails to be copied on sign-up confirmations/removals for this sheet)', 'sign-up-sheets'),
     605                'note' => esc_html__('(comma-separated list of emails to be copied on sign-up confirmations/removals for this sheet)', 'fdsus'),
    606606            ),
    607607            array(
     
    611611                'group' => 'settings',
    612612                'options' => $true_false,
    613                 'note' => esc_html__('(Global setting in Settings > Sign-up Sheets)', 'sign-up-sheets'),
     613                'note' => esc_html__('(Global setting in Settings > Sign-up Sheets)', 'fdsus'),
    614614            ),
    615615            array(
     
    619619                'group' => 'settings',
    620620                'options' => $true_false,
    621                 'note' => esc_html__('(Global setting in Settings > Sign-up Sheets)', 'sign-up-sheets'),
     621                'note' => esc_html__('(Global setting in Settings > Sign-up Sheets)', 'fdsus'),
    622622            ),
    623623            array(
     
    627627                'group' => 'settings',
    628628                'options' => $true_false,
    629                 'note' => esc_html__('(Global setting in Settings > Sign-up Sheets)', 'sign-up-sheets'),
     629                'note' => esc_html__('(Global setting in Settings > Sign-up Sheets)', 'fdsus'),
    630630            ),
    631631            array(
     
    635635                'group' => 'settings',
    636636                'options' => $true_false,
    637                 'note' => esc_html__('(Global setting in Settings > Sign-up Sheets)', 'sign-up-sheets'),
     637                'note' => esc_html__('(Global setting in Settings > Sign-up Sheets)', 'fdsus'),
    638638            ),
    639639            array(
     
    643643                'group' => 'settings',
    644644                'options' => array(
    645                     ''      => esc_html__('Global', 'sign-up-sheets'),
    646                     'false' => esc_html__('Disabled', 'sign-up-sheets'),
    647                     'true'  => esc_html__('Enabled', 'sign-up-sheets'),
    648                     'semi'  => esc_html__('Semi-Compact', 'sign-up-sheets'),
     645                    ''      => esc_html__('Global', 'fdsus'),
     646                    'false' => esc_html__('Disabled', 'fdsus'),
     647                    'true'  => esc_html__('Enabled', 'fdsus'),
     648                    'semi'  => esc_html__('Semi-Compact', 'fdsus'),
    649649                ),
    650                 'note' => esc_html__('Show sign-up spots on one line with just # of open spots and a link to sign-up if open. Semi-Compact will also include the names of those who already signed up (assuming "Front-end Display Names" is not set to "anonymous"', 'sign-up-sheets'),
     650                'note' => esc_html__('Show sign-up spots on one line with just # of open spots and a link to sign-up if open. Semi-Compact will also include the names of those who already signed up (assuming "Front-end Display Names" is not set to "anonymous"', 'fdsus'),
    651651            ),
    652652            array(
     
    664664                'group' => 'settings',
    665665                'options' => $true_false,
    666                 'note' => esc_html__('(Global setting in Settings > Sign-up Sheets)', 'sign-up-sheets'),
     666                'note' => esc_html__('(Global setting in Settings > Sign-up Sheets)', 'fdsus'),
    667667            ),
    668668            array(
     
    672672                'group' => 'settings',
    673673                'options' => $true_false,
    674                 'note' => esc_html__('(Global setting in Settings > Sign-up Sheets)', 'sign-up-sheets'),
     674                'note' => esc_html__('(Global setting in Settings > Sign-up Sheets)', 'fdsus'),
    675675            ),
    676676            array(
     
    680680                'group' => 'settings',
    681681                'options' => $true_false,
    682                 'note' => esc_html__('(Global setting in Settings > Sign-up Sheets)', 'sign-up-sheets'),
     682                'note' => esc_html__('(Global setting in Settings > Sign-up Sheets)', 'fdsus'),
    683683            ),
    684684            array(
     
    687687                'type' => 'text',
    688688                'group' => 'settings',
    689                 'note' => '<br><em>' . esc_html__('Number of days before the date on the sign-up sheet that the email should be sent.  Use whole numbers, for example, to remind one day before use...', 'sign-up-sheets') . ' <code>1</code> ' . esc_html__('(If this is blank Global setting is used. Global setting in Settings > Sign-up Sheets.)', 'sign-up-sheets') . '</em>',
     689                'note' => '<br><em>' . esc_html__('Number of days before the date on the sign-up sheet that the email should be sent.  Use whole numbers, for example, to remind one day before use...', 'fdsus') . ' <code>1</code> ' . esc_html__('(If this is blank Global setting is used. Global setting in Settings > Sign-up Sheets.)', 'fdsus') . '</em>',
    690690                'options' => null,
    691691            ),
     
    695695                'type' => 'textarea',
    696696                'group' => 'settings',
    697                 'note' => '<br><em>' . esc_html__('Global setting in Settings > Sign-up Sheets', 'sign-up-sheets') . '</em>',
     697                'note' => '<br><em>' . esc_html__('Global setting in Settings > Sign-up Sheets', 'fdsus') . '</em>',
    698698                'options' => null,
    699699            ),
     
    703703                'type' => 'textarea',
    704704                'group' => 'settings',
    705                 'note' => '<br><em>' . esc_html__('Global setting in Settings > Sign-up Sheets', 'sign-up-sheets') . '</em>',
     705                'note' => '<br><em>' . esc_html__('Global setting in Settings > Sign-up Sheets', 'fdsus') . '</em>',
    706706                'options' => null,
    707707            ),
     
    809809        }
    810810
    811         return new WP_Error(Id::PREFIX . '_migrate_timeout', esc_html__('Sign-up Sheets migration timed out.', 'sign-up-sheets'));
     811        return new WP_Error(Id::PREFIX . '_migrate_timeout', esc_html__('Sign-up Sheets migration timed out.', 'fdsus'));
    812812    }
    813813
  • sign-up-sheets/trunk/controller/post-type-base.php

    r3233567 r3234219  
    9090            'name'               => $plural,
    9191            'singular_name'      => $singular,
    92             'all_items'          => __('All', 'sign-up-sheets') . ' '  . $plural,
    93             'add_new'            => __('Add New', 'sign-up-sheets'),
    94             'add_new_item'       => __('Add New', 'sign-up-sheets') . ' ' . $singular,
    95             'edit_item'          => __('Edit', 'sign-up-sheets') . ' ' . $singular,
    96             'new_item'           => __('New', 'sign-up-sheets') . ' ' . $singular,
    97             'view_item'          => __('View', 'sign-up-sheets') . ' ' . $singular,
    98             'search_items'       => __('Search', 'sign-up-sheets') . ' ' . $plural,
     92            'all_items'          => __('All', 'fdsus') . ' '  . $plural,
     93            'add_new'            => __('Add New', 'fdsus'),
     94            'add_new_item'       => __('Add New', 'fdsus') . ' ' . $singular,
     95            'edit_item'          => __('Edit', 'fdsus') . ' ' . $singular,
     96            'new_item'           => __('New', 'fdsus') . ' ' . $singular,
     97            'view_item'          => __('View', 'fdsus') . ' ' . $singular,
     98            'search_items'       => __('Search', 'fdsus') . ' ' . $plural,
    9999            /* translators: %s is replaced with the plural post type name */
    100             'not_found'          => sprintf(__('No %s found', 'sign-up-sheets'), $plural),
     100            'not_found'          => sprintf(__('No %s found', 'fdsus'), $plural),
    101101            /* translators: %s is replaced with the plural post type name */
    102             'not_found_in_trash' => sprintf(__('No %s found in Trash', 'sign-up-sheets'), $plural),
     102            'not_found_in_trash' => sprintf(__('No %s found in Trash', 'fdsus'), $plural),
    103103            /* translators: %s is replaced with the singluar post type name */
    104             'parent_item_colon'  => sprintf(__('Parent %s Record:', 'sign-up-sheets'), $singular),
     104            'parent_item_colon'  => sprintf(__('Parent %s Record:', 'fdsus'), $singular),
    105105            'menu_name'          => $plural,
    106106        );
  • sign-up-sheets/trunk/controller/privacy.php

    r3233567 r3234219  
    1717    {
    1818        $this->fields = array(
    19             'dlssus_email'     => __('Email', 'sign-up-sheets'),
    20             'dlssus_firstname' => __('First Name', 'sign-up-sheets'),
    21             'dlssus_lastname'  => __('Last Name', 'sign-up-sheets'),
    22             'dlssus_phone'     => __('Phone', 'sign-up-sheets'),
    23             'dlssus_address'   => __('Address', 'sign-up-sheets'),
    24             'dlssus_city'      => __('City', 'sign-up-sheets'),
    25             'dlssus_state'     => __('State', 'sign-up-sheets'),
    26             'dlssus_zip'       => __('Zip', 'sign-up-sheets'),
     19            'dlssus_email'     => __('Email', 'fdsus'),
     20            'dlssus_firstname' => __('First Name', 'fdsus'),
     21            'dlssus_lastname'  => __('Last Name', 'fdsus'),
     22            'dlssus_phone'     => __('Phone', 'fdsus'),
     23            'dlssus_address'   => __('Address', 'fdsus'),
     24            'dlssus_city'      => __('City', 'fdsus'),
     25            'dlssus_state'     => __('State', 'fdsus'),
     26            'dlssus_zip'       => __('Zip', 'fdsus'),
    2727        );
    2828
     
    4242    {
    4343        $exporters['sign-up-sheets'] = array(
    44             'exporter_friendly_name' => __('Sign-up Sheets Plugin', 'sign-up-sheets'),
     44            'exporter_friendly_name' => __('Sign-up Sheets Plugin', 'fdsus'),
    4545            'callback'               => array(&$this, 'exportUserDataByEmail'),
    4646        );
     
    5858    {
    5959        $erasers['sign-up-sheets'] = array(
    60             'eraser_friendly_name' => __('Sign-up Sheets Plugin', 'sign-up-sheets'),
     60            'eraser_friendly_name' => __('Sign-up Sheets Plugin', 'fdsus'),
    6161            'callback'             => array(&$this, 'removeUserDataByEmail'),
    6262        );
     
    7979        $exportItems = array();
    8080
    81         $fields = array('ID' => __('Sign-up ID', 'sign-up-sheets')) + $this->fields;
     81        $fields = array('ID' => __('Sign-up ID', 'fdsus')) + $this->fields;
    8282
    8383        $signupCollection = new SignupCollection();
     
    9494            $itemId = SignupModel::POST_TYPE . '-' . $signup->ID;
    9595            $groupId = 'fdsus-signups';
    96             $groupLabel = __('Sign-ups', 'sign-up-sheets');
     96            $groupLabel = __('Sign-ups', 'fdsus');
    9797
    9898            foreach ($fields as $key => $name) {
  • sign-up-sheets/trunk/controller/scode/sign-up-form.php

    r3233567 r3234219  
    8282
    8383        if (empty($task_id)) {
    84             echo '<p>' . esc_html__('Task not found.', 'sign-up-sheets') . '</p>';
     84            echo '<p>' . esc_html__('Task not found.', 'fdsus') . '</p>';
    8585            return ob_get_clean();
    8686        }
     
    8888        $task = new TaskModel($task_id);
    8989        if (empty($task) || empty($task->post_parent)) {
    90             echo '<p>' . esc_html__('No Sign-up Form Found.', 'sign-up-sheets') . '</p>';
     90            echo '<p>' . esc_html__('No Sign-up Form Found.', 'fdsus') . '</p>';
    9191            return ob_get_clean();
    9292        }
     
    9494        $sheet = $task->getSheet();
    9595        if (empty($sheet)) {
    96             echo '<p>' . esc_html__('No Sign-up Sheet Found.', 'sign-up-sheets') . '</p>';
     96            echo '<p>' . esc_html__('No Sign-up Sheet Found.', 'fdsus') . '</p>';
    9797            return ob_get_clean();
    9898        }
     
    121121                    $date_display = null;
    122122                    if ($date = $task->getDate()) {
    123                         $date_display = ' ' . esc_html__('on', 'sign-up-sheets')
     123                        $date_display = ' ' . esc_html__('on', 'fdsus')
    124124                            . sprintf(' <em class="dls-sus-task-date">%s</em>',
    125125                                date(get_option('date_format'), strtotime($date))
     
    133133        } else { // no task checkbox
    134134            if ($date = $task->getDate()) {
    135                 $date_display = ' ' . esc_html__('on', 'sign-up-sheets')
     135                $date_display = ' ' . esc_html__('on', 'fdsus')
    136136                    . sprintf(
    137137                        ' <em class="dls-sus-task-date">%s</em>',
     
    178178        $states = new StatesModel;
    179179
    180         $submitButtonText = __('Sign me up!', 'sign-up-sheets');
     180        $submitButtonText = __('Sign me up!', 'fdsus');
    181181        /**
    182182         * Filter for submit button text on sign-up form
     
    235235            || !wp_verify_nonce($_POST['signup_nonce'], 'fdsus_signup_submit')
    236236        ) {
    237             Notice::add('error', esc_html__('Sign-up nonce not valid.', 'sign-up-sheets'), false, Id::PREFIX . '-signup-nonce-invalid');
     237            Notice::add('error', esc_html__('Sign-up nonce not valid.', 'fdsus'), false, Id::PREFIX . '-signup-nonce-invalid');
    238238            return false;
    239239        }
     
    248248            if (!$task->isValid()) {
    249249                Notice::add(
    250                     'error', esc_html__('Hmm... we could not find the task for this sign-up.', 'sign-up-sheets'),
     250                    'error', esc_html__('Hmm... we could not find the task for this sign-up.', 'fdsus'),
    251251                    true, 'fdsus-task-invalid'
    252252                );
     
    257257            if ($task->isExpired()) {
    258258                Notice::add(
    259                     'error', esc_html__('Sign-ups on this sheet can no longer be edited.', 'sign-up-sheets'),
     259                    'error', esc_html__('Sign-ups on this sheet can no longer be edited.', 'fdsus'),
    260260                    true, 'fdsus-sheet-expired'
    261261                );
     
    268268                if ($sheet->isExpired()) {
    269269                    Notice::add(
    270                         'error', esc_html__('Sign-ups on this task can no longer be edited.', 'sign-up-sheets'),
     270                        'error', esc_html__('Sign-ups on this task can no longer be edited.', 'fdsus'),
    271271                        true, 'fdsus-task-expired'
    272272                    );
     
    276276                if (!$sheet->dlssus_is_active) {
    277277                    Notice::add(
    278                         'error', esc_html__('Sign-ups are no longer being accepted for this sheet.', 'sign-up-sheets'),
     278                        'error', esc_html__('Sign-ups are no longer being accepted for this sheet.', 'fdsus'),
    279279                        true, 'fdsus-signup-sheet-inactive'
    280280                    );
     
    283283            } else if ($sheet->ID != $task->post_parent) {
    284284                Notice::add(
    285                     'error', esc_html__('Signing up for more than one sheet is not currently supported.', 'sign-up-sheets'),
     285                    'error', esc_html__('Signing up for more than one sheet is not currently supported.', 'fdsus'),
    286286                    true, 'fdsus-multiple-sheet-signups-not-support'
    287287                );
     
    291291            if (!$sheet->isValid()) {
    292292                Notice::add(
    293                     'error', esc_html__('Hmm... we could not find the sheet for this sign-up.', 'sign-up-sheets'),
     293                    'error', esc_html__('Hmm... we could not find the sheet for this sign-up.', 'fdsus'),
    294294                    true, 'fdsus-sheet-invalid'
    295295                );
     
    299299            if (!$task->dlssus_is_active) {
    300300                Notice::add(
    301                     'error', esc_html__('Sign-ups are no longer being accepted for this task.', 'sign-up-sheets'),
     301                    'error', esc_html__('Sign-ups are no longer being accepted for this task.', 'fdsus'),
    302302                    true, 'fdsus-signup-task-inactive'
    303303                );
     
    309309        if (empty($tasks)) {
    310310            Notice::add(
    311                 'error', esc_html__('No valid task was found for this sign-up.', 'sign-up-sheets'),
     311                'error', esc_html__('No valid task was found for this sign-up.', 'fdsus'),
    312312                true, 'fdsus-all-tasks-invalid'
    313313            );
     
    320320                'warn', sprintf(
    321321                    /* translators: %s is replaced with a comma separated list of all missing required fields */
    322                     esc_html__('Please complete the following required fields: %s', 'sign-up-sheets'),
     322                    esc_html__('Please complete the following required fields: %s', 'fdsus'),
    323323                    implode(', ', $missingFieldNames)
    324324                ), false, 'fdsus-missing-fields'
     
    327327        }
    328328
    329         if ($sheet->showEmail() && !empty($_POST['signup_email']) && Settings::isEmailValidationEnabled() && (!filter_var($_POST['signup_email'], FILTER_VALIDATE_EMAIL))) {
     329        if (Settings::isEmailValidationEnabled() && (!filter_var($_POST['signup_email'], FILTER_VALIDATE_EMAIL))) {
    330330            Notice::add(
    331                 'warn', esc_html__('Please check that your email address is properly formatted', 'sign-up-sheets'),
     331                'warn', esc_html__('Please check that your email address is properly formatted', 'fdsus'),
    332332                false, 'fdsus-invalid-email'
    333333            );
     
    335335        }
    336336
    337         if ($sheet->showEmail() && !empty($_POST['signup_email']) && Settings::isEmailValidationEnabled()
     337        if (Settings::isEmailValidationEnabled()
    338338            && !checkdnsrr(
    339339                substr($_POST['signup_email'], strpos($_POST['signup_email'], '@') + 1), 'MX'
     
    341341        ) {
    342342            Notice::add(
    343                 'warn', esc_html__('Whoops, it looks like your email domain may not be valid.', 'sign-up-sheets'),
     343                'warn', esc_html__('Whoops, it looks like your email domain may not be valid.', 'fdsus'),
    344344                false, 'fdsus-email-checkdnsrr'
    345345            );
     
    349349        if ($this->data->is_honeypot_enabled() && !empty($_POST['website'])) {
    350350            Notice::add(
    351                 'warn', esc_html__('Sorry, your submission has been blocked.', 'sign-up-sheets'),
     351                'warn', esc_html__('Sorry, your submission has been blocked.', 'fdsus'),
    352352                false, 'fdsus-signup-form-honeypot'
    353353            );
     
    446446                    );
    447447
    448                     if (!empty($_POST['signup_email']) && $sendSignupConfirmationEmail) {
     448                    if ($sendSignupConfirmationEmail) {
    449449                        $this->mail->send($_POST['signup_email'], $sheet, $task, $signupId, 'signup');
    450450                    }
  • sign-up-sheets/trunk/controller/scode/sign-up-sheet.php

    r3233567 r3234219  
    6868                array(
    6969                    'id'                     => false,
    70                     'list_title'             => esc_html__('Current Sign-up Sheets', 'sign-up-sheets'),
     70                    'list_title'             => esc_html__('Current Sign-up Sheets', 'fdsus'),
    7171                    'category_id'            => false, // Pro only - deprecated as of v2.1
    7272                    'category_slug'          => false, // Pro only - allows comma-separated string
     
    7979        $dbVersion = get_option('dls_sus_db_version');
    8080        if (strpos($dbVersion, '1.0') === 0 || strpos($dbVersion, '2.0') === 0) {
    81             Notice::add('info', esc_html__('No sheet found, please contact the webmaster.', 'sign-up-sheets'), true);
     81            Notice::add('info', esc_html__('No sheet found, please contact the webmaster.', 'fdsus'), true);
    8282        }
    8383
  • sign-up-sheets/trunk/controller/scode/user-sign-ups.php

    r3233567 r3234219  
    6969        $user = wp_get_current_user();
    7070        if (!$user->exists()) {
    71             Notice::add('info', esc_html__('You must be logged in to view your sign-ups.', 'sign-up-sheets'), true);
     71            Notice::add('info', esc_html__('You must be logged in to view your sign-ups.', 'fdsus'), true);
    7272            return apply_filters(Id::PREFIX . '_notices', null);
    7373        }
     
    127127            if ($sheet->showEmail()) {
    128128                $row['signup_additional']['email'] = array(
    129                     'label' => __('Email', 'sign-up-sheets'),
     129                    'label' => __('Email', 'fdsus'),
    130130                    'value' => $signup->dlssus_email,
    131131                );
     
    134134            if ($sheet->showPhone()) {
    135135                $row['signup_additional']['phone'] = array(
    136                     'label' => __('Phone', 'sign-up-sheets'),
     136                    'label' => __('Phone', 'fdsus'),
    137137                    'value' => $signup->dlssus_phone,
    138138                );
     
    141141            if ($sheet->showAddress()) {
    142142                $row['signup_additional']['phone'] = array(
    143                     'label' => __('Address', 'sign-up-sheets'),
     143                    'label' => __('Address', 'fdsus'),
    144144                    'value' => $signup->dlssus_address . ', ' . $signup->dlssus_city . ', ' . $signup->dlssus_state
    145145                        . ' ' . $signup->dlssus_zip,
  • sign-up-sheets/trunk/controller/sheet.php

    r3233567 r3234219  
    151151                                sprintf(
    152152                                    /* translators: %1$s is replaced with task name, %2$d is replaced with the current number of signups on that task, %3$s is replaced with "person" or "people" depending on the number of signups  */
    153                                     esc_html__('The number of spots for task "%1$s" cannot be set below %2$d because it currently has %2$d %3$s signed up. Please clear some spots first before updating this task.', 'sign-up-sheets'),
     153                                    esc_html__('The number of spots for task "%1$s" cannot be set below %2$d because it currently has %2$d %3$s signed up. Please clear some spots first before updating this task.', 'fdsus'),
    154154                                    esc_html($data['title']),
    155155                                    $signupCount,
     
    178178                                sprintf(
    179179                                    /* translators: %1$s is replaced with task name, %2$d is replaced with the current number of signups on that task, %3$s is replaced with "person" or "people" depending on the number of signups  */
    180                                     esc_html__('The task "%1$s" cannot be removed because it has %2$d %3$s signed up.  Please clear all spots first before removing this task.', 'sign-up-sheets'),
     180                                    esc_html__('The task "%1$s" cannot be removed because it has %2$d %3$s signed up.  Please clear all spots first before removing this task.', 'fdsus'),
    181181                                    $task->post_title,
    182182                                    $signupCount,
     
    330330    function modifyTheContent($content)
    331331    {
    332         if (post_password_required(get_the_ID())
    333             || !is_singular()
    334             || !is_main_query()
    335             || get_post_type() !== SheetModel::POST_TYPE
    336         ) {
    337             return $content;
    338         }
    339 
    340         // Before
    341         ob_start();
    342         fdsus_the_signup_form_response();
    343         if (dlssus_has_sheet_date() && empty($_GET['task_id'])): ?>
    344             <p class="dls-sus-sheet-date">
    345                 <?php esc_html_e('Date', 'sign-up-sheets'); ?>:
    346                 <?php echo dlssus_field('date'); ?>
    347             </p>
    348         <?php endif;
    349         $before = ob_get_clean();
    350 
    351         // After
    352         ob_start();
    353         dlssus_get_template_part('content');
    354         $after = ob_get_clean();
    355 
    356         // Hide normal sheet page content if displaying signup
    357         if (!empty($_GET['task_id'])) {
    358             $content = '';
    359         }
    360 
     332        $before = '';
     333        $after = '';
     334
     335        if (is_singular() && is_main_query() && get_post_type() === SheetModel::POST_TYPE) {
     336            // Before
     337            ob_start();
     338            fdsus_the_signup_form_response();
     339            if (dlssus_has_sheet_date() && empty($_GET['task_id'])): ?>
     340                <p class="dls-sus-sheet-date">
     341                    <?php esc_html_e('Date', 'fdsus'); ?>:
     342                    <?php echo dlssus_field('date'); ?>
     343                </p>
     344            <?php endif;
     345            $before = ob_get_clean();
     346
     347            // After
     348            ob_start();
     349            dlssus_get_template_part('content');
     350            $after = ob_get_clean();
     351
     352            // Hide normal sheet page content if displaying signup
     353            if (!empty($_GET['task_id'])) {
     354                $content = '';
     355            }
     356        }
    361357        return $before . $content . $after;
    362358    }
     
    422418                $successMsg = sprintf(
    423419                    /* translators: %s is replaced with the task title */
    424                     esc_html__('You have been signed up for %s!', 'sign-up-sheets'),
     420                    esc_html__('You have been signed up for %s!', 'fdsus'),
    425421                    '<em>' . wp_kses_post($task->post_title) . '</em>'
    426422                );
  • sign-up-sheets/trunk/controller/task-table.php

    r3233567 r3234219  
    5050        /**
    5151         * @var bool $showSignupLink
    52          * @var bool $emailSimplified
    5352         */
    5453        extract(shortcode_atts(array(
    5554            'showSignupLink' => false,
    56             'emailSimplified' => false,
    5755        ), $atts));
    5856        $this->config['showSignupLink'] = $showSignupLink;
    59         $this->config['emailSimplified'] = $emailSimplified;
    6057
    6158        $this->tasks = $this->sheet->getTasks();
    62         $this->table = new TaskTableModel($sheet, $this->config);
    63 
    64         $this->setVariables($atts);
     59        $this->table = new TaskTableModel($sheet);
    6560
    6661        parent::__construct();
     
    7065     * Set variables
    7166     */
    72     private function setVariables($excludedAtts = array())
    73     {
    74         $this->config['isFullCompact'] = $this->sheet->isFullCompact() && !is_admin() && !$this->config['emailSimplified'];
    75         $this->config['displayAll'] = Settings::isDisplayAllSignupDataEnabled() || is_admin() || $this->config['emailSimplified'];
     67    private function setVariables()
     68    {
     69        $this->config['isFullCompact'] = $this->sheet->isFullCompact() && !is_admin();
     70        $this->config['displayAll'] = Settings::isDisplayAllSignupDataEnabled() || is_admin();
    7671
    7772        /**
     
    115110        $out = '';
    116111        foreach ($this->table->rows as $row) {
    117             $out .= sprintf(
    118                 '<tr class="%s" %s>',
    119                 $row->class ? $row->class : '',
    120                 $this->config['emailSimplified'] ? 'valign="top" align="left"' : ''
    121             );
     112            $out .= sprintf('<tr class="%s">', $row->class ? $row->class : '');
    122113            foreach ($row->cells as $cell) {
    123114                $scope = '';
     
    150141        // Remaining empty spots
    151142        if ($this->config['displayAll'] && !$this->config['isFullCompact']) {
    152             $this->config['emptySignupColspan'] += 6;
    153             if ($this->sheet->showEmail()) {
    154                 $this->config['emptySignupColspan']++;
    155             }
     143            $this->config['emptySignupColspan'] += 7;
    156144            if ($this->sheet->showPhone()) {
    157145                $this->config['emptySignupColspan']++;
     
    192180        $this->table = apply_filters('fdsus_tasktable-table-header_data_after_task_title', $this->table, $this->sheet, $this->config);
    193181
    194         $this->table->addHeaderCell('name', esc_html__('Name', 'sign-up-sheets'));
     182        $this->table->addHeaderCell('name', esc_html__('Name', 'fdsus'));
    195183
    196184        if ($this->config['displayAll']) {
    197             if ($this->sheet->showEmail()) {
    198                 $this->table->addHeaderCell('email', esc_html__('E-mail', 'sign-up-sheets'));
    199             }
     185            $this->table->addHeaderCell('email', esc_html__('E-mail', 'fdsus'));
    200186            if ($this->sheet->showPhone()) {
    201                 $this->table->addHeaderCell('phone', esc_html__('Phone', 'sign-up-sheets'));
     187                $this->table->addHeaderCell('phone', esc_html__('Phone', 'fdsus'));
    202188            }
    203189            if ($this->sheet->showAddress()) {
    204                 $this->table->addHeaderCell('address', esc_html__('Address', 'sign-up-sheets'));
    205                 $this->table->addHeaderCell('city', esc_html__('City', 'sign-up-sheets'));
    206                 $this->table->addHeaderCell('state', esc_html__('State', 'sign-up-sheets'));
    207                 $this->table->addHeaderCell('zip', esc_html__('Zip', 'sign-up-sheets'));
     190                $this->table->addHeaderCell('address', esc_html__('Address', 'fdsus'));
     191                $this->table->addHeaderCell('city', esc_html__('City', 'fdsus'));
     192                $this->table->addHeaderCell('state', esc_html__('State', 'fdsus'));
     193                $this->table->addHeaderCell('zip', esc_html__('Zip', 'fdsus'));
    208194            }
    209195        }
     
    226212                    'clear-checkbox',
    227213                    '<label>
    228                         <span class="screen-reader-text">' . esc_html__('Select all spots to Clear', 'sign-up-sheets') . '</span>
     214                        <span class="sr-only">' . __('Select all spots to Clear', 'fdsus') . '</span>
    229215                        <input type="checkbox" value="" id="select-all-clear">
    230216                    </label>
    231                     <input name="multi_submit" type="submit" class="button" value="' . esc_html__('Clear Selected', 'sign-up-sheets') . '" onclick="return confirm(\'' . esc_html__('This will permanently remove all selected sign-ups for this sheet.', 'sign-up-sheets') . '\');">',
     217                    <input name="multi_submit" type="submit" class="button" value="' . esc_html__('Clear Selected', 'fdsus') . '" onclick="return confirm(\'' . esc_html__('This will permanently remove all selected sign-ups for this sheet.', 'fdsus') . '\');">',
    232218                    'fdsus-col-clear'
    233219                );
     
    298284
    299285            $signupIndex = 0;
    300             if (!$this->config['isFullCompact'] || $this->config['emailSimplified']) {
     286            if (!$this->config['isFullCompact']) {
    301287                if (!empty($signups) && is_array($signups)) {
    302288                    foreach ($signups AS $signup) {
     
    375361                            '<span class="dls-sus-spot-num">%s</span> <span>%s</span>',
    376362                            /* translators: %d is replaced with the spot number */
    377                             sprintf(esc_html__('#%d:', 'sign-up-sheets'), (int)$this->config['spotIndex']),
     363                            sprintf(esc_html__('#%d:', 'fdsus'), (int)$this->config['spotIndex']),
    378364                            $name
    379365                        );
     
    381367
    382368                        if ($this->config['displayAll']) {
    383                             if ($this->sheet->showEmail()) {
    384                                 $this->table->addRowCell('auto', 'email', esc_html($signup->dlssus_email));
    385                             }
     369                            $this->table->addRowCell('auto', 'email', esc_html($signup->dlssus_email));
    386370                            if ($this->sheet->showPhone()) {
    387371                                $this->table->addRowCell('auto', 'phone', esc_html($signup->dlssus_phone));
     
    424408                                <span class="delete">
    425409                                    <label>
    426                                         <span class="screen-reader-text">'
     410                                        <span class="sr-only">'
    427411                                            .  /* translators: %s is replaced with the index of the spot within the current task */
    428                                             sprintf(__('Select spot #%s to clear', 'sign-up-sheets'), (int)$this->config['spotIndex']) . '</span>
     412                                            sprintf(__('Select spot #%s to clear', 'fdsus'), (int)$this->config['spotIndex']) . '</span>
    429413                                        <input type="checkbox" name="clear[]" value="' . (int)$signup->ID . '" class="clear-checkbox">
    430414                                    </label>
     
    434418                                </span>
    435419                                <a href="' . esc_url(Settings::getAdminEditSignupPageUrl($signup->ID, $_GET['sheet_id'])) . '">
    436                                     <span class="screen-reader-text">' . esc_html__('Edit', 'sign-up-sheets') . '</span>
     420                                    <span class="sr-only">' . __('Edit', 'fdsus') . '</span>
    437421                                    <i class="dashicons dashicons-edit" aria-hidden="true"></i>
    438422                                </a>
     
    441425                                        id="fdsus-signup-metadata-control-' . (int)$signup->ID . '"
    442426                                        aria-controls="fdsus-signup-metadata-detail-' . (int)$signup->ID . '">
    443                                         <span class="screen-reader-text">' . esc_html__('Additional Details', 'sign-up-sheets') . '</span>
     427                                        <span class="sr-only">' . __('Additional Details', 'fdsus') . '</span>
    444428                                        <i class="dashicons dashicons-info" aria-hidden="true"></i>
    445429                                    </a>
     
    448432                                        aria-labelledby="fdsus-signup-metadata-control-' . (int)$signup->ID . '">
    449433                                        <ul class="fdsus-signup-metadata">
    450                                             <li>' . esc_html__('Added', 'sign-up-sheets') . ': %3$s</li>
    451                                             <li>' . esc_html__('Updated', 'sign-up-sheets') . ': %4$s</li>
    452                                             <li>' . esc_html__('Linked user', 'sign-up-sheets') . ':  %5$s</li>
     434                                            <li>' . __('Added', 'fdsus') . ': %3$s</li>
     435                                            <li>' . __('Updated', 'fdsus') . ': %4$s</li>
     436                                            <li>' . __('Linked user', 'fdsus') . ':  %5$s</li>
    453437                                        </ul>
    454438                                    </div>
    455439                                </div>
    456440                                ',
    457                                 esc_html__('Clear Spot Now', 'sign-up-sheets'),
    458                                 'onclick="return confirm(\'' . esc_html__('This will permanently remove this sign-up.', 'sign-up-sheets') . '\');"',
     441                                esc_html__('Clear Spot Now', 'fdsus'),
     442                                'onclick="return confirm(\'' . esc_html__('This will permanently remove this sign-up.', 'fdsus') . '\');"',
    459443                                date('Y-m-d ' . get_option('time_format'), strtotime($signup->post_date)),
    460444                                date('Y-m-d ' . get_option('time_format'), strtotime($signup->post_modified)),
     
    526510                        $signupLink = $task->getSignupLink();
    527511                    } else {
    528                         $signupLink = esc_html__('(empty)', 'sign-up-sheets');
     512                        $signupLink = esc_html__('(empty)', 'fdsus');
    529513                        if (is_admin()) {
    530514                            $signupLink .= '
    531515                                <a href="' . esc_url(Settings::getAdminEditSignupPageUrl($task->ID, $_GET['sheet_id'], 'add')) . '">
    532                                     <span class="screen-reader-text">' . esc_html__('Add Sign-up', 'sign-up-sheets') . '</span>
     516                                    <span class="sr-only">' . __('Add Sign-up', 'fdsus') . '</span>
    533517                                    <i class="dashicons dashicons-plus" aria-hidden="true"></i>
    534518                                </a>';
     
    536520                    }
    537521                    if ($this->sheet->isExpired() || $task->isExpired()) {
    538                         $signupLink .= esc_html__(' - sign-ups closed', 'sign-up-sheets');
     522                        $signupLink .= esc_html__(' - sign-ups closed', 'fdsus');
    539523                    }
    540524
     
    564548    /**
    565549     * Get display code for tasks table (back and front-end)
    566      *
    567      * @param bool $echo
    568      * @param bool $emailSimplified
    569      *
    570      * @return string|void
    571      */
    572     public function output($echo = true, $emailSimplified = false)
    573     {
    574         ob_start();
    575 
     550     */
     551    public function output()
     552    {
    576553        if (empty($this->tasks)) : ?>
    577             <p><?php esc_html_e('No tasks were found.', 'sign-up-sheets'); ?></p>
     554            <p><?php esc_html_e('No tasks were found.', 'fdsus'); ?></p>
    578555            <?php
    579             if ($echo) {
    580                 echo ob_get_clean();
    581                 return;
    582             }
    583             return ob_get_clean();
     556            return;
    584557        endif;
     558
     559        $this->setVariables();
    585560
    586561        // Header
     
    600575        // Build Table
    601576        ?>
    602         <?php if (!$emailSimplified) : ?><form action="<?php echo esc_url($formUrl); ?>" method="post" id="sus_form" class="fdsus-form"><?php endif; ?>
    603             <table class="dls-sus-tasks <?php echo is_admin() ? 'wp-list-table widefat' : null; ?>" <?php if ($emailSimplified) : ?>cellspacing="0" cellpadding="5" border="1"<?php endif; ?>>
     577        <form action="<?php echo esc_url($formUrl); ?>" method="post" id="sus_form" class="fdsus-form">
     578            <table class="dls-sus-tasks <?php echo is_admin() ? 'wp-list-table widefat' : null; ?>">
    604579                <thead><?php echo $header; ?></thead>
    605                 <?php if (!$emailSimplified) : ?><tfoot><?php echo $header; ?></tfoot><?php endif; ?>
     580                <tfoot><?php echo $header; ?></tfoot>
    606581                <tbody><?php echo $body; ?></tbody>
    607582            </table>
     
    611586             *
    612587             * @param SheetModel $sheet
    613              * @param array      $config
    614588             *
    615589             * @since 2.2
    616590             */
    617             do_action('fdsus_tasktable_after_table', $this->sheet, $this->config);
     591            do_action('fdsus_tasktable_after_table', $this->sheet);
    618592
    619593            wp_nonce_field('clear-multiple-signups', 'manage_signup_nonce', true, false);
    620594            ?>
    621         <?php if (!$emailSimplified) : ?></form><?php endif; ?>
     595        </form>
    622596        <?php
    623 
    624         if ($echo) {
    625             echo ob_get_clean();
    626             return;
    627         }
    628         return ob_get_clean();
    629597    }
    630598
  • sign-up-sheets/trunk/css/admin.css

    r3233567 r3234219  
    1 @font-face{font-family:"fdsus";src:url("font/fdsus/fonts/fdsus.ttf?jfroy1") format("truetype"),url("font/fdsus/fonts/fdsus.woff?jfroy1") format("woff"),url("font/fdsus/fonts/fdsus.svg?jfroy1#fdsus") format("svg");font-weight:normal;font-style:normal;font-display:block}[class^=fdsus-icon-],[class*=" fdsus-icon-"]{font-family:"fdsus" !important;speak:never;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fdsus-icon-cursor-move:before{content:""}.fdsus-icon-arrow-horizontal:before{content:""}.fdsus-icon-arrow-vertical:before{content:""}.fdsus-icon-cursor-move-two:before{content:""}.fdsus-icon-plus:before{content:""}.fdsus-icon-remove:before{content:""}.fdsus-icon-star:before{content:""}.fdsus-icon-checkbox:before{content:""}.fdsus-icon-clipboard-notes:before{content:""}.fdsus-icon-clipboard:before{content:""}.fdsus-icon-sus:before{content:""}.wp-list-table .fdsus-id-value{color:#50575e}.post-type-dlssus_sheet .fdsus-edit-quick-info{margin-bottom:1em;text-align:center}.post-type-dlssus_sheet .fdsus-edit-quick-info .quick-info-item{display:inline-block;margin:0 .6em .6em}.post-type-dlssus_sheet .fdsus-edit-quick-info .quick-info-id{display:block}.post-type-dlssus_sheet #dlssus_sheet-settings-meta .dls-sus-pro{font-size:.8em}.post-type-dlssus_sheet #dlssus_sheet-settings-meta .fdsus-pro-setting{padding:1%}.post-type-dlssus_sheet .dlsmb-main-label{margin-bottom:2px}@media screen and (min-width: 601px){#dlssus_sheet-settings-meta .inside{display:flex;flex-wrap:wrap;gap:3%}#dlssus_sheet-settings-meta .dlsmb-field{width:31.33%}#dlssus_sheet-settings-meta .dlsmb-field.fdsus-pro-setting{width:29.33%}#dlssus_sheet-settings-meta .dlsmb-field-col-6{width:48.5%}#dlssus_sheet-settings-meta .dlsmb-field-col-6.fdsus-pro-setting{width:46.5%}#dlssus_sheet-settings-meta .dlsmb-field-col-12{width:100%}#dlssus_sheet-settings-meta .dlsmb-field-col-12.fdsus-pro-setting{width:100%}#dlssus_sheet-settings-meta .dlsmb-field-type-checkboxes{display:flex;flex-wrap:wrap;gap:.6em}#dlssus_sheet-settings-meta .dlsmb-field-type-checkboxes .dlsmb-main-label{width:100%}}@media screen and (max-width: 600px){#dlssus_sheet-settings-meta .dlsmb-field-type-checkboxes label:not(.dlsmb-main-label){line-height:2.4}}.dlssus_sheet_page_fdsus-manage .page-title-action .dashicons{vertical-align:middle}.dlssus_sheet_page_fdsus-manage .fdsus-toggletip{display:inline-block;position:relative}.dlssus_sheet_page_fdsus-manage .fdsus-toggletip>a::after{content:"";font-family:"dashicons";vertical-align:middle;margin-left:-4px}.dlssus_sheet_page_fdsus-manage .fdsus-toggletip>a[aria-expanded=true]::after{content:""}.dlssus_sheet_page_fdsus-manage .fdsus-toggletip>a[aria-expanded=true] .dashicons{background:#fff;border:1px solid #c3c4c7;border-radius:2em 2em 0 0;border-bottom-color:#fff;margin-top:-1px;margin-left:-1px;position:relative;z-index:20}.dlssus_sheet_page_fdsus-manage .fdsus-toggletip div[role=region]{background:#fff;border:1px solid #c3c4c7;margin-top:-1px;min-width:13em;padding:1em;position:absolute;right:0;z-index:10}.dlssus_sheet_page_fdsus-manage .fdsus-signup-metadata{font-size:.8em;list-style-type:none;margin:0;padding:0}.dlssus_sheet_page_fdsus-manage .fdsus-signup-metadata li{margin:0;padding:0}.dlssus_sheet_page_fdsus-manage #select-all-clear{margin-right:.6em}.dlssus_sheet_page_fdsus-manage .button{vertical-align:middle}.fdsus-pro-setting{background-color:#ebf9f6;background:-o-repeating-linear-gradient(left, #ebf9f6, #ebf9f6 10px, #e0f5f0 10px, #e0f5f0 12px);background:repeating-linear-gradient(90deg, #ebf9f6, #ebf9f6 10px, #e0f5f0 10px, #e0f5f0 12px)}.fdsus-pro-setting th{padding-left:10px}.fdsus-pro-setting .dls-sus-pro{font-size:.8em}.dls_sus .dls-sus-settings .dls-sus-pro{font-size:.8em}.dls-sus-signup-form label{display:block}.dls-sus-signup-form label.dls-sus-inline-label{display:inline}.dls-sus-signup-form input[type=text],.dls-sus-signup-form input[type=email]{width:100%}.dls-sus-pro{background-color:#47c9af;color:#fff;font-size:.4em;font-weight:bold;padding:.2em .6em;-webkit-border-radius:1em;border-radius:1em}.dls-sus-repeater td{vertical-align:top}.dls-sus-repeater textarea{height:60px}.js .dls_sus .postbox H3{cursor:pointer}.dls_sus .postbox H3.hndle{padding:8px 12px;margin:0}.dls_sus form.dls-sus-settings{margin-top:1em}.dls-sus-system-info,.dls-sus-system-info[readonly=readonly]{width:100%;overflow:auto;background:#222;color:#bbb;padding:1em;white-space:pre;font-family:Menlo,Monaco,monospace}#dlssus_sheet-general-meta .dlsmb-field-key-datepicker-dlssus_date,#dlssus_sheet-general-meta .dlsmb-field-key-checkbox-dlssus_use_task_dates{display:inline-block;margin-right:1em}.dlssus_sheet-settings-meta .dlsmb-field LABEL.dlsmb-main-label{display:inline-block;width:30%;max-width:300px}#dlssus_sheet-general-meta .dlsmb-field-key-datepicker-dlssus_date,#dlssus_sheet-general-meta .dlsmb-field-key-checkbox-dlssus_use_task_dates{display:inline-block;margin-right:1em}.dlssus_sheet-settings-meta .dlsmb-field LABEL.dlsmb-main-label{display:inline-block;width:30%;max-width:300px}.dlssus_tasks-row .add-task-after,.dlssus_tasks-row .remove-task{display:inline-block;border:2px solid #fff;color:#fff;width:1.4em;height:1.4em;line-height:1.4em;text-align:center;text-decoration:none;-webkit-border-radius:999em;-moz-border-radius:999em;border-radius:999em}.dlssus_tasks-row .add-task-after{background-color:#6f9f44}.dlssus_tasks-row .remove-task{background-color:#bf212e}.dlsmb-repeater-dlssus_tasks-row .dlsmb-field-key-textarea-filled_spots .dlsmb-field-element{line-height:2;margin:0;padding:0 8px;vertical-align:middle}.dlsmb-field-key-textarea-dlssus_sheet_email_conf_message textarea{height:11.5em}.dlsmb-field-key-textarea-dlssus_sheet_email_message textarea{height:11.5em}.dls-sus-task-header-row .dashicons{width:auto;height:auto;line-height:1.6em}.dlsmb-field-type-hidden{display:none}@media only screen and (max-width: 760px){#dlssus_sheet-tasks-meta table,#dlssus_sheet-tasks-meta thead,#dlssus_sheet-tasks-meta tbody,#dlssus_sheet-tasks-meta td,#dlssus_sheet-tasks-meta tr.dlsmb-repeater-dlssus_tasks-row,#dlssus_sheet-tasks-meta th{display:block}#dlssus_sheet-tasks-meta tr.dlsmb-blank-repeater,#dlssus_sheet-tasks-meta thead tr{display:none}#dlssus_sheet-tasks-meta tr{margin:0 0 1rem 0}#dlssus_sheet-tasks-meta td{border:none;border-bottom:1px solid #eee;position:relative;padding-left:5%}#dlssus_sheet-tasks-meta td{border:0}#dlssus_sheet-tasks-meta td:nth-of-type(1){min-height:30px}#dlssus_sheet-tasks-meta tr.dlsmb-repeater-dlssus_tasks-row td .dlsmb-main-label-mobile{display:block !important;margin-bottom:10px;font-weight:bold}.dlsmb-field-type-repeater LABEL.dlsmb-main-label{display:block;font-weight:bold;margin-bottom:.6em}}.dlssus-email-test fieldset{background-color:#e2e2e2;padding:2em;max-width:40em}.dlssus-email-test fieldset input[type=email],.dlssus-email-test fieldset textarea{width:100%}.dlssus-email-test fieldset p:first-child{margin-right:2%}.dlssus-email-test fieldset p:first-child,.dlssus-email-test fieldset p:nth-child(2){margin-top:0;width:49%;float:left}.dlssus-email-test fieldset p:nth-child(2){margin-top:0}.dlssus-email-test fieldset p:nth-child(3){clear:both}.dlssus-email-test fieldset p:last-child{margin-bottom:0}.fdsus-footer{text-align:center}.fdsus-footer hr{margin:2em 0 1em}.fdsus-footer-getpro{display:inline-block;text-decoration:none;vertical-align:middle}.fdsus-footer-getpro::before{font-family:"fdsus";content:"";vertical-align:middle;margin:0 .5em;font-size:1.4em}.fdsus-footer-getpro span{text-decoration:underline}.post-type-dlssus_sheet #wpbody-content,.post-type-dlssus_task #wpbody-content,.post-type-dlssus_signup #wpbody-content{padding-bottom:7rem}#dashboard_right_now li.dlssus_sheet-count a:before{content:"";font-family:"fdsus"}/*# sourceMappingURL=admin.css.map */
     1@font-face{font-family:"fdsus";src:url("font/fdsus/fonts/fdsus.ttf?jfroy1") format("truetype"),url("font/fdsus/fonts/fdsus.woff?jfroy1") format("woff"),url("font/fdsus/fonts/fdsus.svg?jfroy1#fdsus") format("svg");font-weight:normal;font-style:normal;font-display:block}[class^=fdsus-icon-],[class*=" fdsus-icon-"]{font-family:"fdsus" !important;speak:never;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fdsus-icon-cursor-move:before{content:""}.fdsus-icon-arrow-horizontal:before{content:""}.fdsus-icon-arrow-vertical:before{content:""}.fdsus-icon-cursor-move-two:before{content:""}.fdsus-icon-plus:before{content:""}.fdsus-icon-remove:before{content:""}.fdsus-icon-star:before{content:""}.fdsus-icon-checkbox:before{content:""}.fdsus-icon-clipboard-notes:before{content:""}.fdsus-icon-clipboard:before{content:""}.fdsus-icon-sus:before{content:""}.wp-list-table .fdsus-id-value{color:#50575e}.post-type-dlssus_sheet .fdsus-edit-quick-info{margin-bottom:1em;text-align:center}.post-type-dlssus_sheet .fdsus-edit-quick-info .quick-info-item{display:inline-block;margin:0 .6em .6em}.post-type-dlssus_sheet .fdsus-edit-quick-info .quick-info-id{display:block}.post-type-dlssus_sheet #dlssus_sheet-settings-meta .dls-sus-pro{font-size:.8em}.post-type-dlssus_sheet #dlssus_sheet-settings-meta .fdsus-pro-setting{padding:1%}.post-type-dlssus_sheet .dlsmb-main-label{margin-bottom:2px}@media screen and (min-width: 601px){#dlssus_sheet-settings-meta .inside{display:flex;flex-wrap:wrap;gap:3%}#dlssus_sheet-settings-meta .dlsmb-field{width:31.33%}#dlssus_sheet-settings-meta .dlsmb-field.fdsus-pro-setting{width:29.33%}#dlssus_sheet-settings-meta .dlsmb-field-col-6{width:48.5%}#dlssus_sheet-settings-meta .dlsmb-field-col-6.fdsus-pro-setting{width:46.5%}#dlssus_sheet-settings-meta .dlsmb-field-col-12{width:100%}#dlssus_sheet-settings-meta .dlsmb-field-col-12.fdsus-pro-setting{width:100%}#dlssus_sheet-settings-meta .dlsmb-field-type-checkboxes{display:flex;flex-wrap:wrap;gap:.6em}#dlssus_sheet-settings-meta .dlsmb-field-type-checkboxes .dlsmb-main-label{width:100%}}@media screen and (max-width: 600px){#dlssus_sheet-settings-meta .dlsmb-field-type-checkboxes label:not(.dlsmb-main-label){line-height:2.4}}.dlssus_sheet_page_fdsus-manage .page-title-action .dashicons{vertical-align:middle}.dlssus_sheet_page_fdsus-manage .fdsus-toggletip{display:inline-block;position:relative}.dlssus_sheet_page_fdsus-manage .fdsus-toggletip>a::after{content:"";font-family:"dashicons";vertical-align:middle;margin-left:-4px}.dlssus_sheet_page_fdsus-manage .fdsus-toggletip>a[aria-expanded=true]::after{content:""}.dlssus_sheet_page_fdsus-manage .fdsus-toggletip>a[aria-expanded=true] .dashicons{background:#fff;border:1px solid #c3c4c7;border-radius:2em 2em 0 0;border-bottom-color:#fff;margin-top:-1px;margin-left:-1px;position:relative;z-index:20}.dlssus_sheet_page_fdsus-manage .fdsus-toggletip div[role=region]{background:#fff;border:1px solid #c3c4c7;margin-top:-1px;min-width:13em;padding:1em;position:absolute;right:0;z-index:10}.dlssus_sheet_page_fdsus-manage .fdsus-signup-metadata{font-size:.8em;list-style-type:none;margin:0;padding:0}.dlssus_sheet_page_fdsus-manage .fdsus-signup-metadata li{margin:0;padding:0}.dlssus_sheet_page_fdsus-manage #select-all-clear{margin-right:.6em}.dlssus_sheet_page_fdsus-manage .button{vertical-align:middle}.fdsus-pro-setting{background-color:#ebf9f6;background:-o-repeating-linear-gradient(left, #ebf9f6, #ebf9f6 10px, #e0f5f0 10px, #e0f5f0 12px);background:repeating-linear-gradient(90deg, #ebf9f6, #ebf9f6 10px, #e0f5f0 10px, #e0f5f0 12px)}.fdsus-pro-setting th{padding-left:10px}.fdsus-pro-setting .dls-sus-pro{font-size:.8em}.dls_sus .dls-sus-settings .dls-sus-pro{font-size:.8em}.dls-sus-signup-form label{display:block}.dls-sus-signup-form label.dls-sus-inline-label{display:inline}.dls-sus-signup-form input[type=text],.dls-sus-signup-form input[type=email]{width:100%}.dls_sus .sr-only:not(:focus):not(:active){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.dls_sus .dashicons-trash:before{color:#e22f2e}.dls_sus a:hover .dashicons-trash:before,.dls_sus a:focus .dashicons-trash:before{color:#ff5348}.dls_sus .fixed .column-task_num,.dls_sus .fixed .column-spot_num,.dls_sus .fixed .column-filled_spot_num{width:10%}.dls_sus .fixed .column-id{width:5%}.dls_sus .tasks{margin-bottom:3em}.dls_sus .tasks LI{background:rgba(0,0,0,0) url("../images/icon-drag-y.png") no-repeat scroll left center;padding-left:16px;min-height:20px}.dls_sus .tasks LI:hover{cursor:move}.dls_sus .tasks LI.ui-sortable-helper{cursor:move}.dls_sus .tasks .add-task-after,.dls_sus .tasks .remove-task{display:inline-block;border:2px solid #fff;color:#fff;width:1.4em;height:1.4em;line-height:1.4em;text-align:center;text-decoration:none;-webkit-border-radius:999em;-moz-border-radius:999em;border-radius:999em}.dls_sus .tasks .add-task-after{background-color:#6f9f44}.dls_sus .tasks .remove-task{background-color:#bf212e}.dls_sus .dls-sus-tasks tfoot .fdsus-col-clear *{display:none}.dls_sus .dls-sus-tasks .fdsus-col-clear input[type=checkbox]{margin-left:0}.dls-sus-tasks tbody th{vertical-align:top}.dls-sus-pro{background-color:#47c9af;color:#fff;font-size:.4em;font-weight:bold;padding:.2em .6em;-webkit-border-radius:1em;border-radius:1em}.dls-sus-repeater td{vertical-align:top}.dls-sus-repeater textarea{height:60px}.js .dls_sus .postbox H3{cursor:pointer}.dls_sus .postbox H3.hndle{padding:8px 12px;margin:0}.dls_sus form.dls-sus-settings{margin-top:1em}.dls-sus-system-info,.dls-sus-system-info[readonly=readonly]{width:100%;overflow:auto;background:#222;color:#bbb;padding:1em;white-space:pre;font-family:Menlo,Monaco,monospace}#dlssus_sheet-general-meta .dlsmb-field-key-datepicker-dlssus_date,#dlssus_sheet-general-meta .dlsmb-field-key-checkbox-dlssus_use_task_dates{display:inline-block;margin-right:1em}.dlssus_sheet-settings-meta .dlsmb-field LABEL.dlsmb-main-label{display:inline-block;width:30%;max-width:300px}#dlssus_sheet-general-meta .dlsmb-field-key-datepicker-dlssus_date,#dlssus_sheet-general-meta .dlsmb-field-key-checkbox-dlssus_use_task_dates{display:inline-block;margin-right:1em}.dlssus_sheet-settings-meta .dlsmb-field LABEL.dlsmb-main-label{display:inline-block;width:30%;max-width:300px}.dlssus_tasks-row .add-task-after,.dlssus_tasks-row .remove-task{display:inline-block;border:2px solid #fff;color:#fff;width:1.4em;height:1.4em;line-height:1.4em;text-align:center;text-decoration:none;-webkit-border-radius:999em;-moz-border-radius:999em;border-radius:999em}.dlssus_tasks-row .add-task-after{background-color:#6f9f44}.dlssus_tasks-row .remove-task{background-color:#bf212e}.dlsmb-repeater-dlssus_tasks-row .dlsmb-field-key-textarea-filled_spots .dlsmb-field-element{line-height:2;margin:0;padding:0 8px;vertical-align:middle}.dlsmb-field-key-textarea-dlssus_sheet_email_conf_message textarea{height:11.5em}.dlsmb-field-key-textarea-dlssus_sheet_email_message textarea{height:11.5em}.dls-sus-task-header-row .dashicons{width:auto;height:auto;line-height:1.6em}.dlsmb-field-type-hidden{display:none}@media only screen and (max-width: 760px){#dlssus_sheet-tasks-meta table,#dlssus_sheet-tasks-meta thead,#dlssus_sheet-tasks-meta tbody,#dlssus_sheet-tasks-meta td,#dlssus_sheet-tasks-meta tr.dlsmb-repeater-dlssus_tasks-row,#dlssus_sheet-tasks-meta th{display:block}#dlssus_sheet-tasks-meta tr.dlsmb-blank-repeater,#dlssus_sheet-tasks-meta thead tr{display:none}#dlssus_sheet-tasks-meta tr{margin:0 0 1rem 0}#dlssus_sheet-tasks-meta td{border:none;border-bottom:1px solid #eee;position:relative;padding-left:5%}#dlssus_sheet-tasks-meta td{border:0}#dlssus_sheet-tasks-meta td:nth-of-type(1){min-height:30px}#dlssus_sheet-tasks-meta tr.dlsmb-repeater-dlssus_tasks-row td .dlsmb-main-label-mobile{display:block !important;margin-bottom:10px;font-weight:bold}.dlsmb-field-type-repeater LABEL.dlsmb-main-label{display:block;font-weight:bold;margin-bottom:.6em}}.dlssus-email-test fieldset{background-color:#e2e2e2;padding:2em;max-width:40em}.dlssus-email-test fieldset input[type=email],.dlssus-email-test fieldset textarea{width:100%}.dlssus-email-test fieldset p:first-child{margin-right:2%}.dlssus-email-test fieldset p:first-child,.dlssus-email-test fieldset p:nth-child(2){margin-top:0;width:49%;float:left}.dlssus-email-test fieldset p:nth-child(2){margin-top:0}.dlssus-email-test fieldset p:nth-child(3){clear:both}.dlssus-email-test fieldset p:last-child{margin-bottom:0}.fdsus-footer{text-align:center}.fdsus-footer hr{margin:2em 0 1em}.fdsus-footer-getpro{display:inline-block;text-decoration:none;vertical-align:middle}.fdsus-footer-getpro::before{font-family:"fdsus";content:"";vertical-align:middle;margin:0 .5em;font-size:1.4em}.fdsus-footer-getpro span{text-decoration:underline}.post-type-dlssus_sheet #wpbody-content,.post-type-dlssus_task #wpbody-content,.post-type-dlssus_signup #wpbody-content{padding-bottom:7rem}#dashboard_right_now li.dlssus_sheet-count a:before{content:"";font-family:"fdsus"}/*# sourceMappingURL=admin.css.map */
  • sign-up-sheets/trunk/css/sass/admin.scss

    r3233567 r3234219  
    55@import "admin/settings-page";
    66@import "admin/signup-edit";
     7
     8.dls_sus {
     9    .sr-only:not(:focus):not(:active) {
     10        clip: rect(0 0 0 0);
     11        clip-path: inset(50%);
     12        height: 1px;
     13        overflow: hidden;
     14        position: absolute;
     15        white-space: nowrap;
     16        width: 1px;
     17    }
     18
     19    .dashicons-trash:before {
     20        color: #e22f2e;
     21    }
     22
     23    a:hover,
     24    a:focus {
     25        .dashicons-trash:before {
     26            color: #ff5348;
     27        }
     28    }
     29}
     30
     31.dls_sus .fixed .column-task_num,
     32.dls_sus .fixed .column-spot_num,
     33.dls_sus .fixed .column-filled_spot_num {
     34    width: 10%;
     35}
     36.dls_sus .fixed .column-id {
     37    width: 5%;
     38}
     39.dls_sus .tasks {
     40    margin-bottom: 3em;
     41}
     42.dls_sus .tasks LI {
     43    background: transparent url("../images/icon-drag-y.png") no-repeat scroll left center;
     44    padding-left: 16px;
     45    min-height: 20px;
     46}
     47.dls_sus .tasks LI:hover {
     48    cursor: move;
     49}
     50.dls_sus .tasks LI.ui-sortable-helper{
     51    cursor: move;
     52}
     53.dls_sus .tasks .add-task-after,
     54.dls_sus .tasks .remove-task {
     55    display: inline-block;
     56    border: 2px solid #fff;
     57    color: #fff;
     58    width: 1.4em;
     59    height: 1.4em;
     60    line-height: 1.4em;
     61    text-align: center;
     62    text-decoration: none;
     63    -webkit-border-radius: 999em;
     64    -moz-border-radius: 999em;
     65    border-radius: 999em;
     66}
     67.dls_sus .tasks .add-task-after {
     68    background-color: #6f9f44;
     69}
     70.dls_sus .tasks .remove-task {
     71    background-color: #bf212e;
     72}
     73
     74.dls_sus .dls-sus-tasks tfoot .fdsus-col-clear * {
     75    display: none;
     76}
     77
     78.dls_sus .dls-sus-tasks .fdsus-col-clear input[type=checkbox] {
     79   margin-left: 0;
     80}
     81
     82.dls-sus-tasks {
     83    tbody th {
     84        vertical-align: top;
     85    }
     86}
    787
    888.dls-sus-pro {
  • sign-up-sheets/trunk/css/sass/style/_common.scss

    r3233567 r3234219  
    11.dls-sus-sheets,
    22.dls-sus-sheet {
    3     .screen-reader-text:not(:focus):not(:active) {
     3    .sr-only:not(:focus):not(:active) {
    44        clip: rect(0 0 0 0);
    55        clip-path: inset(50%);
  • sign-up-sheets/trunk/css/style.css

    r3233567 r3234219  
    1 :root{--fdsus-filled--background: #eee;--fdsus-filled--color: #4f4f4f;--fdsus-expired--background: var(--fdsus-filled--background);--fdsus-expired--color: var(--fdsus-filled--color)}.dls-sus-sheets .screen-reader-text:not(:focus):not(:active),.dls-sus-sheet .screen-reader-text:not(:focus):not(:active){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.dls-sus-sheet .fdsus-form{overflow-x:auto}table.dls-sus-tasks,table.dls-sus-sheets,.fdsus-user-sign-ups-table{border-collapse:collapse}table.dls-sus-tasks td,table.dls-sus-tasks th,table.dls-sus-sheets td,table.dls-sus-sheets th,.fdsus-user-sign-ups-table td,.fdsus-user-sign-ups-table th{border-bottom:1px solid #ccc;padding:.2em .6em;text-align:left;vertical-align:top}table.dls-sus-sheets{width:100%}table.dls-sus-sheets tr.filled{background:var(--fdsus-filled--background);color:var(--fdsus-filled--color)}table.dls-sus-sheets .column-open_spots{text-align:center}table.dls-sus-sheets .column-open_spots{text-align:center}table.dls-sus-sheets .column-view_link a::after{display:inline-block;margin-left:.2em}@supports(content: "x"/"y"){table.dls-sus-sheets .column-view_link a::after{content:"»"/""}}@supports not (content: "x"/"y"){table.dls-sus-sheets .column-view_link a::after{content:"»";alt:""}}@media(min-width: 400px){table.dls-sus-sheets .column-view_link{white-space:nowrap}}table.dls-sus-tasks{border-bottom:1px solid #ccc}table.dls-sus-tasks td,table.dls-sus-tasks th{border-bottom:0}table.dls-sus-tasks tbody th{font-weight:normal}table.dls-sus-tasks .fdsus-task-first-row th,table.dls-sus-tasks .fdsus-task-first-row td{border-top:1px solid #ccc}table.dls-sus-tasks tfoot{display:none}table.dls-sus-tasks .dls-sus-task-expired th,table.dls-sus-tasks .dls-sus-task-expired td{background:#f2f2f2;color:#000}table.dls-sus-tasks .fdsus-name{font-style:italic}.fdsus-signup-availability{font-size:.8em}.fdsus-user-sign-ups-table dl{font-size:.8em}.fdsus-user-sign-ups-table dd{margin:0;display:inline}.fdsus-user-sign-ups-table dt{display:inline-block;margin:0 .4em 0 0}.fdsus-user-sign-ups-table dd:after{content:"\a";white-space:pre}.fdsus-user-sign-ups-table .dls-sus-task-expired th,.fdsus-user-sign-ups-table .dls-sus-task-expired td{background:var(--fdsus-expired--background);color:var(--fdsus-expired--color)}.fdsus-user-sign-ups-table .fdsus-task-date,.fdsus-user-sign-ups-table .fdsus-signups-closed{font-size:.8em}.fdsus-user-sign-ups-table .fdsus-actions{float:right}tr.dls-sus-row-header td{font-size:larger;font-weight:bolder}.dlsntc-notice{display:block;padding:0;background-color:#f2f2f2;color:#000;margin:1em auto}.dlsntc-notice svg{display:inline-block;vertical-align:middle;margin-right:.4em}.dlsntc-notice svg path{fill:#000}.dlsntc-notice p,.dlsntc-notice .dlsntc-message{border-bottom:1px solid #fff;margin:0;padding:.4em .8em}.dlsntc-notice .fdsus-receipt{border:1px dashed;padding:1em;margin:.4em 0}.dlsntc-notice .fdsus-receipt .fdsus-receipt-title{margin-top:0}.dlsntc-notice .fdsus-receipt .fdsus-receipt-signed-up-date{text-align:center;display:block;margin-top:1em;font-size:.9em}.dlsntc-notice .fdsus-receipt dl{margin:0}.dlsntc-notice .fdsus-receipt dd+dt,.dlsntc-notice .fdsus-receipt dt+dd{margin-top:0;margin-left:0}.dlsntc-notice .fdsus-receipt dt{float:left;clear:left;margin-right:.6em}.dlsntc-notice .fdsus-receipt dt:after{content:":"}.dlsntc-error{background-color:#ffbaba;color:#470004}.dlsntc-error svg path{fill:#470004}.dlsntc-warn{background-color:#feefb3;color:#523100}.dlsntc-warn svg path{fill:#523100}.dlsntc-info{background-color:#bde5f8;color:#002e57}.dlsntc-info svg path{fill:#223b07}.dlsntc-success{background-color:#dff2c0;color:#223b07}.dlsntc-success svg path{fill:#223b07}.dls-sus-signup-form p{margin:0 0 1em 0}.dls-sus-signup-form label{display:block}.dls-sus-signup-form input[type=text],.dls-sus-signup-form input[type=email],.dls-sus-signup-form input[type=date],.dls-sus-signup-form select{width:98%}.dls-sus-signup-form .dls-sus-city,.dls-sus-signup-form .dls-sus-state,.dls-sus-signup-form .dls-sus-zip{display:inline-block;vertical-align:top;margin-right:2%}.dls-sus-signup-form .dls-sus-city label,.dls-sus-signup-form .dls-sus-state label,.dls-sus-signup-form .dls-sus-zip label{white-space:nowrap}.dls-sus-signup-form .dls-sus-city{width:50%}.dls-sus-signup-form .dls-sus-state{width:20%}.dls-sus-signup-form .dls-sus-zip{width:22%;margin-right:0}.dls-sus-signup-form .dls-sus-remember label{display:inline}.dls-sus-signup-form label.dls-sus-inline-label{display:inline}.dls-sus-signup-form .dls-sus-note{font-style:italic;font-size:.8em;display:block}.dls-sus-signup-form #dls-sus-website{display:none}@media(max-width: 400px){.dls-sus-signup-form .dls-sus-state,.dls-sus-signup-form .dls-sus-zip{display:block;width:50%}}#dls-sus-mailcheck-suggestion{margin:0;padding:0}#dls-sus-mailcheck-suggestion::before{display:none}tr.dls-sus-header-row td{border-top:1px solid #ccc;font-size:larger;font-weight:bolder}.single-dlssus_sheet .pagination-single,.single-dlssus_sheet .post-meta-wrapper,.single-dlssus_sheet .post-meta{display:none}
     1:root{--fdsus-filled--background: #eee;--fdsus-filled--color: #4f4f4f;--fdsus-expired--background: var(--fdsus-filled--background);--fdsus-expired--color: var(--fdsus-filled--color)}.dls-sus-sheets .sr-only:not(:focus):not(:active),.dls-sus-sheet .sr-only:not(:focus):not(:active){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.dls-sus-sheet .fdsus-form{overflow-x:auto}table.dls-sus-tasks,table.dls-sus-sheets,.fdsus-user-sign-ups-table{border-collapse:collapse}table.dls-sus-tasks td,table.dls-sus-tasks th,table.dls-sus-sheets td,table.dls-sus-sheets th,.fdsus-user-sign-ups-table td,.fdsus-user-sign-ups-table th{border-bottom:1px solid #ccc;padding:.2em .6em;text-align:left;vertical-align:top}table.dls-sus-sheets{width:100%}table.dls-sus-sheets tr.filled{background:var(--fdsus-filled--background);color:var(--fdsus-filled--color)}table.dls-sus-sheets .column-open_spots{text-align:center}table.dls-sus-sheets .column-open_spots{text-align:center}table.dls-sus-sheets .column-view_link a::after{display:inline-block;margin-left:.2em}@supports(content: "x"/"y"){table.dls-sus-sheets .column-view_link a::after{content:"»"/""}}@supports not (content: "x"/"y"){table.dls-sus-sheets .column-view_link a::after{content:"»";alt:""}}@media(min-width: 400px){table.dls-sus-sheets .column-view_link{white-space:nowrap}}table.dls-sus-tasks{border-bottom:1px solid #ccc}table.dls-sus-tasks td,table.dls-sus-tasks th{border-bottom:0}table.dls-sus-tasks tbody th{font-weight:normal}table.dls-sus-tasks .fdsus-task-first-row th,table.dls-sus-tasks .fdsus-task-first-row td{border-top:1px solid #ccc}table.dls-sus-tasks tfoot{display:none}table.dls-sus-tasks .dls-sus-task-expired th,table.dls-sus-tasks .dls-sus-task-expired td{background:#f2f2f2;color:#000}table.dls-sus-tasks .fdsus-name{font-style:italic}.fdsus-signup-availability{font-size:.8em}.fdsus-user-sign-ups-table dl{font-size:.8em}.fdsus-user-sign-ups-table dd{margin:0;display:inline}.fdsus-user-sign-ups-table dt{display:inline-block;margin:0 .4em 0 0}.fdsus-user-sign-ups-table dd:after{content:"\a";white-space:pre}.fdsus-user-sign-ups-table .dls-sus-task-expired th,.fdsus-user-sign-ups-table .dls-sus-task-expired td{background:var(--fdsus-expired--background);color:var(--fdsus-expired--color)}.fdsus-user-sign-ups-table .fdsus-task-date,.fdsus-user-sign-ups-table .fdsus-signups-closed{font-size:.8em}.fdsus-user-sign-ups-table .fdsus-actions{float:right}tr.dls-sus-row-header td{font-size:larger;font-weight:bolder}.dlsntc-notice{display:block;padding:0;background-color:#f2f2f2;color:#000;margin:1em auto}.dlsntc-notice svg{display:inline-block;vertical-align:middle;margin-right:.4em}.dlsntc-notice svg path{fill:#000}.dlsntc-notice p,.dlsntc-notice .dlsntc-message{border-bottom:1px solid #fff;margin:0;padding:.4em .8em}.dlsntc-notice .fdsus-receipt{border:1px dashed;padding:1em;margin:.4em 0}.dlsntc-notice .fdsus-receipt .fdsus-receipt-title{margin-top:0}.dlsntc-notice .fdsus-receipt .fdsus-receipt-signed-up-date{text-align:center;display:block;margin-top:1em;font-size:.9em}.dlsntc-notice .fdsus-receipt dl{margin:0}.dlsntc-notice .fdsus-receipt dd+dt,.dlsntc-notice .fdsus-receipt dt+dd{margin-top:0;margin-left:0}.dlsntc-notice .fdsus-receipt dt{float:left;clear:left;margin-right:.6em}.dlsntc-notice .fdsus-receipt dt:after{content:":"}.dlsntc-error{background-color:#ffbaba;color:#470004}.dlsntc-error svg path{fill:#470004}.dlsntc-warn{background-color:#feefb3;color:#523100}.dlsntc-warn svg path{fill:#523100}.dlsntc-info{background-color:#bde5f8;color:#002e57}.dlsntc-info svg path{fill:#223b07}.dlsntc-success{background-color:#dff2c0;color:#223b07}.dlsntc-success svg path{fill:#223b07}.dls-sus-signup-form p{margin:0 0 1em 0}.dls-sus-signup-form label{display:block}.dls-sus-signup-form input[type=text],.dls-sus-signup-form input[type=email],.dls-sus-signup-form input[type=date],.dls-sus-signup-form select{width:98%}.dls-sus-signup-form .dls-sus-city,.dls-sus-signup-form .dls-sus-state,.dls-sus-signup-form .dls-sus-zip{display:inline-block;vertical-align:top;margin-right:2%}.dls-sus-signup-form .dls-sus-city label,.dls-sus-signup-form .dls-sus-state label,.dls-sus-signup-form .dls-sus-zip label{white-space:nowrap}.dls-sus-signup-form .dls-sus-city{width:50%}.dls-sus-signup-form .dls-sus-state{width:20%}.dls-sus-signup-form .dls-sus-zip{width:22%;margin-right:0}.dls-sus-signup-form .dls-sus-remember label{display:inline}.dls-sus-signup-form label.dls-sus-inline-label{display:inline}.dls-sus-signup-form .dls-sus-note{font-style:italic;font-size:.8em;display:block}.dls-sus-signup-form #dls-sus-website{display:none}@media(max-width: 400px){.dls-sus-signup-form .dls-sus-state,.dls-sus-signup-form .dls-sus-zip{display:block;width:50%}}#dls-sus-mailcheck-suggestion{margin:0;padding:0}#dls-sus-mailcheck-suggestion::before{display:none}.fdsus-removal-link a,.fdsus-edit-link a{margin-left:.4em}.fdsus-removal-link a svg,.fdsus-edit-link a svg{display:inline-block;fill:currentColor;margin-bottom:-0.15em}tr.dls-sus-header-row td{border-top:1px solid #ccc;font-size:larger;font-weight:bolder}.single-dlssus_sheet .pagination-single,.single-dlssus_sheet .post-meta-wrapper,.single-dlssus_sheet .post-meta{display:none}
  • sign-up-sheets/trunk/id.php

    r3233567 r3234219  
    22
    33namespace FDSUS;
    4 
    5 use function is_plugin_active;
    6 
    7 if (!function_exists('is_plugin_active')) {
    8     require_once(ABSPATH . 'wp-admin/includes/plugin.php');
    9 }
    104
    115if (!class_exists('\\' . __NAMESPACE__ . '\Id')):
     
    137    class Id
    148    {
     9
    1510        const PREFIX = 'dlssus';
    1611        const NAME = 'Sign-up Sheets - WordPress Plugin';
     
    3126         * Get version from main PHP file `Version:` comment header
    3227         *
    33          * @param string $type 'pro', 'free' (not fallback) or '' for the current type
    34          *
    3528         * @return string version number
    3629         */
    37         public static function version($type = '')
     30        public static function version()
    3831        {
    3932            if (!function_exists('get_plugin_data')) {
    40                 require_once(ABSPATH . 'wp-admin' . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'plugin.php');
     33                require_once(ABSPATH . 'wp-admin' . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR
     34                    . 'plugin.php');
    4135            }
    4236
    43             switch ($type) {
    44                 case 'pro':
    45                     $pluginBasename = self::PRO_PLUGIN_BASENAME;
    46                     break;
    47                 case 'free':
    48                     $pluginBasename = self::FREE_PLUGIN_BASENAME;
    49                     break;
    50                 default:
    51                     $pluginBasename = self::isPro() ? self::PRO_PLUGIN_BASENAME : self::FREE_PLUGIN_BASENAME;
    52             }
    53 
    54             if (!file_exists(WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . $pluginBasename)) {
    55                 return '';
    56             }
    57 
    58             $pluginData = get_plugin_data(WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . $pluginBasename, false, false);
     37            $baseName = self::isPro() ? self::PRO_PLUGIN_BASENAME : self::FREE_PLUGIN_BASENAME;
     38            $pluginData = get_plugin_data(WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . $baseName, false);
    5939
    6040            return $pluginData && $pluginData['Version'] ? $pluginData['Version'] : '';
     
    6444         * Log
    6545         *
    66          * @param string      $msg
     46         * @param string $msg
    6747         * @param string|null $filename
    68          * @param string      $emailSubject Leave blank to prevent email from sending
     48         * @param string $emailSubject Leave blank to prevent email from sending
    6949         */
    7050        public static function log($msg, $filename = null, $emailSubject = '')
     
    167147        public static function getPluginPath()
    168148        {
    169             return dirname(__FILE__) . DIRECTORY_SEPARATOR;
     149            return dirname(__FILE__) . '/';
    170150        }
    171151
     
    175155        public static function isPro()
    176156        {
    177             if (self::isProActivating()) {
    178                 return true;
    179             }
    180 
    181             return is_plugin_active(self::PRO_PLUGIN_BASENAME);
     157            return is_file(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'pro.php');
    182158        }
    183159
    184         /**
    185          * Is the pro version currently activating?
    186          *
    187          * @return bool
    188          */
    189         public static function isProActivating()
    190         {
    191             if (!empty($_GET['action']) && $_GET['action'] === 'activate'
    192                 && !empty($_GET['plugin'])
    193                 && $_GET['plugin'] === Id::PRO_PLUGIN_BASENAME
    194             ) {
    195                 return true;
    196             }
    197 
    198             return false;
    199         }
    200160    }
    201161
  • sign-up-sheets/trunk/js/dist/main.js

    r3233567 r3234219  
    3737                    // Standard general format check
    3838                    function fdsusValidateEmail(email) {
    39                         if (email === '') return true;
    4039                        const re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
    4140                        return re.test(String(email).toLowerCase());
  • sign-up-sheets/trunk/js/dist/main.min.js

    r3233567 r3234219  
    11/*! main.min.js file */
    2 function fdsusExistsInQueryString(e,t){return new RegExp("[?&]"+e).test(t)}function fdsusRemoveUrlParam(t,e){let s=e.split("?")[0],i=[],n=-1!==e.indexOf("?")?e.split("?")[1]:"";if(""!==n){for(let e=(i=n.split("&")).length-1;0<=e;--e)i[e].split("=")[0]===t&&i.splice(e,1);i.length&&(s=s+"?"+i.join("&"))}return s}function fdsusIsValidDate(e){var t,s;return!(!e.match(/^\d{4}-\d{2}-\d{2}$/)||!(s=(t=new Date(e)).getTime())&&0!==s||t.toISOString().slice(0,10)!==e)}function fdsusSignupFormSubmit(e){document.getElementById("fdsus-signup-form").submit()}jQuery(document).ready(function(t){t.extend({getUrlVars:function(){for(var e,t=[],s=window.location.href.split("#")[0].slice(window.location.href.indexOf("?")+1).split("&"),i=0;i<s.length;i++)e=s[i].split("="),t.push(e[0]),t[e[0]]=e[1];return t},getUrlVar:function(e){return t.getUrlVars()[e]}}),FDSUS.dlssus_validate_email.disable||t(".dls-sus-signup-form #signup_email").on("blur",function(e){let s='<div role="alertdialog" class="dlsntc-notice dlsntc-warn"><p class="dlsntc-message"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" focusable="false" width="1em" height="1em" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><title>Warning</title><path d="M22.56 16.3L14.89 3.58a3.43 3.43 0 0 0-5.78 0L1.44 16.3a3 3 0 0 0-.05 3A3.37 3.37 0 0 0 4.33 21h15.34a3.37 3.37 0 0 0 2.94-1.66a3 3 0 0 0-.05-3.04zM12 17a1 1 0 1 1 1-1a1 1 0 0 1-1 1zm1-4a1 1 0 0 1-2 0V9a1 1 0 0 1 2 0z"/></svg> ',i="</p></div>",n=t(".dls-sus-signup-form #dls-sus-mailcheck-suggestion");t(this).mailcheck({suggested:function(e,t){n.html(s+"Did you mean <b><i>"+t.full+"</b></i>?"+i)},empty:function(e){var t;n.html(""),""===(t=document.getElementById("signup_email").value)||/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(t).toLowerCase())?n.html(""):n.html(s+"Please make sure your email is valid"+i)}})}),t(".dls-sus-signup-form input[type=date]").on("blur",function(e){t(".fdsus-date-check").remove(),t(this).val()&&!fdsusIsValidDate(t(this).val())&&t(this).after('<div role="alertdialog" class="dlsntc-notice dlsntc-warn fdsus-date-check"><p class="dlsntc-message"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" focusable="false" width="1em" height="1em" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><title>Warning</title><path d="M22.56 16.3L14.89 3.58a3.43 3.43 0 0 0-5.78 0L1.44 16.3a3 3 0 0 0-.05 3A3.37 3.37 0 0 0 4.33 21h15.34a3.37 3.37 0 0 0 2.94-1.66a3 3 0 0 0-.05-3.04zM12 17a1 1 0 1 1 1-1a1 1 0 0 1-1 1zm1-4a1 1 0 0 1-2 0V9a1 1 0 0 1 2 0z"/></svg> Please make sure date is in <strong>YYYY-MM-DD</strong> format</p></div>')})}),document.addEventListener("DOMContentLoaded",function(){let n=document.getElementById("fdsus-signup-form");if(null!==n){let i=!1;n.addEventListener("submit",e=>{let t=n.querySelector("[type=submit]");var s;i||(i=!0,t.disabled=!0,setTimeout(()=>{i=!1,t.disabled=!1},3e3)),"v2-checkbox"===FDSUS.dls_sus_recaptcha_version&&null!==(s=document.querySelector("#fdsus-signup-form #g-recaptcha-response"))&&""===s.value&&(e.preventDefault(),alert("Please check the reCAPTCHA to submit the form."))})}var t=window.location.toString();if(0<t.indexOf("?")){let e=t;(fdsusExistsInQueryString("action=removed",e)||fdsusExistsInQueryString("action=signup",e)||fdsusExistsInQueryString("action=updated",e))&&fdsusExistsInQueryString("status=success",e)&&(e=fdsusRemoveUrlParam("action",e),e=fdsusRemoveUrlParam("status",e)),e!==t&&window.history.replaceState({},document.title,e)}},!1);
     2function fdsusExistsInQueryString(e,t){return new RegExp("[?&]"+e).test(t)}function fdsusRemoveUrlParam(t,e){let s=e.split("?")[0],i=[],n=-1!==e.indexOf("?")?e.split("?")[1]:"";if(""!==n){for(let e=(i=n.split("&")).length-1;0<=e;--e)i[e].split("=")[0]===t&&i.splice(e,1);i.length&&(s=s+"?"+i.join("&"))}return s}function fdsusIsValidDate(e){var t,s;return!(!e.match(/^\d{4}-\d{2}-\d{2}$/)||!(s=(t=new Date(e)).getTime())&&0!==s||t.toISOString().slice(0,10)!==e)}function fdsusSignupFormSubmit(e){document.getElementById("fdsus-signup-form").submit()}jQuery(document).ready(function(t){t.extend({getUrlVars:function(){for(var e,t=[],s=window.location.href.split("#")[0].slice(window.location.href.indexOf("?")+1).split("&"),i=0;i<s.length;i++)e=s[i].split("="),t.push(e[0]),t[e[0]]=e[1];return t},getUrlVar:function(e){return t.getUrlVars()[e]}}),FDSUS.dlssus_validate_email.disable||t(".dls-sus-signup-form #signup_email").on("blur",function(e){let s='<div role="alertdialog" class="dlsntc-notice dlsntc-warn"><p class="dlsntc-message"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" focusable="false" width="1em" height="1em" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><title>Warning</title><path d="M22.56 16.3L14.89 3.58a3.43 3.43 0 0 0-5.78 0L1.44 16.3a3 3 0 0 0-.05 3A3.37 3.37 0 0 0 4.33 21h15.34a3.37 3.37 0 0 0 2.94-1.66a3 3 0 0 0-.05-3.04zM12 17a1 1 0 1 1 1-1a1 1 0 0 1-1 1zm1-4a1 1 0 0 1-2 0V9a1 1 0 0 1 2 0z"/></svg> ',i="</p></div>",n=t(".dls-sus-signup-form #dls-sus-mailcheck-suggestion");t(this).mailcheck({suggested:function(e,t){n.html(s+"Did you mean <b><i>"+t.full+"</b></i>?"+i)},empty:function(e){var t;n.html(""),t=document.getElementById("signup_email").value,/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(t).toLowerCase())?n.html(""):n.html(s+"Please make sure your email is valid"+i)}})}),t(".dls-sus-signup-form input[type=date]").on("blur",function(e){t(".fdsus-date-check").remove(),t(this).val()&&!fdsusIsValidDate(t(this).val())&&t(this).after('<div role="alertdialog" class="dlsntc-notice dlsntc-warn fdsus-date-check"><p class="dlsntc-message"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" focusable="false" width="1em" height="1em" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><title>Warning</title><path d="M22.56 16.3L14.89 3.58a3.43 3.43 0 0 0-5.78 0L1.44 16.3a3 3 0 0 0-.05 3A3.37 3.37 0 0 0 4.33 21h15.34a3.37 3.37 0 0 0 2.94-1.66a3 3 0 0 0-.05-3.04zM12 17a1 1 0 1 1 1-1a1 1 0 0 1-1 1zm1-4a1 1 0 0 1-2 0V9a1 1 0 0 1 2 0z"/></svg> Please make sure date is in <strong>YYYY-MM-DD</strong> format</p></div>')})}),document.addEventListener("DOMContentLoaded",function(){let n=document.getElementById("fdsus-signup-form");if(null!==n){let i=!1;n.addEventListener("submit",e=>{let t=n.querySelector("[type=submit]");var s;i||(i=!0,t.disabled=!0,setTimeout(()=>{i=!1,t.disabled=!1},3e3)),"v2-checkbox"===FDSUS.dls_sus_recaptcha_version&&null!==(s=document.querySelector("#fdsus-signup-form #g-recaptcha-response"))&&""===s.value&&(e.preventDefault(),alert("Please check the reCAPTCHA to submit the form."))})}var t=window.location.toString();if(0<t.indexOf("?")){let e=t;(fdsusExistsInQueryString("action=removed",e)||fdsusExistsInQueryString("action=signup",e)||fdsusExistsInQueryString("action=updated",e))&&fdsusExistsInQueryString("status=success",e)&&(e=fdsusRemoveUrlParam("action",e),e=fdsusRemoveUrlParam("status",e)),e!==t&&window.history.replaceState({},document.title,e)}},!1);
  • sign-up-sheets/trunk/js/src/main.js

    r3233567 r3234219  
    3737                    // Standard general format check
    3838                    function fdsusValidateEmail(email) {
    39                         if (email === '') return true;
    4039                        const re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
    4140                        return re.test(String(email).toLowerCase());
  • sign-up-sheets/trunk/languages/sign-up-sheets.pot

    r3233567 r3234219  
    1 # Copyright (C) 2025 Fetch Designs
     1# Copyright (C) 2024 Fetch Designs
    22# This file is distributed under the GPL2.
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Sign-up Sheets 2.3.0\n"
     5"Project-Id-Version: Sign-up Sheets 2.2.14\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/sign-up-sheets\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-02-02T21:36:59+00:00\n"
     12"POT-Creation-Date: 2024-10-08T02:01:29+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    14 "X-Generator: WP-CLI 2.11.0\n"
    15 "X-Domain: sign-up-sheets\n"
     14"X-Generator: WP-CLI 2.6.0\n"
     15"X-Domain: fdsus\n"
    1616
    1717#. Plugin Name of the plugin
    18 #: sign-up-sheets.php
    1918#: controller/admin/help.php:64
    2019#: controller/admin/settings.php:71
    2120#: controller/admin/site-health.php:50
    22 #: model/sheet-base.php:211
     21#: model/sheet-base.php:210
    2322msgid "Sign-up Sheets"
    2423msgstr ""
    2524
    2625#. Plugin URI of the plugin
    27 #: sign-up-sheets.php
    2826msgid "https://www.fetchdesigns.com/sign-up-sheets-wordpress-plugin/"
    2927msgstr ""
    3028
    3129#. Description of the plugin
    32 #: sign-up-sheets.php
    3330msgid "An online sign-up sheet manager where your users/volunteers can sign up for tasks"
    3431msgstr ""
    3532
    3633#. Author of the plugin
    37 #: sign-up-sheets.php
    3834msgid "Fetch Designs"
    3935msgstr ""
    4036
    4137#. Author URI of the plugin
    42 #: sign-up-sheets.php
    4338msgid "https://www.fetchdesigns.com/"
    4439msgstr ""
     
    8378msgstr ""
    8479
    85 #: controller/admin.php:298
     80#: controller/admin.php:294
    8681msgid "ID"
    8782msgstr ""
    8883
    89 #: controller/admin.php:307
     84#: controller/admin.php:303
    9085#: controller/admin/manage-signups.php:38
    9186#: controller/admin/manage-signups.php:39
     
    9590msgstr ""
    9691
    97 #: controller/admin.php:326
     92#: controller/admin.php:322
    9893msgid "Copy"
    9994msgstr ""
    10095
    101 #: controller/admin.php:376
     96#: controller/admin.php:372
    10297msgid "Made by"
    10398msgstr ""
    10499
     100#: controller/admin.php:375
     101msgid "Get Pro"
     102msgstr ""
     103
    105104#: controller/admin.php:379
    106 msgid "Get Pro"
    107 msgstr ""
    108 
    109 #: controller/admin.php:383
    110105msgid "Need help? Get Support &raquo;"
    111106msgstr ""
    112107
    113 #: controller/admin.php:402
     108#: controller/admin.php:398
    114109#: controller/admin/settings.php:52
    115110#: controller/admin/settings.php:73
     
    150145
    151146#: controller/admin/edit-signup-page.php:89
    152 #: controller/task-table.php:532
     147#: controller/task-table.php:516
    153148msgid "Add Sign-up"
    154149msgstr ""
     
    165160#: controller/admin/manage-signups.php:78
    166161#: controller/mail.php:174
    167 #: controller/sheet.php:345
     162#: controller/sheet.php:341
    168163#: model/meta-boxes.php:42
    169164#: theme-files/fdsus/sheet-list.php:35
     
    179174
    180175#: controller/admin/edit-signup-page.php:143
    181 #: model/task-base.php:92
     176#: model/task-base.php:94
    182177msgid "Task"
    183178msgstr ""
     
    273268#: controller/privacy.php:23
    274269#: controller/scode/user-sign-ups.php:143
    275 #: controller/task-table.php:204
    276 #: model/signup.php:529
    277 #: theme-files/fdsus/sign-up-form.php:87
     270#: controller/task-table.php:190
     271#: model/signup.php:530
     272#: theme-files/fdsus/sign-up-form.php:85
    278273msgid "Address"
    279274msgstr ""
     
    281276#: controller/admin/export.php:303
    282277#: controller/privacy.php:24
    283 #: controller/task-table.php:205
    284 #: theme-files/fdsus/sign-up-form.php:99
     278#: controller/task-table.php:191
     279#: theme-files/fdsus/sign-up-form.php:97
    285280msgid "City"
    286281msgstr ""
     
    288283#: controller/admin/export.php:304
    289284#: controller/privacy.php:25
    290 #: controller/task-table.php:206
    291 #: theme-files/fdsus/sign-up-form.php:111
     285#: controller/task-table.php:192
     286#: theme-files/fdsus/sign-up-form.php:109
    292287msgid "State"
    293288msgstr ""
     
    295290#: controller/admin/export.php:305
    296291#: controller/privacy.php:26
    297 #: controller/task-table.php:207
    298 #: theme-files/fdsus/sign-up-form.php:128
     292#: controller/task-table.php:193
     293#: theme-files/fdsus/sign-up-form.php:126
    299294msgid "Zip"
    300295msgstr ""
     
    372367
    373368#: controller/admin/help.php:187
    374 #: model/settings-meta-boxes.php:396
    375 #: model/settings-meta-boxes.php:437
    376 #: model/settings-meta-boxes.php:515
     369#: model/settings-meta-boxes.php:390
     370#: model/settings-meta-boxes.php:431
     371#: model/settings-meta-boxes.php:509
    377372msgid "Message"
    378373msgstr ""
     
    413408#: controller/admin/manage-signups.php:87
    414409#: controller/privacy.php:96
    415 #: model/signup.php:103
     410#: model/signup.php:105
    416411msgid "Sign-ups"
    417412msgstr ""
     
    503498msgstr ""
    504499
    505 #: controller/captcha.php:65
    506 msgid "Math Question"
    507 msgstr ""
    508 
    509 #: controller/captcha.php:97
     500#: controller/captcha.php:73
    510501msgid "Please check that the reCAPTCHA field is valid."
    511502msgstr ""
    512503
    513504#. translators: %s is replaced with the users response to the simple captcha
    514 #: controller/captcha.php:107
     505#: controller/captcha.php:83
    515506msgid "Oh dear, 7 + 1 does not equal %s. Please try again."
    516507msgstr ""
     
    541532#: controller/migrate.php:645
    542533#: model/meta-boxes.php:26
    543 #: model/meta-boxes.php:169
     534#: model/meta-boxes.php:162
    544535msgid "Global"
    545536msgstr ""
    546537
    547538#: controller/migrate.php:646
    548 #: model/meta-boxes.php:170
     539#: model/meta-boxes.php:163
    549540#: model/settings-meta-boxes.php:138
    550541msgid "Disabled"
     
    552543
    553544#: controller/migrate.php:647
    554 #: model/meta-boxes.php:171
     545#: model/meta-boxes.php:164
    555546#: model/settings-meta-boxes.php:139
    556547msgid "Enabled"
     
    558549
    559550#: controller/migrate.php:648
    560 #: model/meta-boxes.php:172
     551#: model/meta-boxes.php:165
    561552#: model/settings-meta-boxes.php:140
    562553msgid "Semi-Compact"
     
    564555
    565556#: controller/migrate.php:650
    566 #: model/meta-boxes.php:174
     557#: model/meta-boxes.php:167
    567558#: model/settings-meta-boxes.php:136
    568559msgid "Show sign-up spots on one line with just # of open spots and a link to sign-up if open. Semi-Compact will also include the names of those who already signed up (assuming \"Front-end Display Names\" is not set to \"anonymous\""
     
    570561
    571562#: controller/migrate.php:689
    572 #: model/meta-boxes.php:156
    573 #: model/settings-meta-boxes.php:489
     563#: model/meta-boxes.php:149
     564#: model/settings-meta-boxes.php:483
    574565msgid "Number of days before the date on the sign-up sheet that the email should be sent.  Use whole numbers, for example, to remind one day before use..."
    575566msgstr ""
    576567
    577568#: controller/migrate.php:689
    578 #: model/meta-boxes.php:158
     569#: model/meta-boxes.php:151
    579570msgid "(If this is blank Global setting is used. Global setting in Settings > Sign-up Sheets.)"
    580571msgstr ""
     
    582573#: controller/migrate.php:697
    583574#: controller/migrate.php:705
    584 #: model/meta-boxes.php:219
    585 #: model/meta-boxes.php:228
     575#: model/meta-boxes.php:212
     576#: model/meta-boxes.php:221
    586577msgid "Global setting in Settings > Sign-up Sheets"
    587578msgstr ""
     
    602593
    603594#: controller/post-type-base.php:95
    604 #: controller/task-table.php:436
     595#: controller/task-table.php:420
    605596#: lib/dls/meta-boxes/meta-boxes.php:775
    606597msgid "Edit"
     
    640631
    641632#: controller/privacy.php:20
    642 #: model/signup.php:512
     633#: model/signup.php:513
    643634#: theme-files/fdsus/sign-up-form.php:33
    644635msgid "First Name"
     
    646637
    647638#: controller/privacy.php:21
    648 #: model/signup.php:515
     639#: model/signup.php:516
    649640#: theme-files/fdsus/sign-up-form.php:43
    650641msgid "Last Name"
     
    653644#: controller/privacy.php:22
    654645#: controller/scode/user-sign-ups.php:136
    655 #: controller/task-table.php:201
    656 #: model/signup.php:521
    657 #: theme-files/fdsus/sign-up-form.php:72
     646#: controller/task-table.php:187
     647#: model/signup.php:522
     648#: theme-files/fdsus/sign-up-form.php:70
    658649msgid "Phone"
    659650msgstr ""
     
    752743
    753744#. translators: %s is replaced with the task title
    754 #: controller/sheet.php:424
     745#: controller/sheet.php:420
    755746msgid "You have been signed up for %s!"
    756747msgstr ""
    757748
    758 #: controller/task-table.php:194
     749#: controller/task-table.php:182
    759750msgid "Name"
    760751msgstr ""
    761752
    762 #: controller/task-table.php:198
    763 #: model/signup.php:518
     753#: controller/task-table.php:185
     754#: model/signup.php:519
    764755#: theme-files/fdsus/sign-up-form.php:54
    765756msgid "E-mail"
    766757msgstr ""
    767758
    768 #: controller/task-table.php:228
     759#: controller/task-table.php:214
    769760msgid "Select all spots to Clear"
    770761msgstr ""
    771762
    772 #: controller/task-table.php:231
     763#: controller/task-table.php:217
    773764msgid "Clear Selected"
    774765msgstr ""
    775766
    776 #: controller/task-table.php:231
     767#: controller/task-table.php:217
    777768msgid "This will permanently remove all selected sign-ups for this sheet."
    778769msgstr ""
    779770
    780771#. translators: %d is replaced with the spot number
    781 #: controller/task-table.php:377
     772#: controller/task-table.php:363
    782773msgid "#%d:"
    783774msgstr ""
    784775
    785776#. translators: %s is replaced with the index of the spot within the current task
    786 #: controller/task-table.php:428
     777#: controller/task-table.php:412
    787778msgid "Select spot #%s to clear"
    788779msgstr ""
    789780
    790 #: controller/task-table.php:443
     781#: controller/task-table.php:427
    791782msgid "Additional Details"
    792783msgstr ""
    793784
    794 #: controller/task-table.php:450
     785#: controller/task-table.php:434
    795786msgid "Added"
    796787msgstr ""
    797788
    798 #: controller/task-table.php:451
     789#: controller/task-table.php:435
    799790msgid "Updated"
    800791msgstr ""
    801792
    802 #: controller/task-table.php:452
     793#: controller/task-table.php:436
    803794msgid "Linked user"
    804795msgstr ""
    805796
    806 #: controller/task-table.php:457
     797#: controller/task-table.php:441
    807798msgid "Clear Spot Now"
    808799msgstr ""
    809800
    810 #: controller/task-table.php:458
     801#: controller/task-table.php:442
    811802msgid "This will permanently remove this sign-up."
    812803msgstr ""
    813804
    814 #: controller/task-table.php:528
     805#: controller/task-table.php:512
    815806msgid "(empty)"
    816807msgstr ""
    817808
    818 #: controller/task-table.php:538
     809#: controller/task-table.php:522
    819810msgid " - sign-ups closed"
    820811msgstr ""
    821812
    822 #: controller/task-table.php:577
     813#: controller/task-table.php:554
    823814msgid "No tasks were found."
    824815msgstr ""
     
    849840msgstr ""
    850841
     842#. translators: %1$s is replaced with the pro plugin version number, %2$s is replaced with the free plugin version number
     843#: main.php:272
     844msgid "The <strong>Sign-up Sheets Pro</strong> plugin version (%1$s) does not match the version number of the main <strong>Sign-up Sheets</strong> plugin (%2$s).  Please update so both version numbers match to prevent possible conflicts."
     845msgstr ""
     846
    851847#: model/base.php:305
    852848msgid "Sunday"
     
    886882
    887883#: model/meta-boxes.php:53
    888 #: model/task-base.php:92
     884#: model/task-base.php:94
    889885msgid "Tasks"
    890886msgstr ""
     
    910906
    911907#: model/meta-boxes.php:115
    912 #: model/settings-meta-boxes.php:265
    913 msgid "Set Email as Optional"
    914 msgstr ""
    915 
    916 #: model/meta-boxes.php:122
    917908#: model/settings-meta-boxes.php:271
    918909msgid "Hide Phone Field"
    919910msgstr ""
    920911
    921 #: model/meta-boxes.php:129
     912#: model/meta-boxes.php:122
    922913#: model/settings-meta-boxes.php:277
    923914msgid "Hide Address Fields"
    924915msgstr ""
    925916
     917#: model/meta-boxes.php:129
     918#: model/settings-meta-boxes.php:265
     919msgid "Hide Email Field"
     920msgstr ""
     921
    926922#: model/meta-boxes.php:136
    927 #: model/settings-meta-boxes.php:283
    928 msgid "Hide Email Field"
    929 msgstr ""
    930 
    931 #: model/meta-boxes.php:143
    932923msgid "Sheet Specific BCC"
    933924msgstr ""
    934925
    935 #: model/meta-boxes.php:146
     926#: model/meta-boxes.php:139
    936927msgid "Comma-separated list of emails to be copied on confirmations/removals"
    937928msgstr ""
    938929
    939 #: model/meta-boxes.php:152
    940 #: model/settings-meta-boxes.php:486
     930#: model/meta-boxes.php:145
     931#: model/settings-meta-boxes.php:480
    941932msgid "Reminder Schedule"
    942933msgstr ""
    943934
    944 #: model/meta-boxes.php:165
     935#: model/meta-boxes.php:158
    945936#: model/settings-meta-boxes.php:133
    946937msgid "Compact Sign-up Mode"
    947938msgstr ""
    948939
    949 #: model/meta-boxes.php:180
     940#: model/meta-boxes.php:173
    950941#: model/settings-meta-boxes.php:162
    951942msgid "Enable Task Checkboxes"
    952943msgstr ""
    953944
    954 #: model/meta-boxes.php:188
     945#: model/meta-boxes.php:181
    955946#: model/settings-meta-boxes.php:146
    956947msgid "Enable task sign-up limit"
    957948msgstr ""
    958949
    959 #: model/meta-boxes.php:196
     950#: model/meta-boxes.php:189
    960951#: model/settings-meta-boxes.php:154
    961952msgid "Enable contiguous task sign-up limit"
    962953msgstr ""
    963954
    964 #: model/meta-boxes.php:204
     955#: model/meta-boxes.php:197
    965956msgid "Auto-clear Schedule"
    966957msgstr ""
    967958
     959#: model/meta-boxes.php:202
     960msgid "Auto-clear is not currently allowed globally under \"Sign-up Sheets > Settings\". Enable it for this setting to take effect."
     961msgstr ""
     962
    968963#: model/meta-boxes.php:209
    969 msgid "Auto-clear is not currently allowed globally under \"Sign-up Sheets > Settings\". Enable it for this setting to take effect."
    970 msgstr ""
    971 
    972 #: model/meta-boxes.php:216
    973964msgid "Confirmation Email Message"
    974965msgstr ""
    975966
    976 #: model/meta-boxes.php:225
     967#: model/meta-boxes.php:218
    977968msgid "Reminder Email Message"
    978969msgstr ""
    979970
    980971#: model/settings-meta-boxes.php:84
    981 #: model/sheet-base.php:211
     972#: model/sheet-base.php:210
    982973msgid "Sign-up Sheet"
    983974msgstr ""
     
    10811072#. translators: %s is replaced with the timestamp of the next cron scheduled
    10821073#: model/settings-meta-boxes.php:207
    1083 #: model/settings-meta-boxes.php:473
     1074#: model/settings-meta-boxes.php:467
    10841075msgid "Next scheduled check: %s"
    10851076msgstr ""
     
    10941085
    10951086#: model/settings-meta-boxes.php:214
    1096 #: model/settings-meta-boxes.php:478
     1087#: model/settings-meta-boxes.php:472
    10971088msgid "WordPress Cron"
    10981089msgstr ""
    10991090
    11001091#: model/settings-meta-boxes.php:216
    1101 #: model/settings-meta-boxes.php:480
     1092#: model/settings-meta-boxes.php:474
    11021093msgid "If you just enabled/disabled this, you may need to refresh this page to see the updated \"Next scheduled check\""
    11031094msgstr ""
     
    11151106msgstr ""
    11161107
    1117 #: model/settings-meta-boxes.php:289
     1108#: model/settings-meta-boxes.php:283
    11181109msgid "Disable User Auto-populate"
    11191110msgstr ""
    11201111
    1121 #: model/settings-meta-boxes.php:292
     1112#: model/settings-meta-boxes.php:286
    11221113msgid "By default, for users that are logged in, their name and email auto-populates on sign-up form when available. This option disables that behavior."
    11231114msgstr ""
    11241115
    1125 #: model/settings-meta-boxes.php:296
     1116#: model/settings-meta-boxes.php:290
    11261117msgid "Disable Mail Check Validation"
    11271118msgstr ""
    11281119
    1129 #: model/settings-meta-boxes.php:299
     1120#: model/settings-meta-boxes.php:293
    11301121msgid "Validation includes a JS check for standard email formatting, possible incorrect domains with suggestions as well as an MX record check on the domain to confirm it is setup to receive emails"
    11311122msgstr ""
    11321123
    1133 #: model/settings-meta-boxes.php:303
     1124#: model/settings-meta-boxes.php:297
    11341125msgid "Disable sign-up link auto-scroll to sheet (hash in sign-up link)"
    11351126msgstr ""
    11361127
    1137 #: model/settings-meta-boxes.php:306
     1128#: model/settings-meta-boxes.php:300
    11381129msgid "The hash on the sign-up link is useful especially on longer pages where sheets are embedded further down the page or where the sheet description is longer.  When the feature is enabled and the user clicks the sign-up link, it includes a `#` hash to and ID pointing to that same location where the sign-up form will appear on the next page."
    11391130msgstr ""
    11401131
    1141 #: model/settings-meta-boxes.php:310
     1132#: model/settings-meta-boxes.php:304
    11421133msgid "Sign-up Success Message Receipt"
    11431134msgstr ""
    11441135
    1145 #: model/settings-meta-boxes.php:313
     1136#: model/settings-meta-boxes.php:307
    11461137msgid "Displays a receipt below the sign-up success message which includes a copy of all the task details and all fields they entered in the sign-up form. Default: `unchecked`"
    11471138msgstr ""
    11481139
    1149 #: model/settings-meta-boxes.php:318
     1140#: model/settings-meta-boxes.php:312
    11501141msgid "Custom Sign-up Fields"
    11511142msgstr ""
    11521143
    1153 #: model/settings-meta-boxes.php:339
     1144#: model/settings-meta-boxes.php:333
    11541145msgid "Captcha and Spam Prevention"
    11551146msgstr ""
    11561147
     1148#: model/settings-meta-boxes.php:337
     1149msgid "Disable honeypot"
     1150msgstr ""
     1151
     1152#: model/settings-meta-boxes.php:340
     1153msgid "A honeypot is a less-invasive technique to reduce SPAM submission using a hidden field on the sign-up form.  It can be used in place of or alongside the captcha."
     1154msgstr ""
     1155
    11571156#: model/settings-meta-boxes.php:343
    1158 msgid "Disable honeypot"
     1157msgid "Disable all Captcha"
     1158msgstr ""
     1159
     1160#: model/settings-meta-boxes.php:345
     1161msgid "Will disable all captcha even if you have reCAPTCHA enabled below"
    11591162msgstr ""
    11601163
    11611164#: model/settings-meta-boxes.php:346
    1162 msgid "A honeypot is a less-invasive technique to reduce SPAM submission using a hidden field on the sign-up form.  It can be used in place of or alongside the captcha."
    1163 msgstr ""
    1164 
    1165 #: model/settings-meta-boxes.php:349
    1166 msgid "Disable all Captcha"
    1167 msgstr ""
    1168 
    1169 #: model/settings-meta-boxes.php:351
    1170 msgid "Will disable all captcha even if you have reCAPTCHA enabled below"
    1171 msgstr ""
    1172 
    1173 #: model/settings-meta-boxes.php:352
    11741165msgid "Will replace the default simple captcha validation"
    11751166msgstr ""
    11761167
    1177 #: model/settings-meta-boxes.php:353
    1178 #: model/settings-meta-boxes.php:354
     1168#: model/settings-meta-boxes.php:347
     1169#: model/settings-meta-boxes.php:348
    11791170msgid "From your account at https://www.google.com/recaptcha/"
    11801171msgstr ""
    11811172
    1182 #: model/settings-meta-boxes.php:361
     1173#: model/settings-meta-boxes.php:355
    11831174msgid "Confirmation E-mail"
    11841175msgstr ""
    11851176
    1186 #: model/settings-meta-boxes.php:365
    1187 #: model/settings-meta-boxes.php:429
     1177#: model/settings-meta-boxes.php:359
     1178#: model/settings-meta-boxes.php:423
    11881179msgid "Enable"
    11891180msgstr ""
    11901181
    1191 #: model/settings-meta-boxes.php:373
    1192 #: model/settings-meta-boxes.php:493
    1193 #: model/settings-meta-boxes.php:552
     1182#: model/settings-meta-boxes.php:367
     1183#: model/settings-meta-boxes.php:487
     1184#: model/settings-meta-boxes.php:546
    11941185msgid "Subject"
    11951186msgstr ""
    11961187
    11971188#. translators: %s is replaced with the default subject
    1198 #: model/settings-meta-boxes.php:377
    1199 #: model/settings-meta-boxes.php:497
    1200 #: model/settings-meta-boxes.php:556
     1189#: model/settings-meta-boxes.php:371
     1190#: model/settings-meta-boxes.php:491
     1191#: model/settings-meta-boxes.php:550
    12011192msgid "If blank, defaults to... \"%s\""
    12021193msgstr ""
    12031194
    1204 #: model/settings-meta-boxes.php:381
    1205 #: model/settings-meta-boxes.php:501
    1206 #: model/settings-meta-boxes.php:560
     1195#: model/settings-meta-boxes.php:375
     1196#: model/settings-meta-boxes.php:495
     1197#: model/settings-meta-boxes.php:554
    12071198msgid "From E-mail Address"
    12081199msgstr ""
    12091200
    1210 #: model/settings-meta-boxes.php:384
    1211 #: model/settings-meta-boxes.php:504
    1212 #: model/settings-meta-boxes.php:563
     1201#: model/settings-meta-boxes.php:378
     1202#: model/settings-meta-boxes.php:498
     1203#: model/settings-meta-boxes.php:557
    12131204msgid "If blank, defaults to WordPress email on file under Settings > General"
    12141205msgstr ""
    12151206
    1216 #: model/settings-meta-boxes.php:388
    1217 #: model/settings-meta-boxes.php:508
     1207#: model/settings-meta-boxes.php:382
     1208#: model/settings-meta-boxes.php:502
    12181209msgid "BCC"
    12191210msgstr ""
    12201211
    1221 #: model/settings-meta-boxes.php:391
    1222 #: model/settings-meta-boxes.php:511
     1212#: model/settings-meta-boxes.php:385
     1213#: model/settings-meta-boxes.php:505
    12231214msgid "Comma separate for multiple email addresses"
     1215msgstr ""
     1216
     1217#: model/settings-meta-boxes.php:402
     1218#: model/settings-meta-boxes.php:442
     1219#: model/settings-meta-boxes.php:520
     1220msgid "Variables that can be used in template..."
     1221msgstr ""
     1222
     1223#: model/settings-meta-boxes.php:403
     1224#: model/settings-meta-boxes.php:443
     1225#: model/settings-meta-boxes.php:521
     1226msgid "Multi-line list of sign-up details such as date, sheet title, task title"
     1227msgstr ""
     1228
     1229#: model/settings-meta-boxes.php:404
     1230#: model/settings-meta-boxes.php:444
     1231#: model/settings-meta-boxes.php:522
     1232msgid "First name of user that signed up"
     1233msgstr ""
     1234
     1235#: model/settings-meta-boxes.php:405
     1236#: model/settings-meta-boxes.php:445
     1237#: model/settings-meta-boxes.php:523
     1238msgid "Last name of user that signed up"
     1239msgstr ""
     1240
     1241#: model/settings-meta-boxes.php:406
     1242#: model/settings-meta-boxes.php:446
     1243#: model/settings-meta-boxes.php:524
     1244msgid "Email of user that signed up"
     1245msgstr ""
     1246
     1247#: model/settings-meta-boxes.php:407
     1248#: model/settings-meta-boxes.php:447
     1249#: model/settings-meta-boxes.php:525
     1250msgid "Name of site as defined in Settings > General > Site Title"
    12241251msgstr ""
    12251252
     
    12271254#: model/settings-meta-boxes.php:448
    12281255#: model/settings-meta-boxes.php:526
    1229 msgid "Variables that can be used in template..."
     1256msgid "URL of site"
    12301257msgstr ""
    12311258
    12321259#: model/settings-meta-boxes.php:409
    1233 #: model/settings-meta-boxes.php:449
    1234 #: model/settings-meta-boxes.php:527
    1235 msgid "Multi-line list of sign-up details such as date, sheet title, task title"
    1236 msgstr ""
    1237 
    1238 #: model/settings-meta-boxes.php:410
    1239 #: model/settings-meta-boxes.php:450
    1240 #: model/settings-meta-boxes.php:528
    1241 msgid "First name of user that signed up"
    1242 msgstr ""
    1243 
    1244 #: model/settings-meta-boxes.php:411
    1245 #: model/settings-meta-boxes.php:451
    1246 #: model/settings-meta-boxes.php:529
    1247 msgid "Last name of user that signed up"
    1248 msgstr ""
    1249 
    1250 #: model/settings-meta-boxes.php:412
    1251 #: model/settings-meta-boxes.php:452
    1252 #: model/settings-meta-boxes.php:530
    1253 msgid "Email of user that signed up"
    1254 msgstr ""
    1255 
    1256 #: model/settings-meta-boxes.php:413
    1257 #: model/settings-meta-boxes.php:453
    1258 #: model/settings-meta-boxes.php:531
    1259 msgid "Name of site as defined in Settings > General > Site Title"
    1260 msgstr ""
    1261 
    1262 #: model/settings-meta-boxes.php:414
    1263 #: model/settings-meta-boxes.php:454
    1264 #: model/settings-meta-boxes.php:532
    1265 msgid "URL of site"
    1266 msgstr ""
    1267 
    1268 #: model/settings-meta-boxes.php:415
    12691260msgid "Link to remove sign-up"
    12701261msgstr ""
    12711262
    1272 #: model/settings-meta-boxes.php:425
     1263#: model/settings-meta-boxes.php:419
    12731264msgid "Removal Confirmation E-mail"
    12741265msgstr ""
    12751266
    1276 #: model/settings-meta-boxes.php:464
     1267#: model/settings-meta-boxes.php:458
    12771268msgid "Reminder E-mail"
    12781269msgstr ""
    12791270
    1280 #: model/settings-meta-boxes.php:464
     1271#: model/settings-meta-boxes.php:458
    12811272msgid "Pro Feature"
    12821273msgstr ""
    12831274
    1284 #: model/settings-meta-boxes.php:464
     1275#: model/settings-meta-boxes.php:458
    12851276msgid "Pro"
    12861277msgstr ""
    12871278
    1288 #: model/settings-meta-boxes.php:468
     1279#: model/settings-meta-boxes.php:462
    12891280msgid "Enable Reminders"
    12901281msgstr ""
    12911282
    1292 #: model/settings-meta-boxes.php:477
     1283#: model/settings-meta-boxes.php:471
    12931284msgid "Your site will check hourly to see if there are reminders that need to be sent using the"
    12941285msgstr ""
    12951286
    1296 #: model/settings-meta-boxes.php:489
     1287#: model/settings-meta-boxes.php:483
    12971288msgid "This field is required."
    12981289msgstr ""
    12991290
    1300 #: model/settings-meta-boxes.php:541
     1291#: model/settings-meta-boxes.php:535
    13011292msgid "Status E-mail"
    13021293msgstr ""
    13031294
    1304 #: model/settings-meta-boxes.php:545
     1295#: model/settings-meta-boxes.php:539
    13051296msgid "Enable Status E-mail"
    13061297msgstr ""
    13071298
    1308 #: model/settings-meta-boxes.php:548
     1299#: model/settings-meta-boxes.php:542
    13091300msgid "Shows all signups for a sheet.  Sent when a user adds or removes a signup from the frontend."
    13101301msgstr ""
    13111302
    1312 #: model/settings-meta-boxes.php:567
     1303#: model/settings-meta-boxes.php:561
    13131304msgid "Send to main admin emails"
    13141305msgstr ""
    13151306
    1316 #: model/settings-meta-boxes.php:570
     1307#: model/settings-meta-boxes.php:564
    13171308msgid "E-mail address specified under Settings > General"
    13181309msgstr ""
    13191310
    1320 #: model/settings-meta-boxes.php:574
     1311#: model/settings-meta-boxes.php:568
    13211312msgid "Send to \"Sheet BCC\" recipients"
    13221313msgstr ""
    13231314
    1324 #: model/settings-meta-boxes.php:577
     1315#: model/settings-meta-boxes.php:571
    13251316msgid "These addresses will be added as a recipient only for sheets on which they are assigned."
    13261317msgstr ""
    13271318
    1328 #: model/settings-meta-boxes.php:585
     1319#: model/settings-meta-boxes.php:579
    13291320msgid "Advanced"
    13301321msgstr ""
    13311322
    1332 #: model/settings-meta-boxes.php:594
     1323#: model/settings-meta-boxes.php:588
    13331324msgid "Reset All Settings"
    13341325msgstr ""
    13351326
     1327#: model/settings-meta-boxes.php:591
    13361328#: model/settings-meta-boxes.php:597
    1337 #: model/settings-meta-boxes.php:603
    13381329msgid "This will erase any custom configurations you have made on this page and reset them back to the defaults. This action cannot be undone."
    13391330msgstr ""
    13401331
    1341 #: model/settings-meta-boxes.php:602
     1332#: model/settings-meta-boxes.php:596
    13421333msgid "Are you sure?"
    13431334msgstr ""
    13441335
    1345 #: model/settings-meta-boxes.php:612
     1336#: model/settings-meta-boxes.php:606
    13461337msgid "Text Overrides"
    13471338msgstr ""
     
    13871378msgstr ""
    13881379
    1389 #: model/sheet-base.php:281
     1380#: model/sheet-base.php:280
    13901381msgid " (Copy)"
    13911382msgstr ""
    13921383
    1393 #: model/signup.php:103
     1384#: model/signup.php:105
    13941385msgid "Sign-up"
    13951386msgstr ""
    13961387
    13971388#. translators: %1$s is replaced with task title and %2$s is replaced with optional detailed errors if enabled
    1398 #: model/signup.php:148
     1389#: model/signup.php:150
    13991390msgid "Error adding signup for %1$s.  All spots are filled. %2$s"
    14001391msgstr ""
    14011392
    1402 #: model/signup.php:183
     1393#: model/signup.php:184
    14031394msgid "You have already signed up for this task.  Do you want to sign up again?"
    14041395msgstr ""
    14051396
    1406 #: model/signup.php:208
     1397#: model/signup.php:209
    14071398msgid "Yes, sign me up"
    14081399msgstr ""
    14091400
    1410 #: model/signup.php:209
     1401#: model/signup.php:210
    14111402msgid "No, thanks"
    14121403msgstr ""
    14131404
    14141405#. translators: %s is replaced with the sign-up email
    1415 #: model/signup.php:236
    1416 #: model/signup.php:343
     1406#: model/signup.php:237
     1407#: model/signup.php:344
    14171408msgid "Error adding the sign-up for \"%s\""
    14181409msgstr ""
    14191410
     1411#: model/signup.php:546
     1412msgid "Math Question"
     1413msgstr ""
     1414
    14201415#. translators: %s is replaced with the task title
    1421 #: model/task-base.php:155
     1416#: model/task-base.php:157
    14221417msgid "Error adding the task \"%s\""
    14231418msgstr ""
    14241419
    1425 #: model/task-base.php:190
     1420#: model/task-base.php:192
    14261421msgid "Error adding additional fields to task."
    14271422msgstr ""
    14281423
    14291424#. translators: %s is replaced with the task title
    1430 #: model/task-base.php:239
     1425#: model/task-base.php:241
    14311426msgid "Error updating the task \"%s\""
    14321427msgstr ""
    14331428
    1434 #: model/task-base.php:283
     1429#: model/task-base.php:285
    14351430msgid "Error deleting task."
    14361431msgstr ""
    14371432
    1438 #: model/task-base.php:495
     1433#: model/task-base.php:497
    14391434msgid "Sign up &raquo;"
    14401435msgstr ""
     
    14931488msgstr ""
    14941489
    1495 #: theme-files/fdsus/sign-up-form.php:147
     1490#: theme-files/fdsus/sign-up-form.php:145
    14961491msgid "required"
    14971492msgstr ""
    14981493
     1494#: theme-files/fdsus/sign-up-form.php:161
     1495msgid "or"
     1496msgstr ""
     1497
    14991498#: theme-files/fdsus/sign-up-form.php:163
    1500 msgid "or"
    1501 msgstr ""
    1502 
    1503 #: theme-files/fdsus/sign-up-form.php:165
    15041499msgid "&laquo; go back to the Sign-Up Sheet"
    15051500msgstr ""
     
    15171512msgstr ""
    15181513
     1514#: build/block.json
    15191515#: src/block.json
    15201516msgctxt "block title"
     
    15221518msgstr ""
    15231519
     1520#: build/block.json
    15241521#: src/block.json
    15251522msgctxt "block description"
  • sign-up-sheets/trunk/lib/dls/meta-boxes/assets/admin.js

    r3233567 r3234219  
    155155        });
    156156
    157         $('.dlsmb-field-type-repeater TBODY').sortable({
     157        $('.dlsmb-field-type-repeater TABLE').sortable({
    158158            distance: 5,
    159159            opacity: 0.6,
    160160            cursor: 'move',
    161             handle: '.dlsmb-sort',
    162             items: 'tr'
     161            toleranceElement: '.dlsmb-sort',
     162            items: 'tbody > tr'
    163163        });
    164164
  • sign-up-sheets/trunk/lib/dls/meta-boxes/assets/style.css

    r3233567 r3234219  
    183183}
    184184
    185 .dlsmb-field-type-repeater TBODY .dlsmb-sort:hover {
     185.dlsmb-field-type-repeater TBODY TR:hover {
    186186    cursor: move;
    187187}
  • sign-up-sheets/trunk/lib/dls/meta-boxes/meta-boxes.php

    r3233567 r3234219  
    259259                </li>
    260260                <li class="hide-if-no-js">
    261                     <a href="#<?php echo esc_url($taxonomy); ?>-pop" tabindex="3"><?php esc_html_e('Most Used', 'sign-up-sheets'); ?></a>
     261                    <a href="#<?php echo esc_url($taxonomy); ?>-pop" tabindex="3"><?php esc_html_e('Most Used', 'fdsus'); ?></a>
    262262                </li>
    263263            </ul>
     
    722722            case 'checkbox':
    723723                $checked = ($value === 'true') ? ' checked="checked"' : null;
    724                 $boxLabel = empty($field['box_label_override']) ? esc_html__('True', 'sign-up-sheets') : $field['box_label_override'];
     724                $boxLabel = empty($field['box_label_override']) ? esc_html__('True', 'fdsus') : $field['box_label_override'];
    725725                echo '<input type="checkbox" name="' . $field_name . '" value="true" class="dlsmb-field-element" id="' . $id . '"' . $checked . '> <label for="' . $id . '" class="dlsmb-checkbox">' . $boxLabel . '</label><br />';
    726726                break;
     
    773773                            <div class="dlsmb-image-hover">
    774774                                <ul>
    775                                     <li class="dlsmb-image-hover-icon dlsmb-image-hover-edit"><a href="#" title="' . esc_html__('Edit', 'sign-up-sheets') . '"></a></li>
    776                                     <li class="dlsmb-image-hover-icon dlsmb-image-hover-remove"><a href="#" title="' . esc_html__('Remove', 'sign-up-sheets') . '"></a></li>
     775                                    <li class="dlsmb-image-hover-icon dlsmb-image-hover-edit"><a href="#" title="' . esc_html__('Edit', 'fdsus') . '"></a></li>
     776                                    <li class="dlsmb-image-hover-icon dlsmb-image-hover-remove"><a href="#" title="' . esc_html__('Remove', 'fdsus') . '"></a></li>
    777777                                </ul>
    778778                            </div>
     
    924924                if (empty($field['map_api_key'])) {
    925925                    $error_class = 'map-not-loaded';
    926                     $msg = '<p>' .esc_html__('Map not loaded. Check your api key.', 'sign-up-sheets') . '</p>';
     926                    $msg = '<p>' .esc_html__('Map not loaded. Check your api key.', 'fdsus') . '</p>';
    927927                } else {
    928928                    $error_class = '';
     
    961961        $actions = array(
    962962            'add' => array(
    963                 'title' => esc_html__('Add Row', 'sign-up-sheets'),
     963                'title' => esc_html__('Add Row', 'fdsus'),
    964964                'icon' => 'dashicons dashicons-plus-alt',
    965965            ),
    966966            'remove' => array(
    967                 'title' => esc_html__('Delete Row', 'sign-up-sheets'),
     967                'title' => esc_html__('Delete Row', 'fdsus'),
    968968                'icon' => 'dashicons dashicons-trash',
    969969            ),
  • sign-up-sheets/trunk/main.php

    r3233567 r3234219  
    2222    function fdsusAutoloader($className)
    2323    {
    24         $classesDir = '';
    25         $classFile = '';
    26 
    27         if (0 === strpos($className, __NAMESPACE__ . '\\') && !in_array($className, array(__NAMESPACE__ . '\Main'))) {
     24        if (false !== strpos($className, __NAMESPACE__) && !in_array($className, array(__NAMESPACE__ . '\Main'))) {
    2825            $classesDir = realpath(plugin_dir_path(__FILE__)) . DIRECTORY_SEPARATOR;
    2926            $classFile = str_replace(__NAMESPACE__ . '/', '', str_replace('\\', '/', $className)) . '.php';
    3027            $classFile = strtolower(preg_replace('/\B([A-Z])/', '-$1', $classFile)); // add hyphen before uppercase classes then convert to all lowercase
    31         } elseif (0 === strpos($className,  'FDSUSPRO\\') && Id::isProActivating()) {
    32             // Autoload Pro if it's in the process of activating
    33             $classesDir = dirname(realpath(plugin_dir_path(__FILE__))) . DIRECTORY_SEPARATOR . dirname(Id::PRO_PLUGIN_BASENAME) . DIRECTORY_SEPARATOR;
    34             $classFile = str_replace('FDSUSPRO/', '', str_replace('\\', '/', $className)) . '.php';
    35             $classFile = strtolower(preg_replace('/\B([A-Z])/', '-$1', $classFile)); // add hyphen before uppercase classes then convert to all lowercase
    36         }
    37 
    38         if ($classesDir && $classFile) {
    39             if (!file_exists($classesDir . $classFile)) {
    40                 error_log('Autoloader tried to load a file that did not exist... ' . $classesDir . $classFile);
    41                 return;
    42             }
    4328            require_once $classesDir . $classFile;
    4429        }
     
    4833endif;
    4934
    50 if (!function_exists('\FDSUS\fdsusIsFallbackPlugin')):
    51     function fdsusIsFallbackPlugin()
    52     {
    53         return dirname(__FILE__) !== dirname(WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . Id::FREE_PLUGIN_BASENAME);
    54     }
    55 endif;
    56 
    57 Notice::instance(array('frontendFilter' => Id::PREFIX . '_notices'));
    58 Settings::instance();
    59 
    60 if (
    61     (
    62         fdsusIsFallbackPlugin()
    63         || (!empty(Id::version('free')) && !empty(Id::version('pro'))
    64             && version_compare(Id::version('free'), Id::version('pro'), '==')
    65             && !class_exists('\FDSUS\Main')
    66         )
    67     )
    68     && !class_exists('\FDSUS\Main')
    69 ):
     35if (!class_exists('\FDSUS\Main')):
    7036
    7137    class Main {
     
    9864
    9965            global $wpdb;
     66            Notice::instance(array('frontendFilter' => Id::PREFIX . '_notices'));
     67            Settings::instance();
    10068            $this->wpdb = $wpdb;
    10169            $this->data = new Data();
     
    133101            }
    134102
    135             register_activation_hook(FDSUS_FREE_PLUGIN_BASENAME, array(&$this, 'activate'));
    136             register_deactivation_hook(FDSUS_FREE_PLUGIN_BASENAME, array(&$this, 'deactivate'));
     103            register_activation_hook(Settings::getCurrentPluginBasename(), array(&$this, 'activate'));
     104            register_deactivation_hook(Settings::getCurrentPluginBasename(), array(&$this, 'deactivate'));
    137105
    138106            add_action('wp_enqueue_scripts', array(&$this, 'add_css_and_js_to_frontend'));
    139107            add_action('init', array(&$this, 'setDefaultOptions'), 0);
    140108            add_action('init', array(&$this, 'flushIfNeeded'), 0);
     109            add_action('admin_init', array(&$this, 'dupPluginVersionCheck'));
    141110
    142111            add_filter('rewrite_rules_array', array(&$this, 'add_rewrite_rules'));
     
    177146        function add_css_and_js_to_frontend()
    178147        {
    179             // Pull pro or free
    180             $pluginPath = WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . (Id::isPro() ? Id::PRO_PLUGIN_BASENAME
    181                     : Id::FREE_PLUGIN_BASENAME);
    182 
    183148            wp_enqueue_script('jquery');
    184149
     
    186151                wp_register_script(
    187152                    Id::PREFIX . '-mailcheck',
    188                     plugins_url('js/mailcheck.min.js', __FILE__),
     153                    esc_url(plugins_url('js/mailcheck.min.js', __FILE__)),
    189154                    array(),
    190155                    '1.1.2'
     
    194159            wp_register_style(
    195160                Id::PREFIX . '-style',
    196                 plugins_url('css/style.css', $pluginPath),
     161                plugins_url('css/style.css', __FILE__),
    197162                array(),
    198163                Id::version()
     
    207172            wp_register_script(
    208173                'dlssus-js',
    209                 plugins_url('js/dist/main.min.js', $pluginPath),
     174                plugins_url('js/dist/main.min.js', __FILE__),
    210175                $mainSusDeps,
    211176                Id::version()
     
    273238
    274239        /**
     240         * Duplicate plugin version check
     241         */
     242        public function dupPluginVersionCheck()
     243        {
     244            if ((Id::isPro() && is_plugin_active(Id::FREE_PLUGIN_BASENAME))
     245                || (!Id::isPro() && is_plugin_active(Id::PRO_PLUGIN_BASENAME))
     246            ) {
     247                $pluginFileRequire = ABSPATH . 'wp-admin' . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR
     248                    . 'plugin.php';
     249                if (!function_exists('get_plugins')) {
     250                    require_once($pluginFileRequire);
     251                }
     252
     253                $plugins = get_plugins();
     254
     255                if ($plugins[Id::FREE_PLUGIN_BASENAME]['Version']
     256                    <> $plugins[Id::PRO_PLUGIN_BASENAME]['Version']
     257                ) {
     258                    if (!function_exists('get_plugins')) {
     259                        require_once($pluginFileRequire);
     260                    }
     261                    $plugins = get_plugins();
     262                    $versionFree = $plugins[Id::FREE_PLUGIN_BASENAME]['Version'];
     263                    $versionPro = $plugins[Id::PRO_PLUGIN_BASENAME]['Version'];
     264                    $allowedHtml = array(
     265                        'strong' => array(),
     266                    );
     267
     268                    Notice::add(
     269                        'error', sprintf(
     270                            wp_kses(
     271                            /* translators: %1$s is replaced with the pro plugin version number, %2$s is replaced with the free plugin version number */
     272                                __(
     273                                    'The <strong>Sign-up Sheets Pro</strong> plugin version (%1$s) does not match the version number of the main <strong>Sign-up Sheets</strong> plugin (%2$s).  Please update so both version numbers match to prevent possible conflicts.',
     274                                    'fdsus'
     275                                ),
     276                                $allowedHtml
     277                            ),
     278                            esc_html($versionPro), esc_html($versionFree)
     279                        )
     280                    );
     281                }
     282            }
     283        }
     284
     285        /**
    275286         * Check if we need to flush rewrites (like if slug was changed in Settings)
    276287         */
     
    318329
    319330            // Crons
    320             wp_clear_scheduled_hook('fdsus_dbupdate_action');
     331            wp_clear_scheduled_hook(Id::PREFIX . '_dbupdate_action');
    321332
    322333            /**
     
    330341    $fdsus = new Main();
    331342    require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'template-tags.php';
     343    is_file(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'pro.php') and include 'pro.php';
    332344
    333345endif;
  • sign-up-sheets/trunk/model/base.php

    r3233567 r3234219  
    303303    {
    304304        return array(
    305             '0' => __('Sunday', 'sign-up-sheets'),
    306             '1' => __('Monday', 'sign-up-sheets'),
    307             '2' => __('Tuesday', 'sign-up-sheets'),
    308             '3' => __('Wednesday', 'sign-up-sheets'),
    309             '4' => __('Thursday', 'sign-up-sheets'),
    310             '5' => __('Friday', 'sign-up-sheets'),
    311             '6' => __('Saturday', 'sign-up-sheets'),
     305            '0' => __('Sunday', 'fdsus'),
     306            '1' => __('Monday', 'fdsus'),
     307            '2' => __('Tuesday', 'fdsus'),
     308            '3' => __('Wednesday', 'fdsus'),
     309            '4' => __('Thursday', 'fdsus'),
     310            '5' => __('Friday', 'fdsus'),
     311            '6' => __('Saturday', 'fdsus'),
    312312        );
    313313    }
  • sign-up-sheets/trunk/model/db-update.php

    r3233567 r3234219  
    2828        $this->data = new Data();
    2929
    30         add_action('wp_loaded', array(&$this, 'check'));
    31         add_action('fdsus_dbupdate_action', array(&$this, 'asyncUpdate'));
     30        add_action('init', array(&$this, 'check'));
     31        add_action(Id::PREFIX . '_dbupdate_action', array(&$this, 'asyncUpdate'));
    3232    }
    3333
     
    4949    public function scheduleAsyncUpdate()
    5050    {
    51         wp_schedule_single_event(time(), 'fdsus_dbupdate_action');
     51        wp_schedule_single_event(time(), Id::PREFIX . '_dbupdate_action');
    5252    }
    5353
  • sign-up-sheets/trunk/model/meta-boxes.php

    r3233567 r3234219  
    2424    {
    2525        $trueFalse = array(
    26             ''      => esc_html__('Global', 'sign-up-sheets'),
    27             'true'  => esc_html__('True', 'sign-up-sheets'),
    28             'false' => esc_html__('False', 'sign-up-sheets'),
     26            ''      => esc_html__('Global', 'fdsus'),
     27            'true'  => esc_html__('True', 'fdsus'),
     28            'false' => esc_html__('False', 'fdsus'),
    2929        );
    3030
     
    3434            'general' => array(
    3535                'id'        => SheetModel::POST_TYPE . '-general-meta',
    36                 'title'     => esc_html__('General', 'sign-up-sheets'),
     36                'title'     => esc_html__('General', 'fdsus'),
    3737                'post_type' => SheetModel::POST_TYPE,
    3838                'context'   => 'normal',
     
    4040                'fields'    => array(
    4141                    array(
    42                         'label' => esc_html__('Date', 'sign-up-sheets'),
     42                        'label' => esc_html__('Date', 'fdsus'),
    4343                        'key'   => 'dlssus_date',
    4444                        'type'  => 'datepicker',
     
    5151            'tasks' => array(
    5252                'id'        => SheetModel::POST_TYPE . '-tasks-meta',
    53                 'title'     => esc_html__('Tasks', 'sign-up-sheets'),
     53                'title'     => esc_html__('Tasks', 'fdsus'),
    5454                'post_type' => SheetModel::POST_TYPE,
    5555                'context'   => 'normal',
     
    6262                        'fields' => array(
    6363                            array(
    64                                 'label' => esc_html__('What', 'sign-up-sheets'),
     64                                'label' => esc_html__('What', 'fdsus'),
    6565                                'key'   => 'title',
    6666                                'type'  => 'text',
     
    6868                            ),
    6969                            array(
    70                                 'label' => esc_html__('# of Spots', 'sign-up-sheets'),
     70                                'label' => esc_html__('# of Spots', 'fdsus'),
    7171                                'key'   => 'qty',
    7272                                'type'  => 'text',
     
    9999                'fields'    => array(
    100100                    array(
    101                         'label'   => esc_html__('Set Phone as Optional', 'sign-up-sheets'),
     101                        'label'   => esc_html__('Set Phone as Optional', 'fdsus'),
    102102                        'key'     => Id::PREFIX . '_optional_phone',
    103103                        'type'    => 'select',
     
    106106                    ),
    107107                    array(
    108                         'label'   => esc_html__('Set Address as Optional', 'sign-up-sheets'),
     108                        'label'   => esc_html__('Set Address as Optional', 'fdsus'),
    109109                        'key'     => Id::PREFIX . '_optional_address',
    110110                        'type'    => 'select',
     
    113113                    ),
    114114                    array(
    115                         'label'   => esc_html__('Set Email as Optional', 'sign-up-sheets'),
    116                         'key'     => 'fdsus_optional_email',
    117                         'type'    => 'select',
    118                         'options' => $trueFalse,
    119                         'order'   => 22,
    120                     ),
    121                     array(
    122                         'label'   => esc_html__('Hide Phone Field', 'sign-up-sheets'),
     115                        'label'   => esc_html__('Hide Phone Field', 'fdsus'),
    123116                        'key'     => Id::PREFIX . '_hide_phone',
    124117                        'type'    => 'select',
     
    127120                    ),
    128121                    array(
    129                         'label'   => esc_html__('Hide Address Fields', 'sign-up-sheets'),
     122                        'label'   => esc_html__('Hide Address Fields', 'fdsus'),
    130123                        'key'     => Id::PREFIX . '_hide_address',
    131124                        'type'    => 'select',
     
    134127                    ),
    135128                    array(
    136                         'label'   => esc_html__('Hide Email Field', 'sign-up-sheets'),
     129                        'label'   => esc_html__('Hide Email Field', 'fdsus'),
    137130                        'key'     => Id::PREFIX . '_hide_email',
    138131                        'type'    => 'select',
     
    141134                    ),
    142135                    array(
    143                         'label'  => esc_html__('Sheet Specific BCC', 'sign-up-sheets'),
     136                        'label'  => esc_html__('Sheet Specific BCC', 'fdsus'),
    144137                        'key'    => Id::PREFIX . '_sheet_bcc',
    145138                        'type'   => 'text',
    146                         'append' => ' <em>' . esc_html__('Comma-separated list of emails to be copied on confirmations/removals', 'sign-up-sheets') . '</em>',
     139                        'append' => ' <em>' . esc_html__('Comma-separated list of emails to be copied on confirmations/removals', 'fdsus') . '</em>',
    147140                        'order'  => 50,
    148141                        'wrap_class' => 'dlsmb-field-col-12',
     
    150143                    ),
    151144                    array(
    152                         'label'  => esc_html__('Reminder Schedule', 'sign-up-sheets'),
     145                        'label'  => esc_html__('Reminder Schedule', 'fdsus'),
    153146                        'key'    => Id::PREFIX . '_sheet_reminder_days',
    154147                        'type'   => 'text',
    155148                        'append' => ' <br><em>'
    156                             . esc_html__('Number of days before the date on the sign-up sheet that the email should be sent.  Use whole numbers, for example, to remind one day before use...', 'sign-up-sheets')
     149                            . esc_html__('Number of days before the date on the sign-up sheet that the email should be sent.  Use whole numbers, for example, to remind one day before use...', 'fdsus')
    157150                            . ' <code>1</code> '
    158                             . esc_html__('(If this is blank Global setting is used. Global setting in Settings > Sign-up Sheets.)', 'sign-up-sheets')
     151                            . esc_html__('(If this is blank Global setting is used. Global setting in Settings > Sign-up Sheets.)', 'fdsus')
    159152                            . '</em>',
    160153                        'order'  => 60,
     
    163156                    ),
    164157                    array(
    165                         'label'   => esc_html__('Compact Sign-up Mode', 'sign-up-sheets'),
     158                        'label'   => esc_html__('Compact Sign-up Mode', 'fdsus'),
    166159                        'key'     => Id::PREFIX . '_compact_signups',
    167160                        'type'    => 'select',
    168161                        'options' => array(
    169                             ''      => esc_html__('Global', 'sign-up-sheets'),
    170                             'false' => esc_html__('Disabled', 'sign-up-sheets'),
    171                             'true'  => esc_html__('Enabled', 'sign-up-sheets'),
    172                             'semi'  => esc_html__('Semi-Compact', 'sign-up-sheets'),
     162                            ''      => esc_html__('Global', 'fdsus'),
     163                            'false' => esc_html__('Disabled', 'fdsus'),
     164                            'true'  => esc_html__('Enabled', 'fdsus'),
     165                            'semi'  => esc_html__('Semi-Compact', 'fdsus'),
    173166                        ),
    174                         'append'  => ' <em>' . esc_html__('Show sign-up spots on one line with just # of open spots and a link to sign-up if open. Semi-Compact will also include the names of those who already signed up (assuming "Front-end Display Names" is not set to "anonymous"', 'sign-up-sheets') . '</em>',
     167                        'append'  => ' <em>' . esc_html__('Show sign-up spots on one line with just # of open spots and a link to sign-up if open. Semi-Compact will also include the names of those who already signed up (assuming "Front-end Display Names" is not set to "anonymous"', 'fdsus') . '</em>',
    175168                        'order'   => 70,
    176169                        'wrap_class' => 'dlsmb-field-col-12',
     
    178171                    ),
    179172                    array(
    180                         'label'   => esc_html__('Enable Task Checkboxes', 'sign-up-sheets'),
     173                        'label'   => esc_html__('Enable Task Checkboxes', 'fdsus'),
    181174                        'key'     => Id::PREFIX . '_use_task_checkboxes',
    182175                        'type'    => 'select',
     
    186179                    ),
    187180                    array(
    188                         'label'   => esc_html__('Enable task sign-up limit', 'sign-up-sheets'),
     181                        'label'   => esc_html__('Enable task sign-up limit', 'fdsus'),
    189182                        'key'     => Id::PREFIX . '_task_signup_limit',
    190183                        'type'    => 'select',
     
    194187                    ),
    195188                    array(
    196                         'label'   => esc_html__('Enable contiguous task sign-up limit', 'sign-up-sheets'),
     189                        'label'   => esc_html__('Enable contiguous task sign-up limit', 'fdsus'),
    197190                        'key'     => Id::PREFIX . '_contiguous_task_signup_limit',
    198191                        'type'    => 'select',
     
    202195                    ),
    203196                    array(
    204                         'label'   => esc_html__('Auto-clear Schedule', 'sign-up-sheets'),
     197                        'label'   => esc_html__('Auto-clear Schedule', 'fdsus'),
    205198                        'key'     => 'fdsus_autoclear',
    206199                        'type'    => 'checkboxes',
    207200                        'options' => $this->getDaysOfWeekArray(),
    208201                        'append' => Id::isPro() && !Settings::isAutoclearSignupsAllowed()
    209                             ? ' <em>' . esc_html__('Auto-clear is not currently allowed globally under "Sign-up Sheets > Settings". Enable it for this setting to take effect.', 'sign-up-sheets') . '</em>'
     202                            ? ' <em>' . esc_html__('Auto-clear is not currently allowed globally under "Sign-up Sheets > Settings". Enable it for this setting to take effect.', 'fdsus') . '</em>'
    210203                            : '',
    211204                        'order'   => 110,
     
    214207                    ),
    215208                    array(
    216                         'label'      => esc_html__('Confirmation Email Message', 'sign-up-sheets'),
     209                        'label'      => esc_html__('Confirmation Email Message', 'fdsus'),
    217210                        'key'        => Id::PREFIX . '_sheet_email_conf_message',
    218211                        'type'       => 'textarea',
    219                         'append'     => ' <br><em>' . esc_html__('Global setting in Settings > Sign-up Sheets', 'sign-up-sheets') . '</em>',
     212                        'append'     => ' <br><em>' . esc_html__('Global setting in Settings > Sign-up Sheets', 'fdsus') . '</em>',
    220213                        'order'      => 130,
    221214                        'wrap_class' => 'dlsmb-field-col-6',
     
    223216                    ),
    224217                    array(
    225                         'label'      => esc_html__('Reminder Email Message', 'sign-up-sheets'),
     218                        'label'      => esc_html__('Reminder Email Message', 'fdsus'),
    226219                        'key'        => Id::PREFIX . '_sheet_email_message',
    227220                        'type'       => 'textarea',
    228                         'append'     => ' <br><em>' . esc_html__('Global setting in Settings > Sign-up Sheets', 'sign-up-sheets') . '</em>',
     221                        'append'     => ' <br><em>' . esc_html__('Global setting in Settings > Sign-up Sheets', 'fdsus') . '</em>',
    229222                        'order'      => 140,
    230223                        'wrap_class' => 'dlsmb-field-col-6',
  • sign-up-sheets/trunk/model/settings-meta-boxes.php

    r3233567 r3234219  
    2828     * $options = array(
    2929     *     'id'      => 'sheet',
    30      *     'title'   => esc_html__('Sign-up Sheet', 'sign-up-sheets'),
     30     *     'title'   => esc_html__('Sign-up Sheet', 'fdsus'),
    3131     *     'order'   => 10,
    3232     *     'options' => array(
     
    5555
    5656        // Sheets Listing
    57         $sheetSelection = array('' => esc_html__('All', 'sign-up-sheets'));
     57        $sheetSelection = array('' => esc_html__('All', 'fdsus'));
    5858        if (Id::isPro()) {
    5959            $sheetCollection = new SheetCollectionModel();
     
    8282        $options['sheet'] = array(
    8383            'id'      => 'sheet',
    84             'title'   => esc_html__('Sign-up Sheet', 'sign-up-sheets'),
     84            'title'   => esc_html__('Sign-up Sheet', 'fdsus'),
    8585            'order'   => 10,
    8686            'options' => array(
    8787                array(
    88                     'label'   => esc_html__('Sheet order on Front-end', 'sign-up-sheets'),
     88                    'label'   => esc_html__('Sheet order on Front-end', 'fdsus'),
    8989                    'name'    => 'dls_sus_sheet_order',
    9090                    'type'    => 'dropdown',
     
    9393                ),
    9494                array(
    95                     'label' => esc_html__('Show All Sign-up Data Fields on Front-end', 'sign-up-sheets'),
     95                    'label' => esc_html__('Show All Sign-up Data Fields on Front-end', 'fdsus'),
    9696                    'name'  => 'dls_sus_display_all',
    9797                    'type'  => 'checkbox',
    98                     'note'  => esc_html__('WARNING: Sign-up sheet table will appear much like the table when sign-ups are viewed via the admin. This option will potentially display personal user information on the frontend like email address and phone.  This option is best used if you are using the [sign_up_sheet] short code within a password protected area. (This also overrides the "Front-end Display Names" option and displays all as full names.)', 'sign-up-sheets'),
     98                    'note'  => esc_html__('WARNING: Sign-up sheet table will appear much like the table when sign-ups are viewed via the admin. This option will potentially display personal user information on the frontend like email address and phone.  This option is best used if you are using the [sign_up_sheet] short code within a password protected area. (This also overrides the "Front-end Display Names" option and displays all as full names.)', 'fdsus'),
    9999                    'order' => 20
    100100                ),
    101101                array(
    102                     'label'   => esc_html__('Front-end Display Names', 'sign-up-sheets'),
     102                    'label'   => esc_html__('Front-end Display Names', 'fdsus'),
    103103                    'name'    => 'dls_sus_display_name',
    104104                    'type'    => 'dropdown',
    105                     'note'    => esc_html__('How the user\'s name should be displayed on the front-end after they sign-up', 'sign-up-sheets'),
     105                    'note'    => esc_html__('How the user\'s name should be displayed on the front-end after they sign-up', 'fdsus'),
    106106                    'options' => array(
    107107                        'default'   => '"John S." - first name plus first letter of last name',
    108108                        'full'      => '"John Smith" - full name',
    109                         'anonymous' => '"' . esc_html__('Filled', 'sign-up-sheets') . '" - ' . esc_html__('anonymous', 'sign-up-sheets'),
     109                        'anonymous' => '"' . esc_html__('Filled', 'fdsus') . '" - ' . esc_html__('anonymous', 'fdsus'),
    110110                    ),
    111111                    'th-rowspan' => 2,
     
    118118                    'type'    => 'dropdown',
    119119                    'note'    => '<span id="fdsus_display_name_username_override-label">' . esc_html__(
    120                         'For logged in users, override the Front-end Display Name with their WP username on their sign-ups.', 'sign-up-sheets'
     120                        'For logged in users, override the Front-end Display Name with their WP username on their sign-ups.', 'fdsus'
    121121                    ) . '</span>',
    122122                    'options' => array(
    123                         ''             => esc_html__('Not Enabled', 'sign-up-sheets'),
    124                         'display_name' => esc_html__('Public Display Name', 'sign-up-sheets'),
    125                         'nickname'     => esc_html__('Nickname', 'sign-up-sheets'),
    126                         'user_login'   => esc_html__('Username', 'sign-up-sheets'),
     123                        ''             => esc_html__('Not Enabled', 'fdsus'),
     124                        'display_name' => esc_html__('Public Display Name', 'fdsus'),
     125                        'nickname'     => esc_html__('Nickname', 'fdsus'),
     126                        'user_login'   => esc_html__('Username', 'fdsus'),
    127127                    ),
    128128                    'aria-labelledby' => 'fdsus_display_name_username_override-label',
     
    131131                ),
    132132                array(
    133                     'label' => esc_html__('Compact Sign-up Mode', 'sign-up-sheets'),
     133                    'label' => esc_html__('Compact Sign-up Mode', 'fdsus'),
    134134                    'name'  => 'dls_sus_compact_signups',
    135135                    'type'  => 'dropdown',
    136                     'note'  => esc_html__('Show sign-up spots on one line with just # of open spots and a link to sign-up if open. Semi-Compact will also include the names of those who already signed up (assuming "Front-end Display Names" is not set to "anonymous"', 'sign-up-sheets'),
     136                    'note'  => esc_html__('Show sign-up spots on one line with just # of open spots and a link to sign-up if open. Semi-Compact will also include the names of those who already signed up (assuming "Front-end Display Names" is not set to "anonymous"', 'fdsus'),
    137137                    'options' => array(
    138                         'false' => esc_html__('Disabled', 'sign-up-sheets'),
    139                         'true'  => esc_html__('Enabled', 'sign-up-sheets'),
    140                         'semi'  => esc_html__('Semi-Compact', 'sign-up-sheets'),
     138                        'false' => esc_html__('Disabled', 'fdsus'),
     139                        'true'  => esc_html__('Enabled', 'fdsus'),
     140                        'semi'  => esc_html__('Semi-Compact', 'fdsus'),
    141141                    ),
    142142                    'order' => 40,
     
    144144                ),
    145145                array(
    146                     'label' => esc_html__('Enable task sign-up limit', 'sign-up-sheets'),
     146                    'label' => esc_html__('Enable task sign-up limit', 'fdsus'),
    147147                    'name'  => 'dls_sus_task_signup_limit',
    148148                    'type'  => 'checkbox',
    149                     'note'  => esc_html__('Prevent users from being able to sign-up for a task more than once.  This is checked by email address.', 'sign-up-sheets'),
     149                    'note'  => esc_html__('Prevent users from being able to sign-up for a task more than once.  This is checked by email address.', 'fdsus'),
    150150                    'order' => 50,
    151151                    'pro'   => true
    152152                ),
    153153                array(
    154                     'label' => esc_html__('Enable contiguous task sign-up limit', 'sign-up-sheets'),
     154                    'label' => esc_html__('Enable contiguous task sign-up limit', 'fdsus'),
    155155                    'name'  => 'dls_sus_contiguous_task_signup_limit',
    156156                    'type'  => 'checkbox',
    157                     'note'  => esc_html__('Prevent users from being able to sign-up for a task directly before or after a task for which they have already signed up.  This is checked by email address.', 'sign-up-sheets'),
     157                    'note'  => esc_html__('Prevent users from being able to sign-up for a task directly before or after a task for which they have already signed up.  This is checked by email address.', 'fdsus'),
    158158                    'order' => 60,
    159159                    'pro'   => true
    160160                ),
    161161                array(
    162                     'label' => esc_html__('Enable Task Checkboxes', 'sign-up-sheets'),
     162                    'label' => esc_html__('Enable Task Checkboxes', 'fdsus'),
    163163                    'name'  => 'dls_sus_enable_task_checkbox',
    164164                    'type'  => 'checkbox',
    165                     'note'  => esc_html__('Allow check boxes on signup line items that allow user to sign up for multiple tasks.', 'sign-up-sheets'),
     165                    'note'  => esc_html__('Allow check boxes on signup line items that allow user to sign up for multiple tasks.', 'fdsus'),
    166166                    'order' => 70,
    167167                    'pro'   => true
    168168                ),
    169169                array(
    170                     'label' => esc_html__('Enable Spot Lock', 'sign-up-sheets'),
     170                    'label' => esc_html__('Enable Spot Lock', 'fdsus'),
    171171                    'name'  => 'dls_sus_spot_lock',
    172172                    'type'  => 'checkbox',
    173                     'note'  => esc_html__('Spot will be locked and held for current user for 3 minutes when they access the sign-up form page.  Spot Lock is available when signing up for a single task at a time.', 'sign-up-sheets'),
     173                    'note'  => esc_html__('Spot will be locked and held for current user for 3 minutes when they access the sign-up form page.  Spot Lock is available when signing up for a single task at a time.', 'fdsus'),
    174174                    'order' => 80,
    175175                    'pro'   => true
    176176                ),
    177177                array(
    178                     'label' => esc_html__('Hide self-removal from Sign-up Sheet', 'sign-up-sheets'),
     178                    'label' => esc_html__('Hide self-removal from Sign-up Sheet', 'fdsus'),
    179179                    'name'  => 'dls_sus_hide_removal',
    180180                    'type'  => 'checkbox',
    181                     'note' => esc_html__('Hides the "Remove" link from the sign-up form if users were logged in when they signed up. This is always hidden if "Front-end Display Names" is set to "anonymous".', 'sign-up-sheets'),
     181                    'note' => esc_html__('Hides the "Remove" link from the sign-up form if users were logged in when they signed up. This is always hidden if "Front-end Display Names" is set to "anonymous".', 'fdsus'),
    182182                    'order' => 85,
    183183                    'pro'   => true
    184184                ),
    185185                array(
    186                     'label' => esc_html__('Number of days before sheet/task date to allow users to edit their own sign-ups', 'sign-up-sheets'),
     186                    'label' => esc_html__('Number of days before sheet/task date to allow users to edit their own sign-ups', 'fdsus'),
    187187                    'name'  => 'fdsus_user_editable_signups',
    188188                    'type'  => 'number',
    189                     'note'  => esc_html__('Leave blank to disable the user edit feature. Number entered will calculate based on the task date, if set, otherwise it will use the sheet date.  If no sheet and task date is set, editing will be allowed indefinitely.  Use negative numbers to allow editing after the date has passed', 'sign-up-sheets'),
     189                    'note'  => esc_html__('Leave blank to disable the user edit feature. Number entered will calculate based on the task date, if set, otherwise it will use the sheet date.  If no sheet and task date is set, editing will be allowed indefinitely.  Use negative numbers to allow editing after the date has passed', 'fdsus'),
    190190                    'order' => 88,
    191191                    'pro'   => true
    192192                ),
    193193                array(
    194                     'label' => esc_html__('Show Filled Spots in Admin Edit Sheet', 'sign-up-sheets'),
     194                    'label' => esc_html__('Show Filled Spots in Admin Edit Sheet', 'fdsus'),
    195195                    'name'  => 'dls_sus_show_filled_spots_admin_edit',
    196196                    'type'  => 'checkbox',
    197                     'note'  => esc_html__('Show names and count of filled spots in the admin Edit Sheet screen.', 'sign-up-sheets'),
     197                    'note'  => esc_html__('Show names and count of filled spots in the admin Edit Sheet screen.', 'fdsus'),
    198198                    'order' => 90,
    199199                    'pro'   => true
    200200                ),
    201201                array(
    202                     'label' => esc_html__('Allow Auto-Clearing Sign-ups Per Sheet', 'sign-up-sheets'),
     202                    'label' => esc_html__('Allow Auto-Clearing Sign-ups Per Sheet', 'fdsus'),
    203203                    'name'  => 'fdsus_allow_autoclear_signups',
    204204                    'type'  => 'checkbox',
    205205                    'note'  =>
    206206                        /* translators: %s is replaced with the timestamp of the next cron scheduled */
    207                         sprintf(esc_html__('Next scheduled check: %s', 'sign-up-sheets'),
     207                        sprintf(esc_html__('Next scheduled check: %s', 'fdsus'),
    208208                            Settings::getNextScheduledCronCheck('fdsus_autoclear'))
    209209                        . '<ul>'
    210210                            . '<li>'
    211                                 . esc_html__('Enabling this activates the optional setting on each Sheet under "Additional Settings" which provides the ability auto-clear all sign-ups for that sheet on a schedule.', 'sign-up-sheets')
     211                                . esc_html__('Enabling this activates the optional setting on each Sheet under "Additional Settings" which provides the ability auto-clear all sign-ups for that sheet on a schedule.', 'fdsus')
    212212                            . '</li><li>'
    213                                 . esc_html__('Your site will check if there are sheets that need to be cleared that need to be sent using the', 'sign-up-sheets')
    214                                 . ' <a href="https://developer.wordpress.org/plugins/cron/">' . esc_html__('WordPress Cron', 'sign-up-sheets') . '</a>'
     213                                . esc_html__('Your site will check if there are sheets that need to be cleared that need to be sent using the', 'fdsus')
     214                                . ' <a href="https://developer.wordpress.org/plugins/cron/">' . esc_html__('WordPress Cron', 'fdsus') . '</a>'
    215215                            . '</li><li>'
    216                                 . esc_html__('If you just enabled/disabled this, you may need to refresh this page to see the updated "Next scheduled check"', 'sign-up-sheets')
     216                                . esc_html__('If you just enabled/disabled this, you may need to refresh this page to see the updated "Next scheduled check"', 'fdsus')
    217217                            . '</li>'
    218218                        . '</ul>',
     
    221221                ),
    222222                array(
    223                     'label'   => esc_html__('Custom Task Fields', 'sign-up-sheets'),
     223                    'label'   => esc_html__('Custom Task Fields', 'fdsus'),
    224224                    'name'    => 'dls_sus_custom_task_fields',
    225225                    'type'    => 'repeater',
     
    240240        $options['form'] = array(
    241241            'id'      => 'form',
    242             'title'   => esc_html__('Sign-up Form', 'sign-up-sheets'),
     242            'title'   => esc_html__('Sign-up Form', 'fdsus'),
    243243            'order'   => 20,
    244244            'options' => array(
    245245                array(
    246                     'label' => esc_html__('Show "Remember Me" checkbox', 'sign-up-sheets'),
     246                    'label' => esc_html__('Show "Remember Me" checkbox', 'fdsus'),
    247247                    'name'  => 'dls_sus_remember',
    248248                    'type'  => 'checkbox',
     
    251251                ),
    252252                array(
    253                     'label' => esc_html__('Set Phone as Optional', 'sign-up-sheets'),
     253                    'label' => esc_html__('Set Phone as Optional', 'fdsus'),
    254254                    'name'  => 'dls_sus_optional_phone',
    255255                    'type'  => 'checkbox',
     
    257257                ),
    258258                array(
    259                     'label' => esc_html__('Set Address as Optional', 'sign-up-sheets'),
     259                    'label' => esc_html__('Set Address as Optional', 'fdsus'),
    260260                    'name' => 'dls_sus_optional_address',
    261261                    'type' => 'checkbox',
     
    263263                ),
    264264                array(
    265                     'label' => esc_html__('Set Email as Optional', 'sign-up-sheets'),
    266                     'name' => 'fdsus_optional_email',
    267                     'type' => 'checkbox',
    268                     'order' => 22
    269                 ),
    270                 array(
    271                     'label' => esc_html__('Hide Phone Field', 'sign-up-sheets'),
     265                    'label' => esc_html__('Hide Email Field', 'fdsus'),
     266                    'name'  => 'dls_sus_hide_email',
     267                    'type'  => 'checkbox',
     268                    'order' => 30
     269                ),
     270                array(
     271                    'label' => esc_html__('Hide Phone Field', 'fdsus'),
    272272                    'name'  => 'dls_sus_hide_phone',
    273273                    'type'  => 'checkbox',
     
    275275                ),
    276276                array(
    277                     'label' => esc_html__('Hide Address Fields', 'sign-up-sheets'),
     277                    'label' => esc_html__('Hide Address Fields', 'fdsus'),
    278278                    'name'  => 'dls_sus_hide_address',
    279279                    'type'  => 'checkbox',
     
    281281                ),
    282282                array(
    283                     'label' => esc_html__('Hide Email Field', 'sign-up-sheets'),
    284                     'name'  => 'dls_sus_hide_email',
    285                     'type'  => 'checkbox',
    286                     'order' => 42
    287                 ),
    288                 array(
    289                     'label' => esc_html__('Disable User Auto-populate', 'sign-up-sheets'),
     283                    'label' => esc_html__('Disable User Auto-populate', 'fdsus'),
    290284                    'name'  => 'dls_sus_disable_user_autopopulate',
    291285                    'type'  => 'checkbox',
    292                     'note'  => esc_html__('By default, for users that are logged in, their name and email auto-populates on sign-up form when available. This option disables that behavior.', 'sign-up-sheets'),
     286                    'note'  => esc_html__('By default, for users that are logged in, their name and email auto-populates on sign-up form when available. This option disables that behavior.', 'fdsus'),
    293287                    'order' => 45
    294288                ),
    295289                array(
    296                     'label' => esc_html__('Disable Mail Check Validation', 'sign-up-sheets'),
     290                    'label' => esc_html__('Disable Mail Check Validation', 'fdsus'),
    297291                    'name'  => 'dls_sus_deactivate_email_validation',
    298292                    'type'  => 'checkbox',
    299                     'note'  => esc_html__('Validation includes a JS check for standard email formatting, possible incorrect domains with suggestions as well as an MX record check on the domain to confirm it is setup to receive emails', 'sign-up-sheets'),
     293                    'note'  => esc_html__('Validation includes a JS check for standard email formatting, possible incorrect domains with suggestions as well as an MX record check on the domain to confirm it is setup to receive emails', 'fdsus'),
    300294                    'order' => 50
    301295                ),
    302296                array(
    303                     'label' => esc_html__('Disable sign-up link auto-scroll to sheet (hash in sign-up link)', 'sign-up-sheets'),
     297                    'label' => esc_html__('Disable sign-up link auto-scroll to sheet (hash in sign-up link)', 'fdsus'),
    304298                    'name'  => 'fdsus_disable_signup_link_hash',
    305299                    'type'  => 'checkbox',
    306                     'note'  => esc_html__('The hash on the sign-up link is useful especially on longer pages where sheets are embedded further down the page or where the sheet description is longer.  When the feature is enabled and the user clicks the sign-up link, it includes a `#` hash to and ID pointing to that same location where the sign-up form will appear on the next page.', 'sign-up-sheets'),
     300                    'note'  => esc_html__('The hash on the sign-up link is useful especially on longer pages where sheets are embedded further down the page or where the sheet description is longer.  When the feature is enabled and the user clicks the sign-up link, it includes a `#` hash to and ID pointing to that same location where the sign-up form will appear on the next page.', 'fdsus'),
    307301                    'order' => 55
    308302                ),
    309303                array(
    310                     'label' => esc_html__('Sign-up Success Message Receipt', 'sign-up-sheets'),
     304                    'label' => esc_html__('Sign-up Success Message Receipt', 'fdsus'),
    311305                    'name'  => 'dls_sus_signup_receipt',
    312306                    'type'  => 'checkbox',
    313                     'note'  => esc_html__('Displays a receipt below the sign-up success message which includes a copy of all the task details and all fields they entered in the sign-up form. Default: `unchecked`', 'sign-up-sheets'),
     307                    'note'  => esc_html__('Displays a receipt below the sign-up success message which includes a copy of all the task details and all fields they entered in the sign-up form. Default: `unchecked`', 'fdsus'),
    314308                    'order' => 60,
    315309                    'pro'   => true
    316310                ),
    317311                array(
    318                     'label'   => esc_html__('Custom Sign-up Fields', 'sign-up-sheets'),
     312                    'label'   => esc_html__('Custom Sign-up Fields', 'fdsus'),
    319313                    'name'    => 'dls_sus_custom_fields',
    320314                    'type'    => 'repeater',
     
    337331        $options['spam'] = array(
    338332            'id'      => 'spam',
    339             'title'   => esc_html__('Captcha and Spam Prevention', 'sign-up-sheets'),
     333            'title'   => esc_html__('Captcha and Spam Prevention', 'fdsus'),
    340334            'order'   => 30,
    341335            'options' => array(
    342336                array(
    343                     'label' => esc_html__('Disable honeypot', 'sign-up-sheets'),
     337                    'label' => esc_html__('Disable honeypot', 'fdsus'),
    344338                    'name'  => 'dls_sus_disable_honeypot',
    345339                    'type'  => 'checkbox',
    346                     'note'  => esc_html__('A honeypot is a less-invasive technique to reduce SPAM submission using a hidden field on the sign-up form.  It can be used in place of or alongside the captcha.', 'sign-up-sheets')
    347                 ),
    348                 array(
    349                     'label' => esc_html__('Disable all Captcha', 'sign-up-sheets'),
     340                    'note'  => esc_html__('A honeypot is a less-invasive technique to reduce SPAM submission using a hidden field on the sign-up form.  It can be used in place of or alongside the captcha.', 'fdsus')
     341                ),
     342                array(
     343                    'label' => esc_html__('Disable all Captcha', 'fdsus'),
    350344                    'name'  => 'dls_sus_disable_captcha',
    351                     'type' => 'checkbox', esc_html__('Will disable all captcha even if you have reCAPTCHA enabled below', 'sign-up-sheets')),
    352                 array('Use reCAPTCHA', 'dls_sus_recaptcha', 'checkbox', esc_html__('Will replace the default simple captcha validation', 'sign-up-sheets')),
    353                 array('reCAPTCHA Public Key', 'dls_sus_recaptcha_public_key', 'text', esc_html__('From your account at https://www.google.com/recaptcha/', 'sign-up-sheets')),
    354                 array('reCAPTCHA Private Key', 'dls_sus_recaptcha_private_key', 'text', esc_html__('From your account at https://www.google.com/recaptcha/', 'sign-up-sheets')),
     345                    'type' => 'checkbox', esc_html__('Will disable all captcha even if you have reCAPTCHA enabled below', 'fdsus')),
     346                array('Use reCAPTCHA', 'dls_sus_recaptcha', 'checkbox', esc_html__('Will replace the default simple captcha validation', 'fdsus')),
     347                array('reCAPTCHA Public Key', 'dls_sus_recaptcha_public_key', 'text', esc_html__('From your account at https://www.google.com/recaptcha/', 'fdsus')),
     348                array('reCAPTCHA Private Key', 'dls_sus_recaptcha_private_key', 'text', esc_html__('From your account at https://www.google.com/recaptcha/', 'fdsus')),
    355349                array('reCAPTCHA Version', 'dls_sus_recaptcha_version', 'dropdown', '', array('v3' => 'v3', 'v2-checkbox' => 'v2 Checkbox', 'v2-invisible' => 'v2 Invisible')),
    356350            )
     
    359353        $options['confirmation_email'] = array(
    360354            'id'      => 'confirmation_email',
    361             'title'   => esc_html__('Confirmation E-mail', 'sign-up-sheets'),
     355            'title'   => esc_html__('Confirmation E-mail', 'fdsus'),
    362356            'order'   => 40,
    363357            'options' => array(
    364358                array(
    365                     'label' => esc_html__('Enable', 'sign-up-sheets'),
     359                    'label' => esc_html__('Enable', 'fdsus'),
    366360                    'name'  => 'fdsus_enable_confirmation_email',
    367361                    'type'  => 'checkbox',
     
    371365                ),
    372366                array(
    373                     'label' => esc_html__('Subject', 'sign-up-sheets'),
     367                    'label' => esc_html__('Subject', 'fdsus'),
    374368                    'name'  => 'dls_sus_email_subject',
    375369                    'type'  => 'text',
    376370                    /* translators: %s is replaced with the default subject */
    377                     'note'  => esc_html(sprintf(__('If blank, defaults to... "%s"', 'sign-up-sheets'), Settings::$defaultMailSubjects['signup'])),
     371                    'note'  => esc_html(sprintf(__('If blank, defaults to... "%s"', 'fdsus'), Settings::$defaultMailSubjects['signup'])),
    378372                    'order' => 20
    379373                ),
    380374                array(
    381                     'label' => esc_html__('From E-mail Address', 'sign-up-sheets'),
     375                    'label' => esc_html__('From E-mail Address', 'fdsus'),
    382376                    'name'  => 'dls_sus_email_from',
    383377                    'type'  => 'text',
    384                     'note'  => esc_html__('If blank, defaults to WordPress email on file under Settings > General', 'sign-up-sheets'),
     378                    'note'  => esc_html__('If blank, defaults to WordPress email on file under Settings > General', 'fdsus'),
    385379                    'order' => 30
    386380                ),
    387381                array(
    388                     'label'    => esc_html__('BCC', 'sign-up-sheets'),
     382                    'label'    => esc_html__('BCC', 'fdsus'),
    389383                    'name'     => 'dls_sus_email_bcc',
    390384                    'type'     => 'text',
    391                     'note'     => esc_html__('Comma separate for multiple email addresses', 'sign-up-sheets'),
     385                    'note'     => esc_html__('Comma separate for multiple email addresses', 'fdsus'),
    392386                    'order'    => 40,
    393387                    'pro'      => true
    394388                ),
    395389                array(
    396                     'label'    => esc_html__('Message', 'sign-up-sheets'),
     390                    'label'    => esc_html__('Message', 'fdsus'),
    397391                    'name'     => 'dls_sus_email_message',
    398392                    'type'     => 'textarea',
     
    406400                            <code>{site_url}</code> - %s<br>
    407401                            <code>{removal_link}</code> - %s',
    408                         esc_html__('Variables that can be used in template...', 'sign-up-sheets'),
    409                         esc_html__('Multi-line list of sign-up details such as date, sheet title, task title', 'sign-up-sheets'),
    410                         esc_html__('First name of user that signed up', 'sign-up-sheets'),
    411                         esc_html__('Last name of user that signed up', 'sign-up-sheets'),
    412                         esc_html__('Email of user that signed up', 'sign-up-sheets'),
    413                         esc_html__('Name of site as defined in Settings > General > Site Title', 'sign-up-sheets'),
    414                         esc_html__('URL of site', 'sign-up-sheets'),
    415                         esc_html__('Link to remove sign-up', 'sign-up-sheets')
     402                        esc_html__('Variables that can be used in template...', 'fdsus'),
     403                        esc_html__('Multi-line list of sign-up details such as date, sheet title, task title', 'fdsus'),
     404                        esc_html__('First name of user that signed up', 'fdsus'),
     405                        esc_html__('Last name of user that signed up', 'fdsus'),
     406                        esc_html__('Email of user that signed up', 'fdsus'),
     407                        esc_html__('Name of site as defined in Settings > General > Site Title', 'fdsus'),
     408                        esc_html__('URL of site', 'fdsus'),
     409                        esc_html__('Link to remove sign-up', 'fdsus')
    416410                    ),
    417411                    'order'    => 50,
     
    423417        $options['removal_confirmation_email'] = array(
    424418            'id'      => 'removal_confirmation_email',
    425             'title'   => esc_html__('Removal Confirmation E-mail', 'sign-up-sheets') . (!Id::isPro() ? ' <span class="dls-sus-pro" title="Pro Feature">Pro</span>' : ''),
     419            'title'   => esc_html__('Removal Confirmation E-mail', 'fdsus') . (!Id::isPro() ? ' <span class="dls-sus-pro" title="Pro Feature">Pro</span>' : ''),
    426420            'order'   => 50,
    427421            'options' => array(
    428422                array(
    429                     'label' => esc_html__('Enable', 'sign-up-sheets'),
     423                    'label' => esc_html__('Enable', 'fdsus'),
    430424                    'name'  => 'fdsus_enable_removal_confirmation_email',
    431425                    'type'  => 'checkbox',
     
    435429                ),
    436430                array(
    437                     'label' => esc_html__('Message', 'sign-up-sheets'),
     431                    'label' => esc_html__('Message', 'fdsus'),
    438432                    'name'  => 'dls_sus_removed_email_message',
    439433                    'type'  => 'textarea',
     
    446440                            <code>{site_name}</code> - %s<br>
    447441                            <code>{site_url}</code> - %s',
    448                         esc_html__('Variables that can be used in template...', 'sign-up-sheets'),
    449                         esc_html__('Multi-line list of sign-up details such as date, sheet title, task title', 'sign-up-sheets'),
    450                         esc_html__('First name of user that signed up', 'sign-up-sheets'),
    451                         esc_html__('Last name of user that signed up', 'sign-up-sheets'),
    452                         esc_html__('Email of user that signed up', 'sign-up-sheets'),
    453                         esc_html__('Name of site as defined in Settings > General > Site Title', 'sign-up-sheets'),
    454                         esc_html__('URL of site', 'sign-up-sheets')
     442                        esc_html__('Variables that can be used in template...', 'fdsus'),
     443                        esc_html__('Multi-line list of sign-up details such as date, sheet title, task title', 'fdsus'),
     444                        esc_html__('First name of user that signed up', 'fdsus'),
     445                        esc_html__('Last name of user that signed up', 'fdsus'),
     446                        esc_html__('Email of user that signed up', 'fdsus'),
     447                        esc_html__('Name of site as defined in Settings > General > Site Title', 'fdsus'),
     448                        esc_html__('URL of site', 'fdsus')
    455449                    ),
    456450                    'order' => 20,
     
    462456        $options['reminder_email'] = array(
    463457            'id'      => 'reminder_email',
    464             'title'   => esc_html__('Reminder E-mail', 'sign-up-sheets') . (!Id::isPro() ? ' <span class="dls-sus-pro" title="' . esc_html__('Pro Feature', 'sign-up-sheets') . '">' . esc_html__('Pro', 'sign-up-sheets') . '</span>' : ''),
     458            'title'   => esc_html__('Reminder E-mail', 'fdsus') . (!Id::isPro() ? ' <span class="dls-sus-pro" title="' . esc_html__('Pro Feature', 'fdsus') . '">' . esc_html__('Pro', 'fdsus') . '</span>' : ''),
    465459            'order'   => 60,
    466460            'options' => array(
    467461                array(
    468                     'label' => esc_html__('Enable Reminders', 'sign-up-sheets'),
     462                    'label' => esc_html__('Enable Reminders', 'fdsus'),
    469463                    'name'  => 'dls_sus_reminder_email',
    470464                    'type'  => 'checkbox',
    471465                    'note'  =>
    472466                        /* translators: %s is replaced with the timestamp of the next cron scheduled */
    473                         sprintf(esc_html__('Next scheduled check: %s', 'sign-up-sheets'),
     467                        sprintf(esc_html__('Next scheduled check: %s', 'fdsus'),
    474468                            Settings::getNextScheduledCronCheck('dls_sus_send_reminders'))
    475469                        . '<ul>'
    476470                            . '<li>'
    477                                 . esc_html__('Your site will check hourly to see if there are reminders that need to be sent using the', 'sign-up-sheets')
    478                                 . ' <a href="https://developer.wordpress.org/plugins/cron/">' . esc_html__('WordPress Cron', 'sign-up-sheets') . '</a>'
     471                                . esc_html__('Your site will check hourly to see if there are reminders that need to be sent using the', 'fdsus')
     472                                . ' <a href="https://developer.wordpress.org/plugins/cron/">' . esc_html__('WordPress Cron', 'fdsus') . '</a>'
    479473                            . '</li><li>'
    480                                 . esc_html__('If you just enabled/disabled this, you may need to refresh this page to see the updated "Next scheduled check"', 'sign-up-sheets')
     474                                . esc_html__('If you just enabled/disabled this, you may need to refresh this page to see the updated "Next scheduled check"', 'fdsus')
    481475                            . '</li>'
    482476                        . '</ul>',
     
    484478                ),
    485479                array(
    486                     'label' => esc_html__('Reminder Schedule', 'sign-up-sheets'),
     480                    'label' => esc_html__('Reminder Schedule', 'fdsus'),
    487481                    'name'  => 'dls_sus_reminder_email_days_before',
    488482                    'type'  => 'text',
    489                     'note'  => esc_html__('Number of days before the date on the sign-up sheet that the email should be sent.  Use whole numbers, for example, to remind one day before use...', 'sign-up-sheets') . ' <code>1</code> ' . esc_html__('This field is required.', 'sign-up-sheets'),
     483                    'note'  => esc_html__('Number of days before the date on the sign-up sheet that the email should be sent.  Use whole numbers, for example, to remind one day before use...', 'fdsus') . ' <code>1</code> ' . esc_html__('This field is required.', 'fdsus'),
    490484                    'pro' => true
    491485                ),
    492486                array(
    493                     'label' => esc_html__('Subject', 'sign-up-sheets'),
     487                    'label' => esc_html__('Subject', 'fdsus'),
    494488                    'name'  => 'dls_sus_reminder_email_subject',
    495489                    'type'  => 'text',
    496490                    /* translators: %s is replaced with the default subject */
    497                     'note' => esc_html(sprintf(__('If blank, defaults to... "%s"', 'sign-up-sheets'), Settings::$defaultMailSubjects['reminder'])),
     491                    'note' => esc_html(sprintf(__('If blank, defaults to... "%s"', 'fdsus'), Settings::$defaultMailSubjects['reminder'])),
    498492                    'pro' => true
    499493                ),
    500494                array(
    501                     'label' => esc_html__('From E-mail Address', 'sign-up-sheets'),
     495                    'label' => esc_html__('From E-mail Address', 'fdsus'),
    502496                    'name'  => 'dls_sus_reminder_email_from',
    503497                    'type'  => 'text',
    504                     'note'  => esc_html__('If blank, defaults to WordPress email on file under Settings > General', 'sign-up-sheets'),
     498                    'note'  => esc_html__('If blank, defaults to WordPress email on file under Settings > General', 'fdsus'),
    505499                    'pro' => true
    506500                ),
    507501                array(
    508                     'label' => esc_html__('BCC', 'sign-up-sheets'),
     502                    'label' => esc_html__('BCC', 'fdsus'),
    509503                    'name'  => 'dls_sus_reminder_email_bcc',
    510504                    'type'  => 'text',
    511                     'note'  => esc_html__('Comma separate for multiple email addresses', 'sign-up-sheets'),
     505                    'note'  => esc_html__('Comma separate for multiple email addresses', 'fdsus'),
    512506                    'pro' => true
    513507                ),
    514508                array(
    515                     'label' => esc_html__('Message', 'sign-up-sheets'),
     509                    'label' => esc_html__('Message', 'fdsus'),
    516510                    'name'  => 'dls_sus_reminder_email_message',
    517511                    'type'  => 'textarea',
     
    524518                            <code>{site_name}</code> - %s<br>
    525519                            <code>{site_url}</code> - %s',
    526                         esc_html__('Variables that can be used in template...', 'sign-up-sheets'),
    527                         esc_html__('Multi-line list of sign-up details such as date, sheet title, task title', 'sign-up-sheets'),
    528                         esc_html__('First name of user that signed up', 'sign-up-sheets'),
    529                         esc_html__('Last name of user that signed up', 'sign-up-sheets'),
    530                         esc_html__('Email of user that signed up', 'sign-up-sheets'),
    531                         esc_html__('Name of site as defined in Settings > General > Site Title', 'sign-up-sheets'),
    532                         esc_html__('URL of site', 'sign-up-sheets')
     520                        esc_html__('Variables that can be used in template...', 'fdsus'),
     521                        esc_html__('Multi-line list of sign-up details such as date, sheet title, task title', 'fdsus'),
     522                        esc_html__('First name of user that signed up', 'fdsus'),
     523                        esc_html__('Last name of user that signed up', 'fdsus'),
     524                        esc_html__('Email of user that signed up', 'fdsus'),
     525                        esc_html__('Name of site as defined in Settings > General > Site Title', 'fdsus'),
     526                        esc_html__('URL of site', 'fdsus')
    533527                    ),
    534528                    'pro' => true
     
    539533        $options['status_email'] = array(
    540534            'id'      => 'status_email',
    541             'title'   => esc_html__('Status E-mail', 'sign-up-sheets') . (!Id::isPro() ? ' <span class="dls-sus-pro" title="Pro Feature">Pro</span>' : ''),
     535            'title'   => esc_html__('Status E-mail', 'fdsus') . (!Id::isPro() ? ' <span class="dls-sus-pro" title="Pro Feature">Pro</span>' : ''),
    542536            'order'   => 70,
    543537            'options' => array(
    544538                array(
    545                     'label' => esc_html__('Enable Status E-mail', 'sign-up-sheets'),
     539                    'label' => esc_html__('Enable Status E-mail', 'fdsus'),
    546540                    'name'  => 'dls_sus_status_email',
    547541                    'type'  => 'checkbox',
    548                     'note'  => esc_html__('Shows all signups for a sheet.  Sent when a user adds or removes a signup from the frontend.', 'sign-up-sheets'),
    549                     'pro'   => true
    550                 ),
    551                 array(
    552                     'label' => esc_html__('Subject', 'sign-up-sheets'),
     542                    'note'  => esc_html__('Shows all signups for a sheet.  Sent when a user adds or removes a signup from the frontend.', 'fdsus'),
     543                    'pro'   => true
     544                ),
     545                array(
     546                    'label' => esc_html__('Subject', 'fdsus'),
    553547                    'name'  => 'dls_sus_status_email_subject',
    554548                    'type'  => 'text',
    555549                    /* translators: %s is replaced with the default subject */
    556                     'note'  => esc_html(sprintf(__('If blank, defaults to... "%s"', 'sign-up-sheets'), Settings::$defaultMailSubjects['status'])),
    557                     'pro'   => true
    558                 ),
    559                 array(
    560                     'label' => esc_html__('From E-mail Address', 'sign-up-sheets'),
     550                    'note'  => esc_html(sprintf(__('If blank, defaults to... "%s"', 'fdsus'), Settings::$defaultMailSubjects['status'])),
     551                    'pro'   => true
     552                ),
     553                array(
     554                    'label' => esc_html__('From E-mail Address', 'fdsus'),
    561555                    'name'  => 'dls_sus_status_email_from',
    562556                    'type'  => 'text',
    563                     'note'  => esc_html__('If blank, defaults to WordPress email on file under Settings > General', 'sign-up-sheets'),
    564                     'pro'   => true
    565                 ),
    566                 array(
    567                     'label' => esc_html__('Send to main admin emails', 'sign-up-sheets'),
     557                    'note'  => esc_html__('If blank, defaults to WordPress email on file under Settings > General', 'fdsus'),
     558                    'pro'   => true
     559                ),
     560                array(
     561                    'label' => esc_html__('Send to main admin emails', 'fdsus'),
    568562                    'name'  => 'dls_sus_status_to_admin',
    569563                    'type'  => 'checkbox',
    570                     'note'  => esc_html__('E-mail address specified under Settings > General', 'sign-up-sheets'),
    571                     'pro'   => true
    572                 ),
    573                 array(
    574                     'label' => esc_html__('Send to "Sheet BCC" recipients', 'sign-up-sheets'),
     564                    'note'  => esc_html__('E-mail address specified under Settings > General', 'fdsus'),
     565                    'pro'   => true
     566                ),
     567                array(
     568                    'label' => esc_html__('Send to "Sheet BCC" recipients', 'fdsus'),
    575569                    'name'  => 'dls_sus_status_to_sheet_bcc',
    576570                    'type'  => 'checkbox',
    577                     'note'  => esc_html__('These addresses will be added as a recipient only for sheets on which they are assigned.', 'sign-up-sheets'),
     571                    'note'  => esc_html__('These addresses will be added as a recipient only for sheets on which they are assigned.', 'fdsus'),
    578572                    'pro'   => true
    579573                ),
     
    583577        $options['advanced'] = array(
    584578            'id'      => 'advanced',
    585             'title'   => esc_html__('Advanced', 'sign-up-sheets'),
     579            'title'   => esc_html__('Advanced', 'fdsus'),
    586580            'order'   => 80,
    587581            'options' => array(
     
    592586                array('Display Detailed Errors', 'dls_sus_detailed_errors', 'checkbox', '(Not recommended for production sites)'),
    593587                array(
    594                     'label' => esc_html__('Reset All Settings', 'sign-up-sheets'),
     588                    'label' => esc_html__('Reset All Settings', 'fdsus'),
    595589                    'name' => 'fdsus_reset',
    596590                    'type' => 'button',
    597                     'note' => '<span id="fdsus-reset"></span><p>' . esc_html__('This will erase any custom configurations you have made on this page and reset them back to the defaults. This action cannot be undone.', 'sign-up-sheets') . '</p>',
     591                    'note' => '<span id="fdsus-reset"></span><p>' . esc_html__('This will erase any custom configurations you have made on this page and reset them back to the defaults. This action cannot be undone.', 'fdsus') . '</p>',
    598592                    'options' => array(
    599593                        'href' => add_query_arg('fdsus-reset', 'all',
    600594                            wp_nonce_url($this->data->getSettingsUrl(), 'fdsus-settings-reset', '_fdsus-nonce')),
    601595                        'onclick' => sprintf('return confirm(`%s %s`)',
    602                             esc_html__('Are you sure?', 'sign-up-sheets'),
    603                             esc_html__('This will erase any custom configurations you have made on this page and reset them back to the defaults. This action cannot be undone.', 'sign-up-sheets')
     596                            esc_html__('Are you sure?', 'fdsus'),
     597                            esc_html__('This will erase any custom configurations you have made on this page and reset them back to the defaults. This action cannot be undone.', 'fdsus')
    604598                        ),
    605599                    )
     
    610604        $options['text_overrides'] = array(
    611605            'id'      => 'text_overrides',
    612             'title'   => esc_html__('Text Overrides', 'sign-up-sheets'),
     606            'title'   => esc_html__('Text Overrides', 'fdsus'),
    613607            'order'   => 90,
    614608            'options' => array()
  • sign-up-sheets/trunk/model/settings.php

    r3233567 r3234219  
    1313
    1414if (Id::isPro()) {
    15     class SettingsParent extends \FDSUSPRO\Model\Pro\Settings {}
     15    class SettingsParent extends Pro\Settings {}
    1616} else {
    1717    class SettingsParent {}
     
    4141    {
    4242        self::$defaultMailSubjects = array(
    43             'signup'   => esc_html__('Thank you for signing up!', 'sign-up-sheets'),
    44             'remove'   => esc_html__('Sign-up has been removed', 'sign-up-sheets'),
    45             'reminder' => esc_html__('Sign-up Reminder', 'sign-up-sheets'),
    46             'status'   => esc_html__('Sign-up Status Report', 'sign-up-sheets'),
     43            'signup'   => esc_html__('Thank you for signing up!', 'fdsus'),
     44            'remove'   => esc_html__('Sign-up has been removed', 'fdsus'),
     45            'reminder' => esc_html__('Sign-up Reminder', 'fdsus'),
     46            'status'   => esc_html__('Sign-up Status Report', 'fdsus'),
    4747        );
    4848
     
    8080        self::$text = array(
    8181            'task_title_label' => array(
    82                 'label'   => esc_html__('Task Title Label', 'sign-up-sheets'),
    83                 'default' => esc_html__('What', 'sign-up-sheets'),
     82                'label'   => esc_html__('Task Title Label', 'fdsus'),
     83                'default' => esc_html__('What', 'fdsus'),
    8484            ),
    8585        );
     
    211211
    212212    /**
    213      * Get current plugin basename depending on if we are running the pro or free version
     213     * Get current plugin basename depending on if we are in the pro or free version
    214214     *
    215215     * @return string
     
    300300        $checkUtcTimestamp = wp_next_scheduled($cronHook);
    301301        if (is_null($defaultText)) {
    302             $defaultText = esc_html__('Not Scheduled', 'sign-up-sheets');
     302            $defaultText = esc_html__('Not Scheduled', 'fdsus');
    303303        }
    304304        $displayCheckTime = $defaultText;
  • sign-up-sheets/trunk/model/settings/sheet-order.php

    r3233567 r3234219  
    2121        $this->options = array(
    2222            'date_asc'  => array(
    23                 'label'            => esc_html__('Date (ASC)', 'sign-up-sheets'),
     23                'label'            => esc_html__('Date (ASC)', 'fdsus'),
    2424                'direction'        => 'ASC',
    2525                'sort_by'          => 'dlssus_end_date',
     
    2727            ),
    2828            'date_desc' => array(
    29                 'label'            => esc_html__('Date (DESC)', 'sign-up-sheets'),
     29                'label'            => esc_html__('Date (DESC)', 'fdsus'),
    3030                'direction'        => 'DESC',
    3131                'sort_by'          => 'dlssus_end_date',
     
    3333            ),
    3434            'id_asc'    => array(
    35                 'label'            => esc_html__('Sheet ID (ASC)', 'sign-up-sheets'),
     35                'label'            => esc_html__('Sheet ID (ASC)', 'fdsus'),
    3636                'direction'        => 'ASC',
    3737                'sort_by'          => false,
     
    3939            ),
    4040            'id_desc'   => array(
    41                 'label'            => esc_html__('Sheet ID (DESC)', 'sign-up-sheets'),
     41                'label'            => esc_html__('Sheet ID (DESC)', 'fdsus'),
    4242                'direction'        => 'DESC',
    4343                'sort_by'          => false,
  • sign-up-sheets/trunk/model/sheet-base.php

    r3233567 r3234219  
    2525 * @property string dlssus_start_date
    2626 * @property string dlssus_end_date
    27  * @property string dlssus_optional_phone
    28  * @property string dlssus_optional_address
    29  * @property string fdsus_optional_email
     27 * @property string dlssus_hide_email
    3028 * @property string dlssus_hide_phone
    3129 * @property string dlssus_hide_address
    32  * @property string dlssus_hide_email
    3330 * @property string dlssus_use_task_checkboxes
    3431 * @property bool   dlssus_is_active
     
    4138 * @property array  fdsus_autoclear
    4239 * @property string fdsus_last_autoclear
     40 *
     41 * @package FDSUS\Model
    4342 */
    4443class SheetBase extends Base
     
    209208    public static function getName($singular = false)
    210209    {
    211         return $singular ? __('Sign-up Sheet', 'sign-up-sheets') : __('Sign-up Sheets', 'sign-up-sheets');
     210        return $singular ? __('Sign-up Sheet', 'fdsus') : __('Sign-up Sheets', 'fdsus');
    212211    }
    213212
     
    279278        $sheetArray = $this->objectToArray($this->getData());
    280279        $this->cleanBeforeCopy($sheetArray);
    281         $sheetArray['post_title'] .= esc_html__(' (Copy)', 'sign-up-sheets');
     280        $sheetArray['post_title'] .= esc_html__(' (Copy)', 'fdsus');
    282281
    283282        // Copy sheet
     
    508507
    509508    /**
    510      * Should the phone be required on the sheet?
     509     * Should the phone be displayed on the sheet?
    511510     *
    512511     * @return bool
     
    514513    public function isPhoneRequired()
    515514    {
    516         if (!$this->showPhone()) {
    517             return false;
    518         }
    519515        return (isset($this->dlssus_optional_phone) && $this->dlssus_optional_phone === 'false')
    520516            || (empty($this->dlssus_optional_phone) && get_option('dls_sus_optional_phone') !== 'true');
     
    522518
    523519    /**
    524      * Should the address be required on the sheet?
     520     * Should the address be displayed on the sheet?
    525521     *
    526522     * @return bool
     
    528524    public function isAddressRequired()
    529525    {
    530         if (!$this->showAddress()) {
    531             return false;
    532         }
    533526        return (isset($this->dlssus_optional_address) && $this->dlssus_optional_address === 'false')
    534527            || (empty($this->dlssus_optional_address) && get_option('dls_sus_optional_address') !== 'true');
    535     }
    536 
    537     /**
    538      * Should the email be displayed on the sheet?
    539      *
    540      * @return bool
    541      */
    542     public function isEmailRequired()
    543     {
    544         if (!$this->showEmail()) {
    545             return false;
    546         }
    547         return (isset($this->fdsus_optional_email) && $this->fdsus_optional_email === 'false')
    548             || (empty($this->fdsus_optional_email) && get_option('fdsus_optional_email') !== 'true');
    549528    }
    550529
  • sign-up-sheets/trunk/model/sheet-collection.php

    r3233567 r3234219  
    1313
    1414if (Id::isPro()) {
    15     class SheetCollectionParent extends \FDSUSPRO\Model\Pro\SheetCollection {}
     15    class SheetCollectionParent extends Pro\SheetCollection {}
    1616} else {
    1717    class SheetCollectionParent extends Base {}
  • sign-up-sheets/trunk/model/sheet.php

    r3233567 r3234219  
    1010
    1111if (Id::isPro()) {
    12     class SheetParent extends \FDSUSPRO\Model\Pro\Sheet {}
     12    class SheetParent extends Pro\Sheet {}
    1313} else {
    1414    class SheetParent extends SheetBase {}
  • sign-up-sheets/trunk/model/signup-collection.php

    r3233567 r3234219  
    1313
    1414if (Id::isPro()) {
    15     class SignupCollectionParent extends \FDSUSPRO\Model\Pro\SignupCollection {}
     15    class SignupCollectionParent extends Pro\SignupCollection {}
    1616} else {
    1717    class SignupCollectionParent extends Base {}
  • sign-up-sheets/trunk/model/signup-form-initial-values.php

    r3233567 r3234219  
    1515/**
    1616 * Class SignupFormInitialValues
     17 *
     18 * @package FDSUS\Model
    1719 */
    1820class SignupFormInitialValues
     
    8991
    9092        // If not set, but logged in, pull from user
    91         if (!$this->signup && !is_admin() && !Settings::isUserAutopopulateDisabled()) {
     93        if (!is_admin() && !Settings::isUserAutopopulateDisabled()) {
    9294            $currentUser = wp_get_current_user();
    9395            if (($currentUser instanceof WP_User)) {
  • sign-up-sheets/trunk/model/signup.php

    r3233567 r3234219  
    1515
    1616if (Id::isPro()) {
    17     class SignupParent extends \FDSUSPRO\Model\Pro\Signup {}
     17    class SignupParent extends Pro\Signup {}
    1818} else {
    1919    class SignupParent extends SignupBase {}
     
    3838 * @property string dlssus_removal_token
    3939 * @property string dlssus_reminded
     40 *
     41 * @package FDSUS\Model
    4042 */
    4143class Signup extends SignupParent
     
    101103    public static function getName($singular = false)
    102104    {
    103         return $singular ? __('Sign-up', 'sign-up-sheets') : __('Sign-ups', 'sign-up-sheets');
     105        return $singular ? __('Sign-up', 'fdsus') : __('Sign-ups', 'fdsus');
    104106    }
    105107
     
    146148                sprintf(
    147149                    /* translators: %1$s is replaced with task title and %2$s is replaced with optional detailed errors if enabled */
    148                     esc_html__('Error adding signup for %1$s.  All spots are filled. %2$s', 'sign-up-sheets'),
     150                    esc_html__('Error adding signup for %1$s.  All spots are filled. %2$s', 'fdsus'),
    149151                    '<em>' . wp_kses_post($task->post_title) . '</em>',
    150152                    Settings::isDetailedErrors()
     
    178180            && empty($fields['double_signup'])
    179181            && $sheet->showEmail()
    180             && !empty($fields['signup_email'])
    181182            && $task->isEmailOnTask($fields['signup_email'])
    182183        ) {
    183             $msg = esc_html__('You have already signed up for this task.  Do you want to sign up again?', 'sign-up-sheets') . '
     184            $msg = esc_html__('You have already signed up for this task.  Do you want to sign up again?', 'fdsus') . '
    184185                <form method="post" action="' . esc_url($this->getCurrentUrl(true) . Settings::maybeGetSignUpLinkHash($sheet->ID)) . '">';
    185186
     
    206207                    <input type="hidden" name="double_signup" value="1" />
    207208                    <input type="hidden" name="action" value="signup-confirmed" />
    208                     <input type="submit" name="Submit" class="button-primary wp-block-button__link wp-element-button dls-sus-double-signup-confirm-button" value="' . esc_html__('Yes, sign me up', 'sign-up-sheets') . '" />
    209                     <a href="' . esc_url(fdsus_back_to_sheet_url($task->ID)) . '">' . esc_html__('No, thanks', 'sign-up-sheets') . '</a>
     209                    <input type="submit" name="Submit" class="button-primary wp-block-button__link wp-element-button dls-sus-double-signup-confirm-button" value="' . esc_html__('Yes, sign me up', 'fdsus') . '" />
     210                    <a href="' . esc_url(fdsus_back_to_sheet_url($task->ID)) . '">' . esc_html__('No, thanks', 'fdsus') . '</a>
    210211                </form>
    211212            ';
     
    234235                sprintf(
    235236                    /* translators: %s is replaced with the sign-up email */
    236                     esc_html__('Error adding the sign-up for "%s"', 'sign-up-sheets'), esc_attr($cleanFields['email']))
     237                    esc_html__('Error adding the sign-up for "%s"', 'fdsus'), esc_attr($cleanFields['email']))
    237238                . (($this->detailed_errors === true) ? '.. ' . print_r($signupId->get_error_message(), true) : '')
    238239            );
     
    341342                sprintf(
    342343                /* translators: %s is replaced with the sign-up email */
    343                     esc_html__('Error adding the sign-up for "%s"', 'sign-up-sheets'), esc_attr($cleanFields['email'])
     344                    esc_html__('Error adding the sign-up for "%s"', 'fdsus'), esc_attr($cleanFields['email'])
    344345                )
    345346                . (($this->detailed_errors === true && is_wp_error($signupId)) ? '.. ' . print_r($signupId->get_error_message(), true) : '')
     
    510511        $missingFieldNames = array();
    511512        if (empty($fields['signup_firstname'])) {
    512             $missingFieldNames['firstname'] = esc_html__('First Name', 'sign-up-sheets');
     513            $missingFieldNames[] = esc_html__('First Name', 'fdsus');
    513514        }
    514515        if (empty($fields['signup_lastname'])) {
    515             $missingFieldNames['lastname'] = esc_html__('Last Name', 'sign-up-sheets');
    516         }
    517         if ($sheet->isEmailRequired() && empty($fields['signup_email'])) {
    518             $missingFieldNames['email'] = esc_html__('E-mail', 'sign-up-sheets');
    519         }
    520         if ($sheet->isPhoneRequired() && empty($fields['signup_phone'])) {
    521             $missingFieldNames['phone'] = esc_html__('Phone', 'sign-up-sheets');
    522         }
    523         if ($sheet->isAddressRequired()
     516            $missingFieldNames[] = esc_html__('Last Name', 'fdsus');
     517        }
     518        if ($sheet->showEmail() && empty($fields['signup_email'])) {
     519            $missingFieldNames[] = esc_html__('E-mail', 'fdsus');
     520        }
     521        if ($sheet->isPhoneRequired() && $sheet->showPhone() && empty($fields['signup_phone'])) {
     522            $missingFieldNames[] = esc_html__('Phone', 'fdsus');
     523        }
     524        if ($sheet->isAddressRequired() && $sheet->showAddress()
    524525            && (empty($fields['signup_address'])
    525526                || empty($fields['signup_city'])
     
    527528                || empty($fields['signup_zip']))
    528529        ) {
    529             $missingFieldNames[] = esc_html__('Address', 'sign-up-sheets');
     530            $missingFieldNames[] = esc_html__('Address', 'fdsus');
    530531        }
    531532
     
    535536         * @param array      $missingFieldNames
    536537         * @param SheetModel $sheet
    537          * @param array      $fields
    538538         *
    539539         * @return array
    540540         * @since 2.2
    541541         */
    542         $missingFieldNames = apply_filters('fdsus_sign_up_form_errors_required_fields', $missingFieldNames, $sheet, $fields);
     542        $missingFieldNames = apply_filters('fdsus_sign_up_form_errors_required_fields', $missingFieldNames, $sheet);
     543
     544        // TODO CAPTCHA - move to Captcha class
     545        if (!is_admin() && !Settings::isAllCaptchaDisabled() && !Settings::isRecaptchaEnabled() && empty($fields['spam_check'])) {
     546            $missingFieldNames[] = esc_html__('Math Question', 'fdsus');
     547        }
    543548
    544549        return $missingFieldNames ? $missingFieldNames : true;
  • sign-up-sheets/trunk/model/task-base.php

    r3233567 r3234219  
    2424 * @property string dlssus_task_row_type
    2525 * @property bool   dlssus_is_active
     26 *
     27 * @package FDSUS\Model
    2628 */
    2729class TaskBase extends Base
     
    9092    public static function getName($singular = false)
    9193    {
    92         return $singular ? __('Task', 'sign-up-sheets') : __('Tasks', 'sign-up-sheets');
     94        return $singular ? __('Task', 'fdsus') : __('Tasks', 'fdsus');
    9395    }
    9496
     
    153155                sprintf(
    154156                    /* translators: %s is replaced with the task title */
    155                     esc_html__('Error adding the task "%s"', 'sign-up-sheets'),
     157                    esc_html__('Error adding the task "%s"', 'fdsus'),
    156158                    $cleanFields['title']
    157159                )
     
    188190        foreach ($meta as $k => $v) {
    189191            if (update_post_meta($taskId, $k, maybe_unserialize($v)) === false) {
    190                 return new WP_Error('add_task_additional_err', esc_html__('Error adding additional fields to task.', 'sign-up-sheets'));
     192                return new WP_Error('add_task_additional_err', esc_html__('Error adding additional fields to task.', 'fdsus'));
    191193            }
    192194            $i++;
     
    237239                sprintf(
    238240                    /* translators: %s is replaced with the task title */
    239                     esc_html__('Error updating the task "%s"', 'sign-up-sheets'),
     241                    esc_html__('Error updating the task "%s"', 'fdsus'),
    240242                    $cleanFields['title']
    241243                ) . (Settings::isDetailedErrors() ? '.. ' . print_r($task_id->get_error_message(), true) : '')
     
    281283        $result = wp_delete_post($id, true);
    282284        if ($result === false) {
    283             return new WP_Error('task_delete_err', esc_html__('Error deleting task.', 'sign-up-sheets'));
     285            return new WP_Error('task_delete_err', esc_html__('Error deleting task.', 'fdsus'));
    284286        }
    285287
     
    493495    public function getSignupLink($linkText = '') {
    494496        if (empty($linkText)) {
    495             $linkText = esc_html__('Sign up &raquo;', 'sign-up-sheets');
     497            $linkText = esc_html__('Sign up &raquo;', 'fdsus');
    496498        }
    497499
  • sign-up-sheets/trunk/model/task-table.php

    r3233567 r3234219  
    2020    protected $sheet;
    2121
    22     /** @var array */
    23     public $config;
    24 
    2522    /**
    2623     * Constructor
     
    2825     * @param SheetModel $sheet
    2926     */
    30     public function __construct($sheet, $config)
     27    public function __construct($sheet)
    3128    {
    3229        $this->sheet = $sheet;
    33         $this->config = $config;
    3430
    3531        return $this;
     
    7773         * @param SheetModel $sheet
    7874         * @param string     $class
    79          * @param array      $config
    8075         *
    8176         * @return string
    8277         * @since 2.2
    8378         */
    84         $slug = apply_filters('fdsus_tasktable_task_cell_slug', $slug, $value, $this->sheet, $class, $this->config);
     79        $slug = apply_filters('fdsus_tasktable_task_cell_slug', $slug, $value, $this->sheet, $class);
    8580
    8681        /**
     
    118113         * @param SheetModel $sheet
    119114         * @param string     $class
    120          * @param array      $config
    121115         *
    122116         * @return string
    123117         * @since 2.2
    124118         */
    125         $slug = apply_filters('fdsus_tasktable_header_cell_slug', $slug, $value, $this->sheet, $class, $this->config);
     119        $slug = apply_filters('fdsus_tasktable_header_cell_slug', $slug, $value, $this->sheet, $class);
    126120
    127121        if ($slug !== false) {
  • sign-up-sheets/trunk/model/task.php

    r3233567 r3234219  
    1111
    1212if (Id::isPro()) {
    13     class TaskParent extends \FDSUSPRO\Model\Pro\Task {}
     13    class TaskParent extends Pro\Task {}
    1414} else {
    1515    class TaskParent extends TaskBase {}
  • sign-up-sheets/trunk/package.json

    r3233567 r3234219  
    11{
    22    "name": "sign-up-sheets",
    3     "version": "2.3.0",
     3    "version": "2.2.1",
    44    "description": "An online sign-up sheet manager where your users/volunteers can sign up for tasks.",
    55    "author": "fetchdesigns",
  • sign-up-sheets/trunk/readme.txt

    r3233567 r3234219  
    33Tags: sign up, volunteer, non-profit, signup, sign-up
    44Tested up to: 6.7
    5 Stable tag: 2.3.0
     5Stable tag: 2.2.14
    66License: GPLv2 or later
    77
     
    115115== Upgrade Notice ==
    116116
    117 = 2.3.0 | 2025-02-02 =
    118 * Added ability to mark email field as optional.
    119 * Updated translation textdomain to better match WordPress standard of 'sign-up-sheets'. [⚠️Breaking Change]
    120 * Updated .sr-only class to use .screen-reader-text to be more consistent with WP core.
    121 * Fixed missing escaping around translations on tasks table.
    122 * Fixed sheets with the hidden email set so that the column doesn't show up in the admin and status email task tables.
    123 * Fixed password-protected sheets to prevent displaying sheet content prior to password being entered.
    124 * Fixed WP 6.7 notice being thrown of "Function _load_textdomain_just_in_time was called incorrectly."
    125 * Fixed bug preventing editing of new tasks on mobile devices.
    126 
    127117= 2.2.14 | 2024-10-07 =
    128118* Added setting to clear cache on specific post IDs when a sign-up occurs.
     
    189179
    190180== Changelog ==
    191 
    192 = 2.3.0 | 2025-02-02 =
    193 * Added ability to mark email field as optional.
    194 * Updated translation textdomain to better match WordPress standard of 'sign-up-sheets'. [⚠️Breaking Change]
    195 * Updated .sr-only class to use .screen-reader-text to be more consistent with WP core.
    196 * Fixed missing escaping around translations on tasks table.
    197 * Fixed sheets with the hidden email set so that the column doesn't show up in the admin and status email task tables.
    198 * Fixed password-protected sheets to prevent displaying sheet content prior to password being entered.
    199 * Fixed WP 6.7 notice being thrown of "Function _load_textdomain_just_in_time was called incorrectly."
    200 * Fixed bug preventing editing of new tasks on mobile devices.
    201181
    202182= 2.2.14 | 2024-10-07 =
  • sign-up-sheets/trunk/sign-up-sheets.php

    r3233567 r3234219  
    44Plugin URI: https://www.fetchdesigns.com/sign-up-sheets-wordpress-plugin/
    55Description: An online sign-up sheet manager where your users/volunteers can sign up for tasks
    6 Version: 2.3.0
     6Version: 2.2.14
    77Requires PHP: 5.5
    88Requires at least: 5.5
    99Author: Fetch Designs
    1010Author URI: https://www.fetchdesigns.com/
    11 Text Domain: sign-up-sheets
    12 Domain Path: /languages
     11Text Domain: fdsus
     12Domain Path: /languages/
    1313License: GPL2
    1414*/
     
    3030*/
    3131
    32 if (!defined('FDSUS_FREE_PLUGIN_DIR_PATH')) {
    33     define('FDSUS_FREE_PLUGIN_DIR_PATH', plugin_dir_path(__FILE__));
    34 }
    35 
    36 if (!defined('FDSUS_FREE_PLUGIN_BASENAME')) {
    37     define('FDSUS_FREE_PLUGIN_BASENAME', plugin_basename(__FILE__));
    38 }
    39 
    4032require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'main.php';
  • sign-up-sheets/trunk/src/block.json

    r3233567 r3234219  
    33    "apiVersion": 2,
    44    "name": "sign-up-sheets/sheet",
    5     "version": "2.3.0",
     5    "version": "2.2.11",
    66    "title": "Sign-up Sheets",
    77    "category": "widgets",
     
    1111        "html": false
    1212    },
    13     "textdomain": "sign-up-sheets",
     13    "textdomain": "fdsus",
    1414    "editorScript": "file:./index.js",
    1515    "editorStyle": "file:./index.css",
  • sign-up-sheets/trunk/template-tags.php

    r3233567 r3234219  
    522522    }
    523523}
    524 
    525 if (!function_exists('fdsus_scode_user_sign_ups_actions')) {
    526     /**
    527      * Call do_action for customizing the user sign-ups after the additional fields output
    528      *
    529      * @param array $row
    530      *
    531      * @return void
    532      */
    533     function fdsus_scode_user_sign_ups_actions($row)
    534     {
    535         /**
    536          * [user_sign_ups] shortcode - after signup name is output
    537          *
    538          * @param SheetModel  $sheet
    539          * @param TaskModel   $task
    540          * @param SignupModel $signup
    541          *
    542          * @since todo user-signups
    543          */
    544         do_action('fdsus_scode_user_sign_ups_actions', $row['sheet'], $row['task'], $row['signup']);
    545     }
    546 }
  • sign-up-sheets/trunk/theme-files/archive-dlssus_sheet.php

    r3233567 r3234219  
    3232                <?php echo do_shortcode('[sign_up_sheet]'); ?>
    3333            <?php else: ?>
    34                 <p><?php esc_attr_e('No sign-up sheets found.', 'sign-up-sheets'); ?></p>
     34                <p><?php esc_attr_e('No sign-up sheets found.', 'fdsus'); ?></p>
    3535            <?php endif; ?>
    3636
  • sign-up-sheets/trunk/theme-files/content-dlssus_sheet.php

    r3233567 r3234219  
    1717<div class="<?php echo esc_attr(fdsus_template_classes_sign_up_sheet()) ?>" id="<?php echo get_the_ID() ? 'dls-sus-sheet-' . get_the_ID() : '' ?>">
    1818
    19     <h3><?php esc_attr_e('Sign up below...', 'sign-up-sheets'); ?></h3>
     19    <h3><?php esc_attr_e('Sign up below...', 'fdsus'); ?></h3>
    2020
    2121    <?php dlssus_the_tasks_table(); ?>
  • sign-up-sheets/trunk/theme-files/fdsus/parts/captcha-simple.php

    r3233567 r3234219  
    1414<p>
    1515    <label for="spam_check" class="spam_check">
    16         <?php esc_html_e('Answer the following: 7 + 1 = __', 'sign-up-sheets'); ?>
     16        <?php esc_html_e('Answer the following: 7 + 1 = __', 'fdsus'); ?>
    1717        <span class="dls-sus-required-icon">*</span>
    1818    </label>
  • sign-up-sheets/trunk/theme-files/fdsus/sheet-list.php

    r3233567 r3234219  
    2323<?php if (empty($args['sheets'])) : ?>
    2424
    25     <p><?php esc_html_e('No sheets available at this time.', 'sign-up-sheets'); ?></p>
     25    <p><?php esc_html_e('No sheets available at this time.', 'fdsus'); ?></p>
    2626
    2727<?php else: ?>
     
    3232        <thead>
    3333            <tr>
    34                 <th class="column-title"><?php esc_html_e('Title', 'sign-up-sheets'); ?></th>
    35                 <th class="column-date"><?php esc_html_e('Date', 'sign-up-sheets'); ?></th>
    36                 <th class="column-open_spots"><?php esc_html_e('Open Spots', 'sign-up-sheets'); ?></th>
     34                <th class="column-title"><?php esc_html_e('Title', 'fdsus'); ?></th>
     35                <th class="column-date"><?php esc_html_e('Date', 'fdsus'); ?></th>
     36                <th class="column-open_spots"><?php esc_html_e('Open Spots', 'fdsus'); ?></th>
    3737                <th class="column-view_link">&nbsp;</th>
    3838            </tr>
     
    4545                $endDate = null;
    4646                if (empty($sheet->dlssus_end_date)) {
    47                     $displayDate = esc_html__('N/A', 'sign-up-sheets');
     47                    $displayDate = esc_html__('N/A', 'fdsus');
    4848                } else {
    4949                    $displayDate = (($sheet->dlssus_start_date == $sheet->dlssus_end_date) ? null : date(get_option('date_format'), strtotime($sheet->dlssus_start_date)) . ' - ');
     
    6161                    <td class="column-view_link">
    6262                        <?php if ($openSpots > 0): ?>
    63                             <a href="<?php echo esc_url(get_the_permalink($sheet->ID)); ?>" class="fdsus-signup-cta"><?php esc_html_e('View &amp; sign-up', 'sign-up-sheets'); ?><span class="screen-reader-text"> <?php
     63                            <a href="<?php echo esc_url(get_the_permalink($sheet->ID)); ?>" class="fdsus-signup-cta"><?php esc_html_e('View &amp; sign-up', 'fdsus'); ?><span class="sr-only"> <?php
    6464                                /* translators: %s is replaced with the sheet title */
    65                                 echo esc_html(sprintf(__('for %s', 'sign-up-sheets'), $sheet->post_title)); ?></span></a>
     65                                echo esc_html(sprintf(__('for %s', 'fdsus'), $sheet->post_title)); ?></span></a>
    6666                        <?php else: ?>
    67                             <?php esc_html_e('&#10004; Filled', 'sign-up-sheets'); ?>
     67                            <?php esc_html_e('&#10004; Filled', 'fdsus'); ?>
    6868                        <?php endif; ?>
    6969                    </td>
  • sign-up-sheets/trunk/theme-files/fdsus/sheet-none.php

    r3233567 r3234219  
    1313?>
    1414
    15 <p><?php esc_attr_e('Sign-up sheet not found.', 'sign-up-sheets'); ?></p>
     15<p><?php esc_attr_e('Sign-up sheet not found.', 'fdsus'); ?></p>
  • sign-up-sheets/trunk/theme-files/fdsus/sheet.php

    r3233567 r3234219  
    2020    <p class="dls-sus-backlink">
    2121        <a href="<?php echo esc_url(remove_query_arg(array('sheet_id', 'task_id'), $_SERVER['REQUEST_URI'])); ?>">
    22             <?php esc_attr_e('&laquo; View all', 'sign-up-sheets'); ?>
     22            <?php esc_attr_e('&laquo; View all', 'fdsus'); ?>
    2323        </a>
    2424    </p>
  • sign-up-sheets/trunk/theme-files/fdsus/sign-up-form-header.php

    r3233567 r3234219  
    1818
    1919if (!is_admin()): ?>
    20     <h3><?php esc_html_e('Sign-up below', 'sign-up-sheets'); ?></h3>
     20    <h3><?php esc_html_e('Sign-up below', 'fdsus'); ?></h3>
    2121    <p>
    22         <?php esc_html_e('You are signing up for...', 'sign-up-sheets'); ?>
     22        <?php esc_html_e('You are signing up for...', 'fdsus'); ?>
    2323        <em class="dls-sus-task-title"><?php echo wp_kses_post($signup_titles_str); ?></em>
    2424    </p>
  • sign-up-sheets/trunk/theme-files/fdsus/sign-up-form.php

    r3233567 r3234219  
    99 * @see         https://www.fetchdesigns.com/sign-up-sheets-pro-overriding-templates-in-your-theme/
    1010 * @since       2.2 (plugin version)
    11  * @version     1.3.0 (template file version)
     11 * @version     1.2.0 (template file version)
    1212 */
    1313
     
    3131    <p>
    3232        <label for="signup_firstname" class="signup_firstname">
    33             <?php esc_html_e('First Name', 'sign-up-sheets'); ?>
     33            <?php esc_html_e('First Name', 'fdsus'); ?>
    3434            <span class="dls-sus-required-icon">*</span>
    3535        </label>
     
    4141    <p>
    4242        <label for="signup_lastname" class="signup_lastname">
    43             <?php esc_html_e('Last Name', 'sign-up-sheets'); ?>
     43            <?php esc_html_e('Last Name', 'fdsus'); ?>
    4444            <span class="dls-sus-required-icon">*</span>
    4545        </label>
     
    5252        <p>
    5353            <label for="signup_email" class="signup_email">
    54                 <?php esc_html_e('E-mail', 'sign-up-sheets'); ?>
    55                 <?php if ($sheet->isEmailRequired()): ?>
    56                     <span class="dls-sus-required-icon">*</span>
    57                 <?php endif; ?>
     54                <?php esc_html_e('E-mail', 'fdsus'); ?>
     55                <span class="dls-sus-required-icon">*</span>
    5856            </label>
    5957            <input type="email" id="signup_email" class="signup_email" name="signup_email"
    60                    maxlength="100" <?php if ($sheet->isEmailRequired()) echo 'required aria-required="true"'; ?> autocomplete="email"
     58                   maxlength="100" required aria-required="true" autocomplete="email"
    6159                   value="<?php echo esc_attr($initial['email']); ?>"/>
    6260        </p>
     
    7068        <p>
    7169            <label for="signup_phone" class="signup_phone">
    72                 <?php esc_html_e('Phone', 'sign-up-sheets'); ?>
     70                <?php esc_html_e('Phone', 'fdsus'); ?>
    7371                <?php if ($sheet->isPhoneRequired()): ?>
    7472                    <span class="dls-sus-required-icon">*</span>
     
    8583        <p>
    8684            <label for="signup_address" class="signup_address">
    87                 <?php esc_html_e('Address', 'sign-up-sheets'); ?>
     85                <?php esc_html_e('Address', 'fdsus'); ?>
    8886                <?php if ($sheet->isAddressRequired()): ?>
    8987                    <span class="dls-sus-required-icon">*</span>
     
    9795        <p class="dls-sus-city">
    9896            <label for="signup_city" class="signup_city">
    99                 <?php esc_html_e('City', 'sign-up-sheets'); ?>
     97                <?php esc_html_e('City', 'fdsus'); ?>
    10098                <?php if ($sheet->isAddressRequired()): ?>
    10199                    <span class="dls-sus-required-icon">*</span>
     
    109107        <p class="dls-sus-state">
    110108            <label for="signup_state" class="signup_state">
    111                 <?php esc_html_e('State', 'sign-up-sheets'); ?>
     109                <?php esc_html_e('State', 'fdsus'); ?>
    112110                <?php if ($sheet->isAddressRequired()): ?>
    113111                    <span class="dls-sus-required-icon">*</span>
     
    126124        <p class="dls-sus-zip">
    127125            <label for="signup_zip" class="signup_zip">
    128                 <?php esc_html_e('Zip', 'sign-up-sheets'); ?>
     126                <?php esc_html_e('Zip', 'fdsus'); ?>
    129127                <?php if ($sheet->isAddressRequired()): ?>
    130128                    <span class="dls-sus-required-icon">*</span>
     
    145143    ?>
    146144
    147     <p><span class="dls-sus-required-icon">*</span> = <?php esc_html_e('required', 'sign-up-sheets'); ?></p>
     145    <p><span class="dls-sus-required-icon">*</span> = <?php esc_html_e('required', 'fdsus'); ?></p>
    148146
    149147    <p class="submit">
     
    161159               value="<?php echo esc_html($submit_button_text); ?>"/>
    162160        <?php if (!is_admin() && !empty($go_back_url)): ?>
    163             <?php esc_html_e('or', 'sign-up-sheets'); ?>
     161            <?php esc_html_e('or', 'fdsus'); ?>
    164162            <a href="<?php echo esc_url($go_back_url); ?>" class="dls-sus-backlink-from-task">
    165                 <?php esc_html_e('&laquo; go back to the Sign-Up Sheet', 'sign-up-sheets'); ?>
     163                <?php esc_html_e('&laquo; go back to the Sign-Up Sheet', 'fdsus'); ?>
    166164            </a>
    167165        <?php endif; ?>
  • sign-up-sheets/trunk/theme-files/fdsus/user_sign_ups.php

    r3233567 r3234219  
    2525    <thead>
    2626    <tr>
    27         <th class="fdssus-column-date"><?php esc_html_e('Date Added', 'sign-up-sheets') ?></th>
     27        <th class="fdssus-column-date"><?php echo __('Date Added', 'fdsus') ?></th>
    2828        <th class="fdssus-column-sheet-task">
    2929            <?php echo esc_html($taskTitleLabel) ?>
    3030        </th>
    31         <th class="fdssus-column-signup"><?php esc_html_e('Sign-up Details', 'sign-up-sheets') ?></th>
     31        <th class="fdssus-column-signup"><?php echo __('Sign-up Details', 'fdsus') ?></th>
    3232    </tr>
    3333    </thead>
     
    3838                <?php echo $row['date_added']
    3939                    ? date(get_option('date_format'), strtotime($row['date_added']))
    40                     : esc_html__('N/A', 'sign-up-sheets') ?>
     40                    : __('N/A', 'fdsus') ?>
    4141            </td>
    4242            <td class="fdsus-col-sheet">
     
    8888
    8989                <?php if ($row['sheet']->isExpired() || $row['task']->isExpired()): ?>
    90                     <span class="fdsus-signups-closed"><?php _e('Sign-ups Closed', 'sign-up-sheets') ?></span>
     90                    <span class="fdsus-signups-closed"><?php _e('Sign-ups Closed', 'fdsus') ?></span>
    9191                <?php endif; ?>
    9292            </td>
Note: See TracChangeset for help on using the changeset viewer.