| 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 |
|