web/wp-content/plugins/wptouch/html/ads-stats-area.php
branchwordpress
changeset 123 561aa6d282f6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/web/wp-content/plugins/wptouch/html/ads-stats-area.php	Mon Feb 01 09:51:57 2010 +0000
@@ -0,0 +1,35 @@
+<?php global $wptouch_settings; ?>
+
+<div class="metabox-holder">
+	<div class="postbox">
+		<h3><span class="adsense-options">&nbsp;</span><?php _e( "Adsense, Stats &amp; Custom Code", "wptouch" ); ?></h3>
+
+			<div class="left-content">
+				<h4><?php _e( "Adsense", "wptouch" ); ?></h4>
+					<p><?php _e( "Enter your Google AdSense ID if you'd like to support mobile advertising in WPtouch posts.", "wptouch" ); ?></p>
+					<p><?php _e( "Make sure to include the 'pub-' part of your ID string.", "wptouch" ); ?></p>
+				<br />
+			    <h4><?php _e( "Stats &amp; Custom Code", "wptouch" ); ?></h4>
+			 		<p><?php _e( "If you'd like to capture traffic statistics ", "wptouch" ); ?><br /><?php _e( "(Google Analytics, MINT, etc.)", "wptouch" ); ?></p>
+			 		<p><?php _e( "Enter the code snippet(s) for your statistics tracking here.", "wptouch" ); ?></p>
+			 		<p><?php _e( "You can also enter custom CSS &amp; other code here.", "wptouch" ); ?> <a href="#css-info" class="fancylink">?</a></p>
+			 		<div id="css-info" style="display:none">
+					<h2><?php _e( "More Info", "wptouch" ); ?></h2>
+					<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>
+					<p><?php _e( "<code>&lt;link rel=&quot;stylesheet&quot; src=&quot;http://path-to-my-css-file&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;</code>", "wptouch" ); ?></p>
+				</div>
+
+			</div><!-- left content -->
+
+			<div class="right-content">
+				<ul class="wptouch-make-li-italic">
+					<li><input name="adsense-id" type="text" value="<?php echo $wptouch_settings['adsense-id']; ?>" /><?php _e( "Google AdSense ID", "wptouch" ); ?></li>
+					<li><input name="adsense-channel" type="text" value="<?php echo $wptouch_settings['adsense-channel']; ?>" /><?php _e( "Google AdSense Channel", "wptouch" ); ?></li>
+				</ul>
+			
+				<textarea id="wptouch-stats" name="statistics"><?php echo stripslashes($wptouch_settings['statistics']); ?></textarea>
+
+						</div><!-- right content -->
+		<div class="bnc-clearer"></div>
+	</div><!-- postbox -->
+</div><!-- metabox -->
\ No newline at end of file