HEX
Server: Apache
System: Linux dev.epsylon.net 3.10.0-1160.144.1.el7.tuxcare.els2.x86_64 #1 SMP Sun Feb 15 11:22:42 UTC 2026 x86_64
User: nexper (1054)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/nexper/public_html/crm/include/generic/SugarWidgets/SugarWidgetSubPanelTopFilterButton.php
<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
/**
 * SugarWidgetSubPanelTopFilterButton.php
 * @author SalesAgility <support@salesagility.com>
 * Date: 27/01/14
 */

class SugarWidgetSubPanelTopFilterButton  extends SugarWidgetSubPanelTopButton{

    function display($defines)
    {
        global $app_strings;

        $button = "<script src='custom/include/SubPanel/SubPanel.js'></script>";

        $button .= "<input class='button' type='button'  value='".$app_strings['LBL_SUBPANEL_FILTER_LABEL']."'  id='". $this->getWidgetId() ."'  name='".$app_strings['LBL_SUBPANEL_FILTER_LABEL']."'  title='".$app_strings['LBL_SUBPANEL_FILTER_LABEL']."' onclick=\"showSearchPanel('history');return false;\" />";

        return $button;
    }

}