PluginProbe
Bubble Menu – Floating Button Menu with Sticky Navigation / 3.0.4
Bubble Menu – Floating Button Menu with Sticky Navigation v3.0.4
trunk 1.3 2.0 2.2 2.2.1 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.1 3.1.1 4.0 4.0.1 4.0.2 4.0.3 4.0.4 4.0.5 4.0.6 4.0.7 4.1 4.1.1
bubble-menu / admin / page-settings.php

page-settings.php in Bubble Menu – Floating Button Menu with Sticky Navigation 3.0.4, at admin/page-settings.php

170 lines 7.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Add new Element
4 *
5 * @package Wow_Plugin
6 * @subpackage Admin/Add_Item
7 * @author Wow-Company <yoda@wow-company.com>
8 * @copyright 2019 Wow-Company
9 * @license GNU Public License
10 * @version 1.0
11 */
12
13 if ( ! defined( 'ABSPATH' ) ) {
14 exit;
15 }
16
17 // include the database params for item
18 include_once( 'settings/database.php' );
19
20 // include the options param
21 include_once( 'settings/options/general.php' );
22
23 $url_form = admin_url() . 'admin.php?page=' . $this->plugin['slug'];
24 ?>
25 <form action="<?php echo esc_url($url_form); ?>" method="post" name="post" class="wow-plugin" id="wow-plugin">
26 <div id="poststuff">
27 <div id="post-body" class="metabox-holder columns-2">
28 <div id="post-body-content" style="position: relative;">
29
30 <div id="titlediv">
31
32 <div id="titlewrap">
33 <label class="screen-reader-text" id="title-prompt-text" for="title">Enter title
34 here</label>
35 <input type="text" class="input" name="title" size="30" value="<?php echo esc_attr($title); ?>" id="title"
36 placeholder="<?php esc_attr_e( 'Register an menu name', 'bubble-menu' ); ?>" autocomplete="off">
37 </div>
38
39 </div>
40 </div>
41
42 <!-- Sidebar with the setting-->
43 <div id="postbox-container-1" class="postbox-container">
44
45 <div id="submitdiv" class="box">
46 <h2 class="has-border-bottom">
47 <?php esc_html_e( 'Publish', 'bubble-menu' ); ?>
48 </h2>
49
50 <div class="inside">
51 <div class="columns is-multiline">
52 <div class="column is-12">
53 <div class="field">
54 <label class="checkbox label">
55 <?php self::option( $status ); ?><?php esc_attr_e( "Deactivated", 'bubble-menu' ); ?><?php self::tooltip( $status_help ); ?>
56 </label>
57 </div>
58 <div class="field">
59 <label class="checkbox label">
60 <?php self::option( $test_mode ); ?><?php esc_attr_e( "Test mode", 'bubble-menu' ); ?><?php self::tooltip( $test_mode_help ); ?>
61 </label>
62 </div>
63
64 </div>
65 <div class="column is-12">
66 <div class="field">
67 <?php self::option( $show ); ?>
68 </div>
69 <span id="shortcode">
70 <code>[<?php echo $this->plugin['shortcode']; ?> id="<?php echo $tool_id; ?>"]</code>
71 </span>
72 </div>
73 </div>
74
75 <div class="submitbox has-border-top" id="submitpost">
76 <div id="delete-action">
77 <?php if ( ! empty( $id ) ) : ?><?php $delete_url = admin_url() . 'admin.php?page=' . $this->plugin['slug'] . '&info=delete&did=' . absint( $id ); ?>
78 <a class="submitdelete deletion"
79 href="<?php echo esc_url( $delete_url ); ?>"><?php esc_attr_e( 'Delete', 'bubble-menu' ); ?></a>
80 <?php endif; ?>
81 </div>
82
83 <div id="publishing-action">
84 <span class="saving"><?php esc_html_e( 'Saving', 'bubble-menu' ); ?></span>
85 <input name="submit" id="submit" class="button button-primary button-large"
86 value="<?php echo esc_attr( $btn ); ?>" type="submit">
87 </div>
88
89 <div class="clear"></div>
90
91
92 </div>
93 </div>
94 </div>
95 <div class="ribbon">
96 UPGRADE PRO
97 <i></i>
98 <i></i>
99 <i></i>
100 <i></i>
101 </div>
102 <div class="upgrade-box">
103 <a class="button is-demo" href="https://wow-company.com/preview/wordpress-plugins/bubble-menu-pro/" target="_blank">Demo</a>
104 <a class="button is-upgrade" href="https://wow-estore.com/item/bubble-menu-pro/" target="_blank">Upgrade</a>
105
106 </div>
107 </div>
108
109 <!-- Block for main options pages-->
110 <div id="postbox-container-2" class="postbox-container">
111 <div id="postoptions" class="box">
112
113 <div class="columns">
114 <div class="column has-tabs">
115 <div class="tabs is-vertical" id="tab">
116 <ul>
117 <li class="is-active" data-tab="1">
118 <a><?php esc_html_e( 'Settings', 'bubble-menu' ); ?></a>
119 </li>
120 <li data-tab="2">
121 <a><?php esc_html_e( 'Menu', 'bubble-menu' ); ?></a>
122 </li>
123 <li data-tab="3">
124 <a><?php esc_html_e( 'Display', 'bubble-menu' ); ?></a>
125 </li>
126 </ul>
127 </div>
128 </div>
129 <div class="column has-border-left">
130
131 <div id="tab-content" class="inside">
132 <div class="tab-content" data-content="1">
133 <?php include_once( 'settings/main.php' ); ?>
134 </div>
135
136 <div class="tab-content is-hidden" data-content="2">
137 <?php include_once( 'settings/menu.php' ); ?>
138 </div>
139 <div class="tab-content is-hidden is-zebra" data-content="3">
140 <?php include_once( 'settings/display.php' ); ?>
141 </div>
142 </div>
143 </div>
144 </div>
145
146
147 </div>
148 </div>
149
150 </div>
151 </div>
152
153 <!-- main param for adding in database-->
154 <input type="hidden" name="tool_id" value="<?php echo $tool_id; ?>" id="tool_id"/>
155 <input type="hidden" name="param[time]" value="<?php echo time(); ?>"/>
156 <input type="hidden" name="add" id="add_action" value="<?php echo $add_action; ?>"/>
157 <input type="hidden" name="id" value="<?php echo $id; ?>"/>
158 <input type="hidden" name="data" value="<?php echo $data; ?>"/>
159 <input type="hidden" name="page" value="<?php echo $this->plugin['slug']; ?>"/>
160 <input type="hidden" name="prefix" value="<?php echo $this->plugin['prefix']; ?>" id="prefix"/>
161 <?php wp_nonce_field( $this->plugin['slug'] . '_action', $this->plugin['slug'] . '_nonce' ); ?>
162
163 </form>
164
165 <template id="clone">
166 <?php include_once( 'settings/clone.php' ); ?>
167 </template>
168
169 <?php
170