PageRenderTime 43ms CodeModel.GetById 17ms RepoModel.GetById 0ms app.codeStats 0ms

/wp-content/plugins/wptouch/html/style-area.php

https://bitbucket.org/crypticrod/sr_wp_code
PHP | 100 lines | 93 code | 7 blank | 0 comment | 42 complexity | b0f1e49013ec5e7c72044789283a846d MD5 | raw file
Possible License(s): AGPL-1.0, GPL-2.0, LGPL-2.1, GPL-3.0, LGPL-2.0, AGPL-3.0
  1. <?php global $wptouch_settings; ?>
  2. <div class="metabox-holder">
  3. <div class="postbox">
  4. <h3><span class="style-options">&nbsp;</span><?php _e( "Style &amp; Color Options", "wptouch" ); ?></h3>
  5. <div class="left-content skins-left-content">
  6. <p><?php _e( "Here you can customize some of the more visible features of WPtouch.", "wptouch" ); ?></p>
  7. </div>
  8. <div class="right-content skins-fixed">
  9. <!-- Default skin -->
  10. <div class="skins-desc" id="default-skin">
  11. <p><?php _e( "The default WPtouch theme emulates a native iPhone application.", "wptouch" ); ?></p>
  12. <ul class="wptouch-make-li-italic">
  13. <li><select name="style-background">
  14. <option <?php if ($wptouch_settings['style-background'] == "crossed-stripes-wptouch-bg") echo " selected"; ?> value="crossed-stripes-wptouch-bg">
  15. <?php _e( "Crossed Stripes (New)", "wptouch" ); ?>
  16. </option>
  17. <option <?php if ($wptouch_settings['style-background'] == "fiber-wptouch-bg") echo " selected"; ?> value="fiber-wptouch-bg">
  18. <?php _e( "Fiber (New)", "wptouch" ); ?>
  19. </option>
  20. <option <?php if ($wptouch_settings['style-background'] == "light-noise-diagonal-wptouch-bg") echo " selected"; ?> value="light-noise-diagonal-wptouch-bg">
  21. <?php _e( "Light Noise Diagonal (New)", "wptouch" ); ?>
  22. </option>
  23. <option <?php if ($wptouch_settings['style-background'] == "low-contrast-linen-wptouch-bg") echo " selected"; ?> value="low-contrast-linen-wptouch-bg">
  24. <?php _e( "Low Contrast Linen (New)", "wptouch" ); ?>
  25. </option>
  26. <option <?php if ($wptouch_settings['style-background'] == "random-grey-wptouch-bg") echo " selected"; ?> value="random-grey-wptouch-bg">
  27. <?php _e( "Random Grey (New)", "wptouch" ); ?>
  28. </option>
  29. <option <?php if ($wptouch_settings['style-background'] == "stitched-wool-wptouch-bg") echo " selected"; ?> value="stitched-wool-wptouch-bg">
  30. <?php _e( "Stitched Wool (New)", "wptouch" ); ?>
  31. </option>
  32. <option <?php if ($wptouch_settings['style-background'] == "white-carbon-wptouch-bg") echo " selected"; ?> value="white-carbon-wptouch-bg">
  33. <?php _e( "White Carbon (New)", "wptouch" ); ?>
  34. </option>
  35. <option <?php if ($wptouch_settings['style-background'] == "white-carbon-fiber-wptouch-bg") echo " selected"; ?> value="white-carbon-fiber-wptouch-bg">
  36. <?php _e( "White Carbon Fiber (New)", "wptouch" ); ?>
  37. </option>
  38. <option <?php if ($wptouch_settings['style-background'] == "classic-wptouch-bg") echo " selected"; ?> value="classic-wptouch-bg">
  39. <?php _e( "Classic", "wptouch" ); ?>
  40. </option>
  41. <option <?php if ($wptouch_settings['style-background'] == "horizontal-wptouch-bg") echo " selected"; ?> value="horizontal-wptouch-bg">
  42. <?php _e( "Horizontal Grey", "wptouch" ); ?>
  43. </option>
  44. <option <?php if ($wptouch_settings['style-background'] == "diagonal-wptouch-bg") echo " selected"; ?> value="diagonal-wptouch-bg">
  45. <?php _e( "Diagonal Grey", "wptouch" ); ?>
  46. </option>
  47. <option <?php if ($wptouch_settings['style-background'] == "skated-wptouch-bg") echo " selected"; ?> value="skated-wptouch-bg">
  48. <?php _e( "Skated Concrete", "wptouch" ); ?>
  49. </option>
  50. <option <?php if ($wptouch_settings['style-background'] == "argyle-wptouch-bg") echo " selected"; ?> value="argyle-wptouch-bg">
  51. <?php _e( "Argyle Tie", "wptouch" ); ?>
  52. </option>
  53. <option <?php if ($wptouch_settings['style-background'] == "grid-wptouch-bg") echo " selected"; ?> value="grid-wptouch-bg">
  54. <?php _e( "Thatches", "wptouch" ); ?>
  55. </option>
  56. </select>
  57. <?php _e( "Background", "wptouch" ); ?>
  58. </li>
  59. <li><select name="h2-font">
  60. <option <?php if ($wptouch_settings['h2-font'] == "Helvetica Neue") echo " selected"; ?> value="Helvetica Neue">
  61. <?php _e( "Helvetica Neue", "wptouch" ); ?>
  62. </option>
  63. <option <?php if ($wptouch_settings['h2-font'] == "Helvetica") echo " selected"; ?> value="Helvetica">
  64. <?php _e( "Helvetica", "wptouch" ); ?>
  65. </option>
  66. <option <?php if ($wptouch_settings['h2-font'] == "thonburi-font") echo " selected"; ?> value="thonburi-font">
  67. <?php _e( "Thonburi", "wptouch" ); ?>
  68. </option>
  69. <option <?php if ($wptouch_settings['h2-font'] == "Georgia") echo " selected"; ?> value="Georgia">
  70. <?php _e( "Georgia", "wptouch" ); ?>
  71. </option>
  72. <option <?php if ($wptouch_settings['h2-font'] == "Geeza Pro") echo " selected"; ?> value="Geeza Pro">
  73. <?php _e( "Geeza Pro", "wptouch" ); ?>
  74. </option>
  75. <option <?php if ($wptouch_settings['h2-font'] == "Verdana") echo " selected"; ?> value="Verdana">
  76. <?php _e( "Verdana", "wptouch" ); ?>
  77. </option>
  78. <option <?php if ($wptouch_settings['h2-font'] == "Arial Rounded MT Bold") echo " selected"; ?> value="Arial Rounded MT Bold">
  79. <?php _e( "Arial Rounded MT Bold", "wptouch" ); ?>
  80. </option>
  81. </select>
  82. <?php _e( "Post Title H2 Font", "wptouch" ); ?>
  83. </li>
  84. <li>#<input type="text" id="header-text-color" name="header-text-color" value="<?php echo $wptouch_settings['header-text-color']; ?>" /><?php _e( "Title text color", "wptouch" ); ?></li>
  85. <li>#<input type="text" id="header-background-color" name="header-background-color" value="<?php echo $wptouch_settings['header-background-color']; ?>" /><?php _e( "Header background color", "wptouch" ); ?></li>
  86. <li>#<input type="text" id="header-border-color" name="header-border-color" value="<?php echo $wptouch_settings['header-border-color']; ?>" /><?php _e( "Sub-header background color", "wptouch" ); ?></li>
  87. <li>#<input type="text" id="link-color" name="link-color" value="<?php echo $wptouch_settings['link-color']; ?>" /><?php _e( "Site-wide links color", "wptouch" ); ?></li>
  88. </ul>
  89. </div>
  90. </div><!-- right content -->
  91. <div class="bnc-clearer"></div>
  92. </div><!-- postbox -->
  93. </div><!-- metabox -->