|
1 <?php global $wptouch_settings; ?> |
|
2 |
|
3 <div class="metabox-holder"> |
|
4 <div class="postbox"> |
|
5 <h3><span class="adsense-options"> </span><?php _e( "Adsense, Stats & Custom Code", "wptouch" ); ?></h3> |
|
6 |
|
7 <div class="left-content"> |
|
8 <h4><?php _e( "Adsense", "wptouch" ); ?></h4> |
|
9 <p><?php _e( "Enter your Google AdSense ID if you'd like to support mobile advertising in WPtouch posts.", "wptouch" ); ?></p> |
|
10 <p><?php _e( "Make sure to include the 'pub-' part of your ID string.", "wptouch" ); ?></p> |
|
11 <br /> |
|
12 <h4><?php _e( "Stats & Custom Code", "wptouch" ); ?></h4> |
|
13 <p><?php _e( "If you'd like to capture traffic statistics ", "wptouch" ); ?><br /><?php _e( "(Google Analytics, MINT, etc.)", "wptouch" ); ?></p> |
|
14 <p><?php _e( "Enter the code snippet(s) for your statistics tracking here.", "wptouch" ); ?></p> |
|
15 <p><?php _e( "You can also enter custom CSS & other code here.", "wptouch" ); ?> <a href="#css-info" class="fancylink">?</a></p> |
|
16 <div id="css-info" style="display:none"> |
|
17 <h2><?php _e( "More Info", "wptouch" ); ?></h2> |
|
18 <p><?php _e( "You can enter a custom css file link easily. Simply add the full link to the css file like this:", "wptouch" ); ?></p> |
|
19 <p><?php _e( "<code><link rel="stylesheet" src="http://path-to-my-css-file" type="text/css" media="screen" /></code>", "wptouch" ); ?></p> |
|
20 </div> |
|
21 |
|
22 </div><!-- left content --> |
|
23 |
|
24 <div class="right-content"> |
|
25 <ul class="wptouch-make-li-italic"> |
|
26 <li><input name="adsense-id" type="text" value="<?php echo $wptouch_settings['adsense-id']; ?>" /><?php _e( "Google AdSense ID", "wptouch" ); ?></li> |
|
27 <li><input name="adsense-channel" type="text" value="<?php echo $wptouch_settings['adsense-channel']; ?>" /><?php _e( "Google AdSense Channel", "wptouch" ); ?></li> |
|
28 </ul> |
|
29 |
|
30 <textarea id="wptouch-stats" name="statistics"><?php echo stripslashes($wptouch_settings['statistics']); ?></textarea> |
|
31 |
|
32 </div><!-- right content --> |
|
33 <div class="bnc-clearer"></div> |
|
34 </div><!-- postbox --> |
|
35 </div><!-- metabox --> |