public function get_settings()
 {
     /* Basic Configuration */
     $this->settings['rootdirectory'] = array('title' => 'Set Root Directory', 'type' => 'select', 'choices' => array('install' => 'WP Install Directory', 'siteurl' => 'Site Root Directory'), 'dflt' => 'install');
     $this->settings['strictlogin'] = array('title' => 'Dynamic Usernames', 'type' => 'select', 'choices' => array('false' => 'Force Lowercase', 'true' => 'Strict Matching'), 'dflt' => 'false');
     $this->settings['base1'] = array('title' => 'Base Directory 1', 'type' => 'basedir', 'class' => 'fileaway-basedir fileaway-inline', 'helplink' => false);
     $this->settings['bs1name'] = array('holder' => 'Display Name', 'class' => 'fileaway-basename fileaway-inline', 'helplink' => false);
     $this->settings['base2'] = array('title' => 'Base Directory 2', 'type' => 'basedir', 'class' => 'fileaway-basedir fileaway-inline', 'helplink' => false);
     $this->settings['bs2name'] = array('holder' => 'Display Name', 'class' => 'fileaway-basename fileaway-inline', 'helplink' => false);
     $this->settings['base3'] = array('title' => 'Base Directory 3', 'type' => 'basedir', 'class' => 'fileaway-basedir fileaway-inline', 'helplink' => false);
     $this->settings['bs3name'] = array('holder' => 'Display Name', 'class' => 'fileaway-basename fileaway-inline', 'helplink' => false);
     $this->settings['base4'] = array('title' => 'Base Directory 4', 'type' => 'basedir', 'class' => 'fileaway-basedir fileaway-inline', 'helplink' => false);
     $this->settings['bs4name'] = array('holder' => 'Display Name', 'class' => 'fileaway-basename fileaway-inline', 'helplink' => false);
     $this->settings['base5'] = array('title' => 'Base Directory 5', 'type' => 'basedir', 'class' => 'fileaway-basedir fileaway-inline', 'helplink' => false);
     $this->settings['bs5name'] = array('holder' => 'Display Name', 'class' => 'fileaway-basename fileaway-inline', 'helplink' => false);
     $this->settings['baseurl'] = array('title' => 'Base URL', 'type' => 'select', 'choices' => fileaway_utility::urls(), 'dflt' => rtrim(get_home_url(1), '/'));
     $this->settings['redirect'] = array('title' => 'Guest Redirect URL', 'holder' => 'http://yourdomain.com/registration-page/', 'class' => 'fileaway-permexclusions fileaway-inline');
     $this->settings['exclusions'] = array('title' => 'Permanent Exclusions', 'holder' => '.avi, My Embarrasing Photograph, .tif, My Rough Draft Essay', 'class' => 'fileaway-permexclusions fileaway-inline');
     $this->settings['direxclusions'] = array('title' => 'Exclude Directories', 'holder' => 'My Private Files, Weird_Server_Directory_Name, etc.', 'class' => 'fileaway-permexclusions fileaway-inline');
     $this->settings['newwindow'] = array('title' => 'New Window', 'holder' => 'Example: .pdf, .jpg, .png, .gif, .mp3, .mp4', 'class' => 'fileaway-newwindow fileaway-inline');
     $this->settings['encryption_key'] = array('title' => 'Encryption Key', 'class' => 'fileaway-encryptionkey fileaway-inline', 'submit' => true);
     $this->settings['banner_directory'] = array('title' => 'Banner Directory', 'type' => 'rootpath', 'class' => 'fileaway-basedir fileaway-inline');
     $this->settings['download_prefix'] = array('title' => 'Bulk Download File Prefix', 'class' => 'fileaway-download-prefix fileaway-inline', 'dflt' => '');
     /* Feature Options */
     $this->settings['modalaccess'] = array('section' => 'options', 'title' => 'Modal Access', 'type' => 'select', 'dflt' => 'edit_posts', 'choices' => fileaway_utility::caps());
     $this->settings['tmcerows'] = array('section' => 'options', 'title' => 'Button Position', 'type' => 'select', 'choices' => array('' => 'First Row', '_2' => 'Second Row', '_3' => 'Third Row', '_4' => 'Fourth Row'), 'dflt' => '_2');
     $this->settings['stylesheet'] = array('section' => 'options', 'title' => 'Stylesheet Placement', 'type' => 'select', 'choices' => array('footer' => 'Footer when necessary', 'header' => 'Header all the time'), 'dflt' => 'footer');
     $this->settings['javascript'] = array('section' => 'options', 'title' => 'Javascript Placement', 'type' => 'select', 'choices' => array('footer' => 'Footer when necessary', 'header' => 'Header all the time'), 'dflt' => 'header');
     $this->settings['pathinfo'] = array('section' => 'options', 'title' => 'Alternative Pathinfo', 'type' => 'select', 'choices' => array('disabled' => 'Disabled', 'enabled' => 'Enabled'), 'dflt' => 'disabled');
     $this->settings['daymonth'] = array('section' => 'options', 'title' => 'Date Display Format', 'type' => 'select', 'choices' => array('md' => 'MM/DD/YYYY', 'dm' => 'DD/MM/YYYY'), 'dflt' => 'md');
     $this->settings['postidcolumn'] = array('section' => 'options', 'title' => 'Post ID Column', 'type' => 'select', 'choices' => array('enabled' => 'Enabled', 'disabled' => 'Disabled'), 'dflt' => 'enabled');
     $this->settings['loadusers'] = array('section' => 'options', 'title' => 'Load Users', 'type' => 'select', 'choices' => array('false' => 'False', 'true' => 'True'), 'dflt' => 'false');
     $this->settings['adminstyle'] = array('section' => 'options', 'title' => 'Admin Style', 'type' => 'select', 'choices' => array('classic' => 'Classic', 'minimal' => 'Minimal'), 'dflt' => 'classic', 'submit' => true);
     /* Custom Styles */
     $this->settings['custom_list_classes'] = array('section' => 'customcss', 'title' => 'Custom List Classes', 'holder' => 'classname1|Display Name 1, classname2|Display Name 2', 'class' => 'fileaway-custom fileaway-inline');
     $this->settings['custom_table_classes'] = array('section' => 'customcss', 'title' => 'Custom Table Classes', 'holder' => 'classname1|Display Name 1, classname2|Display Name 2', 'class' => 'fileaway-custom fileaway-inline');
     $this->settings['custom_flightbox_classes'] = array('section' => 'customcss', 'title' => 'Custom Flightbox Classes', 'holder' => 'classname1|Display Name 1, classname2|Display Name 2', 'class' => 'fileaway-custom fileaway-inline');
     $this->settings['custom_color_classes'] = array('section' => 'customcss', 'title' => 'Custom Color Classes', 'holder' => 'classname1|Display Name 1, classname2|Display Name 2', 'class' => 'fileaway-custom fileaway-inline');
     $this->settings['custom_accent_classes'] = array('section' => 'customcss', 'title' => 'Custom Accent Classes', 'holder' => 'classname1|Display Name 1, classname2|Display Name 2', 'class' => 'fileaway-custom fileaway-inline');
     $this->settings['custom_stylesheet'] = array('section' => 'customcss', 'title' => 'Custom Stylesheet', 'holder' => 'my-custom-stylesheet.css', 'class' => 'fileaway-custom-stylesheet fileaway-inline');
     $this->settings['customcss'] = array('section' => 'customcss', 'title' => 'Custom Styles', 'type' => 'customcss', 'class' => 'code fileaway-customcss', 'helplink' => false);
     $this->settings['css_editor'] = array('section' => 'customcss', 'title' => 'Switch Editors', 'type' => 'select', 'choices' => array('syntax' => 'Syntax Highlighted', 'plain' => 'Resizable (Plain Text)'), 'dflt' => 'syntax', 'class' => 'fileaway-custom fileaway-inline', 'helplink' => false, 'submit' => true);
     /*Manager Mode */
     $this->settings['manager_role_access'] = array('section' => 'manager', 'title' => 'Access by Role/Capability', 'type' => 'rolescaps', 'input' => 'hidden');
     $this->settings['manager_user_access'] = array('section' => 'manager', 'title' => 'Access by User', 'type' => 'users', 'input' => 'hidden');
     $this->settings['managerpassword'] = array('section' => 'manager', 'title' => 'Override Password', 'class' => 'fileaway-overridepassword fileaway-inline', 'input' => 'password', 'submit' => true);
     /* Statistics */
     $this->settings['stats'] = array('section' => 'stats', 'title' => 'Download Statistics', 'type' => 'select', 'choices' => array('false' => 'Disabled', 'true' => 'Enabled'), 'dflt' => 'false');
     $this->settings['ignore_roles'] = array('section' => 'stats', 'title' => 'Ignore Roles/Caps', 'type' => 'rolescaps', 'input' => 'hidden');
     $this->settings['ignore_users'] = array('section' => 'stats', 'title' => 'Ignore Users', 'type' => 'users', 'input' => 'hidden');
     $this->settings['recordlimit'] = array('section' => 'stats', 'title' => 'Record Limit', 'holder' => 'e.g., 1000', 'class' => 'fileaway-inline fileaway-integer');
     $this->settings['recordlifespan'] = array('section' => 'stats', 'title' => 'Record Lifespan', 'type' => 'select', 'choices' => array('1 week' => 'One Week', '2 weeks' => 'Two Weeks', '1 month' => 'One Month', '3 months' => 'Three Months', '6 months' => 'Six Months', '1 year' => 'One Year', '2 years' => 'Two Years', 'forever' => 'Eternal Life'), 'dflt' => '3months');
     $this->settings['instant_stats'] = array('section' => 'stats', 'title' => 'Instant Notifications', 'type' => 'select', 'choices' => array('false' => 'Disabled', 'true' => 'Enabled'), 'dflt' => 'false');
     $this->settings['instant_sender_name'] = array('section' => 'stats', 'title' => 'Sender Name', 'dflt' => get_bloginfo('site_name'), 'holder' => 'Your Name');
     $this->settings['instant_sender'] = array('section' => 'stats', 'title' => 'Sender Email', 'dflt' => get_option('admin_email'), 'holder' => '*****@*****.**');
     $this->settings['instant_recipients'] = array('section' => 'stats', 'title' => 'Recipient Emails', 'holder' => 'one@email.com, two@email.com, etc.', 'submit' => true);
     $this->settings['instant_subject'] = array('section' => 'stats', 'title' => 'Email Subject', 'holder' => '%blog% %file% %datetime%', 'dflt' => '%blog% - %file% downloaded at %datetime%', 'submit' => true);
     $this->settings['compiled_stats'] = array('section' => 'stats', 'title' => 'Compiled Notifications', 'type' => 'select', 'choices' => array('false' => 'Disabled', 'daily' => 'Daily', 'weekly' => 'Weekly', 'fortnightly' => 'Fortnightly'), 'dflt' => 'false');
     $this->settings['compiled_sender_name'] = array('section' => 'stats', 'title' => 'Sender Name', 'dflt' => get_bloginfo('site_name'), 'holder' => 'Your Name');
     $this->settings['compiled_sender'] = array('section' => 'stats', 'title' => 'Sender Email', 'holder' => '*****@*****.**', 'dflt' => get_option('admin_email'));
     $this->settings['compiled_recipients'] = array('section' => 'stats', 'title' => 'Recipient Emails', 'holder' => 'one@email.com, two@email.com, etc.', 'submit' => true);
     $this->settings['compiled_subject'] = array('section' => 'stats', 'title' => 'Email Subject', 'holder' => '%blog% %dates%', 'dflt' => '%blog% - Download Stats for %dates%', 'submit' => true);
     /* RSS Feeds */
     $this->settings['feeds'] = array('section' => 'feeds', 'title' => 'Feed Storage Directory', 'class' => 'fileaway-basedir fileaway-feeds fileaway-inline', 'type' => 'rootpath');
     $this->settings['basefeeds'] = array('section' => 'feeds', 'title' => 'Monitored Directories', 'class' => 'fileaway-basedir fileaway-feeds fileaway-inline', 'type' => 'basefeed');
     $this->settings['excluded_feeds'] = array('section' => 'feeds', 'title' => 'Excluded Sub-Directories', 'class' => 'fileaway-basedir fileaway-feeds fileaway-inline', 'type' => 'basefeed');
     $this->settings['feed_excluded_exts'] = array('section' => 'feeds', 'title' => 'Excluded File Extensions', 'class' => 'fileaway-inline', 'type' => 'text', 'holder' => 'ini, html, etc.');
     $this->settings['feed_excluded_files'] = array('section' => 'feeds', 'title' => 'Excluded Strings', 'class' => 'fileaway-inline', 'type' => 'text', 'holder' => 'example, test, draft');
     $this->settings['feedlimit'] = array('section' => 'feeds', 'title' => 'Feed Limit', 'class' => 'fileaway-inline fileaway-integer', 'type' => 'text', 'holder' => 'e.g., 50');
     $this->settings['feeddates'] = array('section' => 'feeds', 'title' => 'Show Dates Modified', 'class' => 'fileaway-inline', 'type' => 'select', 'choices' => array('true' => 'Enabled', 'false' => 'Disabled'), 'dflt' => 'true');
     $this->settings['feedsize'] = array('section' => 'feeds', 'title' => 'Show File Size', 'class' => 'fileaway-inline', 'type' => 'select', 'choices' => array('true' => 'Enabled', 'false' => 'Disabled'), 'dflt' => 'true');
     $this->settings['feedlinks'] = array('section' => 'feeds', 'title' => 'Direct File Links', 'class' => 'fileaway-inline', 'type' => 'select', 'choices' => array('true' => 'Enabled', 'false' => 'Disabled'), 'dflt' => 'true');
     $this->settings['recursivefeeds'] = array('section' => 'feeds', 'title' => 'Feeds within Feeds', 'class' => 'fileaway-inline', 'type' => 'select', 'choices' => array('true' => 'Enabled', 'false' => 'Disabled'), 'dflt' => 'true');
     $this->settings['feedinterval'] = array('section' => 'feeds', 'title' => 'Auto Feed Updates', 'class' => 'fileaway-inline', 'type' => 'select', 'choices' => array('fifteenminutes' => 'Every 15 Minutes', 'thirtyminutes' => 'Every 30 Minutes', 'fortyfiveminutes' => 'Every 45 Minutes', 'hourly' => 'Every Hour', 'sixhours' => 'Every 6 Hours', 'twicedaily' => 'Every 12 Hours', 'daily' => 'Once a Day', 'weekly' => 'Once a Week'), 'dflt' => 'hourly', 'submit' => true);
     $this->settings['updatefeeds'] = array('section' => 'feeds', 'title' => 'Manual Feed Updates', 'class' => 'fileaway-inline', 'type' => 'select', 'choices' => array('true' => 'Update Feeds on Save', 'false' => 'Disable Manual Updates'), 'dflt' => 'true', 'submit' => true);
     /* Database Options */
     $this->settings['reset_options'] = array('section' => 'database', 'title' => 'Reset to Defaults', 'type' => 'select', 'choices' => array('' => '', 'reset' => 'Reset on Save'), 'dflt' => '');
     $this->settings['preserve_options'] = array('section' => 'database', 'title' => 'On Uninstall', 'type' => 'select', 'choices' => array('preserve' => 'Preserve Settings', 'delete' => 'Delete Settings'), 'dflt' => 'preserve', 'submit' => true);
 }