'field' => 'start_time',
'type' => 'time',
'time_format' => 'h:i a',
- 'default' => '09:00',
+ 'default' => '09:00 AM',
'required' => true,
'use' => 'a'
),
'field' => 'end_time',
'type' => 'time',
'time_format' => 'h:i a',
- 'default' => '17:00',
+ 'default' => '05:00 PM',
'use' => 'a'
),
'field' => 'week_of_month',
'type' => 'bitmap',
'bitmap' => $this->config['week'],
- 'default' => 4095, // no weeks selected
+ 'default' => 63, // no weeks selected
'use' => 'a'
),
'field' => 'day_of_week',
'type' => 'bitmap',
'bitmap' => $this->config['day'],
- 'default' => 4095, // no days selected
+ 'default' => 127, // no days selected
'use' => 'a'
),
$to->modify('+1 day');
// Calculate interval for single event - If start time only, then start and end are the same
- $start = new DateTime($recurData['from_date']['date'].$recurData['start_time']['time']);
+ $start = new DateTime($recurData['from_date']['date']." ".$recurData['start_time']['time']);
if ($recurData['start_time_only']['value']) {
- $end = new DateTime($recurData['from_date']['date'].$recurData['start_time']['time']);
+ $end = new DateTime($recurData['from_date']['date']." ".$recurData['start_time']['time']);
} else {
- $end = new DateTime($recurData['from_date']['date'].$recurData['end_time']['time']);
+ $end = new DateTime($recurData['from_date']['date']." ".$recurData['end_time']['time']);
}
$length = $start->diff($end);
// Parameters related to the Main GLM Member DB plugin - Depending on what's going on these may already defined by the main plugin
$pluginsPath = str_replace(GLM_MEMBERS_EVENTS_PLUGIN_SLUG, '', GLM_MEMBERS_EVENTS_PLUGIN_PATH);
-define('GLM_MEMBERS_EVENTS_MAIN_PLUGIN_PATH', $pluginsPath.'/glm-member-db');
+define('GLM_MEMBERS_EVENTS_MAIN_PLUGIN_PATH', $pluginsPath.'glm-member-db');
define('GLM_MEMBERS_EVENTS_PLUGIN_LIB_PATH', GLM_MEMBERS_EVENTS_MAIN_PLUGIN_PATH.'/lib');
<td>
<table>
<tr>
- <th>Use Member location:</th>
+ <th>Use {$terms.term_member_cap} location:</th>
<td>
<input id="useMemberLocationCheckbox" type="checkbox" name="use_member_location" {if $event.fieldData.use_member_location.value} checked{/if}>
- <span id="useMemberMessage">Uses location data from the selected member rather than location data from here.</span>
- <span id="notUseMemberMessage" class="glm-hidden">(To use member information instead of this location data, select a member for the event in the "Event Desription" tab.)</span>
+ <span id="useMemberMessage">Uses location data from the selected {$terms.term_member} rather than location data from here.</span>
+ <span id="notUseMemberMessage" class="glm-hidden">(To use {$terms.term_member} information instead of this location data, select a {$terms.term_member} for the event in the "Event Desription" tab.)</span>
</td>
</tr>
</table>