0
0
mirror of https://github.com/salesagility/SuiteCRM.git synced 2024-11-22 07:52:36 +00:00
salesagility_SuiteCRM/modules/jjwg_Markers/metadata/editviewdefs.php

97 lines
1.9 KiB
PHP
Executable File

<?php
$module_name = 'jjwg_Markers';
$viewdefs [$module_name] =
array(
'EditView' =>
array(
'templateMeta' =>
array(
'maxColumns' => '2',
'widths' =>
array(
0 =>
array(
'label' => '10',
'field' => '30',
),
1 =>
array(
'label' => '10',
'field' => '30',
),
),
'useTabs' => false,
// Csutom
'form' => array('footerTpl'=>'modules/jjwg_Markers/tpls/EditViewFooter.tpl'),
),
'panels' =>
array(
'default' =>
array(
0 =>
array(
0 =>
array(
'name' => 'name',
'label' => 'LBL_NAME',
),
1 =>
array(
'name' => 'assigned_user_name',
'label' => 'LBL_ASSIGNED_TO_NAME',
),
),
1 =>
array(
0 =>
array(
'name' => 'city',
'label' => 'LBL_CITY',
),
1 =>
array(
'name' => 'state',
'label' => 'LBL_STATE',
),
),
2 =>
array(
0 =>
array(
'name' => 'country',
'label' => 'LBL_COUNTRY',
),
1 =>
array(
'name' => 'marker_image',
'studio' => 'visible',
'label' => 'LBL_MARKER_IMAGE',
),
),
3 =>
array(
0 =>
array(
'name' => 'jjwg_maps_lat',
'label' => 'LBL_JJWG_MAPS_LAT',
),
1 =>
array(
'name' => 'jjwg_maps_lng',
'label' => 'LBL_JJWG_MAPS_LNG',
),
),
4 =>
array(
0 =>
array(
'name' => 'description',
'comment' => 'Full text of the note',
'label' => 'LBL_DESCRIPTION',
),
),
),
),
),
);