applications[$appName]['option_sections'] as $option_section) { foreach ($option_section['fields'] as $key => $option_field) { if (isset($_REQUEST[$key])) { update_option($key, $_REQUEST[$key]); } else { if (is_array($option_field)) { $label = $option_field[0]; $field_type = $option_field[1]; if ($field_type == 'checkbox') { update_option($key, false); } } } } } $alert = 'Options updated.'; } ?>
applications[$appName]['option_sections'] as $option_section) { echo "

" . $option_section['section_label'] . "

"; echo "

" . $option_section['section_description'] . "

"; echo ""; } ?>