Esempio n. 1
0
_e('when checked, will add height attribute on image', 'fapro');
?>
</span>
						</span>
						<span class="fa-optional-field-disabled" <?php 
fa_hide(fa_theme_field_enabled($active, 'content-image-height-attr'));
?>
>
							<?php 
_e('NOT AVAILABLE (set by slider theme settings)', 'fapro');
?>
						</span>	
					</td>
				</tr>
				<tr class="image-options optional content-image-link"<?php 
fa_optional_field_data('content-image-link');
?>
 <?php 
fa_hide(!$show_image);
?>
>
					<th><label for="content-image-clickable"><?php 
_e('Link image', 'fapro');
?>
:</label></th>
					<td>
						<span class="fa-optional-field-enabled" <?php 
fa_hide(!fa_theme_field_enabled($active, 'content-image-link'));
?>
>		
							<input type="checkbox" name="content_image[clickable]" id="content-image-clickable" value="1"<?php 
?>
</span>
						</span>
						<span class="fa-optional-field-disabled" <?php 
fa_hide(fa_theme_field_enabled($active, 'js-position-out'));
?>
>
							<?php 
_e('NOT AVAILABLE (set by slider theme settings)', 'fapro');
?>
						</span>		
					</td>
				</tr>
				<!-- Distance out -->
				<tr class="optional js-distance-out"<?php 
fa_optional_field_data('js-distance-out');
?>
>					
					<th><label for="distance_out"><?php 
_e('Distance slides exit to', 'fapro');
?>
:</label></th>
					<td>
						<span class="fa-optional-field-enabled" <?php 
fa_hide(!fa_theme_field_enabled($active, 'js-distance-out'));
?>
>
							<input type="text" name="js[distance_out]" value="<?php 
echo $options['js']['distance_out'];
?>
" size="2" />
					</td>
				</tr>
				<tr class="content-play-video play-video-options">
					<th><label for="content-play-video-text"><?php 
_e('Play video text', 'fapro');
?>
:</label></th>	
					<td>
						<?php 
fa_option_not_available();
?>
					</td>
				</tr>				
				<!-- Optional show image field -->
				<tr class="optional content-show-mage"<?php 
fa_optional_field_data('content-image-show');
?>
>
					<th><label for="content-image-show"><?php 
_e('Show image', 'fapro');
?>
:</label></th>
					<td>
						<span class="fa-optional-field-enabled" <?php 
fa_hide(!fa_theme_field_enabled($active, 'content-image-show'));
?>
>
							<input class="toggler" data-toggle="image-options" autocomplete="off" type="checkbox" name="content_image[show]" id="content-image-show" value="1"<?php 
fa_checked($options['content_image']['show']);
?>
 />
Esempio n. 4
0
?>
</span>
						</span>
						<span class="fa-optional-field-disabled" <?php 
fa_hide(fa_theme_field_enabled($active, 'js-distance-out'));
?>
>
							<?php 
_e('NOT AVAILABLE (set by slider theme settings)', 'fapro');
?>
						</span>		
					</td>
				</tr>	
				<!-- Click event -->
				<tr class="optional js-click-event"<?php 
fa_optional_field_data('js-click-event');
?>
>					
					<th><label for="event"><?php 
_e('Slide change event', 'fapro');
?>
:</label></th>
					<td>
						<span class="fa-optional-field-enabled" <?php 
fa_hide(!fa_theme_field_enabled($active, 'js-click-event'));
?>
>	
							<?php 
$args = array('name' => 'js[event]', 'id' => 'event', 'selected' => $options['js']['event']);
fa_sliding_event_dropdown($args);
?>