PluginProbe
WPCasa – Real Estate for WordPress / trunk
WPCasa – Real Estate for WordPress vtrunk
1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 1.5.1.1 trunk 1.2.0 1.2.1 1.2.10 1.2.10.1 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.2.9.1 1.2.9.2 1.3.0 All 31 releases
wpcasa / includes / admin / views / settings.php

settings.php in WPCasa – Real Estate for WordPress trunk, at includes/admin/views/settings.php

44 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Render the WPCasa settings page.
4 *
5 * @package WPCasa
6 * @updated 1.5.4
7 */
8
9 if ( ! defined( 'ABSPATH' ) ) {
10 exit;
11 }
12
13 // Display the confirmation returned by the WordPress Settings API.
14 if ( isset( $_GET['settings-updated'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
15 echo '<div class="fade notice notice-success"><p>' . esc_html__( 'Settings saved.', 'wpcasa' ) . '</p></div>';
16 }
17 ?>
18
19 <div class="wrap wpsight-settings-wrap">
20 <?php require WPSIGHT_PLUGIN_DIR . '/includes/admin/views/sidebar.php'; ?>
21
22 <div class="wpsight-admin-main">
23 <div class="wpsight-admin-ui-panel wpsight-admin-main-wrap-btn-toggle">
24 <button
25 type="button"
26 class="wpsight-settings-sidebar-toggle"
27 aria-controls="wpsight-admin-sidebar"
28 aria-expanded="false"
29 aria-label="<?php echo esc_attr__( 'Open settings navigation', 'wpcasa' ); ?>"
30 data-wpsight-open-label="<?php echo esc_attr__( 'Open settings navigation', 'wpcasa' ); ?>"
31 data-wpsight-close-label="<?php echo esc_attr__( 'Close settings navigation', 'wpcasa' ); ?>"
32 >
33 <span class="wpsight-settings-sidebar-toggle-line" aria-hidden="true"></span>
34 <span class="wpsight-settings-sidebar-toggle-line" aria-hidden="true"></span>
35 <span class="wpsight-settings-sidebar-toggle-line" aria-hidden="true"></span>
36 </button>
37 </div>
38
39 <?php require WPSIGHT_PLUGIN_DIR . '/includes/admin/views/panels.php'; ?>
40 <?php require WPSIGHT_PLUGIN_DIR . '/includes/admin/views/settings-form.php'; ?>
41 <?php require WPSIGHT_PLUGIN_DIR . '/includes/admin/views/page-tools.php'; ?>
42 </div>
43 </div>
44