'xxx' // 'html_before' => 'yyy' // 'html_after' => 'zzz' // ) // ... // ) // // ------------------------------------------------------------------------- // ========================================================================= // Init. // ========================================================================= $header_font_size = '150%' ; // ------------------------------------------------------------------------- $field_group_heading_style = <<
General Stuff
EOT; // ------------------------------------------------------------------------- $html_after = '' ; // ------------------------------------------------------------------------- $field_groups[] = array( 'form_field_name' => 'site_title' , 'html_before' => $html_before , 'html_after' => $html_after ) ; // ========================================================================= // GeoIP // ========================================================================= $html_before = <<
GeoIP
NOTE!
You MUST enter at least one country or continent code!  Or else NONE of your ads will be displayed (on any Ad Swapper sites - including your own).  The goal is to ensure that every Ad Swapper gets the maximum advertising - by making it easy for everyone to restrict their advertising to only those countries/continents where it will be most useful.  So when picking your countries/continents, please tick all those you need to target.  But please also try to avoid wasting your advertising, where the only real effect will be to deny it to others.
EOT; // ------------------------------------------------------------------------- $html_after = '' ; // ------------------------------------------------------------------------- $field_groups[] = array( 'form_field_name' => 'geoip_countries_incl' , 'html_before' => $html_before , 'html_after' => $html_after ) ; // ========================================================================= // License Key // ========================================================================= $html_before = <<
License Key
Entering a (valid) license key here, will switch this site from "Free Test Drive / Trial" mode, to "Paid Subscription" mode (until the license expires, at least).
EOT; // ------------------------------------------------------------------------- $html_after = '' ; // ------------------------------------------------------------------------- $field_groups[] = array( 'form_field_name' => 'license_key' , 'html_before' => $html_before , 'html_after' => $html_after ) ; // ========================================================================= // Ad Related Settings // ========================================================================= $html_before = <<
Ad Related Settings
EOT; // ------------------------------------------------------------------------- $html_after = '' ; // ------------------------------------------------------------------------- $field_groups[] = array( 'form_field_name' => 'question_auto_approve_new_ads' , 'html_before' => $html_before , 'html_after' => $html_after ) ; // ========================================================================= // Disable Incoming And/Or Outgoing Ads ? // ========================================================================= $html_before = <<
Disable Incoming And/Or Outgoing Ads ?
You can use these fields to (quickly and easily) disable this site's Ad Swapper advertising.  By using these checkboxes, there's no need to make complicated (and hard to restore,) changes to your other settings (like deleting all your ads, or de-selecting all your selected sites, for example).
EOT; // ------------------------------------------------------------------------- $html_after = '' ; // ------------------------------------------------------------------------- $field_groups[] = array( 'form_field_name' => 'question_disable_incoming_ads' , 'html_before' => $html_before , 'html_after' => $html_after ) ; // ========================================================================= // Test Mode // ========================================================================= $html_before = <<
Test Mode
Test Mode allows you to try out the Ad Swapper plugin - without anyone but yourself (the WebMaster) being able to see any Ad Swapper ads.  In test mode, ads are only displayed to the IP Address or Cookie you specify.  So your normal users/readers see NO ads.
EOT; // ------------------------------------------------------------------------- $html_after = '' ; // ------------------------------------------------------------------------- $field_groups[] = array( 'form_field_name' => 'test_method' , 'html_before' => $html_before , 'html_after' => $html_after ) ; // ========================================================================= // Plugin Developer Related Settings // ========================================================================= $html_before = <<
Plugin Developer Related Settings
Forget about this.  It's for the plugin developers only!
EOT; // ------------------------------------------------------------------------- $html_after = '' ; // ------------------------------------------------------------------------- $field_groups[] = array( 'form_field_name' => 'question_manual_update_approval' , 'html_before' => $html_before , 'html_after' => $html_after ) ; // ========================================================================= // Submit / Cancel // ========================================================================= $html_before = <<
Submit / Cancel
EOT; // ------------------------------------------------------------------------- $html_after = '' ; // ------------------------------------------------------------------------- $field_groups[] = array( 'form_field_name' => 'save_me' , 'html_before' => $html_before , 'html_after' => $html_after ) ; // ========================================================================= // SUCCESS! // ========================================================================= return $field_groups ; // ========================================================================= // That's that! // ========================================================================= } // ============================================================================= // That's that! // =============================================================================