* SPDX-License-Identifier: AGPL-3.0-only ************************************/ require_once('modules/Conditionals/Conditionals.php'); global $app_strings; global $currentModule, $current_user; if($current_user->is_admin != 'on') { die("

".$app_strings['LBL_PERMISSION']." ".$app_strings['LBL_GO_BACK'].".
"); } $log = LoggerManager::getLogger('conditionals_list'); $conditionals_obj = CRMEntity::getInstance('Conditionals'); //crmv@36505 $theme_path="themes/".$theme."/"; $image_path=$theme_path."images/"; $mod_strings = return_module_language($current_language, 'Conditionals'); $category = getParentTab(); //Display the mail send status $smarty = new VteSmarty(); $smarty->assign("MOD", return_module_language($current_language,'Settings')); $smarty->assign("CMOD", $mod_strings); $smarty->assign("APP", $app_strings); $smarty->assign("CURRENT_USERID", $current_user->id); $smarty->assign("IMAGE_PATH",$image_path); $smarty->assign("CATEGORY",$category); $list_header = $conditionals_obj->wui_getFpofvListViewRulesHeader(); //crmv@36505 $smarty->assign("LIST_HEADER", $list_header); $ListEntries = $conditionals_obj->wui_getFpofvListViewRulesEntries($fields_columnnames); //crmv@36505 $smarty->assign("LIST_ENTRIES", $ListEntries); $smarty->assign("USER_COUNT",$no_of_users); $smarty->assign("RECORD_COUNTS", $record_string); if($_REQUEST['ajax'] !='') $smarty->display("modules/Conditionals/ListViewContents.tpl"); else $smarty->display("modules/Conditionals/ListView.tpl"); ?>