<input type="text" id="dynamik-breadcrumbs-padding-right" name="dynamik[breadcrumbs_padding_right]" value="<?php 
dynamik_design_options_defaults(true, 'breadcrumbs_padding_right');
?>
" style="width:35px;" /><?php 
_e('px |', 'dynamik');
?>
				<?php 
_e('Bottom', 'dynamik');
?>
				<input type="text" id="dynamik-breadcrumbs-padding-bottom" name="dynamik[breadcrumbs_padding_bottom]" value="<?php 
dynamik_design_options_defaults(true, 'breadcrumbs_padding_bottom');
?>
" style="width:35px;" /><?php 
_e('px |', 'dynamik');
?>
				<?php 
_e('Left', 'dynamik');
?>
				<input type="text" id="dynamik-breadcrumbs-padding-left" name="dynamik[breadcrumbs_padding_left]" value="<?php 
dynamik_design_options_defaults(true, 'breadcrumbs_padding_left');
?>
" style="width:35px;" /><?php 
_e('px', 'dynamik');
?>
			</p>
		</div>
		
		</div><!-- End .dynamik-design-standard-hide -->
		
	</div>
</div>
Exemple #2
0
				<input type="text" id="dynamik-footer-padding-right" name="dynamik[footer_padding_right]" value="<?php 
dynamik_design_options_defaults(true, 'footer_padding_right');
?>
" style="width:35px;" /><?php 
_e('px |', 'dynamik');
?>
				<?php 
_e('Bottom', 'dynamik');
?>
				<input type="text" id="dynamik-footer-padding-bottom" name="dynamik[footer_padding_bottom]" value="<?php 
dynamik_design_options_defaults(true, 'footer_padding_bottom');
?>
" style="width:35px;" /><?php 
_e('px |', 'dynamik');
?>
				<?php 
_e('Left', 'dynamik');
?>
				<input type="text" id="dynamik-footer-padding-left" name="dynamik[footer_padding_left]" value="<?php 
dynamik_design_options_defaults(true, 'footer_padding_left');
?>
" style="width:35px;" /><?php 
_e('px', 'dynamik');
?>
			</p>
		</div>
		
		</div><!-- End .dynamik-design-standard-hide -->
		
	</div>
</div>
Exemple #3
0
		
		<div id="dynamik-width-option-wrap-no-sb" class="dynamik-width-option-wrap">
			<div class="dynamik-design-option-desc">
				<p><?php 
_e('Full Width Content Layout Widths', 'dynamik');
?>
</p>
			</div>
			
			<div class="dynamik-design-option">
				<p>
					<?php 
_e('Content', 'dynamik');
?>
					<input type="text" id="dynamik-content-width-no-sb" class="dynamik-width-option" name="dynamik[cc_width_no_sb]" value="<?php 
echo dynamik_design_options_defaults(true, 'cc_width_no_sb');
?>
" style="width:40px;" /><?php 
_e('px', 'dynamik');
?>
					<?php 
_e(' | Wrap Width: ', 'dynamik');
?>
					<strong><span id="calculated-width-no-sb" <?php 
if (genesis_site_layout() == 'full-width-content') {
    echo 'class="default-layout-wrap-width"';
}
?>
>960</span></strong>px
				</p>
			</div>
Exemple #4
0
?>
><?php 
_e('Horizontal & Vertical-Repeat Image', 'dynamik');
?>
</option>
					<option value="top fixed repeat"<?php 
if (dynamik_get_design('body_bg_type') == 'top fixed repeat') {
    echo ' selected="selected"';
}
?>
><?php 
_e('Horizontal & Vertical-Repeat Image (Fixed)', 'dynamik');
?>
</option>
				</select><input type="text" class="color {pickerFaceColor:'#FFFFFF'} color-box" id="dynamik-body-bg-color" name="dynamik[body_bg_color]" value="<?php 
dynamik_design_options_defaults(true, 'body_bg_color');
?>
" />
				<?php 
_e('Image', 'dynamik');
?>
 <select id="dynamik-body-bg-image" name="dynamik[body_bg_image]" size="1" style="width:175px;"><?php 
dynamik_list_images(dynamik_get_design('body_bg_image'));
?>
</select>
			</p>
		</div>
		
		<div class="dynamik-design-option-desc">
			<p><?php 
_e('Dynamik CSS', 'dynamik');
Exemple #5
0
				<input type="text" id="dynamik-taxonomy-box-content-padding-right" name="dynamik[taxonomy_box_content_padding_right]" value="<?php 
dynamik_design_options_defaults(true, 'taxonomy_box_content_padding_right');
?>
" style="width:35px;" /><?php 
_e('px |', 'dynamik');
?>
				<?php 
_e('Bottom', 'dynamik');
?>
				<input type="text" id="dynamik-taxonomy-box-content-padding-bottom" name="dynamik[taxonomy_box_content_padding_bottom]" value="<?php 
dynamik_design_options_defaults(true, 'taxonomy_box_content_padding_bottom');
?>
" style="width:35px;" /><?php 
_e('px |', 'dynamik');
?>
				<?php 
_e('Left', 'dynamik');
?>
				<input type="text" id="dynamik-taxonomy-box-content-padding-left" name="dynamik[taxonomy_box_content_padding_left]" value="<?php 
dynamik_design_options_defaults(true, 'taxonomy_box_content_padding_left');
?>
" style="width:35px;" /><?php 
_e('px', 'dynamik');
?>
			</p>
		</div>
		
		</div><!-- End .dynamik-design-standard-hide -->
		
	</div>
</div>
Exemple #6
0
		<div class="dynamik-design-option">
			<p>
				<?php 
_e('Paragraph Bottom Margin', 'dynamik');
?>
				<input type="text" id="dynamik-content-paragraph-margin-bottom" name="dynamik[content_paragraph_margin_bottom]" value="<?php 
dynamik_design_options_defaults(true, 'content_paragraph_margin_bottom');
?>
" style="width:35px;" /><?php 
_e('px |', 'dynamik');
?>
				<?php 
_e('List-Style Bottom Padding', 'dynamik');
?>
				<input type="text" id="dynamik-content-list-style-padding-bottom" name="dynamik[content_list_style_padding_bottom]" value="<?php 
dynamik_design_options_defaults(true, 'content_list_style_padding_bottom');
?>
" style="width:35px;" /><?php 
_e('px', 'dynamik');
?>
			</p>
		</div>
		
		</div><!-- End .dynamik-design-standard-hide -->
		
		<div class="dynamik-design-option-desc">
			<p><?php 
_e('Content List Style Type', 'dynamik');
?>
</p>
		</div>
Exemple #7
0
				<input type="text" class="dynamik-widget-width-option" id="dynamik-widget-padding-right" name="dynamik[dynamik_widget_padding_right]" value="<?php 
dynamik_design_options_defaults(true, 'dynamik_widget_padding_right');
?>
" style="width:35px;" /><?php 
_e('px |', 'dynamik');
?>
				<?php 
_e('Bottom', 'dynamik');
?>
				<input type="text" id="dynamik-widget-padding-bottom" name="dynamik[dynamik_widget_padding_bottom]" value="<?php 
dynamik_design_options_defaults(true, 'dynamik_widget_padding_bottom');
?>
" style="width:35px;" /><?php 
_e('px |', 'dynamik');
?>
				<?php 
_e('Left', 'dynamik');
?>
				<input type="text" class="dynamik-widget-width-option" id="dynamik-widget-padding-left" name="dynamik[dynamik_widget_padding_left]" value="<?php 
dynamik_design_options_defaults(true, 'dynamik_widget_padding_left');
?>
" style="width:35px;" /><?php 
_e('px', 'dynamik');
?>
			</p>
		</div>
		
		</div><!-- End .dynamik-design-standard-hide -->
		
	</div>
</div>
Exemple #8
0
dynamik_design_options_defaults(true, 'nav1_sub_indicator_height');
?>
" style="width:30px;" /><?php 
_e('px |', 'dynamik');
?>
				<?php 
_e('Top', 'dynamik');
?>
				<input type="text" id="dynamik-nav1-sub-indicator-top" name="dynamik[nav1_sub_indicator_top]" value="<?php 
dynamik_design_options_defaults(true, 'nav1_sub_indicator_top');
?>
" style="width:30px;" /><?php 
_e('px |', 'dynamik');
?>
				<?php 
_e('Right', 'dynamik');
?>
				<input type="text" id="dynamik-nav1-sub-indicator-right" name="dynamik[nav1_sub_indicator_right]" value="<?php 
dynamik_design_options_defaults(true, 'nav1_sub_indicator_right');
?>
" style="width:30px;" /><?php 
_e('px', 'dynamik');
?>
				</span>
			</p>
		</div>
		
		</div><!-- End .dynamik-structure-settings-hide -->
		
	</div>
</div>
Exemple #9
0
				<input type="text" id="dynamik-author-box-padding-right" name="dynamik[author_box_padding_right]" value="<?php 
dynamik_design_options_defaults(true, 'author_box_padding_right');
?>
" style="width:35px;" /><?php 
_e('px |', 'dynamik');
?>
				<?php 
_e('Bottom', 'dynamik');
?>
				<input type="text" id="dynamik-author-box-padding-bottom" name="dynamik[author_box_padding_bottom]" value="<?php 
dynamik_design_options_defaults(true, 'author_box_padding_bottom');
?>
" style="width:35px;" /><?php 
_e('px |', 'dynamik');
?>
				<?php 
_e('Left', 'dynamik');
?>
				<input type="text" id="dynamik-author-box-padding-left" name="dynamik[author_box_padding_left]" value="<?php 
dynamik_design_options_defaults(true, 'author_box_padding_left');
?>
" style="width:35px;" /><?php 
_e('px', 'dynamik');
?>
			</p>
		</div>
		
		</div><!-- End .dynamik-design-standard-hide -->
		
	</div>
</div>
Exemple #10
0
?>
" style="width:35px;" /><?php 
_e('px |', 'dynamik');
?>
				<?php 
_e('Bottom', 'dynamik');
?>
				<input type="text" id="ez-widget-footer-padding-bottom" name="dynamik[ez_widget_footer_padding_bottom]" value="<?php 
dynamik_design_options_defaults(true, 'ez_widget_footer_padding_bottom');
?>
" style="width:35px;" /><?php 
_e('px |', 'dynamik');
?>
				<?php 
_e('Left', 'dynamik');
?>
				<input type="text" class="ez-widget-footer-width-option" id="ez-widget-footer-padding-left" name="dynamik[ez_widget_footer_padding_left]" value="<?php 
dynamik_design_options_defaults(true, 'ez_widget_footer_padding_left');
?>
" style="width:35px;" /><?php 
_e('px', 'dynamik');
?>
			</p>
		</div>
		
		</div><!-- End .dynamik-design-standard-hide -->
		
		</div><!-- End .dynamik-structure-settings-hide -->
		
	</div>
</div>
Exemple #11
0
_e('px |', 'dynamik');
?>
				<?php 
_e('Left/Right', 'dynamik');
?>
				<input type="text" class="dynamik-width-option" id="dynamik-container-wrap-lr-padding" name="dynamik[inner_lr_padding]" value="<?php 
dynamik_design_options_defaults(true, 'inner_lr_padding');
?>
" style="width:35px;" /><?php 
_e('px |', 'dynamik');
?>
				<?php 
_e('Sidebar Separation', 'dynamik');
?>
				<input type="text" class="dynamik-width-option" id="dynamik-sb-separation-padding" name="dynamik[sb_separation_padding]" value="<?php 
dynamik_design_options_defaults(true, 'sb_separation_padding');
?>
" style="width:35px;" /><?php 
_e('px', 'dynamik');
?>
			</p>
		</div>
	</div>

	<div style="float:left; width:802px;">
		<div class="dynamik-optionbox-2col-left-wrap">
			<div class="dynamik-optionbox-outer-2col">
				<div class="dynamik-optionbox-inner-2col">
					<h4><?php 
_e('Site Structure Preview', 'dynamik');
?>
/**
 * Restore the dynamik_gen_design_snapshot_options array with the most recent Dynamik Settings Snapshot.
 *
 * @since 1.0
 */
function dynamik_design_snapshot_restore()
{
    $dynamik_design_snapshot_options = get_option('dynamik_gen_design_snapshot_options');
    $dynamik_design_options_restore = array_merge(dynamik_design_options_defaults(false, false, $dynamik_design_snapshot_options['design_options']), $dynamik_design_snapshot_options['design_options']);
    update_option('dynamik_gen_design_options', $dynamik_design_options_restore);
    $responsive_options_restore = array_merge(dynamik_responsive_options_defaults(), $dynamik_design_snapshot_options['responsive_options']);
    update_option('dynamik_gen_responsive_options', $responsive_options_restore);
    dynamik_write_files($css = true, $ez = true, $custom = false);
    wp_redirect(admin_url('admin.php?page=dynamik-design&activetab=dynamik-design-options-nav-import-export&notice=snapshot-restore-complete'));
    exit;
}
Exemple #13
0
				<input type="text" id="dynamik-comment-form-allowed-tags-padding-right" name="dynamik[comment_form_allowed_tags_padding_right]" value="<?php 
dynamik_design_options_defaults(true, 'comment_form_allowed_tags_padding_right');
?>
" style="width:35px;" /><?php 
_e('px |', 'dynamik');
?>
				<?php 
_e('Bottom', 'dynamik');
?>
				<input type="text" id="dynamik-comment-form-allowed-tags-padding-bottom" name="dynamik[comment_form_allowed_tags_padding_bottom]" value="<?php 
dynamik_design_options_defaults(true, 'comment_form_allowed_tags_padding_bottom');
?>
" style="width:35px;" /><?php 
_e('px |', 'dynamik');
?>
				<?php 
_e('Left', 'dynamik');
?>
				<input type="text" id="dynamik-comment-form-allowed-tags-padding-left" name="dynamik[comment_form_allowed_tags_padding_left]" value="<?php 
dynamik_design_options_defaults(true, 'comment_form_allowed_tags_padding_left');
?>
" style="width:35px;" /><?php 
_e('px', 'dynamik');
?>
			</p>
		</div>
		
		</div><!-- End .dynamik-design-standard-hide -->
		
	</div>
</div>
Exemple #14
0
		<div class="dynamik-design-option-desc">
			<p><?php 
_e('Header Widget Padding', 'dynamik');
?>
</p>
		</div>
		
		<div class="dynamik-design-option">
			<p class="bg-box-design">
				<?php 
_e('Top Padding', 'dynamik');
?>
 <input type="text" id="dynamik-header-widget-top-padding" name="dynamik[header_widget_top_padding]" value="<?php 
dynamik_design_options_defaults(true, 'header_widget_top_padding');
?>
" style="width:35px;" /><?php 
_e('px', 'dynamik');
?>
				<?php 
_e('| Right Padding', 'dynamik');
?>
 <input type="text" id="dynamik-header-widget-right-padding" name="dynamik[header_widget_right_padding]" value="<?php 
dynamik_design_options_defaults(true, 'header_widget_right_padding');
?>
" style="width:35px;" /><?php 
_e('px', 'dynamik');
?>
			</p>
		</div>
	</div>
</div>
Exemple #15
0
				<input type="text" id="dynamik-post-nav-numbered-margin-right" name="dynamik[post_nav_numbered_margin_right]" value="<?php 
dynamik_design_options_defaults(true, 'post_nav_numbered_margin_right');
?>
" style="width:35px;" /><?php 
_e('px |', 'dynamik');
?>
				<?php 
_e('Padding: Top/Btm', 'dynamik');
?>
				<input type="text" id="dynamik-post-nav-numbered-tb-padding" name="dynamik[post_nav_numbered_tb_padding]" value="<?php 
dynamik_design_options_defaults(true, 'post_nav_numbered_tb_padding');
?>
" style="width:35px;" /><?php 
_e('px', 'dynamik');
?>
				<?php 
_e('Lft/Rt', 'dynamik');
?>
				<input type="text" id="dynamik-post-nav-numbered-lr-padding" name="dynamik[post_nav_numbered_lr_padding]" value="<?php 
dynamik_design_options_defaults(true, 'post_nav_numbered_lr_padding');
?>
" style="width:35px;" /><?php 
_e('px', 'dynamik');
?>
			</p>
		</div>
		
		</div><!-- End .dynamik-design-standard-hide -->
		
	</div>
</div>
Exemple #16
0
/**
 * Perform Dynamik activation actions.
 *
 * @since 1.0
 */
function dynamik_activate()
{
    global $dynamik_folders;
    if (!get_option('dynamik_gen_version_number')) {
        update_option('dynamik_gen_version_number', '1.2.2');
    }
    if (!get_option('dynamik_gen_theme_settings')) {
        update_option('dynamik_gen_theme_settings', dynamik_theme_settings_defaults());
    }
    if (!get_option('dynamik_gen_design_options')) {
        update_option('dynamik_gen_design_options', dynamik_design_options_defaults());
    }
    if (!get_option('dynamik_gen_responsive_options')) {
        update_option('dynamik_gen_responsive_options', dynamik_responsive_options_defaults());
    }
    if (!get_option('dynamik_gen_design_snapshot_options')) {
        dynamik_design_snapshot_update($activation = true);
    }
    if (!get_option('dynamik_gen_custom_css')) {
        update_option('dynamik_gen_custom_css', dynamik_custom_css_options_defaults());
    }
    if (!get_option('dynamik_gen_custom_functions')) {
        update_option('dynamik_gen_custom_functions', dynamik_custom_functions_options_defaults());
    }
    if (!get_option('dynamik_gen_custom_js')) {
        update_option('dynamik_gen_custom_js', dynamik_custom_js_options_defaults());
    }
    if (!get_option('dynamik_gen_custom_templates')) {
        update_option('dynamik_gen_custom_templates', array());
    }
    if (!get_option('dynamik_gen_custom_labels')) {
        update_option('dynamik_gen_custom_labels', array());
    }
    if (!get_option('dynamik_gen_custom_conditionals')) {
        update_option('dynamik_gen_custom_conditionals', array());
    }
    if (!get_option('dynamik_gen_custom_widget_areas')) {
        update_option('dynamik_gen_custom_widget_areas', array());
    }
    if (!get_option('dynamik_gen_custom_hook_boxes')) {
        update_option('dynamik_gen_custom_hook_boxes', array());
    }
    if (!is_dir(CHILD_DIR . '/my-templates')) {
        mkdir(CHILD_DIR . '/my-templates');
        @chmod(CHILD_DIR . '/my-templates', 0755);
    }
    if (!is_dir(dynamik_get_stylesheet_location('path', $root = true))) {
        mkdir(dynamik_get_stylesheet_location('path', $root = true));
        @chmod(dynamik_get_stylesheet_location('path', $root = true), 0755);
    }
    if (!is_dir(dynamik_get_stylesheet_location('path', $root = true) . 'theme')) {
        mkdir(dynamik_get_stylesheet_location('path', $root = true) . 'theme');
        @chmod(dynamik_get_stylesheet_location('path', $root = true) . 'theme', 0755);
    }
    if (!is_dir(dynamik_get_stylesheet_location('path') . 'default-images')) {
        mkdir(dynamik_get_stylesheet_location('path') . 'default-images');
        @chmod(dynamik_get_stylesheet_location('path') . 'default-images', 0755);
        mkdir(dynamik_get_stylesheet_location('path') . 'default-images/post-formats');
        @chmod(dynamik_get_stylesheet_location('path') . 'default-images/post-formats', 0755);
        $handle = opendir(CHILD_DIR . '/images');
        while (false !== ($file = readdir($handle))) {
            $ext = strtolower(substr(strrchr($file, '.'), 1));
            if ($ext == 'jpg' || $ext == 'gif' || $ext == 'png') {
                copy(CHILD_DIR . '/images/' . $file, dynamik_get_stylesheet_location('path') . 'default-images/' . $file);
            }
        }
        closedir($handle);
        $handle2 = opendir(CHILD_DIR . '/images/post-formats');
        while (false !== ($file = readdir($handle2))) {
            $ext = strtolower(substr(strrchr($file, '.'), 1));
            if ($ext == 'jpg' || $ext == 'gif' || $ext == 'png') {
                copy(CHILD_DIR . '/images/post-formats/' . $file, dynamik_get_stylesheet_location('path') . 'default-images/post-formats/' . $file);
            }
        }
        closedir($handle2);
    }
    $handle3 = opendir(CHILD_DIR . '/images');
    while (false !== ($file = readdir($handle3))) {
        if ($file == 'icon-plus.png' || $file == 'icon-plus-white.png') {
            copy(CHILD_DIR . '/images/' . $file, dynamik_get_stylesheet_location('path') . 'default-images/' . $file);
        }
    }
    closedir($handle3);
    if (!is_dir(dynamik_get_stylesheet_location('path') . 'images')) {
        mkdir(dynamik_get_stylesheet_location('path') . 'images');
        @chmod(dynamik_get_stylesheet_location('path') . 'images', 0755);
    }
    if (!is_dir(dynamik_get_stylesheet_location('path') . 'images/adminthumbnails')) {
        mkdir(dynamik_get_stylesheet_location('path') . 'images/adminthumbnails');
        @chmod(dynamik_get_stylesheet_location('path') . 'images/adminthumbnails', 0755);
    }
    if (!is_dir(dynamik_get_stylesheet_location('path') . 'tmp')) {
        mkdir(dynamik_get_stylesheet_location('path') . 'tmp');
        @chmod(dynamik_get_stylesheet_location('path') . 'tmp', 0755);
    }
    if (!is_dir(dynamik_get_stylesheet_location('path') . 'tmp/images')) {
        mkdir(dynamik_get_stylesheet_location('path') . 'tmp/images');
        @chmod(dynamik_get_stylesheet_location('path') . 'tmp/images', 0755);
    }
    if (!is_dir(dynamik_get_stylesheet_location('path') . 'tmp/images/adminthumbnails')) {
        mkdir(dynamik_get_stylesheet_location('path') . 'tmp/images/adminthumbnails');
        @chmod(dynamik_get_stylesheet_location('path') . 'tmp/images/adminthumbnails', 0755);
    }
    dynamik_write_files();
    dynamik_create_custom_functions_file();
    $dynamik_unwritable = false;
    foreach ($dynamik_folders as $dynamik_folder) {
        if (is_dir($dynamik_folder) && !dynamik_writable($dynamik_folder)) {
            $dynamik_unwritable = true;
        }
    }
    if ($dynamik_unwritable) {
        wp_redirect(admin_url('admin.php?page=dynamik-settings&notice=dynamik-unwritable'));
    }
}
/**
 * Build the Dynamik Design Options admin page.
 *
 * @since 1.0
 */
function dynamik_design_options()
{
    global $message;
    $dynamik_design_snapshot_options = get_option('dynamik_gen_design_snapshot_options');
    $dynamik_font_type = dynamik_get_design('font_type');
    if ($dynamik_font_type) {
        foreach ($dynamik_font_type as $key => $value) {
            $dynamik_font_type[$key] = $value;
        }
    }
    ?>
	<div class="wrap">
	
		<div id="dynamik-design-saved" class="dynamik-update-box"></div>
		
		<?php 
    if (!empty($_POST['action']) && $_POST['action'] == 'reset') {
        update_option('dynamik_gen_design_undo_options', dynamik_get_design(null, $args = array('cached' => true, 'array' => true)));
        update_option('dynamik_gen_responsive_undo_options', dynamik_get_responsive(null, $args = array('cached' => true, 'array' => true)));
        update_option('dynamik_gen_design_options', dynamik_design_options_defaults());
        update_option('dynamik_gen_responsive_options', dynamik_responsive_options_defaults());
        dynamik_write_files($css = true, $ez = true, $custom = false);
        $dynamik_font_type = dynamik_get_design('font_type');
        ?>
			<script type="text/javascript">jQuery(document).ready(function($){ $('#dynamik-design-saved').html('Design Options Reset').center().fadeIn('slow');window.setTimeout(function(){$('#dynamik-design-saved').fadeOut( 'slow' );}, 2222); });</script>
		<?php 
    }
    if (!empty($_POST['action']) && $_POST['action'] == 'undo') {
        update_option('dynamik_gen_design_options', get_option('dynamik_gen_design_undo_options'));
        update_option('dynamik_gen_responsive_options', get_option('dynamik_gen_responsive_undo_options'));
        dynamik_write_files($css = true, $ez = true, $custom = false);
        dynamik_get_responsive(null, $args = array('cached' => false, 'array' => false));
        $dynamik_font_type = dynamik_get_design('font_type');
        ?>
			<script type="text/javascript">jQuery(document).ready(function($){ $('#dynamik-design-saved').html('Dynamik Options Undone').center().fadeIn('slow');window.setTimeout(function(){$('#dynamik-design-saved').fadeOut( 'slow' );}, 2222); });</script>
		<?php 
    }
    if (!empty($_GET['activetab'])) {
        ?>
			<script type="text/javascript">jQuery(document).ready(function($) { $('#<?php 
        echo $_GET['activetab'];
        ?>
').click(); });</script>	
		<?php 
    }
    ?>
		
		<div id="icon-options-general" class="icon32"></div>
		
		<h2 id="dynamik-admin-heading"><?php 
    _e('Dynamik - Design Options', 'dynamik');
    ?>
</h2>
		
		<div class="dynamik-css-builder-button-wrap">
			<span id="show-hide-custom-css-builder" class="button"><?php 
    _e('CSS Builder', 'dynamik');
    ?>
</span>
		</div>
		<?php 
    if (dynamik_get_settings('design_options_control') == 'structure_settings') {
        $admin_wrap_class = ' class="dynamik-wrap-structure-settings"';
        $nav_alt_id = 'alt-';
        $body_display = '';
        $nav_display = ' dynamik-options-display';
    } elseif (dynamik_get_settings('design_options_control') == 'design_standard') {
        $admin_wrap_class = ' class="dynamik-wrap-design-standard"';
        $nav_alt_id = '';
        $body_display = ' dynamik-options-display';
        $nav_display = '';
    } else {
        $admin_wrap_class = '';
        $nav_alt_id = '';
        $body_display = ' dynamik-options-display';
        $nav_display = '';
    }
    ?>
		<div id="dynamik-admin-wrap"<?php 
    echo $admin_wrap_class;
    ?>
>
		
			<?php 
    require_once CHILD_DIR . '/lib/admin/boxes/custom-css-builder.php';
    ?>
			
			<form action="/" id="design-options-form" name="design-options-form">
			
				<input type="hidden" name="action" value="dynamik_design_options_save" />
				<input type="hidden" name="security" value="<?php 
    echo wp_create_nonce('design-options');
    ?>
" />
				
				<div id="dynamik-floating-save">
					<img id="ajax-save-no-throb" src="<?php 
    echo CHILD_URL . '/lib/css/images/no-throb.png';
    ?>
" style="margin-bottom:11px;" /><img id="ajax-save-throbber" src="<?php 
    echo CHILD_URL . '/lib/css/images/throbber.gif';
    ?>
" style="display:none;margin-bottom:11px;" /><input type="image" src="<?php 
    echo CHILD_URL . '/lib/css/images/save-changes-x2.png';
    ?>
" value="<?php 
    _e('Save Changes', 'dynamik');
    ?>
" class="dynamik-save-button" name="Submit" alt="Save Changes" />
				</div>
				
				<div class="dynamik-structure-settings-hide">
			
				<div id="dynamik-design-options-nav1" class="dynamik-design-options-nav">
					<ul>
						<li id="dynamik-design-options-nav-body" class="dynamik-options-nav-all dynamik-options-nav-active"><a href="#">Body</a></li><li id="dynamik-design-options-nav-wrap" class="dynamik-options-nav-all"><a href="#">Wrap</a></li><li id="dynamik-design-options-nav-header" class="dynamik-options-nav-all"><a href="#">Header</a></li><li id="dynamik-design-options-nav-nav1" class="dynamik-options-nav-all"><a href="#">Nav</a></li><li id="dynamik-design-options-nav-nav2" class="dynamik-options-nav-all"><a href="#">Subnav</a></li><li id="dynamik-design-options-nav-nav3" class="dynamik-options-nav-all"><a href="#">Header Nav</a></li><li id="dynamik-design-options-nav-content" class="dynamik-options-nav-all"><a href="#">Content</a></li><li id="dynamik-design-options-nav-comments" class="dynamik-options-nav-all"><a href="#">Comments</a></li><li id="dynamik-design-options-nav-sidebars" class="dynamik-options-nav-all"><a href="#">Sidebars</a></li><li id="dynamik-design-options-nav-footer" class="dynamik-options-nav-all"><a class="dynamik-options-nav-last" href="#">Footer</a></li>
					</ul>
				</div>
				
				<div id="dynamik-design-options-nav2" class="dynamik-design-options-nav">
					<ul>
						<li id="dynamik-design-options-nav-widths" class="dynamik-options-nav-all dynamik-update-wrap-widths"><a href="#">Widths</a></li><li id="dynamik-design-options-nav-ez" class="dynamik-options-nav-all"><a href="#">EZ</a></li><li id="dynamik-design-options-nav-widgets" class="dynamik-options-nav-all"><a href="#">Widgets</a><li id="dynamik-design-options-nav-search" class="dynamik-options-nav-all"><a href="#">Search</a></li><li id="dynamik-design-options-nav-breadcrumbs" class="dynamik-options-nav-all"><a href="#"><?php 
    if (dynamik_get_settings('responsive_enabled')) {
        ?>
Crumbs<?php 
    } else {
        ?>
Breadcrumbs<?php 
    }
    ?>
</a></li><li id="dynamik-design-options-nav-taxonomy" class="dynamik-options-nav-all"><a href="#">Tax</a></li><li id="dynamik-design-options-nav-author" class="dynamik-options-nav-all"><a href="#">Author</a></li><li id="dynamik-design-options-nav-post-nav" class="dynamik-options-nav-all"><a href="#">Post Nav</a></li><?php 
    if (dynamik_get_settings('responsive_enabled')) {
        ?>
<li id="dynamik-design-options-nav-responsive" class="dynamik-options-nav-all dynamik-update-wrap-widths"><a href="#">Responsive</a></li><?php 
    }
    ?>
<li id="dynamik-design-options-nav-image-uploader" class="dynamik-options-nav-all"><a href="#"><?php 
    if (dynamik_get_settings('responsive_enabled')) {
        ?>
Images<?php 
    } else {
        ?>
Image Uploader<?php 
    }
    ?>
</a></li><li id="dynamik-design-options-nav-import-export" class="dynamik-options-nav-all"><a class="dynamik-options-nav-last" href="#">Import/Export</a></li>
					</ul>
				</div>
				
				</div><!-- End .dynamik-structure-settings-hide -->
				
				<div id="dynamik-design-options-nav-alt" class="dynamik-design-control-hide dynamik-structure-settings-show">
					<ul>
						<li id="dynamik-design-options-nav-alt-nav1" class="dynamik-options-nav-all dynamik-options-nav-active"><a href="#">Nav</a></li><li id="dynamik-design-options-nav-alt-nav2" class="dynamik-options-nav-all"><a href="#">Subnav</a></li><li id="dynamik-design-options-nav-alt-ez" class="dynamik-options-nav-all"><a href="#">EZ Widget Areas</a></li><?php 
    if (dynamik_get_settings('responsive_enabled')) {
        ?>
<li id="dynamik-design-options-nav-alt-responsive" class="dynamik-options-nav-all"><a href="#">Responsive</a></li><?php 
    }
    ?>
<li id="dynamik-design-options-nav-alt-image-uploader" class="dynamik-options-nav-all"><a href="#"><?php 
    if (dynamik_get_settings('responsive_enabled')) {
        ?>
Images<?php 
    } else {
        ?>
Image Uploader<?php 
    }
    ?>
</a></li><li id="dynamik-design-options-nav-alt-import-export" class="dynamik-options-nav-all"><a class="dynamik-options-nav-last" href="#">Import / Export</a></li>
					</ul>
				</div>
				
				<div class="dynamik-design-options-wrap">
					<?php 
    require_once CHILD_DIR . '/lib/admin/boxes/design-body.php';
    ?>
					<?php 
    require_once CHILD_DIR . '/lib/admin/boxes/design-wrap.php';
    ?>
					<?php 
    require_once CHILD_DIR . '/lib/admin/boxes/design-header.php';
    ?>
					<?php 
    require_once CHILD_DIR . '/lib/admin/boxes/design-nav-1.php';
    ?>
					<?php 
    require_once CHILD_DIR . '/lib/admin/boxes/design-nav-2.php';
    ?>
					<?php 
    require_once CHILD_DIR . '/lib/admin/boxes/design-nav-3.php';
    ?>
					<?php 
    require_once CHILD_DIR . '/lib/admin/boxes/design-content.php';
    ?>
					<?php 
    require_once CHILD_DIR . '/lib/admin/boxes/design-comments.php';
    ?>
					<?php 
    require_once CHILD_DIR . '/lib/admin/boxes/design-sidebars.php';
    ?>
					<?php 
    require_once CHILD_DIR . '/lib/admin/boxes/design-footer.php';
    ?>
					<?php 
    require_once CHILD_DIR . '/lib/admin/boxes/design-widths.php';
    ?>
					<?php 
    require_once CHILD_DIR . '/lib/admin/boxes/design-ez.php';
    ?>
					<?php 
    require_once CHILD_DIR . '/lib/admin/boxes/design-widgets.php';
    ?>
					<?php 
    require_once CHILD_DIR . '/lib/admin/boxes/design-search.php';
    ?>
					<?php 
    require_once CHILD_DIR . '/lib/admin/boxes/design-breadcrumbs.php';
    ?>
					<?php 
    require_once CHILD_DIR . '/lib/admin/boxes/design-taxonomy.php';
    ?>
					<?php 
    require_once CHILD_DIR . '/lib/admin/boxes/design-author.php';
    ?>
					<?php 
    require_once CHILD_DIR . '/lib/admin/boxes/design-post-nav.php';
    ?>
				</div>
			
			</form>
		
			<div class="dynamik-design-options-wrap">
				<?php 
    require_once CHILD_DIR . '/lib/admin/boxes/design-responsive.php';
    ?>
				<?php 
    require_once CHILD_DIR . '/lib/admin/boxes/design-import-export.php';
    ?>
			</div>
		
			<?php 
    require_once CHILD_DIR . '/lib/admin/boxes/design-image-uploader.php';
    ?>
			
			<div id="dynamik-admin-footer">
				<p>
					<a href="http://cobaltapps.com" target="_blank">CobaltApps.com</a> | <a href="https://dynamiktheme.desk.com/" target="_blank">Resources</a> | <a href="http://cobaltapps.com/my-account/" target="_blank">My Account</a> | <a href="http://cobaltapps.com/forum/" target="_blank">Community Forum</a> | <a href="http://cobaltapps.com/affiliates/" target="_blank">Affiliates</a> &middot;
					<a><span id="show-options-reset" class="dynamik-custom-fonts-button button" style="margin:0; float:none !important;"><?php 
    _e('Design Options Reset', 'dynamik');
    ?>
</span></a>
				</p>
			</div>
			
			<div style="display:none; position:inherit; height:25px; width:660px; margin:-11px 0 0 60px; float:left;" id="show-options-reset-box" class="dynamik-custom-fonts-box">
				<form style="width:530px; float:left;" id="dynamik-reset-design-options" method="post">
					<strong><?php 
    _e('**This Will Reset ALL Your Dynamik Design Options**', 'dynamik');
    ?>
</strong>
					<input style="background:#D54E21; width:160px !important; color:#FFFFFF !important; text-shadow: 0 0 0 #fff;" type="submit" value="<?php 
    _e('Reset Design Options', 'dynamik');
    ?>
" class="dynamik-reset button" name="Submit" onClick='return confirm("<?php 
    _e('Are you sure your want to reset your Dynamik Design Options?', 'dynamik');
    ?>
")'/><input type="hidden" name="action" value="reset" />
				</form>
				
				<form style="width:130px; float:left;" id="dynamik-undo-design-options" method="post">
					<input type="submit" value="<?php 
    _e('Undo Last Save', 'dynamik');
    ?>
" class="dynamik-undo button" name="Submit" onClick='return confirm("<?php 
    _e('Are you sure your want to undo your last Design Options Save?', 'dynamik');
    ?>
")'/><input type="hidden" name="action" value="undo" />
				</form>
			</div>
		</div>
	</div> <!-- Close Wrap -->
<?php 
}
Exemple #18
0
_e('px |', 'dynamik');
?>
				<?php 
_e('Bottom', 'dynamik');
?>
				<input type="text" id="dynamik-sb-li-padding-bottom" name="dynamik[sb_li_padding_bottom]" value="<?php 
dynamik_design_options_defaults(true, 'sb_li_padding_bottom');
?>
" style="width:35px;" /><?php 
_e('px |', 'dynamik');
?>
				<?php 
_e('Left', 'dynamik');
?>
				<input type="text" id="dynamik-sb-li-padding-left" name="dynamik[sb_li_padding_left]" value="<?php 
dynamik_design_options_defaults(true, 'sb_li_padding_left');
?>
" style="width:35px;" /><?php 
_e('px', 'dynamik');
?>
			</p>
		</div>
		
		</div><!-- End .dynamik-design-standard-hide -->
		
		<div class="dynamik-design-option-desc">
			<p><?php 
_e('Sidebar List-Style', 'dynamik');
?>
</p>
		</div>
Exemple #19
0
				<input type="text" id="dynamik-search-button-padding-right" name="dynamik[search_button_padding_right]" value="<?php 
dynamik_design_options_defaults(true, 'search_button_padding_right');
?>
" style="width:35px;" /><?php 
_e('px |', 'dynamik');
?>
				<?php 
_e('Bottom', 'dynamik');
?>
				<input type="text" id="dynamik-search-button-padding-bottom" name="dynamik[search_button_padding_bottom]" value="<?php 
dynamik_design_options_defaults(true, 'search_button_padding_bottom');
?>
" style="width:35px;" /><?php 
_e('px |', 'dynamik');
?>
				<?php 
_e('Left', 'dynamik');
?>
				<input type="text" id="dynamik-search-button-padding-left" name="dynamik[search_button_padding_left]" value="<?php 
dynamik_design_options_defaults(true, 'search_button_padding_left');
?>
" style="width:35px;" /><?php 
_e('px', 'dynamik');
?>
			</p>
		</div>
		
		</div><!-- End .dynamik-design-standard-hide -->
		
	</div>
</div>