var loadedEditorControls = {};'; echo '
'; if ($custom && !empty($group)) { //settings_fields( $group ); echo ''; echo ''; wp_nonce_field( 'essb_setup', 'essb_token' ); echo ''; } else { //settings_fields( 'essb_settings_group' ); echo ''; echo ''; wp_nonce_field( 'essb_setup', 'essb_token' ); echo ''; } echo ''; echo ''; echo ''; echo '
'; } public static function draw_header5($title = '', $hide_update_button = false, $wizard_tab = false, $custom_code = '', $advanced_settings = '', $header_icon = '') { if ($header_icon != '') { $header_icon = ''; } if ($hide_update_button) { echo ''; echo '
'.$header_icon . $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 '
' .$header_icon. $title . ' '.($advanced_settings != '' ? $advanced_settings : '').'
'; } } 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 '
'; 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 '
'; } } ?>