edit-lesson.php
2 years ago
edit_quiz.php
1 year ago
login.php
3 years ago
question_answer_form.php
3 years ago
question_answer_list.php
3 years ago
question_form.php
2 years ago
review.php
2 years ago
topic-form.php
3 years ago
wp-editor-link.php
1 year ago
wp-editor-link.php
74 lines
| 1 | <?php |
| 2 | /** |
| 3 | * WP Editor link modal |
| 4 | * |
| 5 | * @package Tutor\Views |
| 6 | * @author Themeum <support@themeum.com> |
| 7 | * @link https://themeum.com |
| 8 | * @since 3.0.0 |
| 9 | */ |
| 10 | |
| 11 | ?> |
| 12 | <div id="wp-link-backdrop" style="display: none"></div> |
| 13 | <div id="wp-link-wrap" class="wp-core-ui" style="display: none" role="dialog" aria-labelledby="link-modal-title"> |
| 14 | <form id="wp-link" tabindex="-1"> |
| 15 | <?php wp_nonce_field( 'internal-linking', '_ajax_linking_nonce', false ); ?> |
| 16 | <h1 id="link-modal-title">Insert/edit link</h1> |
| 17 | <button type="button" id="wp-link-close"> |
| 18 | <span class="screen-reader-text">Close</span> |
| 19 | </button> |
| 20 | <div id="link-selector"> |
| 21 | <div id="link-options"> |
| 22 | <p class="howto" id="wplink-enter-url">Enter the destination URL</p> |
| 23 | <div> |
| 24 | <label><span>URL</span> |
| 25 | <input id="wp-link-url" type="text" aria-describedby="wplink-enter-url" /></label> |
| 26 | </div> |
| 27 | <div class="wp-link-text-field"> |
| 28 | <label><span>Link Text</span> |
| 29 | <input id="wp-link-text" type="text" /></label> |
| 30 | </div> |
| 31 | <div class="link-target"> |
| 32 | <label><span></span> |
| 33 | <input type="checkbox" id="wp-link-target" /> Open link in a new tab</label> |
| 34 | </div> |
| 35 | </div> |
| 36 | <p class="howto" id="wplink-link-existing-content">Or link to existing content</p> |
| 37 | <div id="search-panel"> |
| 38 | <div class="link-search-wrapper"> |
| 39 | <label> |
| 40 | <span class="search-label">Search</span> |
| 41 | <input type="search" id="wp-link-search" class="link-search-field" autocomplete="off" aria-describedby="wplink-link-existing-content" /> |
| 42 | <span class="spinner"></span> |
| 43 | </label> |
| 44 | </div> |
| 45 | <div id="search-results" class="query-results" tabindex="0"> |
| 46 | <ul></ul> |
| 47 | <div class="river-waiting"> |
| 48 | <span class="spinner"></span> |
| 49 | </div> |
| 50 | </div> |
| 51 | <div id="most-recent-results" class="query-results" tabindex="0"> |
| 52 | <div class="query-notice" id="query-notice-message"> |
| 53 | <em class="query-notice-default">No search term specified. Showing recent items.</em> |
| 54 | <em class="query-notice-hint screen-reader-text"> |
| 55 | Search or use up and down arrow keys to select an item. </em> |
| 56 | </div> |
| 57 | <ul></ul> |
| 58 | <div class="river-waiting"> |
| 59 | <span class="spinner"></span> |
| 60 | </div> |
| 61 | </div> |
| 62 | </div> |
| 63 | </div> |
| 64 | <div class="submitbox"> |
| 65 | <div id="wp-link-cancel"> |
| 66 | <button type="button" class="button">Cancel</button> |
| 67 | </div> |
| 68 | <div id="wp-link-update"> |
| 69 | <input type="submit" value="Add Link" class="button button-primary" id="wp-link-submit" name="wp-link-submit"> |
| 70 | </div> |
| 71 | </div> |
| 72 | </form> |
| 73 | </div> |
| 74 |