|
1 <?php global $wptouch_settings; ?> |
|
2 |
|
3 <div class="metabox-holder"> |
|
4 <div class="postbox"> |
|
5 <h3><span class="global-settings"> </span><?php _e( "General Settings", "wptouch" ); ?></h3> |
|
6 |
|
7 <div class="left-content"> |
|
8 <h4><?php _e( "Home Page Re-Direction", "wptouch" ); ?></h4> |
|
9 <p><?php echo sprintf( __( "WPtouch by default follows your %sWordPress » Reading Options%s. You can also set a different one for WPtouch.", "wptouch"), '<a href="options-reading.php">', '</a>' ); ?></p> |
|
10 |
|
11 <h4><?php _e( "Site Title", "wptouch" ); ?></h4> |
|
12 <p><?php _e( "You can shorten your site title here so it won't be truncated by WPtouch.", "wptouch" ); ?></p> |
|
13 |
|
14 |
|
15 <h4><?php _e( "Excluded Categories", "wptouch" ); ?></h4> |
|
16 <p><?php _e( "Choose categories you want excluded from the main post listings in WPtouch.", "wptouch" ); ?></p> |
|
17 |
|
18 <h4><?php _e( "Font Options", "wptouch" ); ?></h4> |
|
19 <p><?php _e( "Set the alignment for text.", "wptouch" ); ?></p> |
|
20 |
|
21 |
|
22 <h4><?php _e( "Post Listings Options", "wptouch" ); ?></h4> |
|
23 <p><?php _e( "Choose between Calendar Icons, Post Thumbnails (WP 2.9) or nothing for your post listings.", "wptouch" ); ?></p> |
|
24 <p><?php _e( "Select which post-meta items are shown under titles on the main, search, & archives pages.", "wptouch" ); ?></p> |
|
25 <p><?php _e( "Also, choose if excerpts are shown/hidden (default is hidden).", "wptouch" ); ?></p> |
|
26 </div> |
|
27 |
|
28 <div class="right-content"> |
|
29 <p><label for="home-page"><strong><?php _e( "WPtouch Home Page", "wptouch" ); ?></strong></label></p> |
|
30 <?php $pages = bnc_get_pages_for_icons(); ?> |
|
31 <?php if ( count( $pages ) ) { ?> |
|
32 <?php wp_dropdown_pages( 'show_option_none=WordPress Settings&name=home-page&selected=' . bnc_get_selected_home_page()); ?> |
|
33 <?php } else {?> |
|
34 <strong class="no-pages"><?php _e( "You have no pages yet. Create some first!", "wptouch" ); ?></strong> |
|
35 <?php } ?> |
|
36 |
|
37 <br /><br /><br /> |
|
38 |
|
39 <ul class="wptouch-make-li-italic"> |
|
40 <li><input type="text" class="no-right-margin" name="header-title" value="<?php $str = $wptouch_settings['header-title']; echo stripslashes($str); ?>" /><?php _e( "Site title text", "wptouch" ); ?></li> |
|
41 </ul> |
|
42 |
|
43 <br /> |
|
44 |
|
45 <ul class="wptouch-make-li-italic"> |
|
46 <li><input name="excluded-cat-ids" class="no-right-margin" type="text" value="<?php $str = $wptouch_settings['excluded-cat-ids']; echo stripslashes($str); ?>" /><?php _e( "Comma list of Category IDs, eg: 1,2,3", "wptouch" ); ?></li> |
|
47 </ul> |
|
48 |
|
49 <br /> |
|
50 |
|
51 <ul class="wptouch-make-li-italic"> |
|
52 |
|
53 <li><select name="style-text-justify"> |
|
54 <option <?php if ($wptouch_settings['style-text-justify'] == "left-justified") echo " selected"; ?> value="left-justified"><?php _e( "Left", "wptouch" ); ?></option> |
|
55 <option <?php if ($wptouch_settings['style-text-justify'] == "full-justified") echo " selected"; ?> value="full-justified"><?php _e( "Full", "wptouch" ); ?></option> |
|
56 </select> |
|
57 <?php _e( "Font justification", "wptouch" ); ?> |
|
58 </li> |
|
59 </ul> |
|
60 |
|
61 <br /> |
|
62 |
|
63 <ul> |
|
64 <li><ul class="wptouch-make-li-italic"> |
|
65 |
|
66 <li><select name="post-cal-thumb"> |
|
67 <option <?php if ($wptouch_settings['post-cal-thumb'] == "calendar-icons") echo " selected"; ?> value="calendar-icons"><?php _e( "Calendar Icons", "wptouch" ); ?></option> |
|
68 <option <?php $version = bnc_get_wp_version(); if ($version <= 2.89) : ?>disabled="true"<?php endif; ?> <?php if ($wptouch_settings['post-cal-thumb'] == "post-thumbnails") echo " selected"; ?> value="post-thumbnails"><?php _e( "Post Thumbnails", "wptouch" ); ?></option> |
|
69 <option <?php $version = bnc_get_wp_version(); if ($version <= 2.89) : ?>disabled="true"<?php endif; ?> <?php if ($wptouch_settings['post-cal-thumb'] == "post-thumbnails-random") echo " selected"; ?> value="post-thumbnails-random"><?php _e( "Post Thumbnails (Random)", "wptouch" ); ?></option> |
|
70 <option <?php if ($wptouch_settings['post-cal-thumb'] == "nothing-shown") echo " selected"; ?> value="nothing-shown"><?php _e( "No Icon or Thumbnail", "wptouch" ); ?></option> |
|
71 </select> |
|
72 <?php _e( "Post Listings Display", "wptouch" ); ?> <small>(<?php _e( "Thumbnails Requires WordPress 2.9+", "wptouch" ); ?>)</small> <a href="#thumbs-info" class="fancylink">?</a></label> |
|
73 <div id="thumbs-info" style="display:none"> |
|
74 <h2><?php _e( "More Info", "wptouch" ); ?></h2> |
|
75 <p><?php _e( "This will change the display of blog and post listings between Calendar Icons view and Post Thumbnails view.", "wptouch" ); ?></p> |
|
76 <p><?php _e( "The <em>Post Thumbnails w/ Random</em> option will fill missing post thumbnails with random abstract images. (WP 2.9+)", "wptouch" ); ?></p> |
|
77 </div> |
|
78 |
|
79 </li> |
|
80 </ul> |
|
81 </li> |
|
82 <li> |
|
83 <input type="checkbox" class="checkbox" name="enable-main-name" <?php if (isset($wptouch_settings['enable-main-name']) && $wptouch_settings['enable-main-name'] == 1) echo('checked'); ?> /> |
|
84 <label for="enable-authorname"> <?php _e( "Show Author's Name", "wptouch" ); ?></label> |
|
85 </li> |
|
86 <li> |
|
87 <input type="checkbox" class="checkbox" name="enable-main-categories" <?php if (isset($wptouch_settings['enable-main-categories']) && $wptouch_settings['enable-main-categories'] == 1) echo('checked'); ?> /> |
|
88 <label for="enable-categories"> <?php _e( "Show Categories", "wptouch" ); ?></label> |
|
89 </li> |
|
90 <li> |
|
91 <input type="checkbox" class="checkbox" name="enable-main-tags" <?php if (isset($wptouch_settings['enable-main-tags']) && $wptouch_settings['enable-main-tags'] == 1) echo('checked'); ?> /> |
|
92 <label for="enable-tags"> <?php _e( "Show Tags", "wptouch" ); ?></label> |
|
93 </li> |
|
94 <li> |
|
95 <input type="checkbox" class="checkbox" name="enable-post-excerpts" <?php if (isset($wptouch_settings['enable-post-excerpts']) && $wptouch_settings['enable-post-excerpts'] == 1) echo('checked'); ?> /> |
|
96 <label for="enable-excerpts"><?php _e( "Hide Excerpts", "wptouch" ); ?></label> |
|
97 </li> |
|
98 </ul> |
|
99 </div> |
|
100 |
|
101 <div class="bnc-clearer"></div> |
|
102 </div><!-- postbox --> |
|
103 </div><!-- metabox --> |