From: Chuck Scott Date: Wed, 9 Mar 2016 21:37:52 +0000 (-0500) Subject: Removed test data array that was conflicting with real data. X-Git-Tag: v1.0.0^2~170^2~2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=2341e58691e7b2c958cd3802cd6e3d220086a0ec;p=WP-Plugins%2Fglm-member-db-events.git Removed test data array that was conflicting with real data. --- diff --git a/models/admin/events/list.php b/models/admin/events/list.php index 535c2e3..083a813 100644 --- a/models/admin/events/list.php +++ b/models/admin/events/list.php @@ -141,36 +141,6 @@ class GlmMembersAdmin_events_list extends GlmDataEvents } - /* - * PLACE TEMPORARY TEST DATA FOR CALENDARS HERE - */ - $haveTimes = true; - $times = array( - /* - * Place temp data here. It doesn't matter how you structure it. - * We can change the actual parameters in the calendar.html file - * later to match the actual data from the database. - */ - '1' => array( - 'id' => 1, - 'event' => 1, - 'custom_event' => false, - 'recur_id' => 1, - 'active' => true, - 'start_time' => array( - 'timestamp' => 123123123, - 'datetime' => '4/1/2015 17:00' - ), - 'end_time' => array( - 'timestamp' => 123123234, - 'datetime' => '4/1/2015 122:00' - ), - 'all_day' => false - ) - ); - - - // Do selected option switch ($option) { diff --git a/views/admin/events/calendar.html b/views/admin/events/calendar.html deleted file mode 100644 index 929bae8..0000000 --- a/views/admin/events/calendar.html +++ /dev/null @@ -1,35 +0,0 @@ - - -
calendar goes here
- - \ No newline at end of file diff --git a/views/admin/events/edit.html b/views/admin/events/edit.html index 22c78c6..21642d1 100644 --- a/views/admin/events/edit.html +++ b/views/admin/events/edit.html @@ -629,7 +629,7 @@ {/foreach} {/if} ], - defaultDate : '{$lastTime.start_time.datetime}' + defaultDate : '{$firstTime.start_time.datetime}' }); fullCalendarLoaded = true; }