<?php

global $ci, $ci_defaults, $load_defaults;
if ($load_defaults === TRUE) {
    add_filter('ci_panel_tabs', 'ci_add_tab_twitter_options', 55);
    if (!function_exists('ci_add_tab_twitter_options')) {
        function ci_add_tab_twitter_options($tabs)
        {
            $tabs[sanitize_key(basename(__FILE__, '.php'))] = __('Twitter Options', 'ci_theme');
            return $tabs;
        }
    }
    // Default values for options go here.
    // $ci_defaults['option_name'] = 'default_value';
    // or
    // load_panel_snippet( 'snippet_name' );
    load_panel_snippet('twitter_api');
} else {
    ?>

	<?php 
    load_panel_snippet('twitter_api');
    ?>

<?php 
}
    load_panel_snippet('footer_text');
    load_panel_snippet('site_other');
} else {
    ?>

	<?php 
    load_panel_snippet('logo');
    ?>

	<?php 
    load_panel_snippet('favicon');
    ?>

	<?php 
    load_panel_snippet('touch_favicon');
    ?>

	<?php 
    load_panel_snippet('footer_text');
    ?>

	<?php 
    load_panel_snippet('sample_content');
    ?>

	<?php 
    load_panel_snippet('site_other');
    ?>

<?php 
}
Esempio n. 3
0
        }
    }
    // Default values for options go here.
    // $ci_defaults['option_name'] = 'default_value';
    // or
    // load_panel_snippet( 'snippet_name' );
    $ci_defaults['newsletter_action'] = '#';
    $ci_defaults['newsletter_email_id'] = 'e_id';
    $ci_defaults['newsletter_email_name'] = 'e_name';
    load_panel_snippet('newsletter_hidden_fields');
} else {
    ?>

	<fieldset class="set">
		<p class="guide"><?php 
    echo sprintf(__('This newsletter form can be used in combination with plugins or online providers such as <a href="%1$s">Campaign Monitor</a> and <a href="%2$s">MailChimp</a>. Please refer to their respective documentation if you need to know what the values of <b>Action</b>, <b>field names</b> and <b>field IDs</b> should be. Please note that if the <b>Action URL</b> is blank, then the form will not be displayed.', 'ci_theme'), 'http://www.campaignmonitor.com', 'http://www.mailchimp.com');
    ?>
</p>
		<?php 
    ci_panel_input('newsletter_action', __('Action URL', 'ci_theme'));
    ci_panel_input('newsletter_email_id', __('"Email" field ID', 'ci_theme'));
    ci_panel_input('newsletter_email_name', __('"Email" field name', 'ci_theme'));
    ?>
	</fieldset>

	<?php 
    load_panel_snippet('newsletter_hidden_fields');
    ?>

<?php 
}
<?php

global $ci, $ci_defaults, $load_defaults;
if ($load_defaults === TRUE) {
    add_filter('ci_panel_tabs', 'ci_add_tab_archive_options', 70);
    if (!function_exists('ci_add_tab_archive_options')) {
        function ci_add_tab_archive_options($tabs)
        {
            $tabs[sanitize_key(basename(__FILE__, '.php'))] = __('Archive Options', 'ci_theme');
            return $tabs;
        }
    }
    // Default values for options go here.
    // $ci_defaults['option_name'] = 'default_value';
    // or
    // load_panel_snippet( 'snippet_name' );
    load_panel_snippet('archive');
} else {
    ?>

	<?php 
    load_panel_snippet('archive');
    ?>

<?php 
}
<?php

global $ci, $ci_defaults, $load_defaults;
if ($load_defaults === TRUE) {
    add_filter('ci_panel_tabs', 'ci_add_tab_google_options', 60);
    if (!function_exists('ci_add_tab_google_options')) {
        function ci_add_tab_google_options($tabs)
        {
            $tabs[sanitize_key(basename(__FILE__, '.php'))] = __('Google Options', 'ci_theme');
            return $tabs;
        }
    }
    // Default values for options go here.
    // $ci_defaults['option_name'] = 'default_value';
    // or
    // load_panel_snippet( 'snippet_name' );
    load_panel_snippet('google_analytics');
} else {
    ?>

	<?php 
    load_panel_snippet('google_analytics');
    ?>

<?php 
}
Esempio n. 6
0
<?php

global $ci, $ci_defaults, $load_defaults;
if ($load_defaults === TRUE) {
    add_filter('ci_panel_tabs', 'ci_add_tab_google_options', 120);
    if (!function_exists('ci_add_tab_google_options')) {
        function ci_add_tab_google_options($tabs)
        {
            $tabs[sanitize_key(basename(__FILE__, '.php'))] = __('Google Options', 'ci_theme');
            return $tabs;
        }
    }
    // Default values for options go here.
    // $ci_defaults['option_name'] = 'default_value';
    // or
    // load_panel_snippet( 'snippet_name' );
    load_panel_snippet('google_analytics');
    load_panel_snippet('google_maps_api');
} else {
    ?>

	<?php 
    load_panel_snippet('google_analytics');
    ?>

	<?php 
    load_panel_snippet('google_maps_api');
    ?>

<?php 
}
<?php

global $ci, $ci_defaults, $load_defaults;
if ($load_defaults === TRUE) {
    add_filter('ci_panel_tabs', 'ci_add_tab_buysellads_options', 80);
    if (!function_exists('ci_add_tab_buysellads_options')) {
        function ci_add_tab_buysellads_options($tabs)
        {
            $tabs[sanitize_key(basename(__FILE__, '.php'))] = __('BuySellAds Options', 'ci_theme');
            return $tabs;
        }
    }
    // Default values for options go here.
    // $ci_defaults['option_name'] = 'default_value';
    // or
    // load_panel_snippet( 'snippet_name' );
    load_panel_snippet('buysellads');
} else {
    ?>

	<?php 
    load_panel_snippet('buysellads');
    ?>

<?php 
}
        }
    }
    // Default values for options go here.
    // $ci_defaults['option_name'] = 'default_value';
    // or
    // load_panel_snippet( 'snippet_name' );
    $ci_defaults['front_video_posts'] = '4';
    $ci_defaults['front_normal_posts'] = '3';
    load_panel_snippet('slider_flexslider');
} else {
    ?>

	<fieldset class="set">
		<p class="guide"><?php 
    _e("Set how many normal and how many video posts to appear on the homepage. As the video posts are displayed in two columns, it's recommended that you set a multiple of 2 (e.g. 4, 6, 8, etc).", 'ci_theme');
    ?>
</p>
		<?php 
    ci_panel_input('front_video_posts', __('Number of video posts', 'ci_theme'));
    ?>
		<?php 
    ci_panel_input('front_normal_posts', __('Number of normal posts', 'ci_theme'));
    ?>
	</fieldset>

	<?php 
    load_panel_snippet('slider_flexslider');
    ?>

<?php 
}
Esempio n. 9
0
<?php

global $ci, $ci_defaults, $load_defaults;
if ($load_defaults === TRUE) {
    add_filter('ci_panel_tabs', 'ci_add_tab_feedburner_options', 130);
    if (!function_exists('ci_add_tab_feedburner_options')) {
        function ci_add_tab_feedburner_options($tabs)
        {
            $tabs[sanitize_key(basename(__FILE__, '.php'))] = __('FeedBurner Options', 'ci_theme');
            return $tabs;
        }
    }
    // Default values for options go here.
    // $ci_defaults['option_name'] = 'default_value';
    // or
    // load_panel_snippet( 'snippet_name' );
    load_panel_snippet('feedburner');
} else {
    ?>

	<?php 
    load_panel_snippet('feedburner');
    ?>

<?php 
}
<?php

global $ci, $ci_defaults, $load_defaults;
if ($load_defaults === TRUE) {
    add_filter('ci_panel_tabs', 'ci_add_tab_custom_css', 100);
    if (!function_exists('ci_add_tab_custom_css')) {
        function ci_add_tab_custom_css($tabs)
        {
            $tabs[sanitize_key(basename(__FILE__, '.php'))] = __('Custom CSS', 'ci_theme');
            return $tabs;
        }
    }
    // Default values for options go here.
    // $ci_defaults['option_name'] = 'default_value';
    // or
    // load_panel_snippet( 'snippet_name' );
    load_panel_snippet('custom_css');
} else {
    ?>

	<?php 
    load_panel_snippet('custom_css');
    ?>

<?php 
}
} else {
    ?>

	<?php 
    load_panel_snippet('pagination');
    ?>

	<style type="text/css">
		#ci-panel-excerpt-preview-content,
		#ci-panel-excerpt-read-more {
			display: none;
		}
	</style>
	<?php 
    load_panel_snippet('excerpt');
    ?>

	<?php 
    load_panel_snippet('comments');
    ?>

	<?php 
    load_panel_snippet('featured_image_single');
    ?>

	<?php 
    load_panel_snippet('featured_image_fullwidth');
    ?>

<?php 
}
Esempio n. 12
0
    ?>
		<input type="hidden" class="uploaded-id" name="<?php 
    echo THEME_OPTIONS;
    ?>
[default_header_bg_hidden]" value="<?php 
    echo esc_attr($ci['default_header_bg_hidden']);
    ?>
"/>
	</fieldset>

	<fieldset class="set">
		<legend><?php 
    _e('Surrounding border', 'ci_theme');
    ?>
</legend>
		<p class="guide"><?php 
    _e('You can enable/disable the thick border that surrounds the website.', 'ci_theme');
    ?>
</p>
		<?php 
    $options = array('' => __('Show border', 'ci_theme'), 'noborder' => __("Don't show border", 'ci_theme'));
    ci_panel_dropdown('thick_border', $options, __('Surrounding border:', 'ci_theme'));
    ?>
	</fieldset>

	<?php 
    load_panel_snippet('custom_background');
    ?>

<?php 
}