|
@@ -51,15 +51,15 @@ if $ARGS[0] = 'start':
|
|
|
!! First Sunday Shift
|
|
|
*P '<tr><td>'
|
|
|
if masseuse['7_shift_1'] = 0 and masseuse['7_shift_1_taken'] < 2 and no (week = 7 and hour > 8 and hour < 13):
|
|
|
- '<a href="exec:masseuse[''7_shift_1''] = 1 & gt''masseuse_schedule'',''start''"> 09:00-13:00 shift</a>'
|
|
|
+ '<a href="exec:masseuse[''7_shift_1''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift</a>'
|
|
|
elseif masseuse['7_shift_1_taken'] = 2 or (week = 7 and hour > 8 and hour < 13):
|
|
|
- '09:00-13:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>not available</i>'
|
|
|
elseif masseuse['7_shift_1'] = 2:
|
|
|
- '09:00-13:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>already worked</i>'
|
|
|
else
|
|
|
- '09:00-13:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
|
'<a href="exec:masseuse[''7_shift_1''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
|
end
|
|
|
'</td><td>'
|
|
@@ -67,15 +67,15 @@ if $ARGS[0] = 'start':
|
|
|
!! First Monday Shift
|
|
|
|
|
|
if masseuse['1_shift_1'] = 0 and masseuse['1_shift_1_taken'] < 2 and no (week = 1 and hour > 8 and hour < 13):
|
|
|
- '<a href="exec:masseuse[''1_shift_1''] = 1 & gt''masseuse_schedule'',''start''"> 09:00-13:00 shift</a>'
|
|
|
+ '<a href="exec:masseuse[''1_shift_1''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift</a>'
|
|
|
elseif masseuse['1_shift_1_taken'] = 2 or (week = 1 and hour > 8 and hour < 13):
|
|
|
- '09:00-13:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>not available</i>'
|
|
|
elseif masseuse['1_shift_1'] = 2:
|
|
|
- '09:00-13:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>already worked</i>'
|
|
|
else
|
|
|
- '09:00-13:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
|
'<a href="exec:masseuse[''1_shift_1''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
|
end
|
|
|
'</td><td>'
|
|
@@ -83,15 +83,15 @@ if $ARGS[0] = 'start':
|
|
|
!! First Tuesday Shift
|
|
|
|
|
|
if masseuse['2_shift_1'] = 0 and masseuse['2_shift_1_taken'] < 2 and no (week = 2 and hour > 8 and hour < 13):
|
|
|
- '<a href="exec:masseuse[''2_shift_1''] = 1 & gt''masseuse_schedule'',''start''"> 09:00-13:00 shift</a>'
|
|
|
+ '<a href="exec:masseuse[''2_shift_1''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift</a>'
|
|
|
elseif masseuse['2_shift_1_taken'] = 2 or (week = 2 and hour > 8 and hour < 13):
|
|
|
- '09:00-13:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>not available</i>'
|
|
|
elseif masseuse['2_shift_1'] = 2:
|
|
|
- '09:00-13:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>already worked</i>'
|
|
|
else
|
|
|
- '09:00-13:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
|
'<a href="exec:masseuse[''2_shift_1''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
|
end
|
|
|
'</td><td>'
|
|
@@ -99,15 +99,15 @@ if $ARGS[0] = 'start':
|
|
|
!! First Wednesday Shift
|
|
|
|
|
|
if masseuse['3_shift_1'] = 0 and masseuse['3_shift_1_taken'] < 2 and no (week = 3 and hour > 8 and hour < 13):
|
|
|
- '<a href="exec:masseuse[''3_shift_1''] = 1 & gt''masseuse_schedule'',''start''"> 09:00-13:00 shift</a>'
|
|
|
+ '<a href="exec:masseuse[''3_shift_1''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift</a>'
|
|
|
elseif masseuse['3_shift_1_taken'] = 2 or (week = 3 and hour > 8 and hour < 13):
|
|
|
- '09:00-13:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>not available</i>'
|
|
|
elseif masseuse['3_shift_1'] = 2:
|
|
|
- '09:00-13:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>already worked</i>'
|
|
|
else
|
|
|
- '09:00-13:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
|
'<a href="exec:masseuse[''3_shift_1''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
|
end
|
|
|
'</td><td>'
|
|
@@ -115,15 +115,15 @@ if $ARGS[0] = 'start':
|
|
|
!! First Thursday Shift
|
|
|
|
|
|
if masseuse['4_shift_1'] = 0 and masseuse['4_shift_1_taken'] < 2 and no (week = 4 and hour > 8 and hour < 13):
|
|
|
- '<a href="exec:masseuse[''4_shift_1''] = 1 & gt''masseuse_schedule'',''start''"> 09:00-13:00 shift</a>'
|
|
|
+ '<a href="exec:masseuse[''4_shift_1''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift</a>'
|
|
|
elseif masseuse['4_shift_1_taken'] = 2 or (week = 4 and hour > 8 and hour < 13):
|
|
|
- '09:00-13:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>not available</i>'
|
|
|
elseif masseuse['4_shift_1'] = 2:
|
|
|
- '09:00-13:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>already worked</i>'
|
|
|
else
|
|
|
- '09:00-13:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
|
'<a href="exec:masseuse[''4_shift_1''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
|
end
|
|
|
'</td><td>'
|
|
@@ -131,15 +131,15 @@ if $ARGS[0] = 'start':
|
|
|
!! First Friday Shift
|
|
|
|
|
|
if masseuse['5_shift_1'] = 0 and masseuse['5_shift_1_taken'] < 2 and no (week = 5 and hour > 8 and hour < 13):
|
|
|
- '<a href="exec:masseuse[''5_shift_1''] = 1 & gt''masseuse_schedule'',''start''"> 09:00-13:00 shift</a>'
|
|
|
+ '<a href="exec:masseuse[''5_shift_1''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift</a>'
|
|
|
elseif masseuse['5_shift_1_taken'] = 2 or (week = 5 and hour > 8 and hour < 13):
|
|
|
- '09:00-13:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>not available</i>'
|
|
|
elseif masseuse['5_shift_1'] = 2:
|
|
|
- '09:00-13:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>already worked</i>'
|
|
|
else
|
|
|
- '09:00-13:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
|
'<a href="exec:masseuse[''5_shift_1''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
|
end
|
|
|
'</td><td>'
|
|
@@ -147,15 +147,15 @@ if $ARGS[0] = 'start':
|
|
|
!! First Saturday Shift
|
|
|
|
|
|
if masseuse['6_shift_1'] = 0 and masseuse['6_shift_1_taken'] < 2 and no (week = 6 and hour > 8 and hour < 13):
|
|
|
- '<a href="exec:masseuse[''6_shift_1''] = 1 & gt''masseuse_schedule'',''start''"> 09:00-13:00 shift</a>'
|
|
|
+ '<a href="exec:masseuse[''6_shift_1''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift</a>'
|
|
|
elseif masseuse['6_shift_1_taken'] = 2 or (week = 6 and hour > 8 and hour < 13):
|
|
|
- '09:00-13:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>not available</i>'
|
|
|
elseif masseuse['6_shift_1'] = 2:
|
|
|
- '09:00-13:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>already worked</i>'
|
|
|
else
|
|
|
- '09:00-13:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
|
'<a href="exec:masseuse[''6_shift_1''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
|
end
|
|
|
'</td></tr>'
|
|
@@ -166,15 +166,15 @@ if $ARGS[0] = 'start':
|
|
|
!! Second Sunday Shift
|
|
|
*P '<tr><td>'
|
|
|
if masseuse['7_shift_2'] = 0 and masseuse['7_shift_2_taken'] < 2 and no (week = 7 and hour > 12 and hour < 17):
|
|
|
- '<a href="exec:masseuse[''7_shift_2''] = 1 & gt''masseuse_schedule'',''start''"> 13:00-17:00 shift</a>'
|
|
|
+ '<a href="exec:masseuse[''7_shift_2''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift</a>'
|
|
|
elseif masseuse['7_shift_2_taken'] = 2 or (week = 7 and hour > 12 and hour < 17):
|
|
|
- '13:00-17:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>not available</i>'
|
|
|
elseif masseuse['7_shift_2'] = 2:
|
|
|
- '13:00-17:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>already worked</i>'
|
|
|
else
|
|
|
- '13:00-17:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
|
'<a href="exec:masseuse[''7_shift_2''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
|
end
|
|
|
'</td><td>'
|
|
@@ -182,15 +182,15 @@ if $ARGS[0] = 'start':
|
|
|
!! Second Monday Shift
|
|
|
|
|
|
if masseuse['1_shift_2'] = 0 and masseuse['1_shift_2_taken'] < 2 and no (week = 1 and hour > 12 and hour < 17):
|
|
|
- '<a href="exec:masseuse[''1_shift_2''] = 1 & gt''masseuse_schedule'',''start''"> 13:00-17:00 shift</a>'
|
|
|
+ '<a href="exec:masseuse[''1_shift_2''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift</a>'
|
|
|
elseif masseuse['1_shift_2_taken'] = 2 or (week = 1 and hour > 12 and hour < 17):
|
|
|
- '13:00-17:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>not available</i>'
|
|
|
elseif masseuse['1_shift_2'] = 2:
|
|
|
- '13:00-17:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>already worked</i>'
|
|
|
else
|
|
|
- '13:00-17:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
|
'<a href="exec:masseuse[''1_shift_2''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
|
end
|
|
|
'</td><td>'
|
|
@@ -198,15 +198,15 @@ if $ARGS[0] = 'start':
|
|
|
!! Second Tuesday Shift
|
|
|
|
|
|
if masseuse['2_shift_2'] = 0 and masseuse['2_shift_2_taken'] < 2 and no (week = 2 and hour > 12 and hour < 17):
|
|
|
- '<a href="exec:masseuse[''2_shift_2''] = 1 & gt''masseuse_schedule'',''start''"> 13:00-17:00 shift</a>'
|
|
|
+ '<a href="exec:masseuse[''2_shift_2''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift</a>'
|
|
|
elseif masseuse['2_shift_2_taken'] = 2 or (week = 2 and hour > 12 and hour < 17):
|
|
|
- '13:00-17:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>not available</i>'
|
|
|
elseif masseuse['2_shift_2'] = 2:
|
|
|
- '13:00-17:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>already worked</i>'
|
|
|
else
|
|
|
- '13:00-17:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
|
'<a href="exec:masseuse[''2_shift_2''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
|
end
|
|
|
'</td><td>'
|
|
@@ -214,15 +214,15 @@ if $ARGS[0] = 'start':
|
|
|
!! Second Wednesday Shift
|
|
|
|
|
|
if masseuse['3_shift_2'] = 0 and masseuse['3_shift_2_taken'] < 2 and no (week = 3 and hour > 12 and hour < 17):
|
|
|
- '<a href="exec:masseuse[''3_shift_2''] = 1 & gt''masseuse_schedule'',''start''"> 13:00-17:00 shift</a>'
|
|
|
+ '<a href="exec:masseuse[''3_shift_2''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift</a>'
|
|
|
elseif masseuse['3_shift_2_taken'] = 2 or (week = 3 and hour > 12 and hour < 17):
|
|
|
- '13:00-17:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>not available</i>'
|
|
|
elseif masseuse['3_shift_2'] = 2:
|
|
|
- '13:00-17:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>already worked</i>'
|
|
|
else
|
|
|
- '13:00-17:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
|
'<a href="exec:masseuse[''3_shift_2''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
|
end
|
|
|
'</td><td>'
|
|
@@ -230,15 +230,15 @@ if $ARGS[0] = 'start':
|
|
|
!! Second Thursday Shift
|
|
|
|
|
|
if masseuse['4_shift_2'] = 0 and masseuse['4_shift_2_taken'] < 2 and no (week = 4 and hour > 12 and hour < 17):
|
|
|
- '<a href="exec:masseuse[''4_shift_2''] = 1 & gt''masseuse_schedule'',''start''"> 13:00-17:00 shift</a>'
|
|
|
+ '<a href="exec:masseuse[''4_shift_2''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift</a>'
|
|
|
elseif masseuse['4_shift_2_taken'] = 2 or (week = 4 and hour > 12 and hour < 17):
|
|
|
- '13:00-17:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>not available</i>'
|
|
|
elseif masseuse['4_shift_2'] = 2:
|
|
|
- '13:00-17:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>already worked</i>'
|
|
|
else
|
|
|
- '13:00-17:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
|
'<a href="exec:masseuse[''4_shift_2''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
|
end
|
|
|
'</td><td>'
|
|
@@ -246,15 +246,15 @@ if $ARGS[0] = 'start':
|
|
|
!! Second Friday Shift
|
|
|
|
|
|
if masseuse['5_shift_2'] = 0 and masseuse['5_shift_2_taken'] < 2 and no (week = 5 and hour > 12 and hour < 17):
|
|
|
- '<a href="exec:masseuse[''5_shift_2''] = 1 & gt''masseuse_schedule'',''start''"> 13:00-17:00 shift</a>'
|
|
|
+ '<a href="exec:masseuse[''5_shift_2''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift</a>'
|
|
|
elseif masseuse['5_shift_2_taken'] = 2 or (week = 5 and hour > 12 and hour < 17):
|
|
|
- '13:00-17:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>not available</i>'
|
|
|
elseif masseuse['5_shift_2'] = 2:
|
|
|
- '13:00-17:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>already worked</i>'
|
|
|
else
|
|
|
- '13:00-17:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
|
'<a href="exec:masseuse[''5_shift_2''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
|
end
|
|
|
'</td><td>'
|
|
@@ -262,15 +262,15 @@ if $ARGS[0] = 'start':
|
|
|
!! Second Saturday Shift
|
|
|
|
|
|
if masseuse['6_shift_2'] = 0 and masseuse['6_shift_2_taken'] < 2 and no (week = 6 and hour > 12 and hour < 17):
|
|
|
- '<a href="exec:masseuse[''6_shift_2''] = 1 & gt''masseuse_schedule'',''start''"> 13:00-17:00 shift</a>'
|
|
|
+ '<a href="exec:masseuse[''6_shift_2''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift</a>'
|
|
|
elseif masseuse['6_shift_2_taken'] = 2 or (week = 6 and hour > 12 and hour < 17):
|
|
|
- '13:00-17:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>not available</i>'
|
|
|
elseif masseuse['6_shift_2'] = 2:
|
|
|
- '13:00-17:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>already worked</i>'
|
|
|
else
|
|
|
- '13:00-17:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
|
'<a href="exec:masseuse[''6_shift_2''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
|
end
|
|
|
'</td></tr>'
|
|
@@ -281,15 +281,15 @@ if $ARGS[0] = 'start':
|
|
|
!! Third Sunday Shift
|
|
|
*P '<tr><td>'
|
|
|
if masseuse['7_shift_3'] = 0 and masseuse['7_shift_3_taken'] < 2 and no (week = 7 and hour > 16 and hour < 21):
|
|
|
- '<a href="exec:masseuse[''7_shift_3''] = 1 & gt''masseuse_schedule'',''start''"> 17:00-21:00 shift</a>'
|
|
|
+ '<a href="exec:masseuse[''7_shift_3''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift</a>'
|
|
|
elseif masseuse['7_shift_3_taken'] = 2 or (week = 7 and hour > 16 and hour < 21):
|
|
|
- '17:00-21:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>not available</i>'
|
|
|
elseif masseuse['7_shift_3'] = 2:
|
|
|
- '17:00-21:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>already worked</i>'
|
|
|
else
|
|
|
- '17:00-21:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
|
'<a href="exec:masseuse[''7_shift_3''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
|
end
|
|
|
'</td><td>'
|
|
@@ -297,15 +297,15 @@ if $ARGS[0] = 'start':
|
|
|
!! Third Monday Shift
|
|
|
|
|
|
if masseuse['1_shift_3'] = 0 and masseuse['1_shift_3_taken'] < 2 and no (week = 1 and hour > 16 and hour < 21):
|
|
|
- '<a href="exec:masseuse[''1_shift_3''] = 1 & gt''masseuse_schedule'',''start''"> 17:00-21:00 shift</a>'
|
|
|
+ '<a href="exec:masseuse[''1_shift_3''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift</a>'
|
|
|
elseif masseuse['1_shift_3_taken'] = 2 or (week = 1 and hour > 16 and hour < 21):
|
|
|
- '17:00-21:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>not available</i>'
|
|
|
elseif masseuse['1_shift_3'] = 2:
|
|
|
- '17:00-21:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>already worked</i>'
|
|
|
else
|
|
|
- '17:00-21:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
|
'<a href="exec:masseuse[''1_shift_3''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
|
end
|
|
|
'</td><td>'
|
|
@@ -313,15 +313,15 @@ if $ARGS[0] = 'start':
|
|
|
!! Third Tuesday Shift
|
|
|
|
|
|
if masseuse['2_shift_3'] = 0 and masseuse['2_shift_3_taken'] < 2 and no (week = 2 and hour > 16 and hour < 21):
|
|
|
- '<a href="exec:masseuse[''2_shift_3''] = 1 & gt''masseuse_schedule'',''start''"> 17:00-21:00 shift</a>'
|
|
|
+ '<a href="exec:masseuse[''2_shift_3''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift</a>'
|
|
|
elseif masseuse['2_shift_3_taken'] = 2 or (week = 2 and hour > 16 and hour < 21):
|
|
|
- '17:00-21:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>not available</i>'
|
|
|
elseif masseuse['2_shift_3'] = 2:
|
|
|
- '17:00-21:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>already worked</i>'
|
|
|
else
|
|
|
- '17:00-21:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
|
'<a href="exec:masseuse[''2_shift_3''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
|
end
|
|
|
'</td><td>'
|
|
@@ -329,15 +329,15 @@ if $ARGS[0] = 'start':
|
|
|
!! Third Wednesday Shift
|
|
|
|
|
|
if masseuse['3_shift_3'] = 0 and masseuse['3_shift_3_taken'] < 2 and no (week = 3 and hour > 16 and hour < 21):
|
|
|
- '<a href="exec:masseuse[''3_shift_3''] = 1 & gt''masseuse_schedule'',''start''"> 17:00-21:00 shift</a>'
|
|
|
+ '<a href="exec:masseuse[''3_shift_3''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift</a>'
|
|
|
elseif masseuse['3_shift_3_taken'] = 2 or (week = 3 and hour > 16 and hour < 21):
|
|
|
- '17:00-21:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>not available</i>'
|
|
|
elseif masseuse['3_shift_3'] = 2:
|
|
|
- '17:00-21:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>already worked</i>'
|
|
|
else
|
|
|
- '17:00-21:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
|
'<a href="exec:masseuse[''3_shift_3''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
|
end
|
|
|
'</td><td>'
|
|
@@ -345,15 +345,15 @@ if $ARGS[0] = 'start':
|
|
|
!! Third Thursday Shift
|
|
|
|
|
|
if masseuse['4_shift_3'] = 0 and masseuse['4_shift_3_taken'] < 2 and no (week = 4 and hour > 16 and hour < 21):
|
|
|
- '<a href="exec:masseuse[''4_shift_3''] = 1 & gt''masseuse_schedule'',''start''"> 17:00-21:00 shift</a>'
|
|
|
+ '<a href="exec:masseuse[''4_shift_3''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift</a>'
|
|
|
elseif masseuse['4_shift_3_taken'] = 2 or (week = 4 and hour > 16 and hour < 21):
|
|
|
- '17:00-21:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>not available</i>'
|
|
|
elseif masseuse['4_shift_3'] = 2:
|
|
|
- '17:00-21:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>already worked</i>'
|
|
|
else
|
|
|
- '17:00-21:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
|
'<a href="exec:masseuse[''4_shift_3''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
|
end
|
|
|
'</td><td>'
|
|
@@ -361,15 +361,15 @@ if $ARGS[0] = 'start':
|
|
|
!! Third Friday Shift
|
|
|
|
|
|
if masseuse['5_shift_3'] = 0 and masseuse['5_shift_3_taken'] < 2 and no (week = 5 and hour > 16 and hour < 21):
|
|
|
- '<a href="exec:masseuse[''5_shift_3''] = 1 & gt''masseuse_schedule'',''start''"> 17:00-21:00 shift</a>'
|
|
|
+ '<a href="exec:masseuse[''5_shift_3''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift</a>'
|
|
|
elseif masseuse['5_shift_3_taken'] = 2 or (week = 5 and hour > 16 and hour < 21):
|
|
|
- '17:00-21:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>not available</i>'
|
|
|
elseif masseuse['5_shift_3'] = 2:
|
|
|
- '17:00-21:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>already worked</i>'
|
|
|
else
|
|
|
- '17:00-21:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
|
'<a href="exec:masseuse[''5_shift_3''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
|
end
|
|
|
'</td><td>'
|
|
@@ -377,15 +377,15 @@ if $ARGS[0] = 'start':
|
|
|
!! Third Saturday Shift
|
|
|
|
|
|
if masseuse['6_shift_3'] = 0 and masseuse['6_shift_3_taken'] < 2 and no (week = 6 and hour > 16 and hour < 21):
|
|
|
- '<a href="exec:masseuse[''6_shift_3''] = 1 & gt''masseuse_schedule'',''start''"> 17:00-21:00 shift</a>'
|
|
|
+ '<a href="exec:masseuse[''6_shift_3''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift</a>'
|
|
|
elseif masseuse['6_shift_3_taken'] = 2 or (week = 6 and hour > 16 and hour < 21):
|
|
|
- '17:00-21:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>not available</i>'
|
|
|
elseif masseuse['6_shift_3'] = 2:
|
|
|
- '17:00-21:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
|
'<i>already worked</i>'
|
|
|
else
|
|
|
- '17:00-21:00 shift'
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
|
'<a href="exec:masseuse[''6_shift_3''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
|
end
|
|
|
'</td></tr>'
|