PluginProbe ʕ •ᴥ•ʔ
Advanced Access Manager – Access Governance for WordPress / 4.0
Advanced Access Manager – Access Governance for WordPress v4.0
6.8.4 6.8.5 6.9.0 6.9.1 6.9.10 6.9.11 6.9.12 6.9.13 6.9.14 6.9.15 6.9.16 6.9.17 6.9.18 6.9.19 6.9.2 6.9.20 6.9.21 6.9.22 6.9.23 6.9.24 6.9.25 6.9.26 6.9.27 6.9.28 6.9.29 6.9.3 6.9.30 6.9.31 6.9.32 6.9.33 6.9.34 6.9.35 6.9.36 6.9.37 6.9.38 6.9.39 6.9.4 6.9.41 6.9.42 6.9.43 6.9.44 6.9.45 6.9.46 6.9.47 6.9.48 6.9.49 6.9.5 6.9.51 6.9.6 6.9.7 6.9.8 6.9.9 7.0.0 7.0.0-alpha.6 7.0.0-alpha.7 7.0.0-beta.1 7.0.0-rc1 7.0.0-rc2 7.0.0-rc3 7.0.1 7.0.10 7.0.11 7.0.2 7.0.3 7.0.4 7.0.5 7.0.6 7.0.7 7.0.8 7.0.9 7.1.0 7.1.1 trunk 3.0 4.0 4.0.1 4.1 4.2 4.3 4.4 4.4.1 4.5 4.6 4.6.1 4.6.2 4.7 4.7.1 4.7.2 4.7.5 4.7.6 4.8 4.8.1 4.9 4.9.1 4.9.2 4.9.3 4.9.4 4.9.5 4.9.5.1 4.9.5.2 5.0 5.0.1 5.0.2 5.0.3 5.0.4 5.0.5 5.0.6 5.0.7 5.0.8 5.1 5.1.1 5.10 5.11 5.2 5.2.1 5.2.5 5.2.6 5.2.7 5.3 5.3.1 5.3.2 5.3.3 5.3.4 5.3.5 5.4 5.4.1 5.4.2 5.4.3 5.4.3.1 5.4.3.2 5.5 5.5.1 5.5.2 5.6 5.6.1 5.6.1.1 5.7 5.7.1 5.7.2 5.7.3 5.8 5.8.1 5.8.2 5.8.3 5.9 5.9.1 5.9.1.1 5.9.2 5.9.2.1 5.9.3 5.9.4 5.9.5 5.9.6 5.9.6.1 5.9.6.2 5.9.6.3 5.9.7 5.9.7.1 5.9.7.2 5.9.7.3 5.9.8 5.9.8.1 5.9.9 5.9.9.1 6.0.0 6.0.1 6.0.2 6.0.3 6.0.4 6.0.5 6.1.0 6.1.1 6.2.0 6.2.1 6.2.2 6.3.0 6.3.1 6.3.2 6.3.3 6.4.0 6.4.1 6.4.2 6.4.3 6.5.0 6.5.1 6.5.2 6.5.3 6.5.4 6.6.0 6.6.1 6.6.2 6.6.3 6.6.4 6.7.0 6.7.1 6.7.2 6.7.3 6.7.4 6.7.5 6.7.6 6.7.7 6.7.8 6.7.9 6.8.0 6.8.1 6.8.2 6.8.3
advanced-access-manager / Application / Backend / phtml / object / post.phtml
advanced-access-manager / Application / Backend / phtml / object Last commit date
capability.phtml 9 years ago login-redirect.phtml 9 years ago menu.phtml 9 years ago metabox.phtml 9 years ago post.phtml 9 years ago redirect.phtml 9 years ago teaser.phtml 9 years ago
post.phtml
138 lines
1 <?php if (defined('AAM_KEY')) { ?>
2 <div class="aam-feature" id="post-content">
3 <?php if (!defined('AAM_PLUS_PACKAGE')) { ?>
4 <div class="row">
5 <div class="col-xs-12">
6 <p class="aam-notification">
7 <?php echo sprintf(AAM_Backend_View_Helper::preparePhrase('You are allowed to manage access up to 10 posts, pages or custom post types but only on role, user or visitor levels. Consider to purchase [AAM Plus Package] extension to unlock this limitation. For more information about post access control check %sthis article%s.', 'b'), '<a href="https://aamplugin.com/help/how-to-manage-wordpress-post-and-category-access" target="_blank">', '</a>'); ?>
8 </p>
9 </div>
10 </div>
11 <?php } ?>
12
13 <?php if (defined('AAM_PLUS_PACKAGE') || AAM_Backend_View::getSubject()->getUID() != 'default') { ?>
14 <?php $current = $this->getCurrentObject(); ?>
15
16 <div class="aam-post-breadcrumb">
17 <a href="#" data-level="root"><i class="icon-home"></i> <?php echo __('Root', AAM_KEY); ?></a>
18 <?php if ($current->id) { ?>
19 <span>
20 <i class="icon-angle-double-right"></i>
21 <?php echo ($current->type == 'post' ? $current->post->post_title : $current->term->name); ?>
22 </span>
23 <?php } ?>
24 </div>
25
26 <div class="aam-overwrite hidden" id="post-overwritten">
27 <span><i class="icon-check"></i> <?php echo __('Settings are customized', AAM_KEY); ?></span>
28 <span><a href="#" id="post-reset" class="btn btn-xs btn-primary"><?php echo __('Reset To Default', AAM_KEY); ?></a></span>
29 </div>
30
31 <?php if ($current->id) { ?>
32 <input type="hidden" id="load-post-object" value="<?php echo ($current->type == 'post' ? $current->post->ID : $current->term->term_id); ?>" />
33 <input type="hidden" id="load-post-object-type" value="<?php echo $current->type; ?>" />
34 <?php } ?>
35
36 <div class="aam-container">
37 <table id="post-list" class="table table-striped table-bordered">
38 <thead>
39 <tr>
40 <th>ID</th>
41 <th>Link</th>
42 <th width="5%">&nbsp;</th>
43 <th width="75%"><?php echo __('Title', AAM_KEY); ?></th>
44 <th><?php echo __('Actions', AAM_KEY); ?></th>
45 </tr>
46 </thead>
47 <tbody></tbody>
48 </table>
49
50 <div class="aam-slide-form" data-type="type">
51 <?php echo apply_filters('aam-post-type-ui-filter', AAM_Backend_View::getInstance()->loadPartial('post-type.phtml')); ?>
52 <a href="#" class="btn btn-xs btn-primary post-back">&Lt; <?php echo __('Go Back', AAM_KEY); ?></a>
53 </div>
54
55 <div class="aam-slide-form" data-type="term">
56 <?php echo apply_filters('aam-term-type-ui-filter', AAM_Backend_View::getInstance()->loadPartial('term-type.phtml')); ?>
57 <a href="#" class="btn btn-xs btn-primary post-back">&Lt; <?php echo __('Go Back', AAM_KEY); ?></a>
58 </div>
59
60 <div class="aam-slide-form" data-type="post">
61 <table class="table table-striped table-bordered">
62 <tbody>
63 <tr>
64 <td colspan="2" class="aam-table-group">
65 <i class="icon-doc-text-inv"></i> <strong><?php echo __('Frontend', AAM_KEY); ?></strong>
66 </td>
67 </tr>
68
69 <?php foreach($this->getAccessOptionList('frontend') as $option => $data) { ?>
70 <tr>
71 <td width="90%">
72 <strong class="aam-block aam-highlight text-uppercase"><?php echo $data['title']; ?></strong>
73 <?php if (!empty($data['sub'])) { echo $data['sub']; } ?>
74 <p class="aam-hint" data-dynamic-post-label="<?php echo $data['descr']; ?>"></p>
75 </td>
76 <td>
77 <div class="aam-row-actions">
78 <i class="aam-row-action text-muted icon-check-empty" data-property="frontend.<?php echo $option; ?>"></i>
79 </div>
80 </td>
81 </tr>
82 <?php } ?>
83
84 <?php do_action('aam-post-access-option-action', 'post', 'frontend'); ?>
85
86 <tr class="aam-backend-post-access">
87 <td colspan="2" class="aam-table-group">
88 <i class="icon-doc-text-inv"></i> <strong><?php echo __('Backend', AAM_KEY); ?></strong>
89 </td>
90 </tr>
91
92 <?php foreach($this->getAccessOptionList('backend') as $option => $data) { ?>
93 <tr class="aam-backend-post-access">
94 <td width="90%">
95 <strong class="aam-block aam-highlight text-uppercase"><?php echo $data['title']; ?></strong>
96 <?php if (!empty($data['sub'])) { echo $data['sub']; } ?>
97 <p class="aam-hint" data-dynamic-post-label="<?php echo $data['descr']; ?>"></p>
98 </td>
99 <td>
100 <div class="aam-row-actions">
101 <i class="aam-row-action text-muted icon-check-empty" data-property="backend.<?php echo $option; ?>"></i>
102 </div>
103 </td>
104 </tr>
105 <?php } ?>
106
107 <?php do_action('aam-post-access-option-action', 'post', 'backend'); ?>
108
109 </tbody>
110 </table>
111
112 <a href="#" class="btn btn-xs btn-primary post-back">&Lt; <?php echo __('Go Back', AAM_KEY); ?></a>
113 </div>
114 </div>
115 <?php } ?>
116
117 <div class="modal fade" id="password-modal" tabindex="-1" role="dialog">
118 <div class="modal-dialog modal-sm" role="document">
119 <div class="modal-content">
120 <div class="modal-header">
121 <button type="button" class="close" data-dismiss="modal" aria-label="<?php echo __('Close', AAM_KEY); ?>"><span aria-hidden="true">&times;</span></button>
122 <h4 class="modal-title"><?php echo __('Change Password', AAM_KEY); ?></h4>
123 </div>
124 <div class="modal-body">
125 <div class="form-group">
126 <label for="new-role-name"><?php echo __('Password', AAM_KEY); ?></label>
127 <input type="text" class="form-control" id="password-value" placeholder="<?php echo __('Enter Password', AAM_KEY); ?>" />
128 </div>
129 </div>
130 <div class="modal-footer">
131 <button type="button" class="btn btn-success" id="change-password-btn"><?php echo __('Change', AAM_KEY); ?></button>
132 <button type="button" class="btn btn-default" data-dismiss="modal"><?php echo __('Close', AAM_KEY); ?></button>
133 </div>
134 </div>
135 </div>
136 </div>
137 </div>
138 <?php }