'xxx' // 'html_before' => 'yyy' // 'html_after' => 'zzz' // ) // ... // ) // // ------------------------------------------------------------------------- // ========================================================================= // Init. // ========================================================================= $list_number_font_size = '200%' ; $header_font_size = '150%' ; $text_font_size = '117%' ; // ------------------------------------------------------------------------- $field_group_heading_style = <<
3.   Copy/Paste FROM Here
Copy/paste the following three fields - TO the form in the OTHER TAB...
EOT; // ------------------------------------------------------------------------- $html_after = '' ; // ------------------------------------------------------------------------- $field_groups[] = array( 'form_field_name' => 'wp_home_url' , 'html_before' => $html_before , 'html_after' => $html_after ) ; // ========================================================================= // Save The OTHER Form // ========================================================================= // make the mental note to return to it (once you've submitted it), by // pressing the "edit" button for the site you've just // registered.  Then // // veb>and press // // the "Submit" button... $html_before = <<
4.   Save The OTHER Form
Go to Step 4. - in the "Add Site Registration" form in the OTHER TAB - and follow the instructions there.
NOTE!
If you save the "Add Site Registration" form in the other tab/window (as instructed) - and then wind up lost - remember that, once you've saved the "Add Site Registration" form, you'll be returned to the "Manage Site Registrations" screen (in the other tab/window).  From which you must press the "edit" button - for the Ad Swapper site you've just registered - to come back to the "Edit Site Registration" screen (and get the field values you need to copy/paste to this form, below)...
EOT; // ------------------------------------------------------------------------- $html_after = '' ; // ------------------------------------------------------------------------- $field_groups[] = array( 'form_field_name' => 'ad_swapper_user_sid' , 'html_before' => $html_before , 'html_after' => $html_after ) ; // ========================================================================= // Copy/Paste TO Here // ========================================================================= $html_before = <<
5.   Copy/Paste TO Here
Copy/paste the following four fields - FROM the corresponding fields in the OTHER TAB
EOT; // ------------------------------------------------------------------------- $html_after = '' ; // ------------------------------------------------------------------------- $field_groups[] = array( 'form_field_name' => 'ad_swapper_user_sid' , 'html_before' => $html_before , 'html_after' => $html_after ) ; // ========================================================================= // Save THIS Form // ========================================================================= $html_before = <<
6.   Save THIS Form
By pressing the "Submit" button (immediately) below...
EOT; // ------------------------------------------------------------------------- $html_after = '' ; // ------------------------------------------------------------------------- $field_groups[] = array( 'form_field_name' => 'save_me' , 'html_before' => $html_before , 'html_after' => $html_after ) ; // ========================================================================= // Done! // ========================================================================= $html_before = <<
7.   Done!
Once you've pressed the Submit button (immediately above,) you'll be returned to the Ad Swapper (Local) plugin's Main Menu.  The site that this Ad Swapper plugin is installed on should now be registered with Ad Swapper Central.  And you should be able to create and upload ads (and do everything else that Ad Swapper does).
Extras
IGNORE the following fields (unless you know what you're doing - they're mainly intended for the use of the plugin developers).
EOT; // ------------------------------------------------------------------------- $html_after = '' ; // ------------------------------------------------------------------------- $field_groups[] = array( 'form_field_name' => 'api_url_override' , 'html_before' => $html_before , 'html_after' => $html_after ) ; // ========================================================================= // Cancel // ========================================================================= $html_before = <<
Cancel
Return to the Ad Swapper Main Menu - WITHOUT saving the form (and thus, discarding any changes you may have made).
EOT; // ------------------------------------------------------------------------- $html_after = '' ; // ------------------------------------------------------------------------- $field_groups[] = array( 'form_field_name' => 'cancel' , 'html_before' => $html_before , 'html_after' => $html_after ) ; // ========================================================================= // SUCCESS! // ========================================================================= return $field_groups ; // ========================================================================= // That's that! // ========================================================================= } // ============================================================================= // That's that! // =============================================================================