Exemple #1
0
    function section_template()
    {
        $formclass = new fotosContact();
        $area = $this->opt('ba_fotos_contact_sb_area');
        $layout = $this->opt('ba_fotos_contact_form_layout') ? 'contact-align-swap' : false;
        ?>
		<div class="ba-fotos-contact-form-wrap <?php 
        echo $layout;
        ?>
 row">
			<div class="span6 zmb ba-fotos-contact-has-sb">

			<?php 
        if ($area) {
            pagelines_draw_sidebar($area);
        } else {
            echo setup_section_notify($this);
        }
        ?>

			</div>
			<div class="span6 zmb ba-fotos-contact-has-form">

			<?php 
        echo $formclass->form();
        ?>

			</div>
		</div>
		<?php 
    }
Exemple #2
0
 /**
  * Section template.
  */
 function section_template()
 {
     $area = $this->opt('widgetizer_area');
     if ($area) {
         pagelines_draw_sidebar($area);
     } else {
         echo setup_section_notify($this);
     }
 }
Exemple #3
0
 /**
  * Section template.
  */
 function section_template()
 {
     $area = $this->opt('columnizer_area');
     if ($area) {
         $this->total_widgets = pl_count_sidebar_widgets($area);
         $this->width = 0;
         $this->count = 1;
         add_filter('dynamic_sidebar_params', array($this, 'change_markup'));
         pagelines_draw_sidebar($area);
         remove_filter('dynamic_sidebar_params', array($this, 'change_markup'));
     } else {
         printf('<ul class="columnizer row fix sidebar_widgets">%s</ul>', $this->get_default());
     }
 }
function pagelines_special_content_wrap_finish_before_sidebar_left()
{
    if ('two-sidebar-center' === pl_layout_mode()) {
        ?>
<div id="sidebar1" class="scolumn fix">
			<div class="scolumn-pad">
				<section id="sb_primary" class="copy no_clone section-sb_primary">
					<div class="copy-pad">
		<?php 
        pagelines_draw_sidebar('sb_primary', 'Primary Sidebar', 'includes/widgets.default');
        ?>
					</div>
				</section>
			</div>
		</div>
		<?php 
    }
}
 function section_template()
 {
     pagelines_draw_sidebar($this->id, $this->name);
 }
 /**
  * Section template.
  */
 function section_template()
 {
     pagelines_draw_sidebar($this->id, $this->name, 'includes/widgets.default');
 }
 function section_template()
 {
     pagelines_draw_sidebar($this->id, $this->name, 'template.dwidgets');
 }