* SPDX-License-Identifier: AGPL-3.0-only ************************************/ //crmv@203484 removed including file global $app_strings; global $mod_strings; global $currentModule; global $theme; $theme_path="themes/".$theme."/"; $image_path=$theme_path."images/"; global $current_language; $smarty = new VteSmarty(); $smarty->assign("MOD", return_module_language($current_language,'Settings')); $smarty->assign("CMOD", $mod_strings); $smarty->assign("APP", $app_strings); $smarty->assign("IMAGE_PATH",$image_path); //crmv@203484 $VTEP = VTEProperties::getInstance(); $singlepane_view = $VTEP->getProperty('layout.singlepane_view'); //crmv@203484e if($singlepane_view == true)//crmv@203484 changed to normal bool true, not string 'true' $viewstatus = 'enabled'; else $viewstatus = 'disabled'; $smarty->assign("ViewStatus", $viewstatus); $smarty->assign("THEME", $theme); $smarty->display('DefModuleView.tpl');