-
Notifications
You must be signed in to change notification settings - Fork 0
/
userinfo.asp
42 lines (34 loc) · 1.22 KB
/
userinfo.asp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!--#include virtual="/eVacation/common/appglobal.asp" -->
<%
strCurrentPageName = "User Info"
'**** INITIALISE CURRENT USER AND EE TO VIEW OBJECTS ****
mInitialiseCurrentUser
Dim shareWithTeamCalendar
Dim wwid
Dim locCmd
Dim locRS
Set locCmd = Server.CreateObject("ADODB.Command")
Set locCmd.ActiveConnection = glbConnection
locCmd.CommandType = adCmdStoredProc
If request.form("formname") = "frmShareWithTeamCalendar" then
shareWithTeamCalendar = request.form("fldblnShare")
wwid = request.form("wwid")
locCmd.Parameters.Append locCmd.CreateParameter("strEEWWID", adWChar, adParamInput, 8, wwid)
if shareWithTeamCalendar = "on" then
locCmd.CommandText = "usp_share_with_team_calendar_on"
else
locCmd.CommandText = "usp_share_with_team_calendar_off"
end if
Set locRS = locCmd.Execute
end if
mWriteHMTLTop strCurrentPageName
mWriteNavBar strCurrentPageName
Select Case strMode
Case "ph"
mWritePublicHolidays
Case Else
mWriteUserInfo
End Select
mWritePageFooter
%>
<!--#include virtual="/eVacation/common/appglobalend.asp" -->