/** * Builds out the options panel. */ function options_page() { ?> <div id="optionsframework-wrap" class="wrap"> <?php $menu = $this->menu_settings(); ?> <h2><?php echo esc_html($menu['page_title']); ?> </h2> <h2 class="nav-tab-wrapper"> <?php echo IGthemes_Options_Framework_Interface::igthemes_optionsframework_tabs(); ?> </h2> <?php settings_errors('igthemes-options-framework'); ?> <div id="optionsframework-metabox" class="metabox-holder"> <div id="optionsframework" class="postbox"> <form action="options.php" method="post"> <?php settings_fields('igthemes-optionsframework'); ?> <?php IGthemes_Options_Framework_Interface::igthemes_optionsframework_fields(); /* Settings */ ?> <div id="optionsframework-submit"> <input type="submit" class="button-primary" name="update" value="<?php esc_attr_e('Save Options', 'store-wp'); ?> " /> <input type="submit" class="reset-button button-secondary" name="reset" value="<?php esc_attr_e('Restore Defaults', 'store-wp'); ?> " onclick="return confirm( '<?php print esc_js(__('Click OK to reset. Any theme settings will be lost!', 'store-wp')); ?> ' );" /> <div class="clear"></div> </div> </form> </div> <!-- / #container --> </div> <?php do_action('igthemes_optionsframework_after'); ?> </div> <!-- / .wrap --> <?php }