Файл: source/app/objects/install/data/user/config/crud_groups.php
Строк: 95
<?php
$lang = Lang::singleton();
$conf = array (
'title' => $lang->line('group_manager'),
'limit' => '20',
'frm_type' => '2',
'join' =>
array (
),
'order_field' => 'crud_groups.group_name',
'order_type' => 'asc',
'search_form' =>
array (
0 =>
array (
'alias' => $lang->line('group_name'),
'field' => 'crud_groups.group_name',
),
1 =>
array (
'alias' => $lang->line('description'),
'field' => 'crud_groups.group_description',
),
),
'validate' =>
array (
'crud_groups.group_name' =>
array (
'rule' => 'notEmpty',
'message' => sprintf($lang->line('please_enter_value'), $lang->line('group_name')),
),
),
'data_list' =>
array (
'no' =>
array (
'alias' => $lang->line('no_'),
'width' => 40,
'align' => 'center',
'format' => '{no}',
),
'crud_groups.group_name' =>
array (
'alias' => $lang->line('group_name'),
),
'action' =>
array (
'alias' => $lang->line('actions'),
'format' => '<a type="button" onclick="__view('{ppri}'); return false;" class="btn btn-mini">'.$lang->line('view').'</a> <a type="button" onclick="__edit('{ppri}'); return false;" class="btn btn-mini btn-info">'.$lang->line('edit').'</a> <a type="button" onclick="__delete('{ppri}'); return false;" class="btn btn-mini btn-danger">'.$lang->line('delete').'</a>',
'width' => 130,
'align' => 'center',
),
),
'form_elements' =>
array (
'crud_groups.group_name' =>
array (
'alias' => $lang->line('group_name'),
'element' =>
array (
0 => 'text',
1 =>
array (
'style' => 'width:650px;',
),
),
),
'crud_groups.group_description' =>
array (
'alias' => $lang->line('description'),
'element' =>
array (
0 => 'editor',
),
),
),
'elements' =>
array (
'crud_groups.group_name' =>
array (
'alias' => $lang->line('group_name'),
'element' =>
array (
0 => 'text',
1 =>
array (
'style' => 'width:650px;',
),
),
),
'crud_groups.group_description' =>
array (
'alias' => $lang->line('description'),
'element' =>
array (
0 => 'editor',
),
),
),
);