Вход Регистрация
Файл: source/app/objects/install/data/user/config/crud_group_components.php
Строк: 108
<?php
$lang 
Lang::singleton(); 
$conf = array (
        
'title' => $lang->line('group_component_manager'),
        
'limit' => '20',
        
'frm_type' => '2',
        
'join' =>
        array (
        ),
        
'order_field' => 'crud_group_components.id',
        
'order_type' => 'asc',
        
'search_form' =>
        array (
                
=>
                array (
                        
'alias' => $lang->line('name'),
                        
'field' => 'crud_group_components.name',
                ),
        ),
        
'validate' =>
        array (
                
'crud_group_components.name' =>
                array (
                        
'rule' => 'notEmpty',
                        
'message' => sprintf($lang->line('please_enter_value'), $lang->line('name')),
                ),
        ),
        
'data_list' =>
        array (
                
'no' =>
                array (
                        
'alias' => $lang->line('no_'),
                        
'width' => 40,
                        
'align' => 'center',
                        
'format' => '{no}',
                ),
                
'crud_group_components.name' =>
                array (
                        
'alias' => $lang->line('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_group_components.name' =>
                array (
                        
'alias' => $lang->line('name'),
                        
'element' =>
                        array (
                                
=> 'text',
                                
=>
                                array (
                                        
'style' => 'width:410px;',
                                ),
                        ),
                ),
                
'crud_group_components.description' =>
                array (
                        
'alias' => $lang->line('description'),
                        
'element' =>
                        array (
                                
=> 'editor',
                        ),
                ),
        ),
        
'elements' =>
        array (
                
'crud_group_components.name' =>
                array (
                        
'alias' => $lang->line('name'),
                        
'element' =>
                        array (
                                
=> 'text',
                                
=>
                                array (
                                        
'style' => 'width:410px;',
                                ),
                        ),
                ),
                
'crud_group_components.description' =>
                array (
                        
'alias' => $lang->line('description'),
                        
'element' =>
                        array (
                                
=> 'editor',
                        ),
                ),
        ),
);
Онлайн: 1
Реклама