Ejemplo n.º 1
0
 function form($instance)
 {
     $id_base = 'widget-' . $this->id_base . '-' . $this->number . '-';
     $name_base = 'widget-' . $this->id_base . '[' . $this->number . ']';
     $instance['size'] = 'widget';
     $instance['hide-size'] = true;
     $nextgen = sns_get_nextgen_galleries();
     sns_form_widget_title($id_base, $name_base, $instance);
     sns_print_nextgen_gallery_form($id_base, $name_base, $instance, $nextgen);
     sns_form_slider_settings($id_base, $name_base, $instance);
 }
Ejemplo n.º 2
0
sns_form_image_selection('nivo_', 'easy_nivo_slider_options', $options, $nivo_tax);
?>
    
	    </div>

		<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->
	    <!-- TAB 																						-->
		<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  -->	
	    <?php 
if (is_array($nivo_nextgen)) {
    ?>
	
	    	<div class="tab tab_nextgen">       
	    		<p>Display a slider with images from a NextGen gallery</p>
	    	    <?php 
    sns_print_nextgen_gallery_form('nivo_', 'easy_nivo_slider_options', $options, $nivo_nextgen);
    ?>
	    	</div>
	    <?php 
}
?>
    
    </div>   <!-- nivo_settings_content -->	
    
	<?php 
sns_form_slider_settings('nivo_', 'easy_nivo_slider_options', $options);
?>
               
	<div align="center">	   
		<input type="submit" id="insert" name="insert" value="Insert" onClick="submit_mce_form();" />
		<input type="button" id="cancel" name="cancel" value="Cancel" onClick="tinyMCEPopup.close();" />