SuiteCRM-Core/public/legacy/modules/ACLRoles/views/view.classic.php
Clemente Raposo 5aa0daf046 Merge next into suite 8
Merge commit 'de4bf25cb3' into release/8.4.0-beta

# Conflicts:
#	public/legacy/data/SugarBean.php
#	public/legacy/include/Smarty/plugins/function.sugarvar.php
#	public/legacy/include/SugarDateTime.php
#	public/legacy/include/database/MysqliManager.php
#	public/legacy/modules/Alerts/metadata/listviewdefs.php
#	public/legacy/modules/SugarFeed/Dashlets/SugarFeedDashlet/SugarFeedDashlet.php
#	public/legacy/modules/Trackers/metadata/SearchFields.php
#	public/legacy/modules/Trackers/metadata/listviewdefs.php
#	public/legacy/modules/UpgradeWizard/SugarMerge/EditViewMerge.php
#	public/legacy/suitecrm_version.php
2023-07-21 15:22:52 +01:00

35 lines
777 B
PHP

<?php
if (!defined('sugarEntry') || !sugarEntry) {
die('Not A Valid Entry Point');
}
#[\AllowDynamicProperties]
class ACLRolesViewClassic extends ViewDetail
{
public function __construct()
{
parent::__construct();
//turn off normal display of subpanels
$this->options['show_subpanels'] = false; //no longer works in 6.3.0
}
public function display()
{
$this->dv->process();
$file = SugarController::getActionFilename($this->action);
$this->includeClassicFile('modules/'. $this->module . '/'. $file . '.php');
}
public function preDisplay()
{
parent::preDisplay();
$this->options['show_subpanels'] = false; //eggsurplus: will display subpanels twice otherwise
}
}