404redirect.phtml
8 years ago
capability.phtml
8 years ago
login-redirect.phtml
8 years ago
logout-redirect.phtml
8 years ago
menu.phtml
8 years ago
metabox.phtml
8 years ago
post.phtml
8 years ago
redirect.phtml
8 years ago
route.phtml
8 years ago
route.phtml
36 lines
| 1 | <?php if (defined('AAM_KEY')) { ?> |
| 2 | <div class="aam-feature" id="route-content"> |
| 3 | <?php $subject = AAM_Backend_Subject::getInstance(); ?> |
| 4 | |
| 5 | <div class="row"> |
| 6 | <div class="col-xs-12"> |
| 7 | <p class="aam-info"> |
| 8 | <?php echo sprintf(AAM_Backend_View_Helper::preparePhrase('Manage access to the website API routes for [%s]. For full RESTful API experience, you might want to use %sJWT authentication%s that is already available in AAM.', 'b'), AAM_Backend_Subject::getInstance()->getName(), '<a href="https://aamplugin.com/help/how-to-authenticate-wordpress-user-with-jwt-token" target="_blank">', '</a>'); ?><br/><br/> |
| 9 | <?php echo AAM_Backend_View_Helper::preparePhrase('[Please note!] It is the initial version of this feature. It can be significantly enhanced with a lot of useful functionality. Your feedback and suggestions are highly appreciated!', 'b'); ?> |
| 10 | </p> |
| 11 | </div> |
| 12 | </div> |
| 13 | |
| 14 | <div class="row"> |
| 15 | <div class="col-xs-12"> |
| 16 | <div class="aam-overwrite<?php echo ($this->isOverwritten() ? '' : ' hidden'); ?>" id="aam-route-overwrite"> |
| 17 | <span><i class="icon-check"></i> <?php echo __('Routes are customized', AAM_KEY); ?></span> |
| 18 | <span><a href="#" id="route-reset" class="btn btn-xs btn-primary"><?php echo __('Reset To Default', AAM_KEY); ?></a> |
| 19 | </div> |
| 20 | </div> |
| 21 | </div> |
| 22 | |
| 23 | <table id="route-list" class="table table-striped table-bordered"> |
| 24 | <thead> |
| 25 | <tr> |
| 26 | <th>Type</th> |
| 27 | <th width="10%"> </th> |
| 28 | <th width="80%"><?php echo __('Route', AAM_KEY); ?></th> |
| 29 | <th><?php echo __('Deny', AAM_KEY); ?></th> |
| 30 | </tr> |
| 31 | </thead> |
| 32 | <tbody></tbody> |
| 33 | </table> |
| 34 | </div> |
| 35 | <?php } |
| 36 |