<?php
$module_name = 'SP_engagemailing';
$viewdefs[$module_name] = 
array (
  'base' => 
  array (
    'view' => 
    array (
      'record' => 
      array (
        'panels' => 
        array (
          0 => 
          array (
            'name' => 'panel_header',
            'label' => 'LBL_RECORD_HEADER',
            'header' => true,
            'fields' => 
            array (
              0 => 
              array (
                'name' => 'picture',
                'type' => 'avatar',
                'width' => 42,
                'height' => 42,
                'dismiss_label' => true,
                'readonly' => true,
              ),
              1 => 
              array (
                'name' => 'name',
                'label' => 'LBL_NAME',
                'readonly' => true,
              ),
              2 => 
              array (
                'name' => 'favorite',
                'label' => 'LBL_FAVORITE',
                'type' => 'favorite',
                'readonly' => true,
                'dismiss_label' => true,
              ),
              3 => 
              array (
                'name' => 'follow',
                'label' => 'LBL_FOLLOW',
                'type' => 'follow',
                'readonly' => true,
                'dismiss_label' => true,
              ),
            ),
          ),
          1 => 
          array (
            'name' => 'panel_body',
            'label' => 'LBL_RECORD_BODY',
            'columns' => 2,
            'labelsOnTop' => true,
            'placeholders' => true,
            'newTab' => false,
            'panelDefault' => 'expanded',
            'fields' => 
            array (
              0 => 
              array (
                'name' => 'sp_subject',
                'label' => 'LBL_SP_SUBJECT',
                'span' => 12,
              ),
              1 => 
              array (
                'name' => 'sp_engageid',
                'label' => 'LBL_SP_ENGAGEID',
                'span' => 6,
              ),
              2 => 
              array (
                'name' => 'sp_sentdate',
                'label' => 'LBL_SP_SENTDATE',
                'span' => 6,
              ),
              3 => 
              array (
                'name' => 'sp_fromname',
                'label' => 'LBL_SP_FROMNAME',
              ),
              4 => 
              array (
                'name' => 'sp_fromaddress',
                'label' => 'LBL_SP_FROMADDRESS',
              ),
              5 => 
              array (
                'name' => 'sp_replytoaddress',
                'label' => 'LBL_SP_REPLYTOADDRESS',
              ),
              6 => 
              array (
              ),
              7 => 
              array (
                'name' => 'description',
                'span' => 12,
              ),
            ),
          ),
          2 => 
          array (
            'newTab' => false,
            'panelDefault' => 'expanded',
            'name' => 'sp_statistics',
            'label' => 'LBL_SP_STATISTICTS_PANEL1',
            'columns' => 2,
            'labelsOnTop' => 1,
            'placeholders' => 1,
            'fields' => 
            array (
              0 => 
              array (
                'name' => 'sp_recipients',
                'label' => 'LBL_SP_RECIPIENTS',
              ),
              1 => 
              array (
                'name' => 'sp_recipientsfailed',
                'label' => 'LBL_SP_RECIPIENTSFAILED',
              ),
              2 => 
              array (
                'name' => 'sp_numbersent',
                'label' => 'LBL_SP_NUMBERSENT',
              ),
              3 => 
              array (
                'name' => 'sp_numberunsubscribed',
                'label' => 'LBL_SP_NUMBERUNSUBSCRIBED',
              ),
              4 => 
              array (
                'name' => 'sp_numberuniqueclicks',
                'label' => 'LBL_SP_NUMBERUNIQUECLICKS',
              ),
              5 => 
              array (
                'name' => 'sp_numberuniqueopens',
                'label' => 'LBL_SP_NUMBERUNIQUEOPENS',
              ),
              6 => 
              array (
                'name' => 'sp_numberoftotalclicks',
                'label' => 'LBL_SP_NUMBEROFTOTALCLICKS',
              ),
              7 => 
              array (
              ),
              8 => 
              array (
                'name' => 'sp_totalsoftbounce',
                'label' => 'LBL_SP_TOTALSOFTBOUNCE',
              ),
              9 => 
              array (
                'name' => 'sp_totalhardbounce',
                'label' => 'LBL_SP_TOTALHARDBOUNCE',
              ),
            ),
          ),
          3 => 
          array (
            'name' => 'panel_hidden',
            'label' => 'LBL_SHOW_MORE',
            'hide' => true,
            'columns' => 2,
            'labelsOnTop' => true,
            'placeholders' => true,
            'newTab' => false,
            'panelDefault' => 'collapsed',
            'fields' => 
            array (
              0 => 'assigned_user_name',
              1 => 'team_name',
              2 => 
              array (
                'name' => 'date_modified_by',
                'readonly' => true,
                'type' => 'fieldset',
                'label' => 'LBL_DATE_MODIFIED',
                'fields' => 
                array (
                  0 => 
                  array (
                    'name' => 'date_modified',
                  ),
                  1 => 
                  array (
                    'type' => 'label',
                    'default_value' => 'LBL_BY',
                  ),
                  2 => 
                  array (
                    'name' => 'modified_by_name',
                  ),
                ),
              ),
              3 => 
              array (
                'name' => 'date_entered_by',
                'readonly' => true,
                'type' => 'fieldset',
                'label' => 'LBL_DATE_ENTERED',
                'fields' => 
                array (
                  0 => 
                  array (
                    'name' => 'date_entered',
                  ),
                  1 => 
                  array (
                    'type' => 'label',
                    'default_value' => 'LBL_BY',
                  ),
                  2 => 
                  array (
                    'name' => 'created_by_name',
                  ),
                ),
              ),
            ),
          ),
        ),
        'templateMeta' => 
        array (
          'useTabs' => false,
        ),
      ),
    ),
  ),
);
