<?php /** * WP Super Edit Administration interface * * These functions control the display for the administrative interface. This * interface allows drag and drop control for buttons and interactive control for * activating TinyMCE plugins. This interface requires a modern browser and * javascript. * @package wp-super-edit * @subpackage wp-super-edit-admin */ /** * Display user profile WP Super Edit interface * * Very advanced control interface for TinyMCE buttons and plugins using * drag and drop. * @global object $wp_super_edit */ global $wp_super_edit; $updated = false; wp_super_edit_ui_header(); wp_super_edit_buttons_ui(); wp_super_edit_ui_footer(); // End - WP Super Edit User Panel //
/** * Display administrative WP Super Edit interface * * Very advanced control interface for TinyMCE buttons and plugins using * drag and drop. * @global object $wp_super_edit */ function wp_super_edit_admin_page() { global $wp_super_edit; $updated = false; wp_super_edit_ui_header(); if (isset($_REQUEST['wp_super_edit_action'])) { $wp_super_edit_action = $_REQUEST['wp_super_edit_action']; } else { $wp_super_edit_action = ''; } if (!$wp_super_edit->is_installed && $wp_super_edit_action != 'install') { wp_super_edit_install_ui(); wp_super_edit_ui_footer(); return; } if ($wp_super_edit_action == 'uninstall') { wp_super_edit_install_ui(); wp_super_edit_ui_footer(); return; } wp_super_edit_admin_menu_ui(); switch ($wp_super_edit->ui) { case 'buttons': wp_super_edit_buttons_ui(); break; case 'plugins': wp_super_edit_plugins_ui(); break; case 'options': wp_super_edit_options_ui(); break; default: wp_super_edit_options_ui(); } wp_super_edit_ui_footer(); }