array('hidden', 2), // preserves event title as a required field. 'filter_label' => array('textfield', __('Category filter label', AEC_PLUGIN_NAME)), 'limit' => array('checkbox', __('Prevent users from adding or editing expired events.', AEC_PLUGIN_NAME)), 'show_weekends' => array('checkbox', __('Display calendar weekends.', AEC_PLUGIN_NAME)), 'show_map_link' => array('checkbox', __('Display {View Map} link on event details (uses populated address fields).', AEC_PLUGIN_NAME)), 'menu' => array('checkbox', __('Display {Add Events} link on the front-end calendar.', AEC_PLUGIN_NAME)), 'popup_links' => array('checkbox', __('{Event Detail} links open in a new window (when unchecked, links open in the same window).', AEC_PLUGIN_NAME)), 'make_links' => array('checkbox', __('URLs entered in the description field are converted into clickable links.', AEC_PLUGIN_NAME)), 'addy_format' => array('select', __('Address format', AEC_PLUGIN_NAME), $format_options), 'fields' => array('heading', __('Form Options', AEC_PLUGIN_NAME), __('Hide, display or require form fields. Hidden fields do not appear in the event form.', AEC_PLUGIN_NAME)), 'venue' => array('select', __('Venue', AEC_PLUGIN_NAME), $field_options), 'address' => array('select', __('Neighborhood or Street Address', AEC_PLUGIN_NAME), $field_options), 'city' => array('select', __('City', AEC_PLUGIN_NAME), $field_options), 'state' => array('select', __('State', AEC_PLUGIN_NAME), $field_options), 'zip' => array('select', __('Postal Code', AEC_PLUGIN_NAME), $field_options), 'link' => array('select', __('Event Link', AEC_PLUGIN_NAME), $field_options), 'description' => array('select', __('Description', AEC_PLUGIN_NAME), $field_options), 'contact' => array('select', __('Contact Name', AEC_PLUGIN_NAME), $field_options), 'contact_info' => array('select', __('Contact Information', AEC_PLUGIN_NAME), $field_options), 'accessible' => array('checkbox', __('This event is accessible to people with disabilities.', AEC_PLUGIN_NAME)), 'rsvp' => array('checkbox', __('Please register with the contact person for this event.', AEC_PLUGIN_NAME)), 'reset' => array('checkbox', __('Resets plugin settings on Save.', AEC_PLUGIN_NAME)) ); ?>
$values) { $type = $values[0]; $value = $values[1]; $description = isset($values[2]) ? $values[2] : false; switch ($type) { case "hidden": echo "\n"; break; case "heading": echo "\n"; echo "\n"; if ($description) echo "\n"; echo "\n"; break; case "textfield": echo "\n"; echo "\n"; echo "\n"; break; case "checkbox": $checked = ($options[$field]) ? ' checked="checked" ' : ' '; echo "\n"; echo "\n"; break; case "select": $select_opts = $values[2]; $description = isset($values[3]) ? $values[3] : false; echo "\n"; echo "\n"; break; } } ?>
{$value}{$description}
\n"; if ($description) echo "{$description}\n"; echo "
\n"; echo "\n"; if ($description) echo "{$description}\n"; echo "
{$value}\n"; if ($description) echo "{$description}\n"; echo "