'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' => 'question_disabled' , 'html_before' => $html_before , 'html_after' => $html_after ) ; // ========================================================================= // Borders // ========================================================================= $html_before = <<
Borders
All Ad Slots - no matter what the type - may have an (optional) border around them (to provide space between the ads in the ad slot, and the surrounding content).
EOT; // ------------------------------------------------------------------------- $html_after = '' ; // ------------------------------------------------------------------------- $field_groups[] = array( 'form_field_name' => 'border_top_px' , 'html_before' => $html_before , 'html_after' => $html_after ) ; // ========================================================================= // Fixed Height Banner // ========================================================================= $html_before = <<
Fixed Height Banner
Fill-in the following fields if "Type" (see above) is "Fixed-Height Banner".  Only the first two fields are required.  The rest have defaults (which should work in most situations).  Just override these defaults if required...
EOT; // ------------------------------------------------------------------------- $html_after = '' ; // ------------------------------------------------------------------------- $field_groups[] = array( 'form_field_name' => 'fixed_height_banner_outer_width_px' , 'html_before' => $html_before , 'html_after' => $html_after ) ; // ========================================================================= // Sidebar // ========================================================================= $html_before = <<
Sidebar
Fill-in the following fields if "Type" (see above) is "Sidebar".  Only the first field is required.  The rest have defaults (which should work in most situations).  Just override these defaults if required...
EOT; // ------------------------------------------------------------------------- $html_after = '' ; // ------------------------------------------------------------------------- $field_groups[] = array( 'form_field_name' => 'sidebar_outer_width_px' , 'html_before' => $html_before , 'html_after' => $html_after ) ; // ========================================================================= // Fixed Row Height Grid // ========================================================================= $html_before = <<
Fixed Row Height Grid
Fill-in the following fields if "Type" (see above) is "Fixed-Row-Height-Grid".  Only the first field is required.  The rest have defaults (which should work in most situations).  Just override these defaults if required...
EOT; // ------------------------------------------------------------------------- $html_after = '' ; // ------------------------------------------------------------------------- $field_groups[] = array( 'form_field_name' => 'fixed_row_height_grid_outer_width_px' , '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! // =============================================================================