55 lines
3.1 KiB
PHP
55 lines
3.1 KiB
PHP
<?php
|
|
global $lang;
|
|
$config->webhook->dtable = new stdclass();
|
|
$config->webhook->dtable->fieldList['id']['name'] = 'id';
|
|
$config->webhook->dtable->fieldList['id']['title'] = $lang->idAB;
|
|
$config->webhook->dtable->fieldList['id']['fixed'] = 'left';
|
|
$config->webhook->dtable->fieldList['id']['required'] = 'yes';
|
|
$config->webhook->dtable->fieldList['id']['type'] = 'checkID';
|
|
$config->webhook->dtable->fieldList['id']['checkbox'] = false;
|
|
$config->webhook->dtable->fieldList['id']['show'] = true;
|
|
$config->webhook->dtable->fieldList['id']['sortType'] = true;
|
|
$config->webhook->dtable->fieldList['id']['group'] = 1;
|
|
|
|
$config->webhook->dtable->fieldList['type']['name'] = 'type';
|
|
$config->webhook->dtable->fieldList['type']['title'] = $lang->webhook->type;
|
|
$config->webhook->dtable->fieldList['type']['width'] = 136;
|
|
$config->webhook->dtable->fieldList['type']['type'] = 'html';
|
|
$config->webhook->dtable->fieldList['type']['sortType'] = true;
|
|
$config->webhook->dtable->fieldList['type']['align'] = 'left';
|
|
|
|
$config->webhook->dtable->fieldList['name']['name'] = 'name';
|
|
$config->webhook->dtable->fieldList['name']['title'] = $lang->webhook->name;
|
|
$config->webhook->dtable->fieldList['name']['minWidth'] = 108;
|
|
$config->webhook->dtable->fieldList['name']['type'] = 'html';
|
|
$config->webhook->dtable->fieldList['name']['sortType'] = true;
|
|
$config->webhook->dtable->fieldList['name']['align'] = 'left';
|
|
|
|
$config->webhook->dtable->fieldList['url']['name'] = 'url';
|
|
$config->webhook->dtable->fieldList['url']['title'] = $lang->webhook->url;
|
|
$config->webhook->dtable->fieldList['url']['minWidth'] = 150;
|
|
$config->webhook->dtable->fieldList['url']['type'] = 'html';
|
|
$config->webhook->dtable->fieldList['url']['sortType'] = true;
|
|
$config->webhook->dtable->fieldList['url']['align'] = 'left';
|
|
|
|
$config->webhook->dtable->fieldList['actions']['name'] = 'actions';
|
|
$config->webhook->dtable->fieldList['actions']['title'] = $lang->actions;
|
|
$config->webhook->dtable->fieldList['actions']['type'] = 'actions';
|
|
$config->webhook->dtable->fieldList['actions']['minWidth'] = '110';
|
|
$config->webhook->dtable->fieldList['actions']['fixed'] = 'right';
|
|
|
|
$config->webhook->dtable->fieldList['actions']['actionsMap']['chooseDept']['icon'] = 'link';
|
|
$config->webhook->dtable->fieldList['actions']['actionsMap']['chooseDept']['hint'] = $lang->webhook->chooseDept;
|
|
|
|
$config->webhook->dtable->fieldList['actions']['actionsMap']['bind']['icon'] = 'link';
|
|
$config->webhook->dtable->fieldList['actions']['actionsMap']['bind']['hint'] = $lang->webhook->bind;
|
|
|
|
$config->webhook->dtable->fieldList['actions']['actionsMap']['delete']['icon'] = 'trash';
|
|
$config->webhook->dtable->fieldList['actions']['actionsMap']['delete']['hint'] = $lang->webhook->delete;
|
|
|
|
$config->webhook->dtable->fieldList['actions']['actionsMap']['log']['icon'] = 'file-text';
|
|
$config->webhook->dtable->fieldList['actions']['actionsMap']['log']['hint'] = $lang->webhook->log;
|
|
|
|
$config->webhook->dtable->fieldList['actions']['actionsMap']['edit']['icon'] = 'edit';
|
|
$config->webhook->dtable->fieldList['actions']['actionsMap']['edit']['hint'] = $lang->webhook->edit;
|