' . "\n"; $section_return[$option['tab']] .= '
' . "\n"; $section_return[$option['tab']] .= '
' . $field_num . '
' . "\n"; /* if (isset($option['info'])) { $section_return[$option['tab']] .= 'Info Window' . "\n"; } if (isset($option['video'])) { $section_return[$option['tab']] .= 'Video Window' . "\n"; } */ $section_return[$option['tab']] .= '
' . "\n"; $section_return[$option['tab']] .= '
' . "\n"; $section_return[$option['tab']] .= '

' . $option['name'] . '

' . "\n"; // Include descrtiption if availible. if (isset($option['desc'])) { $section_return[$option['tab']] .= '

' . $option['desc'] . '

' . "\n"; } } // Construct text field. if ($option['type'] == "text") { $section_return[$option['tab']] .= '' . "\n"; $field_num++; // Construct textarea. } elseif ($option['type'] == "textarea") { $section_return[$option['tab']] .= '' . "\n"; $field_num++; // Construct select. } elseif ($option['type'] == "select") { $section_return[$option['tab']] .= '' . "\n"; $field_num++; // Construct Font Select. } elseif ($option['type'] == "typography") { // Font Face $section_return[$option['tab']] .= '
' . "\n"; $section_return[$option['tab']] .= '

Font Face: ( * Google Web Font )

' . "\n"; $section_return[$option['tab']] .= '' . "\n"; $section_return[$option['tab']] .= '
' . "\n"; // Font Size $section_return[$option['tab']] .= '
' . "\n"; $section_return[$option['tab']] .= '

Font Size

' . "\n"; $section_return[$option['tab']] .= '' . "\n"; $section_return[$option['tab']] .= '
' . "\n"; // Line-Height $section_return[$option['tab']] .= '
' . "\n"; $section_return[$option['tab']] .= '

Line Height

' . "\n"; $section_return[$option['tab']] .= '' . "\n"; $section_return[$option['tab']] .= '
' . "\n"; // Font Style $section_return[$option['tab']] .= '
' . "\n"; $section_return[$option['tab']] .= '

Font Style

' . "\n"; $styles = nimbus_font_styles(); $section_return[$option['tab']] .= '' . "\n"; $section_return[$option['tab']] .= '
' . "\n"; // Text Transform $section_return[$option['tab']] .= '
' . "\n"; $section_return[$option['tab']] .= '

Font Case

' . "\n"; $cases = nimbus_font_transform(); $section_return[$option['tab']] .= '' . "\n"; $section_return[$option['tab']] .= '
' . "\n"; // Font Color $section_return[$option['tab']] .= '
' . "\n"; $section_return[$option['tab']] .= '

Font Color

' . "\n"; $section_return[$option['tab']] .= '
'; $section_return[$option['tab']] .= ''; $section_return[$option['tab']] .= '
' . "\n"; $field_num++; // Construct checkbox. } elseif ($option['type'] == "checkbox") { $section_return[$option['tab']] .= '' . $label . ''; $field_num++; // Construct multiple checkboxes } elseif ($option['type'] == "multicheck") { foreach ($option['options'] as $key => $multi) { $checked = ''; $label = $multi; $multi = preg_replace('/[^a-zA-Z0-9._\-]/', '', strtolower($key)); $id = $option_name . '-' . $option['id'] . '-' . $multi; $name = $option_name . '[' . $option['id'] . '][' . $multi . ']'; if (isset($value[$multi])) { $checked = checked($value[$multi], 1, false); } $section_return[$option['tab']] .= '
'; } $field_num++; // Construct radio. } elseif ($option['type'] == "radio") { $name = $option_name . '[' . $option['id'] . ']'; foreach ($option['options'] as $key => $radio) { $id = $option_name . '-' . $option['id'] . '-' . $key; $section_return[$option['tab']] .= '
'; } $field_num++; // Font Face/Color } elseif ($option['type'] == "font") { // Font Face $section_return[$option['tab']] .= '
' . "\n"; $section_return[$option['tab']] .= '

Font Face

' . "\n"; $section_return[$option['tab']] .= '' . "\n"; $section_return[$option['tab']] .= '
' . "\n"; // Font Color $section_return[$option['tab']] .= '
' . "\n"; $section_return[$option['tab']] .= '

Font Color

' . "\n"; $section_return[$option['tab']] .= '
'; $section_return[$option['tab']] .= ''; $section_return[$option['tab']] .= '
' . "\n"; $field_num++; // Font Face Only } elseif ($option['type'] == "face") { // Font Face $section_return[$option['tab']] .= '
' . "\n"; $section_return[$option['tab']] .= '

Font Face

' . "\n"; $section_return[$option['tab']] .= '' . "\n"; $section_return[$option['tab']] .= '
' . "\n"; $field_num++; // Construct color picker. } elseif ($option['type'] == "color") { $section_return[$option['tab']] .= '
'; $section_return[$option['tab']] .= ''; $field_num++; // Construct image. } elseif ($option['type'] == "image") { $section_return[$option['tab']] .= ''; $section_return[$option['tab']] .= ''; //$section_return[$option['tab']] .= ''; $field_num++; // pro account } elseif ($option['type'] == "pro") { $section_return[$option['tab']] .= '

This feature is available to Nimbus Themes members. Join today!!

'; $field_num++; // item_html } elseif ($option['type'] == "item_html") { $section_return[$option['tab']] .= $option['html']; $field_num++; // Construct tabs. } elseif ($option['type'] == "tab") { $section_return[$option['tab']] .= '
  • ' . $option['name'] . '
  • '; // Construct html. } elseif ($option['type'] == "html") { $section_return[$option['tab']] .= $option['html']; } // Close field wrap html. if (($option['type'] != "tab") && ($option['type'] != "html")) { $section_return[$option['tab']] .= '
    '; } /* if (isset($option['info'])) { $section_return[$option['tab']] .= '
    '; $section_return[$option['tab']] .= '
    '; $section_return[$option['tab']] .= '

    ' . $option['name'] . '

    '; $section_return[$option['tab']] .= $option['info']; $section_return[$option['tab']] .= '
    '; $section_return[$option['tab']] .= '
    '; } */ } return $section_return; }