📄 role.l
字号:
# 21aug07abu# (c) Software Lab. Alexander Burger(must "Role Administration" RoleAdmin)(menu (ifn *ID (prog (<h3> NIL ,"Select" " " ,"Role") (form 'dialog (choDlg T ,"Roles" '(nm +Role))) ) (<h3> NIL ,"Role Administration") (form NIL (<h2> NIL (<id> (: nm))) (panel T ,"Role '@1'" '(may Delete) '(choDlg T ,"Roles" '(nm +Role)) 'nm '+Role) (<table> NIL NIL NIL (<row> NIL ,"Name" (gui '(+E/R +Cue +TextField) '(nm : home obj) ,"Role" 30) ) (gui '(+E/R +Fmt +Chart) '(perm : home obj) '((Val) (mapcar '((S) (list S (memq S Val))) *Perms)) '((Lst) (mapcan '((L P) (and (cadr L) (cons P))) Lst *Perms)) 2 ) (do (length *Perms) (<row> NIL (gui 1 '(+Set +TextField) '((Sym) (val (val Sym)))) (gui 2 '(+Checkbox)) ) ) ) (gui '(+/R +Chart) '(usr : home obj) 1 list) (<table> 'chart ,"User" NIL (do 6 (<row> (alternating) (gui 1 '(+Obj +TextField) '(nm +User)) ) ) ) (<spread> (scroll 6) (editButton T)) ) ) )# vi:et:ts=3:sw=3
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -