]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - tests/modules/UpgradeWizard/SugarMerge/od_metadata_files/custom/modules/Project/metadata/editviewdefs.php
Added unit tests.
[Github/sugarcrm.git] / tests / modules / UpgradeWizard / SugarMerge / od_metadata_files / custom / modules / Project / metadata / editviewdefs.php
1 <?php
2 // created: 2010-04-24 18:20:47
3 $viewdefs['Project']['EditView'] = array (
4   'templateMeta' => 
5   array (
6     'maxColumns' => '2',
7     'widths' => 
8     array (
9       0 => 
10       array (
11         'label' => '10',
12         'field' => '30',
13       ),
14       1 => 
15       array (
16         'label' => '10',
17         'field' => '30',
18       ),
19     ),
20     'form' => 
21     array (
22       'hidden' => '<input type="hidden" name="is_template" value="{$is_template}" />',
23       'buttons' => 
24       array (
25         0 => 'SAVE',
26         1 => 
27         array (
28           'customCode' => '{if !empty($smarty.request.return_action) && $smarty.request.return_action == "ProjectTemplatesDetailView" && (!empty($fields.id.value) || !empty($smarty.request.return_id)) }<input title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" class="button" onclick="this.form.action.value=\'ProjectTemplatesDetailView\'; this.form.module.value=\'{$smarty.request.return_module}\'; this.form.record.value=\'{$smarty.request.return_id}\';" type="submit" name="button" value="{$APP.LBL_CANCEL_BUTTON_LABEL}"> {elseif !empty($smarty.request.return_action) && $smarty.request.return_action == "DetailView" && (!empty($fields.id.value) || !empty($smarty.request.return_id)) }<input title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" class="button" onclick="this.form.action.value=\'DetailView\'; this.form.module.value=\'{$smarty.request.return_module}\'; this.form.record.value=\'{$smarty.request.return_id}\';" type="submit" name="button" value="{$APP.LBL_CANCEL_BUTTON_LABEL}"> {elseif $is_template}<input title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" class="button" onclick="this.form.action.value=\'ProjectTemplatesListView\'; this.form.module.value=\'{$smarty.request.return_module}\'; this.form.record.value=\'{$smarty.request.return_id}\';" type="submit" name="button" value="{$APP.LBL_CANCEL_BUTTON_LABEL}"> {else}<input title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" class="button" onclick="this.form.action.value=\'index\'; this.form.module.value=\'{$smarty.request.return_module}\'; this.form.record.value=\'{$smarty.request.return_id}\';" type="submit" name="button" value="{$APP.LBL_CANCEL_BUTTON_LABEL}"> {/if}',
29         ),
30       ),
31     ),
32   ),
33   'panels' => 
34   array (
35     'default' => 
36     array (
37       0 => 
38       array (
39         0 => 
40         array (
41           'name' => 'name',
42           'label' => 'LBL_NAME',
43         ),
44         1 => 
45         array (
46           'name' => 'status',
47           'label' => 'LBL_STATUS',
48         ),
49       ),
50       1 => 
51       array (
52         0 => 
53         array (
54           'name' => 'estimated_start_date',
55           'label' => 'LBL_DATE_START',
56         ),
57         1 => 
58         array (
59           'name' => 'estimated_end_date',
60           'label' => 'LBL_DATE_END',
61         ),
62       ),
63       2 => 
64       array (
65         0 => 
66         array (
67           'name' => 'assigned_user_name',
68           'label' => 'LBL_ASSIGNED_USER_NAME',
69         ),
70         1 => 
71         array (
72           'name' => 'team_name',
73           'label' => 'LBL_TEAM',
74         ),
75       ),
76       3 => 
77       array (
78         0 => 
79         array (
80           'name' => 'priority',
81           'label' => 'LBL_PRIORITY',
82         ),
83       ),
84       4 => 
85       array (
86         0 => 
87         array (
88           'name' => 'description',
89           'displayParams' => 
90           array (
91             'rows' => '8',
92             'cols' => '60',
93           ),
94           'label' => 'LBL_DESCRIPTION',
95         ),
96         1 => NULL,
97       ),
98       5 => 
99       array (
100         0 => 
101         array (
102           'name' => 'kiosk_kiosk_project_name',
103         ),
104       ),
105     ),
106   ),
107 );
108 ?>