array ('Setting' => array( 'Name', 'Type' => [text| 'Size', 'Description', 'Buttons' => array()
nonce| 'Value'
hidden| 'Value'
title| 'Class', 'Value'
checkbox| 'Description', 'Buttons' => array()
selection| 'Description', 'Options' => array('Value', 'Name'), 'Buttons' => array()
buttons| 'Buttons' => ('Value' => ('Action', 'Class')))
Opts => Actual settings
Title = 'Title of Form'
Open = True if want Form Header
Body = True if want to process options
*/
if (!class_exists('AmazonWishlist_Options')) {
class AmazonWishlist_Options {
function __construct() {
add_action('init', array($this,'init'));
}
function init() {
$stylesheet = plugins_url("form.css", __FILE__);
wp_register_style('amazon-link-form', $stylesheet);
}
function displayForm($optionList, $Opts, $Open = True, $Body = True, $Close = True) {
if ($Open) {
?>