function optionsframework_page()
    {
        settings_errors();
        ?>

	<div id="optionsframework-wrap" class="wrap">
	<div class="proversion">
	  <h3>Upgrade to Pro version!</h3>
	   <a href="<?php 
        echo esc_url('http://www.pwtthemes.com/theme/hannari-responsive-wordpress-theme');
        ?>
" target="_blank" class="upgradepro">Upgrade to Pro</a>
	   <a href="<?php 
        echo esc_url('http://www.pwtthemes.com/demo/hannari');
        ?>
" target="_blank" class="donate">Demo</a>
	  <p>If you need assistance, please do not hesitate to <a href="<?php 
        echo esc_url('http://www.pwtthemes.com/contact');
        ?>
" target="_blank">contact us</a></p>
	</div>
    <div class="logooption"><img src="<?php 
        echo OPTIONS_FRAMEWORK_DIRECTORY;
        ?>
images/pwt.png"/></div>
    <h2 class="nav-tab-wrapper">
        <?php 
        echo optionsframework_tabs();
        ?>
    </h2>
    <div id="optionsframework-metabox" class="metabox-holder">
	    <div id="optionsframework" class="postbox">
			<form action="options.php" method="post">
			<?php 
        settings_fields('optionsframework');
        ?>
			<?php 
        optionsframework_fields();
        /* Settings */
        ?>
			<div id="optionsframework-submit">
				<input type="submit" class="button-primary" name="update" value="<?php 
        esc_attr_e('Save Options', 'options_framework_theme');
        ?>
" />
				<input type="submit" class="reset-button button-secondary" name="reset" value="<?php 
        esc_attr_e('Restore Defaults', 'options_framework_theme');
        ?>
" onclick="return confirm( '<?php 
        print esc_js(__('Click OK to reset. Any theme settings will be lost!', 'options_framework_theme'));
        ?>
' );" />
				<div class="clear"></div>
			</div>
			</form>
		</div> <!-- / #container -->
	</div>
	<?php 
        do_action('optionsframework_after');
        ?>
	</div> <!-- / .wrap -->
	
<?php 
    }
    function optionsframework_page()
    {
        settings_errors();
        ?>

	<div id="optionsframework-wrap" class="wrap">
    <?php 
        screen_icon('themes');
        ?>
    <h2 class="nav-tab-wrapper">
        <?php 
        echo optionsframework_tabs();
        ?>
    </h2>

    <div id="optionsframework-metabox" class="metabox-holder">
	    <div id="optionsframework" class="postbox">
			<form action="options.php" method="post">
			<?php 
        settings_fields('optionsframework');
        ?>
			<?php 
        optionsframework_fields();
        /* Settings */
        ?>
			<div id="optionsframework-submit">
				<input type="submit" class="button-primary" name="update" value="<?php 
        esc_attr_e('Save Options', 'options_framework_theme');
        ?>
" />
				<input type="submit" class="reset-button button-secondary" name="reset" value="<?php 
        esc_attr_e('Restore Defaults', 'options_framework_theme');
        ?>
" onclick="return confirm( '<?php 
        print esc_js(__('Click OK to reset. Any theme settings will be lost!', 'options_framework_theme'));
        ?>
' );" />
				<div class="clear"></div>
			</div>
			</form>
		</div> <!-- / #container -->
	</div>
	<?php 
        do_action('optionsframework_after');
        ?>
	</div> <!-- / .wrap -->
	
<?php 
    }
    function optionsframework_page()
    {
        settings_errors();
        ?>

	<div id="optionsframework-wrap" class="wrap">
		<div class="extern-links">
			<?php 
        $support_link = '//info.template-help.com/help/cms-blog-templates/wordpress/wordpress-tutorials/';
        $doc_link = '//info.template-help.com/help/quick-start-guide/wordpress-themes/master/index_en.html';
        if (class_exists('Woocommerce')) {
            $doc_link = '//www.templatemonster.com/help/quick-start-guide/woocommerce-themes/master/index_en.html';
        } elseif (function_exists('jigoshop_init')) {
            $doc_link = '//www.templatemonster.com/help/quick-start-guide/jigoshop-themes/master/index_en.html';
        }
        $language = get_bloginfo("language");
        switch ($language) {
            case 'ru-RU':
                $support_link = '//info.template-help.com/help/ru/cms-blog-templates/wordpress/wordpress-tutorials/';
                break;
            case 'es-ES':
                $support_link = '//info.template-help.com/help/es/cms-blog-templates/wordpress/wordpress-tutorials/';
                break;
            case 'de-DE':
                $support_link = '//info.template-help.com/help/de/cms-blog-templates/wordpress/wordpress-tutorials/';
                break;
        }
        echo '<a class="icon-a icon-support" href="' . $support_link . '" target="_blank"><span class="icon"><span>' . theme_locals("support") . '</span></span></a>';
        echo "<a class='icon-a icon-documentation' href='" . $doc_link . "' target='_blank'><span class='icon'><span>" . theme_locals('documentation') . "</span></span></a>";
        ?>
		</div>
		<div class="clear"></div>

	<h2 class="nav-tab-wrapper">
		<?php 
        echo optionsframework_tabs();
        ?>
	</h2>

	<div id="optionsframework-metabox" class="metabox-holder">
		<div id="optionsframework" class="postbox">
			<form action="options.php" method="post">
			<?php 
        settings_fields('optionsframework');
        ?>
			<?php 
        optionsframework_fields();
        /* Settings */
        ?>
			<div id="optionsframework-submit">
				<input type="submit" class="button-primary" name="update" value="<?php 
        echo theme_locals("save_options");
        ?>
" />
				<input type="submit" class="reset-button button-secondary" name="reset" value="<?php 
        echo theme_locals("restore_defaults");
        ?>
" onclick="return confirm( '<?php 
        echo theme_locals("restore_defaults_desc");
        ?>
' );" />
				<div class="clear"></div>
			</div>
			</form>
		</div> <!-- / #container -->
	</div>
	<?php 
        do_action('optionsframework_after');
        ?>
	</div> <!-- / .wrap -->
<?php 
    }
	function optionsframework_page() {
		settings_errors();
?>

	<div id="optionsframework-wrap" class="wrap">
		<div class="extern-links">
			<?php
				$locals	= "";
				if(get_bloginfo("language")=="ru_RU" || get_bloginfo("language")=="es_ES" || get_bloginfo("language")=="de_DE"){
					$locals = substr(get_bloginfo("language"), 0, 2)."/";
				}
				echo '<a class="icon-a icon-support" href="http://info.template-help.com/help/'.$locals.'cms-blog-templates/wordpress/wordpress-tutorials/" ><span class="icon"><span>'.theme_locals("support").'</span></span></a>';
				echo '<a class="icon-a icon-documentation" href="http://info.template-help.com/help/'.$locals.'wordpress-quick-start-guide.html" ><span class="icon"><span>'.theme_locals("documentation").'</span></span></a>';
			?>
		</div>
		<div class="clear"></div>
		
	<h2 class="nav-tab-wrapper">
		<?php echo optionsframework_tabs(); ?>
	</h2>

	<div id="optionsframework-metabox" class="metabox-holder">
		<div id="optionsframework" class="postbox">
			<form action="options.php" method="post">
			<?php settings_fields('optionsframework'); ?>
			<?php optionsframework_fields(); /* Settings */ ?>
			<div id="optionsframework-submit">
				<input type="submit" class="button-primary" name="update" value="<?php echo theme_locals("save_options"); ?>" />
				<input type="submit" class="reset-button button-secondary" name="reset" value="<?php echo theme_locals("restore_defaults"); ?>" onclick="return confirm( '<?php echo theme_locals("restore_defaults_desc"); ?>' );" />
				<div class="clear"></div>
			</div>
			</form>
		</div> <!-- / #container -->
	</div>
	<?php do_action('optionsframework_after'); ?>
	</div> <!-- / .wrap -->	
<?php
	}
    function optionsframework_page()
    {
        ?>

	<div id="optionsframework-wrap" class="wrap">
    <?php 
        screen_icon('themes');
        ?>
    <h2 class="nav-tab-wrapper">
        <?php 
        echo optionsframework_tabs();
        ?>
    </h2>

    <?php 
        settings_errors('options-framework');
        ?>

    <div id="optionsframework-metabox" class="metabox-holder">
	    <div id="optionsframework" class="postbox">
			<form action="options.php" method="post">
			<?php 
        settings_fields('optionsframework');
        ?>
			<?php 
        optionsframework_fields();
        /* Settings */
        ?>
			<div id="optionsframework-submit">
				<input type="submit" class="button-primary" name="update" value="<?php 
        esc_attr_e('保存设置', 'options_framework_theme');
        ?>
" />
				<input type="submit" class="reset-button button-secondary" name="reset" value="<?php 
        esc_attr_e('恢复默认', 'options_framework_theme');
        ?>
" onclick="return confirm( '<?php 
        print esc_js(__('如果单击“确定”会导致之前所有的设置都丢失,确定要这样做吗?', 'options_framework_theme'));
        ?>
' );" />
				<div class="clear"></div>
			</div>
			</form>
		</div> <!-- / #container -->
	</div>
	<?php 
        do_action('optionsframework_after');
        ?>
	</div> <!-- / .wrap -->

<?php 
    }
    function optionsframework_page()
    {
        settings_errors();
        ?>

	<div id="optionsframework-wrap" class="wrap">
    <?php 
        screen_icon('ibuddy');
        ?>
    <h2 class="nav-tab-wrapper">
        <?php 
        echo optionsframework_tabs();
        ?>
    </h2>
	<h3 id="ibuddy-doc">Need help? Check out the theme <a href="<?php 
        echo get_template_directory_uri() . '/documentation/';
        ?>
" target="_blank">Documentation</a>.</h3>
	<h3 id="ibuddy-thank">You wanna say thanks, please consider making a <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=L46CFL4B4UWSJ&lc=US&item_name=Ayman%20Al%20Zarrad&no_note=0&cn=Add%20special%20instructions%20to%20seller%3a&no_shipping=2&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted" target="_blank">Donation</a>.</h3>
    <div id="optionsframework-metabox" class="metabox-holder">
	    <div id="optionsframework" class="postbox">
			<form action="options.php" method="post">
			<?php 
        settings_fields('optionsframework');
        ?>
			<?php 
        optionsframework_fields();
        /* Settings */
        ?>
			<div id="optionsframework-submit">
				<input type="submit" class="button-primary" name="update" value="<?php 
        esc_attr_e('Save Options', 'options_framework_theme');
        ?>
" />
				<input type="submit" class="reset-button button-secondary" name="reset" value="<?php 
        esc_attr_e('Restore Defaults', 'options_framework_theme');
        ?>
" onclick="return confirm( '<?php 
        print esc_js(__('Click OK to reset. Any theme settings will be lost!', 'options_framework_theme'));
        ?>
' );" />
				<div class="clear"></div>
			</div>
			</form>
		</div> <!-- / #container -->
	</div>
	<?php 
        do_action('optionsframework_after');
        ?>
	</div> <!-- / .wrap -->
	
<?php 
    }
Esempio n. 7
0
    function optionsframework_page()
    {
        settings_errors('options-framework');
        ?>

	<div class="donate-info">
		<strong><?php 
        _e('To Activate All Features, Please Upgrade to Pro version!', 'advertica-lite');
        ?>
</strong><br/>
		<?php 
        $sktlink = "http://www.sketchthemes.com/themes/advertica-the-uber-clean-multipurpose-wordpress-theme/";
        $skttest_drive = "http://trial.sketchthemes.com/wp-signup.php";
        ?>
		<a title="<?php 
        esc_attr_e('Upgrade to Pro', 'advertica-lite');
        ?>
" href="<?php 
        echo esc_url($sktlink);
        ?>
" target="_blank" class="upgrade"><?php 
        _e('Upgrade to Pro', 'advertica-lite');
        ?>
</a>
		<a title="<?php 
        esc_attr_e('Setup Instructions', 'advertica-lite');
        ?>
" href="<?php 
        echo get_template_directory_uri() . '/Installation_Instructions.txt';
        ?>
" target="_blank" class="donate"><?php 
        _e('Setup Instructions', 'advertica-lite');
        ?>
</a>
		<?php 
        $sktratelink = "http://wordpress.org/support/view/theme-reviews/advertica-lite";
        ?>
		<a title="<?php 
        esc_attr_e('Rate Advertica Lite', 'advertica-lite');
        ?>
" href="<?php 
        echo esc_url($sktratelink);
        ?>
" target="_blank" class="review"><?php 
        _e('Rate Advertica Lite', 'advertica-lite');
        ?>
</a>
		<a title="<?php 
        _e('Test Drive', 'convac-lite');
        ?>
" href="<?php 
        echo esc_url($skttest_drive);
        ?>
" target="_blank" class="review"><?php 
        _e('Theme Test Drive', 'convac-lite');
        ?>
</a>
		<div id="social-share">
		<div class="fb-like">
			<iframe src="//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2FSketchThemes&amp;width&amp;layout=button_count&amp;action=like&amp;show_faces=true&amp;share=false&amp;height=21&amp;appId=333709623346310" scrolling="no" frameborder="0" style="border:none; overflow:hidden; height:21px;" allowTransparency="true"></iframe>
		</div>
	    	<div class="tw-follow" ><a href="https://twitter.com/sketchthemes" class="twitter-follow-button" data-show-count="false" data-size="small">Follow @sketchthemes</a></div>
			<script>
				!function (d, s, id) {
				var js, fjs = d.getElementsByTagName(s)[0];
				if (!d.getElementById(id)) {
				js = d.createElement(s);
				js.id = id;
				js.src = "//platform.twitter.com/widgets.js";
				fjs.parentNode.insertBefore(js, fjs);
				}
				}(document, "script", "twitter-wjs");
			</script>
		</div>	
	</div>

	<div id="optionsframework-wrap">
	
	<?php 
        if (isset($advertica_themename)) {
            ?>
	
   <h2><?php 
            _e('Theme Options ', 'advertica-lite');
            echo $advertica_themename;
            ?>
</h2>  
	
	<?php 
        }
        ?>
	
    <!--<h2 class="nav-tab-wrapper">
        <?php 
        echo optionsframework_tabs();
        ?>
    </h2>-->

    <div id="optionsframework-metabox" class="metabox-holder">
	    <div id="optionsframework" class="postbox">
			<form action="options.php" method="post">
				<div id="skt-of-header"><div class="skt-of-logo"></div><h2>SketchThemes Admin Panel</h2></div>
				<div id="skt-of-body">
				<div id="skt-of-sidebar" class="nav-tab-wrapper"><?php 
        echo optionsframework_tabs();
        ?>
</div>
				<div id="skt-of-content">
				<?php 
        settings_fields('optionsframework');
        ?>
				<?php 
        optionsframework_fields();
        /* Settings */
        ?>
				</div> <!-- / #skt-of-content -->
				<div id="optionsframework-submit">
					<input type="submit" class="button-primary" name="update" value="<?php 
        esc_attr_e('Save Options', 'optionsframework');
        ?>
" />
					<input type="submit" class="reset-button button-secondary" name="reset" value="<?php 
        esc_attr_e('Restore Defaults', 'optionsframework');
        ?>
" onclick="return confirm( '<?php 
        print esc_js(__('Click OK to reset. Any theme settings will be lost!', 'advertica-lite'));
        ?>
' );" />
					<div class="clear"></div>
				</div> <!-- / #optionsframework-submit -->
				</div> <!-- / #skt-of-body -->
				<input type="submit" id="advertica_submit" class="button-primary" name="update" value="<?php 
        esc_attr_e('Save Options', 'advertica-lite');
        ?>
" />
			</form>
		</div> <!-- / #container -->
	</div>
	<?php 
        do_action('optionsframework_after');
        ?>
	</div> <!-- / .wrap -->
	
<?php 
    }
Esempio n. 8
0
    function optionsframework_page()
    {
        //$return = optionsframework_fields();
        ?>
    <div class="options_wrap">
	<div class="wrap">

	<div class="clear"></div>
	<form method="post"> 
		<?php 
        /* Top buttons */
        ?>
		<div id="optionsframework-submit">
			<div class="optionsframework-submit-inner">
				<span><?php 
        echo get_screen_icon($screen = 'settings');
        ?>
				<div class="options-title">Theme Options</div>
				<input type="submit" class="button-primary topbutton-right" name="update" value="<?php 
        esc_attr_e('Save Options');
        ?>
" />

				</span>
				
	            <div class="clear"></div>
				<?php 
        settings_errors();
        ?>
			</div>
		</div>
    <div class="nav-tab-wrapper">
        <?php 
        echo optionsframework_tabs();
        ?>
    </div>
    
    <div class="metabox-holder">

    <div id="optionsframework" class="postbox">
		
		<?php 
        settings_fields('optionsframework');
        ?>

		<?php 
        optionsframework_fields();
        /* Settings */
        ?>
        
        <?php 
        /* Bottom buttons */
        ?>
        <div id="optionsframework-reset">
        	<?php 
        echo '<input type="hidden" name="mtheme_options_nonce" value="', wp_create_nonce(basename(__FILE__)), '" />';
        ?>
			<input type="submit" class="button-primary" name="update" value="<?php 
        esc_attr_e('Save Options');
        ?>
" />
            <input type="submit" class="reset-button button-secondary" name="reset" value="<?php 
        esc_attr_e('Restore Defaults');
        ?>
" onclick="return confirm( '<?php 
        print esc_js(__('Click OK to reset. Any theme settings will be lost!', 'mthemelocal'));
        ?>
' );" />
            <div class="clear"></div>
		</div>
	
	</div> <!-- / #container -->
	</div>
</form>
</div>
</div> <!-- / .wrap -->

<?php 
    }
Esempio n. 9
0
    function optionsframework_page()
    {
        settings_errors();
        ?>

	<div id="optionsframework-wrap" class="wrap">
    <h2 class="nav-tab-wrapper">
        <?php 
        echo optionsframework_tabs();
        ?>
    </h2>
    <div id="optionsframework-metabox" class="metabox-holder">
		<div style="padding-bottom:10px;"><a href="<?php 
        echo 'http://www.sktthemes.net/shop/skt_parallax_me_pro/';
        ?>
" target="_blank">Buy PRO version for only $39 with more features.</a></div>
    	<div style="clear:both"></div>
	    <div id="optionsframework" class="postbox" style="width:72%; float:left;" >
			<form action="options.php" method="post">
			<?php 
        settings_fields('optionsframework');
        ?>
			<?php 
        optionsframework_fields();
        /* Settings */
        ?>
			<div id="optionsframework-submit">
				<input type="submit" class="button-primary" name="update" value="<?php 
        esc_attr_e('Save Options', 'options_framework_theme');
        ?>
" />
				<input type="submit" class="reset-button button-secondary" name="reset" value="<?php 
        esc_attr_e('Restore Defaults', 'options_framework_theme');
        ?>
" onclick="return confirm( '<?php 
        print esc_js(__('Click OK to reset. Any theme settings will be lost!', 'options_framework_theme'));
        ?>
' );" />
				<div class="clear"></div>
			</div>
			</form>
		</div> <!-- / #container -->


        <div style="width:25%; float:right;" class="postbox-container side">
            <div class="meta-box-sortables ui-sortable">
                <div class="postbox">
                    <h3 class="hndle"><span>Our Themes</span></h3>
                    <div class="inside">
						<p><a target="_blank" href="http://www.sktthemes.net/themes"><img style="max-width:100%" src="<?php 
        echo get_template_directory_uri();
        ?>
/images/sktskill.jpg"></a></p>
                    </div>
                </div>
                <div class="postbox">
                    <h3 class="hndle"><span>Support</span></h3>
                    <div class="inside">
                        <p><em>For support email us at <strong>support@sktthemes.com</strong></em></p>
                    </div>
                </div>

            </div>
        </div>


	</div>
	<?php 
        do_action('optionsframework_after');
        ?>
	</div> <!-- / .wrap -->
	
<?php 
    }
Esempio n. 10
0
    function optionsframework_page()
    {
        $imagepath = get_stylesheet_directory_uri() . '/inc/images/';
        ?>

<div class="option_main_wrap">
   <div class="message_alert"> 
<?php 
        settings_errors();
        ?>
</div>
	<div class="option_wrap">    
	<?php 
        $my_theme = wp_get_theme();
        ?>
	<div class="manu_wraper">
	<div class="logo">
    
		<a href="<?php 
        echo $my_theme->get('ThemeURI');
        ?>
" target="_blank"><img src="<?php 
        echo $imagepath;
        ?>
logo.png"></a>
	</div> <!--End Logo-->
    <ul class="option-tab-wrapper nav-tab-wrapper">
		<?php 
        echo optionsframework_tabs();
        ?>
    </ul>
	</div> <!--End Left-->

	<?php 
        //screen_icon( 'themes' );
        ?>
<form action="options.php" method="post">        
<div class="content_wraper">
  <div class="links">
<div class="author_theme">
<img src="<?php 
        echo get_stylesheet_directory_uri();
        ?>
/screenshot.png" />
<?php 
        echo '<h2><a href="' . $my_theme->get('ThemeURI') . '">' . $my_theme->{'Name'} . "</a></h2>";
        echo "<p>" . $my_theme->{'Description'} . "<p>";
        echo "<p class='version'>Version: " . $my_theme->{'Version'} . "<p>";
        ?>
</div>
<div class="save_theme">
<input type="submit" class="button-primary top-button" name="update" value="<?php 
        esc_attr_e('Save Options', 'options_framework_theme');
        ?>
" />
	   </div>
        </div>
  
  
    <div id="optionsframework-metabox" class="metabox-holder">
	    <div id="optionsframework" class="postbox">
			<?php 
        settings_fields('optionsframework');
        ?>
			<?php 
        optionsframework_fields();
        /* Settings */
        ?>
			<div id="optionsframework-submit">
				<input type="submit" class="button-primary" name="update" value="<?php 
        esc_attr_e('Save Options', 'options_framework_theme');
        ?>
" />
				<input type="submit" class="reset-button button-secondary" name="reset" value="<?php 
        esc_attr_e('Restore Defaults', 'options_framework_theme');
        ?>
" onclick="return confirm( '<?php 
        print esc_js(__('Click OK to reset. Any theme settings will be lost!', 'options_framework_theme'));
        ?>
' );" />
				<div class="clear"></div>
			</div>
		</div> <!-- / #container -->

	<?php 
        do_action('optionsframework_after');
        ?>
	</div> <!-- / .wrap -->
		</form>

		
<?php 
    }
    function optionsframework_page()
    {
        settings_errors('options-framework');
        ?>

	<div class="donate-info">
		<strong><?php 
        _e('To Activate All Features, Please Upgrade to Pro version!', 'invert');
        ?>
</strong><br/>
		<?php 
        $sktlink = "https://sketchthemes.com/premium-themes/multipurpose-business-wordpress-theme-for-corporate-agency/";
        $skttest_drive = "http://trial.sketchthemes.com/wp-signup.php";
        ?>
		<a title="<?php 
        esc_attr_e('Upgrade to Pro', 'invert');
        ?>
" href="<?php 
        echo esc_url($sktlink);
        ?>
" target="_blank" class="upgrade"><?php 
        _e('Upgrade to Pro', 'invert');
        ?>
</a>
		<a title="<?php 
        esc_attr_e('Setup Instructions', 'invert');
        ?>
" href="<?php 
        echo get_template_directory_uri() . '/Installation_Instructions.txt';
        ?>
" target="_blank" class="donate"><?php 
        _e('Setup Instructions', 'invert');
        ?>
</a>
		<?php 
        $sktratelink = "http://wordpress.org/support/view/theme-reviews/invert-lite";
        ?>
		<a title="<?php 
        esc_attr_e('Rate Invert Lite', 'invert');
        ?>
" href="<?php 
        echo esc_url($sktratelink);
        ?>
" target="_blank" class="review"><?php 
        _e('Rate Invert Lite', 'invert');
        ?>
</a>
		<a title="<?php 
        _e('Test Drive', 'invert');
        ?>
" href="<?php 
        echo esc_url($skttest_drive);
        ?>
" target="_blank" class="review"><?php 
        _e('Theme Test Drive', 'invert');
        ?>
</a>
	</div>

	<div id="optionsframework-wrap">
	
	<?php 
        if (isset($invert_themename)) {
            ?>
	
   <h2><?php 
            _e('Theme Options ', 'invert');
            echo $invert_themename;
            ?>
</h2>  
	
	<?php 
        }
        ?>
	
    <!--<h2 class="nav-tab-wrapper">
        <?php 
        echo optionsframework_tabs();
        ?>
    </h2>-->

    <div id="optionsframework-metabox" class="metabox-holder">
	    <div id="optionsframework" class="postbox">
			<form action="options.php" method="post">
				<div id="skt-of-header"><div class="skt-of-logo"></div><h2><?php 
        esc_attr_e('SketchThemes Admin Panel', 'optionsframework');
        ?>
</h2></div>
				<div id="skt-of-body">
				<div id="skt-of-sidebar" class="nav-tab-wrapper"><?php 
        echo optionsframework_tabs();
        ?>
</div>
				<div id="skt-of-content">
				<?php 
        settings_fields('optionsframework');
        ?>
				<?php 
        optionsframework_fields();
        /* Settings */
        ?>
				</div> <!-- / #skt-of-content -->
				<div id="optionsframework-submit">
					<input type="submit" class="button-primary" name="update" value="<?php 
        esc_attr_e('Save Options', 'optionsframework');
        ?>
" />
					<input type="submit" class="reset-button button-secondary" name="reset" value="<?php 
        esc_attr_e('Restore Defaults', 'optionsframework');
        ?>
" onclick="return confirm( '<?php 
        print esc_js(__('Click OK to reset. Any theme settings will be lost!', 'invert'));
        ?>
' );" />
					<div class="clear"></div>
				</div> <!-- / #optionsframework-submit -->
				</div> <!-- / #skt-of-body -->
				</form>
		</div> <!-- / #container -->
	</div>
	<?php 
        do_action('optionsframework_after');
        ?>
	</div> <!-- / .wrap -->
	
<?php 
    }
Esempio n. 12
0
    function optionsframework_page()
    {
        settings_errors('options-framework');
        ?>
	<div id="optionsframework-wrap" class="wrap">
		<!--?php echo get_screen_icon( $screen = 'settings'); ?-->
		<div class="framework-info">
			<h1><?php 
        bloginfo('name');
        $my_theme_version = wp_get_theme();
        ?>
</h1>
			<span>Administration Panel<?php 
        echo " | version " . $my_theme_version->get('Version');
        ?>
</span>
		</div>
		<div class="clear"></div>
		<div style="float:left; width:220px; background:#86badf; margin-top:12px; margin-right:12px; ">
    <ul style="background:#86badf;" class="nav-tab-wrapper">
        <?php 
        echo optionsframework_tabs();
        ?>
    </ul>
</div>
    <div style="float:left;" id="optionsframework-metabox" class="metabox-holder">
	    <div id="optionsframework" class="postbox">
			<form class="jqtransform" action="options.php" method="post">
			<div id="optionsframework-submit-top">
				<input type="submit" class="button-primary" name="update" value="<?php 
        esc_attr_e('Save Options', HS_CURRENT_THEME);
        ?>
" />
				<input type="submit" class="reset-button button-secondary" name="reset" value="<?php 
        esc_attr_e('Restore Defaults', HS_CURRENT_THEME);
        ?>
" onclick="return confirm( '<?php 
        print esc_js(__('Click OK to reset. Any theme settings will be lost!', HS_CURRENT_THEME));
        ?>
' );" />
				<div class="clear"></div>
			</div>
			<?php 
        settings_fields('optionsframework');
        ?>
			<?php 
        optionsframework_fields();
        /* Settings */
        ?>
			<div id="optionsframework-submit">
				<input type="submit" class="button-primary" name="update" value="<?php 
        esc_attr_e('Save Options', HS_CURRENT_THEME);
        ?>
" />
				<input type="submit" class="reset-button button-secondary" name="reset" value="<?php 
        esc_attr_e('Restore Defaults', HS_CURRENT_THEME);
        ?>
" onclick="return confirm( '<?php 
        print esc_js(__('Click OK to reset. Any theme settings will be lost!', HS_CURRENT_THEME));
        ?>
' );" />
				<div class="clear"></div>
			</div>
			</form>
		</div> <!-- / #container -->
	</div>
	<?php 
        do_action('optionsframework_after');
        ?>
	<div style="clear:both;"></div>
	</div> <!-- / .wrap -->
	
<?php 
    }
    function optionsframework_page()
    {
        settings_errors();
        ?>
    <?php 
        $theme = wp_get_theme();
        if ($theme->name == 'Corpo') {
            ?>
    <div id="optionsframework-themepromo">
        <h2><?php 
            _e('Upgrade to Corpo Pro!', 'corpo');
            ?>
</h2>
        <p><?php 
            _e('All Corpo features plus <b>custom typography, unlimited colors, filterable portfolio</b> and more!', 'corpo');
            ?>
 <a href="http://webtuts.pl/corpo-pro/"><?php 
            _e('Buy now!', 'corpo');
            ?>
</a></p>
	</div>
    <?php 
        }
        ?>

    <div id="optionsframework-wrap" class="wrap">
    <?php 
        screen_icon('themes');
        ?>
    <h2 class="nav-tab-wrapper">
        <?php 
        echo optionsframework_tabs();
        ?>
    </h2>

    <div id="optionsframework-metabox" class="metabox-holder">
	    <div id="optionsframework" class="postbox">
			<form action="options.php" method="post">
			<?php 
        settings_fields('optionsframework');
        ?>
			<?php 
        optionsframework_fields();
        /* Settings */
        ?>
			<div id="optionsframework-submit">
				<input type="submit" class="button-primary" name="update" value="<?php 
        esc_attr_e('Save Options', 'options_framework_theme');
        ?>
" />
				<input type="submit" class="reset-button button-secondary" name="reset" value="<?php 
        esc_attr_e('Restore Defaults', 'options_framework_theme');
        ?>
" onclick="return confirm( '<?php 
        print esc_js(__('Click OK to reset. Any theme settings will be lost!', 'options_framework_theme'));
        ?>
' );" />
				<div class="clear"></div>
			</div>
			</form>
		</div> <!-- / #container -->
	</div>
	<?php 
        do_action('optionsframework_after');
        ?>
	</div> <!-- / .wrap -->
	
<?php 
    }
    function optionsframework_page()
    {
        settings_errors();
        ?>
    <?php 
        $theme = wp_get_theme();
        if ($theme->name == 'Delicacy') {
            ?>

<!-- XTEC ************ ELIMINAT - Treure el boto de compra
2013.09.05 @jmiro227
    <div id="optionsframework-themepromo">
        <h2><?php 
            _e('Upgrade to Delicacy Pro!', 'delicacy');
            ?>
</h2>
        <p><?php 
            _e('All Delicacy features plus <b>responsive design</b>, unlimited <b>color schemes</b> and <b>lifetime updates</b>.', 'more');
            ?>
 <a href="http://webtuts.pl/delicacy-pro/"><?php 
            _e('Buy now!', 'delicacy');
            ?>
</a></p>
	</div>
************ FI -->

    <?php 
        }
        ?>
    <div id="optionsframework-wrap" class="wrap">
    <?php 
        screen_icon('themes');
        ?>
    <h2 class="nav-tab-wrapper">
        <?php 
        echo optionsframework_tabs();
        ?>
    </h2>

    <div id="optionsframework-metabox" class="metabox-holder">
	    <div id="optionsframework" class="postbox">
			<form action="options.php" method="post">
			<?php 
        settings_fields('optionsframework');
        ?>
			<?php 
        optionsframework_fields();
        /* Settings */
        ?>
			<div id="optionsframework-submit">
				<input type="submit" class="button-primary" name="update" value="<?php 
        esc_attr_e('Save Options', 'options_framework_theme');
        ?>
" />
				<input type="submit" class="reset-button button-secondary" name="reset" value="<?php 
        esc_attr_e('Restore Defaults', 'options_framework_theme');
        ?>
" onclick="return confirm( '<?php 
        print esc_js(__('Click OK to reset. Any theme settings will be lost!', 'options_framework_theme'));
        ?>
' );" />
				<div class="clear"></div>
			</div>
			</form>
		</div> <!-- / #container -->
	</div>
	<?php 
        do_action('optionsframework_after');
        ?>
	</div> <!-- / .wrap -->
	
<?php 
    }
    function optionsframework_page()
    {
        if (presscore_options_debug()) {
            $wrap_class = ' of-debug';
        } else {
            $wrap_class = '';
        }
        ?>

	<div id="optionsframework-wrap" class="wrap<?php 
        echo esc_attr($wrap_class);
        ?>
">

		<h1><?php 
        echo esc_html(get_admin_page_title());
        ?>
</h1>

		<?php 
        settings_errors('options-framework');
        ?>

		<h2 class="nav-tab-wrapper hide-if-js"><?php 
        echo optionsframework_tabs();
        ?>
</h2>

		<?php 
        do_action('optionsframework_before');
        ?>

		<div id="optionsframework-metabox" class="metabox-holder">
			<div id="optionsframework">
				<form action="options.php" method="post">
					<?php 
        settings_fields('optionsframework');
        ?>
					<?php 
        optionsframework_fields();
        /* Settings */
        ?>

					<div id="submit-wrap">
						<div id="optionsframework-submit">
							<input type="submit" class="button-primary" name="update" value="<?php 
        esc_attr_e('Save Options', 'the7mk2');
        ?>
" />
							<input type="submit" class="reset-button button-secondary" name="reset" value="<?php 
        esc_attr_e('Restore Defaults', 'the7mk2');
        ?>
" onclick="return confirm( '<?php 
        print esc_js(__('Click OK to restore default settings on this page!', 'the7mk2'));
        ?>
' );" />
							<div class="clear"></div>
						</div>
					</div>

					<?php 
        do_action('optionsframework_after_options');
        ?>

				</form>
			</div> <!-- / #container -->
		</div>

		<?php 
        do_action('optionsframework_after');
        ?>

	</div> <!-- / .wrap -->

<?php 
    }