Plugin Directory

Changeset 2966756


Ignore:
Timestamp:
09/13/2023 08:47:20 PM (3 years ago)
Author:
dhoppe
Message:

Renamed MockingBird class

Location:
encyclopedia-lexicon-glossary-wiki-dictionary/trunk/options-page
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • encyclopedia-lexicon-glossary-wiki-dictionary/trunk/options-page/archive-page.php

    r2486011 r2966756  
    33use WordPress\Plugin\Encyclopedia\{
    44    I18n,
    5     Mocking_Bird,
     5    MockingBird,
    66    Options,
    77    Post_Type_Labels
     
    2525        <th><label><?php printf(I18n::__('%s per page'), Post_Type_Labels::getItemPluralName()) ?></label></th>
    2626        <td>
    27             <input type="number" value="<?php echo get_Option('posts_per_page') ?>" <?php disabled(true) ?> min="1" max="<?php echo PHP_INT_MAX ?>" step="1"><?php Mocking_Bird::printProNotice('unlock') ?>
     27            <input type="number" value="<?php echo get_Option('posts_per_page') ?>" <?php disabled(true) ?> min="1" max="<?php echo PHP_INT_MAX ?>" step="1"><?php MockingBird::printProNotice('unlock') ?>
    2828            <p class="help">
    2929                <?php printf(I18n::__('This option affects all %s archive pages.'), Post_Type_Labels::getEncyclopediaType()) ?>
  • encyclopedia-lexicon-glossary-wiki-dictionary/trunk/options-page/cross-linking.php

    r2486011 r2966756  
    33use WordPress\Plugin\Encyclopedia\{
    44    I18n,
    5     Mocking_Bird,
     5    MockingBird,
    66    Options
    77};
     
    2525                                            checked(true) ?>>
    2626                    <?php printf(I18n::__('Add links in %s'), $type->label) ?>
    27                     <?php Mocking_Bird::printProNotice('unlock') ?>
     27                    <?php MockingBird::printProNotice('unlock') ?>
    2828                </label><br>
    2929
     
    4343                                        checked(true) ?>>
    4444                <?php I18n::_e('Add links in the default text widget') ?>
    45                 <?php Mocking_Bird::printProNotice('unlock') ?>
     45                <?php MockingBird::printProNotice('unlock') ?>
    4646            </label><br>
    4747        </td>
     
    5353            <input type="number" value="1" <?php disabled(true) ?>>
    5454            <?php I18n::_e('characters') ?>
    55             <?php Mocking_Bird::printProNotice('unlock') ?>
     55            <?php MockingBird::printProNotice('unlock') ?>
    5656            <p class="help"><?php I18n::_e('The minimum length of cross linked words. Shorter words <u>will not be</u> cross linked automatically.') ?></p>
    5757        </td>
     
    7777                <input type="checkbox" <?php disabled(true) ?>>
    7878                <?php I18n::_e('Link complete words only.') ?>
    79                 <?php Mocking_Bird::printProNotice('unlock') ?>
     79                <?php MockingBird::printProNotice('unlock') ?>
    8080            </label>
    8181        </td>
     
    8888                <input type="checkbox" <?php disabled(true) ?>>
    8989                <?php I18n::_e('Link items case sensitive.') ?>
    90                 <?php Mocking_Bird::printProNotice('unlock') ?>
     90                <?php MockingBird::printProNotice('unlock') ?>
    9191            </label>
    9292        </td>
     
    9999                <input type="checkbox" <?php disabled(true) ?>>
    100100                <?php I18n::_e('Link the first match of each item only.') ?>
    101                 <?php Mocking_Bird::printProNotice('unlock') ?>
     101                <?php MockingBird::printProNotice('unlock') ?>
    102102            </label>
    103103        </td>
     
    110110                <input type="checkbox" <?php disabled(true) ?>>
    111111                <?php I18n::_e('Link the item in its own content.') ?>
    112                 <?php Mocking_Bird::printProNotice('unlock') ?>
     112                <?php MockingBird::printProNotice('unlock') ?>
    113113            </label>
    114114        </td>
     
    119119        <td>
    120120            <input type="number" value="<?php echo esc_Attr(Options::get('cross_link_title_length')) ?>" <?php disabled(true) ?>> <?php I18n::_e('words') ?>
    121             <?php Mocking_Bird::printProNotice('unlock') ?>
     121            <?php MockingBird::printProNotice('unlock') ?>
    122122            <p class="help"><?php I18n::_e('The number of words of the linked item used as link title. This option does not affect manually created excerpts.') ?></p>
    123123        </td>
  • encyclopedia-lexicon-glossary-wiki-dictionary/trunk/options-page/features.php

    r2486011 r2966756  
    33use WordPress\Plugin\Encyclopedia\{
    44    I18n,
    5     Mocking_Bird,
     5    MockingBird,
    66    Options
    77};
     
    4949                <option <?php disabled(true) ?>><?php I18n::_e('On') ?></option>
    5050                <option <?php selected(true) ?>><?php I18n::_e('Off') ?></option>
    51             </select><?php Mocking_Bird::printProNotice('unlock') ?>
     51            </select><?php MockingBird::printProNotice('unlock') ?>
    5252            <p class="help"><?php I18n::_e('Enables or disables revisions.') ?></p>
    5353        </td>
     
    6060                <option <?php disabled(true) ?>><?php I18n::_e('On') ?></option>
    6161                <option <?php selected(true) ?>><?php I18n::_e('Off') ?></option>
    62             </select><?php Mocking_Bird::printProNotice('unlock') ?>
     62            </select><?php MockingBird::printProNotice('unlock') ?>
    6363            <p class="help"><?php I18n::_e('Enables or disables comments and trackbacks.') ?></p>
    6464        </td>
     
    7171                <option <?php disabled(true) ?>><?php I18n::_e('On') ?></option>
    7272                <option <?php selected(true) ?>><?php I18n::_e('Off') ?></option>
    73             </select><?php Mocking_Bird::printProNotice('unlock') ?>
     73            </select><?php MockingBird::printProNotice('unlock') ?>
    7474            <p class="help"><?php I18n::_e('Enables or disables the featured image.') ?></p>
    7575        </td>
  • encyclopedia-lexicon-glossary-wiki-dictionary/trunk/options-page/post-type-labels.php

    r2486119 r2966756  
    33use WordPress\Plugin\Encyclopedia\{
    44    I18n,
    5     Mocking_Bird,
     5    MockingBird,
    66    Options,
    77    Post_Type,
     
    4949                    <div><?php echo trailingslashit(Home_Url('/')) ?></div>
    5050                    <div class="input-element"><input type="text" value="<?php echo esc_Attr(Post_Type_Labels::getArchiveSlug()) ?>" <?php disabled(true) ?>></div>
    51                     <?php Mocking_Bird::printProNotice('unlock') ?>
     51                    <?php MockingBird::printProNotice('unlock') ?>
    5252                </div>
    5353                <p class="help"><?php I18n::_e('The url slug of your encyclopedia archive. This slug must not used by another post type or page.') ?></p>
     
    6262                    <div class="input-element"><input type="text" value="<?php echo esc_Attr(Post_Type_Labels::getItemSlug()) ?>" <?php disabled(true) ?>></div>
    6363                    <div><?php echo User_TrailingSlashIt(sprintf(I18n::__('/%%%s-name%%'), sanitize_Title(Post_Type_Labels::getItemSingularName())), 'single') ?></div>
    64                     <?php Mocking_Bird::printProNotice('unlock') ?>
     64                    <?php MockingBird::printProNotice('unlock') ?>
    6565                </div>
    6666
  • encyclopedia-lexicon-glossary-wiki-dictionary/trunk/options-page/pro-version.php

    r2435772 r2966756  
    22
    33use WordPress\Plugin\Encyclopedia\{
    4     Mocking_Bird
     4    MockingBird
    55};
    66
    77?>
    88<p>
    9     <?php Mocking_Bird::printProNotice('count_limit') ?>
     9    <?php MockingBird::printProNotice('count_limit') ?>
    1010</p>
    1111
    1212<p>
    13     <a href="<?php Mocking_Bird::printProNotice('upgrade_url') ?>" target="_blank" class="button-primary"><?php Mocking_Bird::printProNotice('upgrade') ?></a>
     13    <a href="<?php MockingBird::printProNotice('upgrade_url') ?>" target="_blank" class="button-primary"><?php MockingBird::printProNotice('upgrade') ?></a>
    1414</p>
  • encyclopedia-lexicon-glossary-wiki-dictionary/trunk/options-page/related-items.php

    r2486011 r2966756  
    33use WordPress\Plugin\Encyclopedia\{
    44    I18n,
    5     Mocking_Bird,
     5    MockingBird,
    66    Options,
    77    Post_Type_Labels,
     
    1818        <td>
    1919            <input type="radio" id="related_items_below" <?php checked(true) ?>> <label for="related_items_below"><?php I18n::_e('below the content') ?></label><br>
    20             <input type="radio" id="related_items_above" <?php disabled(true) ?>> <label for="related_items_above"><?php I18n::_e('above the content') ?></label><?php Mocking_Bird::printProNotice('unlock') ?><br>
    21             <input type="radio" id="related_items_none" <?php disabled(true) ?>> <label for="related_items_none"><?php printf(I18n::__('Do not show related %s.'), Post_Type_Labels::getItemPluralName()) ?></label><?php Mocking_Bird::printProNotice('unlock') ?>
     20            <input type="radio" id="related_items_above" <?php disabled(true) ?>> <label for="related_items_above"><?php I18n::_e('above the content') ?></label><?php MockingBird::printProNotice('unlock') ?><br>
     21            <input type="radio" id="related_items_none" <?php disabled(true) ?>> <label for="related_items_none"><?php printf(I18n::__('Do not show related %s.'), Post_Type_Labels::getItemPluralName()) ?></label><?php MockingBird::printProNotice('unlock') ?>
    2222        </td>
    2323    </tr>
     
    3838                    </option>
    3939                <?php endforeach ?>
    40             </select><?php Mocking_Bird::printProNotice('unlock') ?>
     40            </select><?php MockingBird::printProNotice('unlock') ?>
    4141        </td>
    4242    </tr>
     
    4545        <th><label><?php printf(I18n::__('Number of related %s'), Post_Type_Labels::getItemPluralName()) ?></label></th>
    4646        <td>
    47             <input type="number" value="10" <?php disabled(true) ?>><?php Mocking_Bird::printProNotice('unlock') ?>
     47            <input type="number" value="10" <?php disabled(true) ?>><?php MockingBird::printProNotice('unlock') ?>
    4848            <p class="help"><?php printf(I18n::__('Number of related %s which should be shown.'), Post_Type_Labels::getItemPluralName()) ?></p>
    4949        </td>
     
    5353        <th><label><?php I18n::_e('Relation Threshold') ?></label></th>
    5454        <td>
    55             <input type="number" value="<?php echo Options::get('min_relation_threshold') ?>" <?php disabled(true) ?>><?php Mocking_Bird::printProNotice('unlock') ?>
     55            <input type="number" value="<?php echo Options::get('min_relation_threshold') ?>" <?php disabled(true) ?>><?php MockingBird::printProNotice('unlock') ?>
    5656            <p class="help"><?php printf(I18n::__('Minimum number of common taxonomy terms to generate a relation.'), Post_Type_Labels::getItemPluralName()) ?></p>
    5757        </td>
  • encyclopedia-lexicon-glossary-wiki-dictionary/trunk/options-page/search.php

    r2486011 r2966756  
    33use WordPress\Plugin\Encyclopedia\{
    44    I18n,
    5     Mocking_Bird
     5    MockingBird
    66};
    77
     
    1515                <option <?php disabled(true) ?>><?php I18n::_e('On') ?></option>
    1616                <option <?php selected(true) ?>><?php I18n::_e('Off') ?></option>
    17             </select><?php Mocking_Bird::printProNotice('unlock') ?>
     17            </select><?php MockingBird::printProNotice('unlock') ?>
    1818            <p class="help"><?php I18n::_e('Enable this feature to redirect the user to the matched item if the user searched for an exact title.') ?></p>
    1919        </td>
     
    2424        <td>
    2525            <input type="number" value="2" <?php disabled(true) ?>>
    26             <?php I18n::_e('characters', 'characters unit') ?><?php Mocking_Bird::printProNotice('unlock') ?>
     26            <?php I18n::_e('characters', 'characters unit') ?><?php MockingBird::printProNotice('unlock') ?>
    2727            <p class="help"><?php I18n::_e('The minimum number of characters a user must type before suggestions will be shown.') ?></p>
    2828        </td>
     
    3333        <td>
    3434            <input type="number" value="400" <?php disabled(true) ?>>
    35             <?php I18n::_e('ms', 'milliseconds time unit') ?><?php Mocking_Bird::printProNotice('unlock') ?>
     35            <?php I18n::_e('ms', 'milliseconds time unit') ?><?php MockingBird::printProNotice('unlock') ?>
    3636            <p class="help"><?php I18n::_e('The delay in milliseconds between a keystroke occurs and the suggestions will be shown.') ?></p>
    3737        </td>
  • encyclopedia-lexicon-glossary-wiki-dictionary/trunk/options-page/taxonomies.php

    r2486011 r2966756  
    33use WordPress\Plugin\Encyclopedia\{
    44    I18n,
    5     Mocking_Bird,
     5    MockingBird,
    66    Options,
    77    Post_Type_Labels,
     
    5050                    <?php endif ?>
    5151                    <?php printf(I18n::__('Use this taxonomy for %s.'), Post_Type_Labels::getItemPluralName()) ?>
    52                     <?php if ($taxonomy->name != 'encyclopedia-tag') Mocking_Bird::printProNotice('unlock') ?>
     52                    <?php if ($taxonomy->name != 'encyclopedia-tag') MockingBird::printProNotice('unlock') ?>
    5353                </label>
    5454                <p class="help">
  • encyclopedia-lexicon-glossary-wiki-dictionary/trunk/options-page/tooltips.php

    r2486011 r2966756  
    33use WordPress\Plugin\Encyclopedia\{
    44    I18n,
    5     Mocking_Bird,
     5    MockingBird,
    66    Options
    77};
     
    2626            <input type="number" value="350" <?php disabled(true) ?>>
    2727            <?php I18n::_e('ms', 'milliseconds time unit') ?>
    28             <?php Mocking_Bird::printProNotice('unlock') ?>
     28            <?php MockingBird::printProNotice('unlock') ?>
    2929            <p class="help"><?php I18n::_e('The duration for the opening and closing animations, in milliseconds.') ?></p>
    3030        </td>
     
    3636            <input type="number" value="300" <?php disabled(true) ?>>
    3737            <?php I18n::_e('ms', 'milliseconds time unit') ?>
    38             <?php Mocking_Bird::printProNotice('unlock') ?>
     38            <?php MockingBird::printProNotice('unlock') ?>
    3939            <p class="help"><?php I18n::_e('Upon mouse interaction, this is the delay before the tooltip starts its opening and closing animations, in milliseconds.') ?></p>
    4040        </td>
     
    4747                <input type="checkbox" <?php disabled(true) ?>>
    4848                <?php I18n::_e('Show the tooltips only if the user <strong>clicks</strong> on it. This option will <strong>disable the link</strong> to the cross linked entry.') ?>
    49             </label><?php Mocking_Bird::printProNotice('unlock') ?>
     49            </label><?php MockingBird::printProNotice('unlock') ?>
    5050        </td>
    5151    </tr>
Note: See TracChangeset for help on using the changeset viewer.