iframe-footer.php
1 year ago
iframe-header.php
1 year ago
main-iframe.php
5 months ago
policy-metabox.php
1 year ago
policy-parent-metabox.php
1 year ago
policy-principal-metabox.php
1 year ago
post-iframe.php
1 year ago
post-metabox.php
1 year ago
principal-iframe.php
1 year ago
user-iframe.php
1 year ago
user-metabox.php
1 year ago
post-iframe.php
29 lines
| 1 | <?php /** @version 7.0.0 **/ |
| 2 | |
| 3 | if (defined('AAM_KEY')) { |
| 4 | wp_enqueue_style('aam-vendor', AAM_MEDIA . '/css/vendor.min.css', [], AAM_VERSION); |
| 5 | wp_enqueue_style('aam', AAM_MEDIA . '/css/aam.css', array('aam-vendor'), AAM_VERSION); |
| 6 | wp_enqueue_script('aam-iframe', AAM_MEDIA . '/js/iframe-content.js', [], AAM_VERSION); |
| 7 | } |
| 8 | ?> |
| 9 | |
| 10 | <?php if (defined('AAM_KEY')) { ?> |
| 11 | <?php echo static::loadTemplate(__DIR__ . '/iframe-header.php'); ?> |
| 12 | |
| 13 | <div class="row" style="margin: 10px 0 0 0;" id="aam_post_access_metabox"> |
| 14 | <div class="col-sm-4" style="padding: 0;"> |
| 15 | <?php echo static::loadTemplate(dirname(__DIR__) . '/page/subject-panel.php'); ?> |
| 16 | </div> |
| 17 | |
| 18 | <div class="col-sm-8" style="padding: 0 0 0 15px;" id="aam_content_access_form"> |
| 19 | <div id="aam_access_form_container"> |
| 20 | <?php echo $params->postManager->render_content_access_form( |
| 21 | $params->objectId, |
| 22 | $params->objectType |
| 23 | ); ?> |
| 24 | </div> |
| 25 | </div> |
| 26 | </div> |
| 27 | |
| 28 | <?php echo static::loadTemplate(__DIR__ . '/iframe-footer.php'); ?> |
| 29 | <?php } |