Files
open-insight/LSL2/OIEVENT/CLICK/QUARTZ_WAND_LOG.BUTTON_10.json
2024-03-25 15:12:53 -07:00

11 lines
932 B
JSON

{
"header": {
"version": 1,
"type": "record"
},
"body": {
"record1": {
"<1>": "declare function dialog_box, send_event\r\n$insert msg_equates\r\n$insert lsl_users_equ\r\n$insert reactor_log_equ\r\nequ CrLf$ to char(13):char(10)\r\n\r\nQuartzSig = .quartz_sig->text\r\nif QuartzSig <> '' then\r\n\tMsgInfo = ''\r\n MsgInfo<mtext$> = 'This log has already been signed.'\r\n MsgInfo<micon$> = '!'\r\n Void = msg( '', MsgInfo )\r\nend else \r\n Valid = dialog_box( 'QUOTE_SIG_PWD_ENTRY', @window, @user4:@vm:xlate( 'LSL_USERS', @user4, lsl_users_password$, 'X' ) )\r\n\tif Valid then\r\n\t\t.quartz_sig->text = @user4\r\n\t\t.quartz_sig_name->text = oconv( @user4, '[XLATE_CONV,LSL_USERS*FIRST_LAST]' )\r\n\t\t.status->value = 'V'\r\n\t\t@@window->savewarn = 1\r\n\t\tRecord = get_property( @window, 'RECORD' )\r\n\tend\r\nend\r\nreturn 0\r\n"
}
}
}