'; echo ''; echo '
'; if ($custom && !empty($group)) { settings_fields( $group ); wp_nonce_field( 'essb_setup', 'essb_token' ); echo ''; } else { echo ''; echo ''; wp_nonce_field( 'essb_setup', 'essb_token' ); echo ''; //settings_fields( 'essb_settings_group' ); } echo ''; echo ''; echo ''; echo '
'; } public static function draw_header5($title = '', $hide_update_button = false, $wizard_tab = false, $custom_code = '') { if ($hide_update_button) { echo ''; echo '
' . $title . '
'; } else { $update_button_text = __('Update Settings', 'essb'); $next_prev_buttons = ""; if ($wizard_tab) { $update_button_text = __('Save Settings', 'essb'); $next_prev_buttons = '< Previous Next >   '; } echo '
'.$custom_code.' ' . __ ( 'Back To Top', 'essb' ) . ' '.$next_prev_buttons.'
'; echo '
' . $title . '
'; } } public static function draw_header($title = '', $hide_update_button = false, $wizard_tab = false) { if ($hide_update_button) { echo ''; } else { $update_button_text = __('Update Settings', 'essb'); $next_prev_buttons = ""; if ($wizard_tab) { $update_button_text = __('Save Settings', 'essb'); $next_prev_buttons = '< Previous Next >   '; } else { if (!essb_options_bool_value('deactivate_ajaxsubmit')) { $next_prev_buttons = ' '.__('Search Options', 'essb').''; } } echo '
' . $title . '
' . __ ( 'Back To Top', 'essb' ) . ' '.$next_prev_buttons.'
'; } } public static function draw_sidebar($options = array()) { echo '
'; echo ''; echo '
'; } public static function draw_content($options = array(), $custom = false, $user_settings = array()) { echo '
'; //print_r($options); foreach($options as $section => $fields) { printf('
',$section); /*echo ''; */ echo '
'; $section_options = $fields; ESSBOptionsFramework::reset_row_status(); foreach ($section_options as $option) { ESSBOptionsFramework::draw_options_field($option, $custom, $user_settings); } //echo '
'; echo '
'; /*if (count(ESSBOptionsFramework::$heading_navigations) > 1) { echo '
'; echo '
Quick Navigate
'; echo '
'; foreach (ESSBOptionsFramework::$heading_navigations as $navigation_item) { echo ''.$navigation_item['title'].''; } echo '
'; }*/ echo '
'; } echo '
'; } public static function draw_form_end() { echo ''; echo '
'; } } ?>