inkthemes_optionsframework_options_page

-----------------------------------------------------------------------------------.

Description

inkthemes_optionsframework_options_page(); 

Usage

  1. if ( !function_exists( 'inkthemes_optionsframework_options_page' ) ) { 
  2. require_once '/functions/admin-interface.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = inkthemes_optionsframework_options_page(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/functions/admin-interface.php  
  1. function inkthemes_optionsframework_options_page() { 
  2. $options = inkthemes_get_option('of_template'); 
  3. $themename = inkthemes_get_option('of_themename'); 
  4. ?> 
  5. <div class="trail-notify"> 
  6. <h1><?php _e('Get Black Rider Theme PRO!', 'blcr'); ?></h1> 
  7. <p><?php _e('You are Using the Lite Version of Black Rider Theme. Upgrade to Pro for extra features like Home Page Slider, Contact Page Template, Lead Capture form, FullWidth Page Template, Multiple Color Options and much more.</p> 
  8. <a href="http://www.inkthemes.com/wp-themes/blackriders-wordpress-theme/" target="blank">Upgrade to Black Rider Theme PRO Now →', 'blcr'); ?></a> 
  9. </div> 
  10. <div class="wrap" id="of_container"> 
  11. <div id="of-popup-save" class="of-save-popup"> 
  12. <div class="of-save-save"><?php _e('Options Updated', 'blcr'); ?></div> 
  13. </div> 
  14. <div id="of-popup-reset" class="of-save-popup"> 
  15. <div class="of-save-reset"><?php _e('Options Reset', 'blcr'); ?></div> 
  16. </div> 
  17. <form action="" enctype="multipart/form-data" id="ofform"> 
  18. <div id="header"> 
  19. <div class="logo"> 
  20. <h2><?php echo $themename; ?><?php _e('Options', 'blcr'); ?></h2> 
  21. </div> 
  22. <a href="http://www.inkthemes.com" target="_new"> 
  23. <div class="icon-option"> </div> 
  24. </a> 
  25. <div class="clear"></div> 
  26. </div> 
  27. <?php 
  28. // Rev up the Options Machine 
  29. $return = inkthemes_optionsframework_machine($options); 
  30. ?> 
  31. <div id="main"> 
  32. <div id="of-nav"> 
  33. <ul> 
  34. <?php echo $return[1] ?> 
  35. </ul> 
  36. </div> 
  37. <div id="content"> <?php echo $return[0]; /** Settings */ ?> </div> 
  38. <div class="clear"></div> 
  39. </div> 
  40. <div class="save_bar_top"> 
  41. <img style="display:none" src="<?php echo get_stylesheet_directory_uri(); ?>/functions/images/loading-bottom.gif" class="ajax-loading-img ajax-loading-img-bottom" alt="Working..." /> 
  42. <input type="submit" value="Save All Changes" class="button-primary" onclick="tinyMCE.triggerSave()" /> 
  43. </form> 
  44. <form action="<?php echo esc_attr($_SERVER['REQUEST_URI']) ?>" method="post" style="display:inline" id="ofform-reset"> 
  45. <span class="submit-footer-reset"> 
  46. <input name="reset" type="submit" value="Reset Options" class="button submit-button reset-button" onclick="return confirm('Click OK to reset. Any settings will be lost!');" /> 
  47. <input type="hidden" name="of_save" value="reset" /> 
  48. </span> 
  49. </form> 
  50. </div> 
  51. <?php if (!empty($update_message)) echo $update_message; ?> 
  52. <div style="clear:both;"></div> 
  53. </div> 
  54. <!--wrap--> 
  55. <?php