; Week of Month - numbers are an exponent of 2 that represent the bit position
week[0] = 'First'
week[1] = 'Second'
-week[3] = 'Third'
-week[4] = 'Fourth'
-week[5] = 'Fifth'
+week[2] = 'Third'
+week[3] = 'Fourth'
+week[4] = 'Fifth'
week_bit['First'] = 0
week_bit['Second'] = 1
week_bit['Fourth'] = 3
week_bit['Fifth'] = 4
+; Day of Month - numbers are an exponent of 2 that represent the bit position
+day_of_month[0] = 'First'
+day_of_month[1] = 'Second'
+day_of_month[2] = 'Third'
+day_of_month[3] = 'Fourth'
+day_of_month[4] = 'Fifth'
+day_of_month[5] = 'Sixth'
+day_of_month[6] = 'Seventh'
+day_of_month[7] = 'Eighth'
+day_of_month[8] = 'Nineth'
+day_of_month[9] = 'Tenth'
+day_of_month[10] = 'Eleventh'
$smarty->templateAssign ( 'addOnTabs', $addOnTabs);
$smarty->templateAssign ( 'adminDebug', GLM_MEMBERS_PLUGIN_ADMIN_DEBUG);
$smarty->templateAssign ( 'adminURL', GLM_MEMBERS_PLUGIN_ADMIN_URL);
+ $smarty->templateAssign ( 'siteBaseURL', GLM_MEMBERS_SITE_BASE_URL);
$smarty->templateAssign ( 'baseURL', GLM_MEMBERS_PLUGIN_BASE_URL);
$smarty->templateAssign ( 'thisURL', GLM_MEMBERS_PLUGIN_CURRENT_URL );
$smarty->templateAssign ( 'thisPage', (isset($_REQUEST['page']) ? $_REQUEST['page']: '') );
// Add standard parameters
$smarty->templateAssign ( 'errorMsg', $errorMsg);
$smarty->templateAssign ( 'frontDebug', GLM_MEMBERS_PLUGIN_FRONT_DEBUG);
+ $smarty->templateAssign ( 'siteBaseURL', GLM_MEMBERS_SITE_BASE_URL);
$smarty->templateAssign ( 'baseURL', GLM_MEMBERS_PLUGIN_BASE_URL);
$smarty->templateAssign ( 'thisURL', GLM_MEMBERS_PLUGIN_CURRENT_URL );
$smarty->templateAssign ( 'glmPluginName', GLM_MEMBERS_PLUGIN_NAME );
// Compile template data
$templateData = array(
- 'siteBaseUrl' => GLM_MEMBERS_SITE_BASE_URL,
'haveMembers' => $haveMembers,
'members' => $list,
'haveFilter' => $haveFilter,