PluginProbe
Members – Membership & User Role Editor Plugin / 3.2.24
Members – Membership & User Role Editor Plugin v3.2.24
3.2.25 3.2.26 3.2.24 3.2.23 3.2.22 3.2.21 trunk 0.1 0.1.1 0.2 0.2.1 0.2.2 0.2.3 0.2.4 0.2.5 1.0.0 1.0.1 1.0.2 1.1.0 1.1.1 1.1.2 1.1.3 2.0.0 2.0.1 2.0.2 All 66 releases
members / admin / tmpl / cap-section.php

cap-section.php in Members – Membership & User Role Editor Plugin 3.2.24, at admin/tmpl/cap-section.php

52 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Underscore JS template for edit capabilities tab sections.
4 *
5 * @package Members
6 * @subpackage Admin
7 * @author The MemberPress Team
8 * @copyright Copyright (c) 2009 - 2018, The MemberPress Team
9 * @link https://members-plugin.com/
10 * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11 */
12 if (!defined('ABSPATH')) {
13 die('You are not allowed to call this page directly.');
14 }
15
16 ?>
17 <div id="members-tab-{{ data.id }}" class="{{ data.class }}">
18
19 <table class="wp-list-table widefat fixed members-roles-select">
20
21 <thead>
22 <tr>
23 <th class="column-cap"><?php esc_html_e( 'Capability', 'members' ); ?></th>
24 <th class="column-grant">
25 <input type="checkbox" id="check-all-grant-{{ data.id }}" class="check-all-grant check-all-input" />
26 <label for="check-all-grant-{{ data.id }}"><?php esc_html_e( 'Grant All', 'members' ); ?></label>
27 </th>
28 <th class="column-deny">
29 <input type="checkbox" id="check-all-deny-{{ data.id }}" class="check-all-deny check-all-input" />
30 <label for="check-all-deny-{{ data.id }}"><?php esc_html_e( 'Deny All', 'members' ); ?></label>
31 </th>
32 </tr>
33 </thead>
34
35 <tfoot>
36 <tr>
37 <th class="column-cap"><?php esc_html_e( 'Capability', 'members' ); ?></th>
38 <th class="column-grant">
39 <input type="checkbox" id="check-all-grant-{{ data.id }}" class="check-all-grant check-all-input" />
40 <label for="check-all-grant-{{ data.id }}"><?php esc_html_e( 'Grant All', 'members' ); ?></label>
41 </th>
42 <th class="column-deny">
43 <input type="checkbox" id="check-all-deny-{{ data.id }}" class="check-all-deny check-all-input" />
44 <label for="check-all-deny-{{ data.id }}"><?php esc_html_e( 'Deny All', 'members' ); ?></label>
45 </th>
46 </tr>
47 </tfoot>
48
49 <tbody></tbody>
50 </table>
51 </div>
52