##local.define(addTimeOut)1 ##local.define(Title) ##leg.OPAC.ChangePin.Title ##local.define(PageTitle) ##leg.Expand(OPAC.ChangePin.Title) ##local.define(Prompt) ##leg.OPAC.ChangePin.Prompt ##helpcontext.addHelp(ChangePin) ##local.define(Content) ##local.define(List) ##if value.BRWR ##local.define(Value) ##leg.OPAC.ChangePin.Instructions ##local.AdviceRowTemplate ##else ##local.define(Value) ##leg.OPAC.ChangePin.InstructionsAll ##local.AdviceRowTemplate ##endif ##local.define(FormFields) ##local.define(FormBorrowerDefault) ##if local.FormError ##local.define(mainclass)generic-form-error ##local.define(textclass)generic-form-text-error ##else ##local.define(mainclass)generic-form ##local.define(textclass)generic-form-text ##endif ##if error.Level ##if error.IsEqual(Number, 1067) ##local.define(Value) ##leg.OPAC.ChangePin.NoAuthorisation ##local.AlertRowTemplate ##local.define(HandledError)1 ##else ##if value.NewPinEmpty ##local.define(Value) ##leg.OPAC.ChangePin.NewPinEmpty ##local.AlertRowTemplate ##local.define(HandledError)1 ##else ##if value.NewPinDifferent ##local.define(Value) ##leg.OPAC.ChangePin.NewPinDifferent ##local.AlertRowTemplate ##local.define(HandledError)1 ##else ##if value.NewPinWrongLength ##local.define(Value) ##if sessioncfg.IsEqual(OPAC.Login.SecurityCode.MinimumLength,##sessioncfg.OPAC.Login.SecurityCode.MaximumLength) ##leg.Expand(OPAC.ChangePin.NewPinWrongLength, MinLen, ##sessioncfg.OPAC.Login.SecurityCode.MinimumLength) ##else ##leg.Expand(OPAC.ChangePin.NewPinWrongLengthRange, MinLen, ##sessioncfg.OPAC.Login.SecurityCode.MinimumLength, MaxLen, ##sessioncfg.OPAC.Login.SecurityCode.MaximumLength) ##endif ##local.AlertRowTemplate ##local.define(HandledError)1 ##else ##if value.NewPinSame ##local.define(Value) ##leg.OPAC.ChangePin.NewPinSame ##local.AlertRowTemplate ##local.define(HandledError)1 ##endif ##endif ##endif ##endif ##endif ##endif ##if value.PinHasChanged ##local.define(Value) ##leg.OPAC.ChangePin.DonePrompt ##local.AdviceRowTemplate ##endif
##this.stylesetforform ##local.FormFields ##if value.BRWR ##else ##endif
  ##leg.OPAC.Forms.Login.YourCardNumber  
  ##leg.OPAC.Forms.Login.YourPIN  
  ##leg.OPAC.ChangePin.NewPin  
  ##leg.OPAC.ChangePin.ConfirmPin  
 
##include(Layout)
##include(Body)