_registry->get( 'theme.list' ); $_list_table->prepare_items(); $args = array( 'activated' => $activated, 'deleted' => $deleted, 'ct' => $ct, 'wp_list_table' => $_list_table, 'page_title' => Ai1ec_I18n::__( 'All-in-One Event Calendar: Themes' ), ); add_thickbox(); wp_enqueue_script( 'theme-preview' ); $loader = $this->_registry->get( 'theme.loader' ); $file = $loader->get_file( 'themes.php', $args, true ); return $file->render(); } /* (non-PHPdoc) * @see Ai1ec_View_Admin_Abstract::add_page() */ public function add_page() { global $submenu; // =============== // = Themes Page = // =============== $themes_page = add_submenu_page( AI1EC_ADMIN_BASE_URL, Ai1ec_I18n::__( 'Calendar Themes' ), Ai1ec_I18n::__( 'Calendar Themes' ), 'switch_ai1ec_themes', AI1EC_PLUGIN_NAME . '-themes', array( $this, 'display_page' ) ); } public function add_meta_box() { } public function handle_post() { } }