Exemplo n.º 1
0
</h5>
					<span class="to-legend"><?php 
esc_html_e('Select one of the available posts types and enter additional details about it (if needed).', THEME_DOMAIN);
?>
</span>
					<div class="to-clear-fix">
						<select name="<?php 
ThemeHelper::getFormName('post_type');
?>
" id="<?php 
ThemeHelper::getFormName('post_type');
?>
">
<?php 
foreach ($this->data['dictionary']['postType'] as $index => $value) {
    echo '<option value="' . ThemeHelper::esc_attr($index) . '" ' . ThemeHelper::selectedIf($this->data['option']['post_type'], $index, false) . '>' . ThemeHelper::esc_html($value[0]) . '</option>';
}
?>
						</select>
					</div>
				</li>
				<li>
					<h5><?php 
esc_html_e('Preambule', THEME_DOMAIN);
?>
</h5>
					<span class="to-legend"><?php 
esc_html_e('Enter preambule (the top part of the post, e.g: video, audio, image slider etc.) of the post. You can use shortcodes in this field.', THEME_DOMAIN);
?>
</span>
					<div class="to-clear-fix">
Exemplo n.º 2
0
		<ul class="to-form-field-list">
			<li>
				<h5><?php 
esc_html_e('404 error page', THEME_DOMAIN);
?>
</h5>
				<span class="to-legend"><?php 
esc_html_e('Get settings for 404 page from selected page.', THEME_DOMAIN);
?>
</span>
				<div class="to-clear-fix">
					<select name="<?php 
ThemeHelper::getFormName('page_404_page_id');
?>
" id="<?php 
ThemeHelper::getFormName('page_404_page_id');
?>
">
<?php 
foreach ($this->data['dictionary']['page'] as $value) {
    echo '<option value="' . ThemeHelper::esc_attr($value->ID) . '" ' . ThemeHelper::selectedIf($this->data['option']['page_404_page_id'], $value->ID, false) . '>' . ThemeHelper::esc_html($value->post_title) . '</option>';
}
?>
					</select>
				</div>
			</li>
		</ul>
Exemplo n.º 3
0
esc_html_e('Line height', THEME_DOMAIN);
?>
</h5>
				<span class="to-legend"><?php 
esc_html_e('Line height with selected unit.', THEME_DOMAIN);
?>
</span>
				<div>
					<input type="text" name="<?php 
ThemeHelper::getFormName('font_h3_line_height');
?>
" id="<?php 
ThemeHelper::getFormName('font_h3_line_height');
?>
" value="<?php 
echo ThemeHelper::esc_attr($this->data['option']['font_h3_line_height']);
?>
" maxlength="255"/>
				</div>
			</li>
		</ul>

		<script type="text/javascript">
			jQuery(document).ready(function($)
			{
				var element=$('.to').themeOptionElement();;
				element.createGoogleFontAutocomplete('#<?php 
ThemeHelper::getFormName('font_h3_family_google');
?>
');
				element.createSlider('#<?php 
		<ul class="to-form-field-list">
			<li>
				<h5><?php 
esc_html_e('Automatic excerpt length', THEME_DOMAIN);
?>
</h5>
				<span class="to-legend"><?php 
esc_html_e('Number of words in automatic excerpt.', THEME_DOMAIN);
?>
</span>
				<div>
					<input type="text" name="<?php 
ThemeHelper::getFormName('comment_automatic_excerpt_length');
?>
" id="<?php 
ThemeHelper::getFormName('comment_automatic_excerpt_length');
?>
" value="<?php 
echo ThemeHelper::esc_attr($this->data['option']['comment_automatic_excerpt_length']);
?>
" maxlength="3"/>
				</div>
			</li>
		</ul>
Exemplo n.º 5
0
<?php 
}
?>
				<link rel="pingback" href="<?php 
bloginfo('pingback_url');
?>
" />
				<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php 
bloginfo('rss2_url');
?>
" />
<?php 
if ($Validation->isNotEmpty(ThemeOption::getOption('favicon_url'))) {
    ?>
				<link rel="shortcut icon" href="<?php 
    echo ThemeHelper::esc_attr(ThemeOption::getOption('favicon_url'));
    ?>
" />
<?php 
}
wp_head();
?>
			</head>

			<body <?php 
body_class($Theme->getFooterStickyClass());
?>
>
				
				<?php 
echo $Menu->create();
?>
</span>
					<input type="text" name="<?php 
ThemeHelper::getFormName('fancybox_image_speed_next');
?>
" id="<?php 
ThemeHelper::getFormName('fancybox_image_speed_next');
?>
" value="<?php 
echo ThemeHelper::esc_attr($this->data['option']['fancybox_image_speed_next']);
?>
" maxlength="5"/>
				</div>			
				<div>
					<span class="to-legend-field"><?php 
esc_html_e('Previous:', THEME_DOMAIN);
?>
</span>
					<input type="text" name="<?php 
ThemeHelper::getFormName('fancybox_image_speed_previous');
?>
" id="<?php 
ThemeHelper::getFormName('fancybox_image_speed_previous');
?>
" value="<?php 
echo ThemeHelper::esc_attr($this->data['option']['fancybox_image_speed_previous']);
?>
" maxlength="5"/>
				</div>			
			</li>
		</ul>
Exemplo n.º 7
0
esc_html_e('Footer layout', THEME_DOMAIN);
?>
</h5>
					<span class="to-legend"><?php 
esc_html_e('Select layout of widgets in footer. This option works only if this widget area is selected as sidebar in footer.', THEME_DOMAIN);
?>
</span>
					<div class="to-clear-fix">
						<select name="<?php 
ThemeHelper::getFormName('widget_area_footer_layout');
?>
" id="<?php 
ThemeHelper::getFormName('widget_area_footer_layout');
?>
">
<?php 
foreach ($this->data['dictionary']['layout'] as $index => $value) {
    echo '<option value="' . ThemeHelper::esc_attr($index) . '" ' . ThemeHelper::selectedIf($this->data['option']['widget_area_footer_layout'], $index, false) . '>' . ThemeHelper::esc_html($index) . '</option>';
}
?>
						</select>
					</div>
				</li>
			</ul>
		</div>
		<script type="text/javascript">
			jQuery(document).ready(function($)
			{	
				$('.to').themeOptionElement({init:true});
			});
		</script>
Exemplo n.º 8
0
?>
					</span>
					<div class="to-checkbox-button">
<?php 
$i = 0;
foreach ($this->data['dictionary']['postCategory'] as $index => $value) {
    $i++;
    ?>
						<input type="checkbox" name="<?php 
    ThemeHelper::getFormName('post_category[]');
    ?>
" id="<?php 
    ThemeHelper::getFormName('post_category_' . $i);
    ?>
" value="<?php 
    echo ThemeHelper::esc_attr($index);
    ?>
" <?php 
    ThemeHelper::checkedIf($this->data['option']['post_category'], $index);
    ?>
/>
						<label for="<?php 
    ThemeHelper::getFormName('post_category_' . $i);
    ?>
"><?php 
    echo ThemeHelper::esc_html($value);
    ?>
</label>
<?php 
}
?>
Exemplo n.º 9
0
					<?php 
esc_html_e('Sets the width and height of the background image.', THEME_DOMAIN);
?>
<br/>
					<?php 
esc_html_e('Sets the width and height of the background image in percent of the parent element.', THEME_DOMAIN);
?>
<br/>
					<?php 
esc_html_e('The first value sets the width, the second value sets the height. If only one value is given, the second is set to "auto".', THEME_DOMAIN);
?>
<br/>
				</span>
				<div>
					<input type="text" value="<?php 
echo ThemeHelper::esc_attr($this->data['option']['header_background_image_size_2']);
?>
" id="<?php 
ThemeHelper::getFormName('header_background_image_size_2');
?>
" name="<?php 
ThemeHelper::getFormName('header_background_image_size_2');
?>
"/>
				</div>
			</li>				
		</ul>
		<script type="text/javascript">
			jQuery(document).ready(function($) 
			{
				var element=$('.to').themeOptionElement();;
Exemplo n.º 10
0
esc_html_e('Favicon', THEME_DOMAIN);
?>
</h5>
				<span class="to-legend"><?php 
esc_html_e('Enter URL of favicon.', THEME_DOMAIN);
?>
<br/></span>
				<div class="to-clear-fix">
					<input type="text" name="<?php 
ThemeHelper::getFormName('favicon_url');
?>
" id="<?php 
ThemeHelper::getFormName('favicon_url');
?>
" class="to-float-left" value="<?php 
echo ThemeHelper::esc_attr($this->data['option']['favicon_url']);
?>
" />
					<input type="button" name="<?php 
ThemeHelper::getFormName('favicon_url_browse');
?>
" id="<?php 
ThemeHelper::getFormName('favicon_url_browse');
?>
" class="to-button-browse to-button" value="<?php 
esc_attr_e('Browse', THEME_DOMAIN);
?>
"/>
				</div>
			</li>
		</ul>
</h5>
				<span class="to-legend"><?php 
esc_html_e('Select top menu.', THEME_DOMAIN);
?>
</span>
				<div class="to-clear-fix">
					<select name="<?php 
ThemeHelper::getFormName('menu_top_woocommerce');
?>
" id="<?php 
ThemeHelper::getFormName('menu_top_woocommerce');
?>
">
<?php 
foreach ($this->data['dictionary']['menu-1'] as $index => $value) {
    echo '<option value="' . ThemeHelper::esc_attr($index) . '" ' . ThemeHelper::selectedIf($this->data['option']['menu_top_woocommerce'], $index, false) . '>' . ThemeHelper::esc_html($value[0]) . '</option>';
}
?>
					</select>
				</div>
			</li>				
		</ul>
		<script type="text/javascript">
			jQuery(document).ready(function($) 
			{
				var element=$('.to').themeOptionElement();;
				element.bindBrowseMedia('#<?php 
ThemeHelper::getFormName('header_background_image_src_woocommerce_browse');
?>
');
			});
Exemplo n.º 12
0
echo ThemeHelper::esc_attr($this->data['option']['go_to_page_top_animation_duration']);
?>
" maxlength="5"/>
				</div>
			</li>
			<li>
				<h5><?php 
esc_html_e('Easing', THEME_DOMAIN);
?>
</h5>
				<span class="to-legend"><?php 
esc_html_e('Easing method of animation.', THEME_DOMAIN);
?>
</span>
				<div class="to-clear-fix">
					<select name="<?php 
ThemeHelper::getFormName('go_to_page_top_animation_easing');
?>
" id="<?php 
ThemeHelper::getFormName('go_to_page_top_animation_easing');
?>
">
<?php 
foreach ($this->data['dictionary']['easingType'] as $index => $value) {
    echo '<option value="' . ThemeHelper::esc_attr($index) . '" ' . ThemeHelper::selectedIf($this->data['option']['go_to_page_top_animation_easing'], $index, false) . '>' . ThemeHelper::esc_html($value[0]) . '</option>';
}
?>
					</select>
				</div>
			</li>
		</ul>
Exemplo n.º 13
0
?>
</label>
					</div>
				</li>
				<li>
					<h5><?php 
esc_html_e('Page background color', THEME_DOMAIN);
?>
</h5>
					<span class="to-legend"><?php 
esc_html_e('Page background color in HEX.', THEME_DOMAIN);
?>
</span>
					<div>
						<input type="text" class="to-color-picker" value="<?php 
echo ThemeHelper::esc_attr($this->data['option']['page_background_color']);
?>
" id="<?php 
ThemeHelper::getFormName('page_background_color');
?>
" name="<?php 
ThemeHelper::getFormName('page_background_color');
?>
" maxlength="11"/>
					</div>
				</li>	
			</ul>
		</div>
		<script type="text/javascript">
			jQuery(document).ready(function($)
			{	
Exemplo n.º 14
0
?>
"/>
					</div>
				</li>
				<li>
					<h5><?php 
esc_html_e('Subheader text color', THEME_DOMAIN);
?>
</h5>
					<span class="to-legend"><?php 
esc_html_e('Subheader text color in HEX.', THEME_DOMAIN);
?>
</span>
					<div>
						<input type="text" class="to-color-picker" value="<?php 
echo ThemeHelper::esc_attr($this->data['option']['header_subheader_text_color']);
?>
" id="<?php 
ThemeHelper::getFormName('header_subheader_text_color');
?>
" name="<?php 
ThemeHelper::getFormName('header_subheader_text_color');
?>
" maxlength="11"/>
					</div>
				</li>				
			</ul>
		</div>
		<script type="text/javascript">
			jQuery(document).ready(function($)
			{	
Exemplo n.º 15
0
?>
</span>
				<div class="to-checkbox-button">
<?php 
$i = 0;
foreach ($this->data['dictionary']['user'] as $value) {
    $i++;
    ?>
					<input type="checkbox" name="<?php 
    ThemeHelper::getFormName('maintenance_mode_user_id[]');
    ?>
" id="<?php 
    ThemeHelper::getFormName('maintenance_mode_user_id_' . $i);
    ?>
" value="<?php 
    echo ThemeHelper::esc_attr($value->data->ID);
    ?>
" <?php 
    ThemeHelper::checkedIf($this->data['option']['maintenance_mode_user_id'], $value->data->ID);
    ?>
/>
					<label for="<?php 
    ThemeHelper::getFormName('maintenance_mode_user_id_' . $i);
    ?>
"><?php 
    echo ThemeHelper::esc_html($value->data->display_name);
    ?>
</label>
<?php 
}
?>
esc_html_e('Maximum height', THEME_DOMAIN);
?>
</h5>
				<span class="to-legend"><?php 
esc_html_e('Maximum height fancyBox should be allowed to resize to (in px).', THEME_DOMAIN);
?>
</span>
				<div>
					<input type="text" name="<?php 
ThemeHelper::getFormName('fancybox_video_max_height');
?>
" id="<?php 
ThemeHelper::getFormName('fancybox_video_max_height');
?>
" value="<?php 
echo ThemeHelper::esc_attr($this->data['option']['fancybox_video_max_height']);
?>
" maxlength="4"/>
				</div>					
			</li>
			<li>
				<h5><?php 
esc_html_e('Auto resize', THEME_DOMAIN);
?>
</h5>
				<span class="to-legend"><?php 
esc_html_e('When enabled, the content will be resized after window resize event.', THEME_DOMAIN);
?>
</span>
				<div class="to-radio-button">
					<input type="radio" name="<?php