fields)): $sections = !empty($args->fields['sections']) ? $args->fields['sections'] : array('default' => array()); $fields = !empty($args->fields['fields']) ? $args->fields['fields'] : NULL; if (!empty($fields)) : foreach ($sections as $sk => $sv) : ?>

$fv) : if (!empty($fv['section']) && $fv['section'] == $sk || $sk == 'default' ) : if (!empty($fv['type'])) : $args->field = $fk; echo $args->settings->getParentModule()->getTemplate('admin/options/fields/' . $fv['type'] , $args); endif; endif; endforeach; ?>