admin-notices
1 year ago
features
1 year ago
plugin-capabilities
1 year ago
redirects
1 year ago
roles
1 year ago
admin-load.php
1 year ago
admin.php
1 year ago
backup-handler.php
1 year ago
backup.php
1 year ago
cap-helper.php
1 year ago
dashboard.php
1 year ago
extractor-capabilities.php
1 year ago
filters-admin.php
1 year ago
filters-woocommerce.php
1 year ago
filters-wp_rest_workarounds.php
1 year ago
filters.php
1 year ago
functions-admin.php
1 year ago
functions.php
1 year ago
handler.php
1 year ago
inflect-cme.php
1 year ago
manager.php
1 year ago
network.php
1 year ago
plugin-capabilities.php
1 year ago
pp-handler.php
1 year ago
pp-ui.php
1 year ago
publishpress-roles.php
1 year ago
settings-handler.php
1 year ago
settings-ui.php
1 year ago
settings.php
1 year ago
test-user-ui.php
1 year ago
test-user.php
1 year ago
settings.php
56 lines
| 1 | <?php |
| 2 | /* |
| 3 | * PublishPress Capabilities [Free] |
| 4 | * |
| 5 | * Settings UI |
| 6 | * |
| 7 | */ |
| 8 | |
| 9 | global $wpdb; |
| 10 | ?> |
| 11 | |
| 12 | <div class="wrap publishpress-caps-manage publishpress-caps-settings pressshack-admin-wrapper"> |
| 13 | <h1><?php printf(esc_html__('Capabilities Settings', 'capability-manager-enhanced'), '<a href="admin.php?page=pp-capabilities">', '</a>'); ?></h1> |
| 14 | |
| 15 | <form class="basic-settings" method="post" action=""> |
| 16 | <?php wp_nonce_field('pp-capabilities-settings'); ?> |
| 17 | |
| 18 | <br /> |
| 19 | |
| 20 | <?php do_action('pp-capabilities-settings-ui');?> |
| 21 | |
| 22 | <?php if (!defined('PUBLISHPRESS_CAPS_PRO_VERSION')) : /*?> |
| 23 | <h3><?php esc_html_e('Related Permissions Plugins', 'capability-manager-enhanced');?></h3> |
| 24 | <ul> |
| 25 | <?php $_url = "plugin-install.php?tab=plugin-information&plugin=publishpress&TB_iframe=true&width=640&height=678"; |
| 26 | $url = ( is_multisite() ) ? network_admin_url($_url) : admin_url($_url); |
| 27 | ?> |
| 28 | <li><a class="thickbox" href="<?php echo (esc_url_raw($url));?>"><?php esc_html_e('PublishPress', 'capability-manager-enhanced');?></a></li> |
| 29 | |
| 30 | <?php $_url = "plugin-install.php?tab=plugin-information&plugin=publishpress-authors&TB_iframe=true&width=640&height=678"; |
| 31 | $url = ( is_multisite() ) ? network_admin_url($_url) : admin_url($_url); |
| 32 | ?> |
| 33 | <li><a class="thickbox" href="<?php echo (esc_url_raw($url));?>"><?php esc_html_e('PublishPress Authors', 'capability-manager-enhanced');?></a></li> |
| 34 | </li> |
| 35 | |
| 36 | <?php $_url = "plugin-install.php?tab=plugin-information&plugin=press-permit-core&TB_iframe=true&width=640&height=678"; |
| 37 | $url = ( is_multisite() ) ? network_admin_url($_url) : admin_url($_url); |
| 38 | ?> |
| 39 | <li><a class="thickbox" href="<?php echo (esc_url_raw($url));?>"><?php esc_html_e('PublishPress Permissions', 'capability-manager-enhanced');?></a></li> |
| 40 | </li> |
| 41 | |
| 42 | <?php $_url = "plugin-install.php?tab=plugin-information&plugin=revisionary&TB_iframe=true&width=640&height=678"; |
| 43 | $url = ( is_multisite() ) ? network_admin_url($_url) : admin_url($_url); |
| 44 | ?> |
| 45 | <li><a class="thickbox" href="<?php echo (esc_url_raw($url));?>"><?php esc_html_e('PublishPress Revisions', 'capability-manager-enhanced');?></a></li> |
| 46 | |
| 47 | <li class="publishpress-contact"><a href="https://publishpress.com/contact" target="_blank"><?php esc_html_e('Help / Contact Form', 'capability-manager-enhanced');?></a></li> |
| 48 | </ul> |
| 49 | <?php */ endif;?> |
| 50 | </form> |
| 51 | |
| 52 | <?php if (!defined('PUBLISHPRESS_CAPS_PRO_VERSION') || get_option('cme_display_branding')) { |
| 53 | cme_publishpressFooter(); |
| 54 | } |
| 55 | ?> |
| 56 | </div> |