PluginProbe
MaxButtons – Create buttons / 6.6
MaxButtons – Create buttons v6.6
6.23 6.24 6.25 6.26 6.26.1 6.27 6.28 6.3 6.4 6.5 6.6 6.7 6.8 6.9 7.0 7.1 7.1.1 7.1.2 7.1.3 7.10 7.11 7.13 7.13.1 7.13.2 7.13.3 All 100 releases
maxbuttons / includes / button_editor_popup.php

button_editor_popup.php in MaxButtons – Create buttons 6.6, at includes/button_editor_popup.php

57 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 include_once 'arrays.php';
3 //include_once 'constants.php';
4 //do_action('admin_enqueue_scripts', 'maxbuttons-popup');
5
6 //do_action('enqueue_scripts');
7 //do_action('enqueue_styles');
8
9
10 $button = MB()->getClass("button"); //new maxButton();
11 $button_id = 0;
12
13
14 if (isset($_GET['id']) && $_GET['id'] != '') {
15 $button = MB()->getClass('button'); // reset
16 $button_id = intval($_GET["id"]);
17 }
18 ?>
19 <html>
20 <head>
21 <?php //wp_head();
22
23 //echo "HEAD";
24
25 //do_action('admin_print_scripts');
26 //do_action('admin_print_styles');
27 // wp_print_scripts();
28 // wp_print_styles();
29 exit('Button popup not found. Please contact support.');
30 ?>
31
32 </head>
33 <body class="wp-admin wp-core-ui js maxbuttons_page_maxbuttons-button auto-fold admin-bar branch-4-4 version-4-4 admin-color-fresh locale-nl-nl customize-support svg">
34 <?php
35 //remove_action("mb-display-logo");
36 //remove_action('mb-display-tabs');
37 $admin = MB()->getClass("admin");
38 $admin->get_header(array("tabs_active" => true));
39
40
41 $button->admin_fields();
42 ?>
43
44
45 <?php
46
47
48 //$admin->get_footer();
49
50 ?>
51 <?php
52 //o_action('admin_print_scripts');
53 //print_footer_scripts() ?>
54 </body>
55 </html>
56
57