Changeset 2966756
- Timestamp:
- 09/13/2023 08:47:20 PM (3 years ago)
- Location:
- encyclopedia-lexicon-glossary-wiki-dictionary/trunk/options-page
- Files:
-
- 9 edited
-
archive-page.php (modified) (2 diffs)
-
cross-linking.php (modified) (9 diffs)
-
features.php (modified) (4 diffs)
-
post-type-labels.php (modified) (3 diffs)
-
pro-version.php (modified) (1 diff)
-
related-items.php (modified) (5 diffs)
-
search.php (modified) (4 diffs)
-
taxonomies.php (modified) (2 diffs)
-
tooltips.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
encyclopedia-lexicon-glossary-wiki-dictionary/trunk/options-page/archive-page.php
r2486011 r2966756 3 3 use WordPress\Plugin\Encyclopedia\{ 4 4 I18n, 5 Mocking _Bird,5 MockingBird, 6 6 Options, 7 7 Post_Type_Labels … … 25 25 <th><label><?php printf(I18n::__('%s per page'), Post_Type_Labels::getItemPluralName()) ?></label></th> 26 26 <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') ?> 28 28 <p class="help"> 29 29 <?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 3 3 use WordPress\Plugin\Encyclopedia\{ 4 4 I18n, 5 Mocking _Bird,5 MockingBird, 6 6 Options 7 7 }; … … 25 25 checked(true) ?>> 26 26 <?php printf(I18n::__('Add links in %s'), $type->label) ?> 27 <?php Mocking _Bird::printProNotice('unlock') ?>27 <?php MockingBird::printProNotice('unlock') ?> 28 28 </label><br> 29 29 … … 43 43 checked(true) ?>> 44 44 <?php I18n::_e('Add links in the default text widget') ?> 45 <?php Mocking _Bird::printProNotice('unlock') ?>45 <?php MockingBird::printProNotice('unlock') ?> 46 46 </label><br> 47 47 </td> … … 53 53 <input type="number" value="1" <?php disabled(true) ?>> 54 54 <?php I18n::_e('characters') ?> 55 <?php Mocking _Bird::printProNotice('unlock') ?>55 <?php MockingBird::printProNotice('unlock') ?> 56 56 <p class="help"><?php I18n::_e('The minimum length of cross linked words. Shorter words <u>will not be</u> cross linked automatically.') ?></p> 57 57 </td> … … 77 77 <input type="checkbox" <?php disabled(true) ?>> 78 78 <?php I18n::_e('Link complete words only.') ?> 79 <?php Mocking _Bird::printProNotice('unlock') ?>79 <?php MockingBird::printProNotice('unlock') ?> 80 80 </label> 81 81 </td> … … 88 88 <input type="checkbox" <?php disabled(true) ?>> 89 89 <?php I18n::_e('Link items case sensitive.') ?> 90 <?php Mocking _Bird::printProNotice('unlock') ?>90 <?php MockingBird::printProNotice('unlock') ?> 91 91 </label> 92 92 </td> … … 99 99 <input type="checkbox" <?php disabled(true) ?>> 100 100 <?php I18n::_e('Link the first match of each item only.') ?> 101 <?php Mocking _Bird::printProNotice('unlock') ?>101 <?php MockingBird::printProNotice('unlock') ?> 102 102 </label> 103 103 </td> … … 110 110 <input type="checkbox" <?php disabled(true) ?>> 111 111 <?php I18n::_e('Link the item in its own content.') ?> 112 <?php Mocking _Bird::printProNotice('unlock') ?>112 <?php MockingBird::printProNotice('unlock') ?> 113 113 </label> 114 114 </td> … … 119 119 <td> 120 120 <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') ?> 122 122 <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> 123 123 </td> -
encyclopedia-lexicon-glossary-wiki-dictionary/trunk/options-page/features.php
r2486011 r2966756 3 3 use WordPress\Plugin\Encyclopedia\{ 4 4 I18n, 5 Mocking _Bird,5 MockingBird, 6 6 Options 7 7 }; … … 49 49 <option <?php disabled(true) ?>><?php I18n::_e('On') ?></option> 50 50 <option <?php selected(true) ?>><?php I18n::_e('Off') ?></option> 51 </select><?php Mocking _Bird::printProNotice('unlock') ?>51 </select><?php MockingBird::printProNotice('unlock') ?> 52 52 <p class="help"><?php I18n::_e('Enables or disables revisions.') ?></p> 53 53 </td> … … 60 60 <option <?php disabled(true) ?>><?php I18n::_e('On') ?></option> 61 61 <option <?php selected(true) ?>><?php I18n::_e('Off') ?></option> 62 </select><?php Mocking _Bird::printProNotice('unlock') ?>62 </select><?php MockingBird::printProNotice('unlock') ?> 63 63 <p class="help"><?php I18n::_e('Enables or disables comments and trackbacks.') ?></p> 64 64 </td> … … 71 71 <option <?php disabled(true) ?>><?php I18n::_e('On') ?></option> 72 72 <option <?php selected(true) ?>><?php I18n::_e('Off') ?></option> 73 </select><?php Mocking _Bird::printProNotice('unlock') ?>73 </select><?php MockingBird::printProNotice('unlock') ?> 74 74 <p class="help"><?php I18n::_e('Enables or disables the featured image.') ?></p> 75 75 </td> -
encyclopedia-lexicon-glossary-wiki-dictionary/trunk/options-page/post-type-labels.php
r2486119 r2966756 3 3 use WordPress\Plugin\Encyclopedia\{ 4 4 I18n, 5 Mocking _Bird,5 MockingBird, 6 6 Options, 7 7 Post_Type, … … 49 49 <div><?php echo trailingslashit(Home_Url('/')) ?></div> 50 50 <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') ?> 52 52 </div> 53 53 <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> … … 62 62 <div class="input-element"><input type="text" value="<?php echo esc_Attr(Post_Type_Labels::getItemSlug()) ?>" <?php disabled(true) ?>></div> 63 63 <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') ?> 65 65 </div> 66 66 -
encyclopedia-lexicon-glossary-wiki-dictionary/trunk/options-page/pro-version.php
r2435772 r2966756 2 2 3 3 use WordPress\Plugin\Encyclopedia\{ 4 Mocking _Bird4 MockingBird 5 5 }; 6 6 7 7 ?> 8 8 <p> 9 <?php Mocking _Bird::printProNotice('count_limit') ?>9 <?php MockingBird::printProNotice('count_limit') ?> 10 10 </p> 11 11 12 12 <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> 14 14 </p> -
encyclopedia-lexicon-glossary-wiki-dictionary/trunk/options-page/related-items.php
r2486011 r2966756 3 3 use WordPress\Plugin\Encyclopedia\{ 4 4 I18n, 5 Mocking _Bird,5 MockingBird, 6 6 Options, 7 7 Post_Type_Labels, … … 18 18 <td> 19 19 <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') ?> 22 22 </td> 23 23 </tr> … … 38 38 </option> 39 39 <?php endforeach ?> 40 </select><?php Mocking _Bird::printProNotice('unlock') ?>40 </select><?php MockingBird::printProNotice('unlock') ?> 41 41 </td> 42 42 </tr> … … 45 45 <th><label><?php printf(I18n::__('Number of related %s'), Post_Type_Labels::getItemPluralName()) ?></label></th> 46 46 <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') ?> 48 48 <p class="help"><?php printf(I18n::__('Number of related %s which should be shown.'), Post_Type_Labels::getItemPluralName()) ?></p> 49 49 </td> … … 53 53 <th><label><?php I18n::_e('Relation Threshold') ?></label></th> 54 54 <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') ?> 56 56 <p class="help"><?php printf(I18n::__('Minimum number of common taxonomy terms to generate a relation.'), Post_Type_Labels::getItemPluralName()) ?></p> 57 57 </td> -
encyclopedia-lexicon-glossary-wiki-dictionary/trunk/options-page/search.php
r2486011 r2966756 3 3 use WordPress\Plugin\Encyclopedia\{ 4 4 I18n, 5 Mocking _Bird5 MockingBird 6 6 }; 7 7 … … 15 15 <option <?php disabled(true) ?>><?php I18n::_e('On') ?></option> 16 16 <option <?php selected(true) ?>><?php I18n::_e('Off') ?></option> 17 </select><?php Mocking _Bird::printProNotice('unlock') ?>17 </select><?php MockingBird::printProNotice('unlock') ?> 18 18 <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> 19 19 </td> … … 24 24 <td> 25 25 <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') ?> 27 27 <p class="help"><?php I18n::_e('The minimum number of characters a user must type before suggestions will be shown.') ?></p> 28 28 </td> … … 33 33 <td> 34 34 <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') ?> 36 36 <p class="help"><?php I18n::_e('The delay in milliseconds between a keystroke occurs and the suggestions will be shown.') ?></p> 37 37 </td> -
encyclopedia-lexicon-glossary-wiki-dictionary/trunk/options-page/taxonomies.php
r2486011 r2966756 3 3 use WordPress\Plugin\Encyclopedia\{ 4 4 I18n, 5 Mocking _Bird,5 MockingBird, 6 6 Options, 7 7 Post_Type_Labels, … … 50 50 <?php endif ?> 51 51 <?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') ?> 53 53 </label> 54 54 <p class="help"> -
encyclopedia-lexicon-glossary-wiki-dictionary/trunk/options-page/tooltips.php
r2486011 r2966756 3 3 use WordPress\Plugin\Encyclopedia\{ 4 4 I18n, 5 Mocking _Bird,5 MockingBird, 6 6 Options 7 7 }; … … 26 26 <input type="number" value="350" <?php disabled(true) ?>> 27 27 <?php I18n::_e('ms', 'milliseconds time unit') ?> 28 <?php Mocking _Bird::printProNotice('unlock') ?>28 <?php MockingBird::printProNotice('unlock') ?> 29 29 <p class="help"><?php I18n::_e('The duration for the opening and closing animations, in milliseconds.') ?></p> 30 30 </td> … … 36 36 <input type="number" value="300" <?php disabled(true) ?>> 37 37 <?php I18n::_e('ms', 'milliseconds time unit') ?> 38 <?php Mocking _Bird::printProNotice('unlock') ?>38 <?php MockingBird::printProNotice('unlock') ?> 39 39 <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> 40 40 </td> … … 47 47 <input type="checkbox" <?php disabled(true) ?>> 48 48 <?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') ?> 50 50 </td> 51 51 </tr>
Note: See TracChangeset
for help on using the changeset viewer.