From f5b17451c4a16a88b0edaed82475443efd7981fb Mon Sep 17 00:00:00 2001
From: root <root@rivolta.investici.org>
Date: Fri, 25 Feb 2011 13:18:44 +0000
Subject: [PATCH] Import events-calendar 6.7.9

---
 wp-content/plugins/events-calendar/ec_calendar.class.php | 8 ++++++--
 wp-content/plugins/events-calendar/events-calendar.php   | 2 +-
 wp-content/plugins/events-calendar/readme.txt            | 7 +++++--
 3 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/wp-content/plugins/events-calendar/ec_calendar.class.php b/wp-content/plugins/events-calendar/ec_calendar.class.php
index 43ffa45a7..fc79f23ab 100644
--- a/wp-content/plugins/events-calendar/ec_calendar.class.php
+++ b/wp-content/plugins/events-calendar/ec_calendar.class.php
@@ -43,8 +43,12 @@ if(!class_exists("EC_Calendar")) :
 require_once(EVENTSCALENDARCLASSPATH . '/ec_db.class.php');
 $ecoptions = get_option('optionsEventsCalendar');
 $ec_hide = $ecoptions['hidesponsor'] == 'true' ? 'display:none;' : '';
-$widget_sponsor_message = '<span style="' . $ec_hide . 'font-size:.75em;">WPEC is proudly sponsored by <br /><a href="http://www.truemediaconcepts.com">True Media Concepts</a></span>' . "\n";
-$large_sponsor_message = '<span style="' . $ec_hide . 'font-size:.7em;">WP Events Calendar is proudly sponsored by <a href="http://www.truemediaconcepts.com">True Media Concepts</a></span>' . "\n";
+$widget_sponsor_message = '';
+$large_sponsor_message = '';
+if(!$ec_hide) {
+	$widget_sponsor_message = '<span style="font-size:.75em;">WPEC is proudly sponsored by <br /><a href="http://www.truemediaconcepts.com">True Media Concepts</a></span>' . "\n";
+	$large_sponsor_message = '<span style="font-size:.7em;">WP Events Calendar is proudly sponsored by <a href="http://www.truemediaconcepts.com">True Media Concepts</a></span>' . "\n";
+}
 /**
  * Displays the events list and the calendars
  *
diff --git a/wp-content/plugins/events-calendar/events-calendar.php b/wp-content/plugins/events-calendar/events-calendar.php
index a0b6edadb..ca151d645 100644
--- a/wp-content/plugins/events-calendar/events-calendar.php
+++ b/wp-content/plugins/events-calendar/events-calendar.php
@@ -3,7 +3,7 @@
 Plugin Name: WP Events Calendar
 Plugin URI: http://www.wp-eventscalendar.com
 Description: There are options under the widget options to specify the view of the calendar in the sidebar. The widget can be a list for upcoming events or a calendar. If you do not have a widget ready theme then you can place `&lt;?php SidebarEventsCalendar();?&gt;`, or `&lt;?php SidebarEventsList();?&gt;` for an event list, in the sidebar.php file of your theme. If you want to display a large calendar in a post or a page, simply place `[events-calendar-large]` in the html of the post or page. Make sure to leave off the quotes.
-Version: 6.7.8
+Version: 6.7.9
 Author: Luke Howell
 Author URI: http://www.lukehowell.com
 */
diff --git a/wp-content/plugins/events-calendar/readme.txt b/wp-content/plugins/events-calendar/readme.txt
index 1903db5e0..6f1555ac9 100644
--- a/wp-content/plugins/events-calendar/readme.txt
+++ b/wp-content/plugins/events-calendar/readme.txt
@@ -2,11 +2,11 @@
 
 Contributors: snumb130
 Donate link: http://www.wp-eventscalendar.com/donate
-Version: 6.7.8
+Version: 6.7.9
 Tags: event, calendar, date, time, widget, admin, sidebar, plugin, javascript, thickbox, jquery, tooltip, ajax
 Requires at least: 2.7.1
 Tested up to: 3.0
-Stable tag: 6.7.8
+Stable tag: 6.7.9
 
 Events-Calendar is a versatile replacement for the original WordPress calendar adding many useful functions to keep track of your events.
 
@@ -40,6 +40,9 @@ Additional features will be added so make sure that you keep up to date on upcom
 6. Events Calendar as Large Calendar
 
 == Changelog ==
+= 6.7.9 =
+* Changed the way the sponsor message is shown and hidden to prevent have hidden links that were hurting SEO.
+
 = 6.7.8 =
 * Checking for existance of timezone function
 * Add Japanese language file from blog.bng.net
-- 
GitLab