%@ LANGUAGE="VBSCRIPT" %>
<% nochange = TRUE on error resume next ErrCode = StopTimer() if ErrCode <> 0 then response.write L_StopErrorStr_TEXT Err.Clear if Request.Form("rdNotiEn") = "on" then ' turn on notification feature if it's off if serv.getattribute(1) = 0 then SetEnableNotifications TRUE nochange = FALSE end if if Request.Form("rdFolderSub") = "on" then if serv.getattribute(7) = 0 then SetAllowFolderSubscriptions TRUE nochange = FALSE end if else if serv.getattribute(7) = 1 then SetAllowFolderSubscriptions FALSE nochange = FALSE end if end if if serv.getattribute(11) <> Request.Form("txtMServ") then SetMailServer Request.Form("txtMServ") nochange = FALSE end if if serv.getattribute(9) <> Request.Form("txtSendM") then SetSenderAddress Request.Form("txtSendM") nochange = FALSE end if if serv.getattribute(10) <> Request.Form("txtContactM") then SetContactAddress Request.Form("txtContactM") nochange = FALSE end if if serv.getattribute(4) <> CInt(Request.Form("txtTime")) then SetImmedTimeout Request.Form("txtTime") nochange = FALSE end if if L_24HrClock_TEXT = "TRUE" then minutes = (Request.Form("txtHours") Mod 24) * 60 + Request.Form("txtMin") elseif Request.Form("daytimeType") = "AM" then minutes = (Request.Form("txtHours") Mod 12) * 60 + Request.Form("txtMin") else ' PM Case minutes = (Request.Form("txtHours") Mod 12) * 60 + 720 + Request.Form("txtMin") end if if serv.getattribute(5) <> minutes then SetDailyTimeout minutes nochange = FALSE end if if L_24HrClock_TEXT = "TRUE" then minutes = CLng(Request.Form("weekdayType") * 24 * 60) + CLng(((Request.Form("txtWeekHour") Mod 24) * 60)) + CLng(Request.Form("txtWeekMin")) elseif Request.Form("weektimeType") = "AM" then minutes = CLng(Request.Form("weekdayType") * 24 * 60) + CLng(((Request.Form("txtWeekHour") Mod 12) * 60)) + CLng(Request.Form("txtWeekMin")) else minutes = CLng(Request.Form("weekdayType") * 24 * 60) + CLng(720 + ((Request.Form("txtWeekHour") Mod 12) * 60)) + CLng(Request.Form("txtWeekMin")) end if if serv.getattribute(6) <> minutes then SetWeeklyTimeout minutes nochange = FALSE end if else if serv.getattribute(1) = 1 then SetEnableNotifications FALSE nochange = FALSE end if end if if nochange = TRUE then response.write "
" & L_NoSettingChgStr_TEXT & "" end if %>
<% StartTimer %>
<% end if ' form submitted %>