mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2026-07-28 23:36:57 +08:00
118 lines
2.5 KiB
PHP
118 lines
2.5 KiB
PHP
<?php
|
|
$module_name = 'TemplateSectionLine';
|
|
$searchdefs [$module_name] =
|
|
array(
|
|
'layout' =>
|
|
array(
|
|
'basic_search' =>
|
|
array(
|
|
'name' =>
|
|
array(
|
|
'name' => 'name',
|
|
'default' => true,
|
|
'width' => '10%',
|
|
),
|
|
'grp' =>
|
|
array(
|
|
'type' => 'varchar',
|
|
'label' => 'LBL_GRP',
|
|
'width' => '10%',
|
|
'default' => true,
|
|
'name' => 'grp',
|
|
),
|
|
'description' =>
|
|
array(
|
|
'type' => 'text',
|
|
'label' => 'LBL_DESCRIPTION',
|
|
'sortable' => false,
|
|
'width' => '10%',
|
|
'default' => true,
|
|
'name' => 'description',
|
|
),
|
|
'current_user_only' =>
|
|
array(
|
|
'name' => 'current_user_only',
|
|
'label' => 'LBL_CURRENT_USER_FILTER',
|
|
'type' => 'bool',
|
|
'default' => true,
|
|
'width' => '10%',
|
|
),
|
|
'assigned_user_id' =>
|
|
array(
|
|
'name' => 'assigned_user_id',
|
|
'label' => 'LBL_ASSIGNED_TO',
|
|
'type' => 'enum',
|
|
'function' =>
|
|
array(
|
|
'name' => 'get_user_array',
|
|
'params' =>
|
|
array(
|
|
0 => false,
|
|
),
|
|
),
|
|
'width' => '10%',
|
|
'default' => true,
|
|
),
|
|
),
|
|
'advanced_search' =>
|
|
array(
|
|
'name' =>
|
|
array(
|
|
'name' => 'name',
|
|
'default' => true,
|
|
'width' => '10%',
|
|
),
|
|
'grp' =>
|
|
array(
|
|
'type' => 'varchar',
|
|
'label' => 'LBL_GRP',
|
|
'width' => '10%',
|
|
'default' => true,
|
|
'name' => 'grp',
|
|
),
|
|
'description' =>
|
|
array(
|
|
'type' => 'text',
|
|
'label' => 'LBL_DESCRIPTION',
|
|
'sortable' => false,
|
|
'width' => '10%',
|
|
'default' => true,
|
|
'name' => 'description',
|
|
),
|
|
'current_user_only' =>
|
|
array(
|
|
'label' => 'LBL_CURRENT_USER_FILTER',
|
|
'type' => 'bool',
|
|
'default' => true,
|
|
'width' => '10%',
|
|
'name' => 'current_user_only',
|
|
),
|
|
'assigned_user_id' =>
|
|
array(
|
|
'name' => 'assigned_user_id',
|
|
'label' => 'LBL_ASSIGNED_TO',
|
|
'type' => 'enum',
|
|
'function' =>
|
|
array(
|
|
'name' => 'get_user_array',
|
|
'params' =>
|
|
array(
|
|
0 => false,
|
|
),
|
|
),
|
|
'default' => true,
|
|
'width' => '10%',
|
|
),
|
|
),
|
|
),
|
|
'templateMeta' =>
|
|
array(
|
|
'maxColumns' => '3',
|
|
'maxColumnsBasic' => '4',
|
|
'widths' =>
|
|
array(
|
|
'label' => '10',
|
|
'field' => '30',
|
|
),
|
|
),
|
|
);
|