Changeset 741101
- Timestamp:
- 07/15/2013 03:36:32 PM (13 years ago)
- Location:
- wp-mobile-detector
- Files:
-
- 3 edited
- 5 copied
-
tags/1.7.9 (copied) (copied from wp-mobile-detector/trunk)
-
tags/1.7.9/admin/admin-page.php (copied) (copied from wp-mobile-detector/trunk/admin/admin-page.php)
-
tags/1.7.9/functions.php (copied) (copied from wp-mobile-detector/trunk/functions.php) (2 diffs)
-
tags/1.7.9/readme.txt (copied) (copied from wp-mobile-detector/trunk/readme.txt) (2 diffs)
-
tags/1.7.9/websitez-wp-mobile-detector.php (copied) (copied from wp-mobile-detector/trunk/websitez-wp-mobile-detector.php) (1 diff)
-
trunk/functions.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/websitez-wp-mobile-detector.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-mobile-detector/tags/1.7.9/functions.php
r728512 r741101 418 418 global $wpdb,$table_prefix,$websitez_free_version; 419 419 $table = $table_prefix."options"; 420 $monetization = get_option(WEBSITEZ_SHOW_MOBILE_ADS_NAME);421 if($monetization == "false"){422 $time = strtotime("+3 months", strtotime(get_option(WEBSITEZ_MONETIZATION_MESSAGE)));423 $date = date("Y-m-d H:i:s", $time);424 $current = date("Y-m-d H:i:s");425 if($current >= $date):426 if($ _GET['page'] != "websitez_monetization"):420 if($_GET['page'] == "websitez_config" || $_GET['page'] == "websitez_stats" || $_GET['page'] == "websitez_themes" || $_GET['page'] == "websitez_monetization"): 421 $monetization = get_option(WEBSITEZ_SHOW_MOBILE_ADS_NAME); 422 if($monetization == "false"){ 423 $time = strtotime("+3 months", strtotime(get_option(WEBSITEZ_MONETIZATION_MESSAGE))); 424 $date = date("Y-m-d H:i:s", $time); 425 $current = date("Y-m-d H:i:s"); 426 if($current >= $date): 427 427 add_action('admin_notices', create_function( '', "echo '<div class=\"error\"><p><strong><a href=\"admin.php?page=websitez_monetization\">".WEBSITEZ_PLUGIN_NAME." Monetization is disabled!</a></strong> You can <a href=\"admin.php?page=websitez_monetization&monetization=true\">enable monetization</a> or <a href=\"admin.php?page=websitez_monetization&hide=true\">hide</a> this message.</p></div>';" ) ); 428 428 endif; … … 455 455 /* ad */ 456 456 //http_build_query($_SERVER) 457 $ad_html = websitez_remote_request("http:// 173.208.150.202/~adserver/php/ad.php?token=".$domain_token,http_build_query($_SERVER));457 $ad_html = websitez_remote_request("http://adserver.websitez.com/php/ad.php?token=".$domain_token,http_build_query($_SERVER)); 458 458 if(strlen($ad_html) > 11): 459 459 $div_a = $dom->createCDATASection($ad_html); -
wp-mobile-detector/tags/1.7.9/readme.txt
r728512 r741101 5 5 Requires at least: 2.7 6 6 Tested up to: 3.5.1 7 Stable tag: 1.7. 87 Stable tag: 1.7.9 8 8 9 9 The WP Mobile Detector automatically detects over 5,000 mobile devices and displays a compatible mobile theme. … … 70 70 71 71 == Changelog == 72 73 = 1.7.9 = 74 + Fixing administration area messages 72 75 73 76 = 1.7.8 = -
wp-mobile-detector/tags/1.7.9/websitez-wp-mobile-detector.php
r728512 r741101 5 5 Description: The WP Mobile Detector wordpress plugin automatically detects if the visitor is using a standard mobile phone or a smart phone and loads a compatible wordpress mobile theme for each. This plugin is one of the first to differentiate between a standard mobile phone and a smart phone. With advanced mobile statistics, image resizing, automatically formatted content, and detection of 5,000+ mobile phones, the WP Mobile Detector gives your mobile visitors the experience they desire. 6 6 7 Version: 1.7. 87 Version: 1.7.9 8 8 Author: Websitez.com 9 9 Author URI: http://www.websitez.com -
wp-mobile-detector/trunk/functions.php
r728512 r741101 418 418 global $wpdb,$table_prefix,$websitez_free_version; 419 419 $table = $table_prefix."options"; 420 $monetization = get_option(WEBSITEZ_SHOW_MOBILE_ADS_NAME);421 if($monetization == "false"){422 $time = strtotime("+3 months", strtotime(get_option(WEBSITEZ_MONETIZATION_MESSAGE)));423 $date = date("Y-m-d H:i:s", $time);424 $current = date("Y-m-d H:i:s");425 if($current >= $date):426 if($ _GET['page'] != "websitez_monetization"):420 if($_GET['page'] == "websitez_config" || $_GET['page'] == "websitez_stats" || $_GET['page'] == "websitez_themes" || $_GET['page'] == "websitez_monetization"): 421 $monetization = get_option(WEBSITEZ_SHOW_MOBILE_ADS_NAME); 422 if($monetization == "false"){ 423 $time = strtotime("+3 months", strtotime(get_option(WEBSITEZ_MONETIZATION_MESSAGE))); 424 $date = date("Y-m-d H:i:s", $time); 425 $current = date("Y-m-d H:i:s"); 426 if($current >= $date): 427 427 add_action('admin_notices', create_function( '', "echo '<div class=\"error\"><p><strong><a href=\"admin.php?page=websitez_monetization\">".WEBSITEZ_PLUGIN_NAME." Monetization is disabled!</a></strong> You can <a href=\"admin.php?page=websitez_monetization&monetization=true\">enable monetization</a> or <a href=\"admin.php?page=websitez_monetization&hide=true\">hide</a> this message.</p></div>';" ) ); 428 428 endif; … … 455 455 /* ad */ 456 456 //http_build_query($_SERVER) 457 $ad_html = websitez_remote_request("http:// 173.208.150.202/~adserver/php/ad.php?token=".$domain_token,http_build_query($_SERVER));457 $ad_html = websitez_remote_request("http://adserver.websitez.com/php/ad.php?token=".$domain_token,http_build_query($_SERVER)); 458 458 if(strlen($ad_html) > 11): 459 459 $div_a = $dom->createCDATASection($ad_html); -
wp-mobile-detector/trunk/readme.txt
r728512 r741101 5 5 Requires at least: 2.7 6 6 Tested up to: 3.5.1 7 Stable tag: 1.7. 87 Stable tag: 1.7.9 8 8 9 9 The WP Mobile Detector automatically detects over 5,000 mobile devices and displays a compatible mobile theme. … … 70 70 71 71 == Changelog == 72 73 = 1.7.9 = 74 + Fixing administration area messages 72 75 73 76 = 1.7.8 = -
wp-mobile-detector/trunk/websitez-wp-mobile-detector.php
r728512 r741101 5 5 Description: The WP Mobile Detector wordpress plugin automatically detects if the visitor is using a standard mobile phone or a smart phone and loads a compatible wordpress mobile theme for each. This plugin is one of the first to differentiate between a standard mobile phone and a smart phone. With advanced mobile statistics, image resizing, automatically formatted content, and detection of 5,000+ mobile phones, the WP Mobile Detector gives your mobile visitors the experience they desire. 6 6 7 Version: 1.7. 87 Version: 1.7.9 8 8 Author: Websitez.com 9 9 Author URI: http://www.websitez.com
Note: See TracChangeset
for help on using the changeset viewer.