| 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|
| 2 | <tabs> |
|---|
| 3 | <tab label="Lista uprawnień" rep_id="470"> |
|---|
| 4 | <buttons> |
|---|
| 5 | <button> |
|---|
| 6 | <id>new</id> |
|---|
| 7 | <dscrpt>Dodaj wpis w rejestrze</dscrpt> |
|---|
| 8 | <onclick> |
|---|
| 9 | App.openDialogByCls('CREGISTER_ENTRY', null, ({afterSubmit:'{AFTER_SUBMIT}',mode:'new',cregid:267{NEW_DIALOG_PARAMS}}).toJSONString()) |
|---|
| 10 | </onclick> |
|---|
| 11 | <icon>new.gif</icon> |
|---|
| 12 | </button> |
|---|
| 13 | <button> |
|---|
| 14 | <id>edit</id> |
|---|
| 15 | <dscrpt>Zmień wpis w rejestrze</dscrpt> |
|---|
| 16 | <onclick> |
|---|
| 17 | var sel={KEYVAL}; if(sel)App.openDialogByCls('CREGISTER_ENTRY', null, ({afterSubmit:'{AFTER_SUBMIT}',mode:'edit',id____:sel,cregid:267{EDIT_DIALOG_PARAMS}}).toJSONString()) |
|---|
| 18 | </onclick> |
|---|
| 19 | <icon>edit.gif</icon> |
|---|
| 20 | </button> |
|---|
| 21 | <button> |
|---|
| 22 | <id>del</id> |
|---|
| 23 | <dscrpt>Usuń wpis z rejestru</dscrpt> |
|---|
| 24 | <onclick> |
|---|
| 25 | var sel={KEYVALS}; if(sel)App.openDialogByCls('CREGISTER_ENTRY', null, ({afterSubmit:'{AFTER_SUBMIT}',mode:'del',id____:sel,cregid:267}).toJSONString()) |
|---|
| 26 | </onclick> |
|---|
| 27 | <icon>delete.gif</icon> |
|---|
| 28 | </button> |
|---|
| 29 | <button> |
|---|
| 30 | <id>rewrite</id> |
|---|
| 31 | <label>Przepisz</label> |
|---|
| 32 | <dscrpt>Przepisz z poprzedniego wniosku</dscrpt> |
|---|
| 33 | <onclick> |
|---|
| 34 | asyncLibrary.execute('scripts/UserRightRequestRewriter.inc', 'UserRightRequestRewriter', null, 'execute', ({afterSubmit:'{AFTER_SUBMIT}'{NEW_DIALOG_PARAMS}}).toJSONString()) |
|---|
| 35 | </onclick> |
|---|
| 36 | <icon>copy.png</icon> |
|---|
| 37 | </button> |
|---|
| 38 | <button> |
|---|
| 39 | <id>grant</id> |
|---|
| 40 | <label>Wykonaj/nadaj</label> |
|---|
| 41 | <dscrpt>Nadaje uprawnienie użytkownikowi wykonując skonfigurowane akcje onGrant</dscrpt> |
|---|
| 42 | <onclick> |
|---|
| 43 | var sel={KEYVAL}; if(sel) {asyncLibrary.execute('scripts/UserRightRequestActionTrigger.inc', 'UserRightRequestActionTrigger', null, 'execute', ({id____:sel,"action":"on"}).toJSONString());} |
|---|
| 44 | </onclick> |
|---|
| 45 | <icon>hammer.png</icon> |
|---|
| 46 | </button> |
|---|
| 47 | <button> |
|---|
| 48 | <id>revoke</id> |
|---|
| 49 | <label>Odbierz</label> |
|---|
| 50 | <dscrpt>Zabiera uprawnienia użytkownikowi wykonując skonfigurowane akcje onRevoke</dscrpt> |
|---|
| 51 | <onclick> |
|---|
| 52 | var sel={KEYVAL}; if(sel) {asyncLibrary.execute('scripts/UserRightRequestActionTrigger.inc', 'UserRightRequestActionTrigger', null, 'revoke', ({id____:sel}).toJSONString());} |
|---|
| 53 | </onclick> |
|---|
| 54 | <icon>hammer_dis.png</icon> |
|---|
| 55 | </button> |
|---|
| 56 | <!--button> |
|---|
| 57 | <custom_widget> |
|---|
| 58 | 1 |
|---|
| 59 | </custom_widget> |
|---|
| 60 | </button--> |
|---|
| 61 | </buttons> |
|---|
| 62 | </tab> |
|---|
| 63 | </tabs> |
|---|