文件操作 - cap-section.php
返回文件管理
返回主菜单
删除本文件
文件: /storage/v12552/rokpaw/public_html/wp-content/plugins/members/admin/tmpl/cap-section.php
编辑文件内容
<?php /** * Underscore JS template for edit capabilities tab sections. * * @package Members * @subpackage Admin * @author The MemberPress Team * @copyright Copyright (c) 2009 - 2018, The MemberPress Team * @link https://members-plugin.com/ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html */ ?> <div id="members-tab-{{ data.id }}" class="{{ data.class }}"> <table class="wp-list-table widefat fixed members-roles-select"> <thead> <tr> <th class="column-cap"><?php esc_html_e( 'Capability', 'members' ); ?></th> <th class="column-grant"> <input type="checkbox" id="check-all-grant-{{ data.id }}" class="check-all-grant check-all-input" /> <label for="check-all-grant-{{ data.id }}"><?php esc_html_e( 'Grant All', 'members' ); ?></label> </th> <th class="column-deny"> <input type="checkbox" id="check-all-deny-{{ data.id }}" class="check-all-deny check-all-input" /> <label for="check-all-deny-{{ data.id }}"><?php esc_html_e( 'Deny All', 'members' ); ?></label> </th> </tr> </thead> <tfoot> <tr> <th class="column-cap"><?php esc_html_e( 'Capability', 'members' ); ?></th> <th class="column-grant"> <input type="checkbox" id="check-all-grant-{{ data.id }}" class="check-all-grant check-all-input" /> <label for="check-all-grant-{{ data.id }}"><?php esc_html_e( 'Grant All', 'members' ); ?></label> </th> <th class="column-deny"> <input type="checkbox" id="check-all-deny-{{ data.id }}" class="check-all-deny check-all-input" /> <label for="check-all-deny-{{ data.id }}"><?php esc_html_e( 'Deny All', 'members' ); ?></label> </th> </tr> </tfoot> <tbody></tbody> </table> </div>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件