admin-toolbar-mode.php
1 year ago
api-route-mode.php
1 year ago
backend-menu-mode.php
1 year ago
content-access-form.php
1 year ago
content-service-tips.php
1 year ago
default-subject-tab.php
1 year ago
jwt-login-url.php
1 year ago
loading-content.php
1 year ago
login-form.php
1 year ago
multisite-sync-notification.php
1 year ago
post-list.php
1 year ago
visitor-subject-tab.php
1 year ago
jwt-login-url.php
17 lines
| 1 | <?php /** @version 7.0.0 **/ ?> |
| 2 | |
| 3 | <?php if (defined('AAM_KEY')) { ?> |
| 4 | <div class="form-group aam-bordered aam-outer-top-xs"> |
| 5 | <label for="login-url-preview" class="aam-block"> |
| 6 | <?php echo __('Login with URL', 'advanced-access-manager'); ?> |
| 7 | <a href="#" class="aam-copy-clipboard" data-clipboard-target="#login-url-preview"><?php echo __('Copy to clipboard', 'advanced-access-manager'); ?></a> |
| 8 | </label> |
| 9 | <div class="input-group"> |
| 10 | <input type="text" class="form-control" id="login-url-preview" data-url="<?php echo add_query_arg('aam-jwt', '%s', site_url()); ?>" value="<?php echo __('Login URL has not been requested', 'advanced-access-manager'); ?>" readonly /> |
| 11 | <span class="input-group-btn"> |
| 12 | <a href="#" class="btn btn-primary" id="request-login-url"><?php echo __('Request URL', 'advanced-access-manager'); ?></a> |
| 13 | </span> |
| 14 | </div> |
| 15 | <small><?php echo AAM_Backend_View_Helper::preparePhrase('With this URL user will be automatically logged in until defined date and time. The JWT token associated with URL is [revokable] however not [refreshable].', 'i', 'i'); ?></small> |
| 16 | </div> |
| 17 | <?php } |