global $app_list_strings; global $mod_strings; global $list_max_entries_per_page; global $urlPrefix; $log = LoggerManager::getLogger('report_list'); global $currentModule; global $image_path; global $theme; global $focus_list; $recordid = vtlib_purify($_REQUEST['record']); $smarty_obj = new vtigerCRM_Smarty(); $smarty_obj->assign("MOD", $mod_strings); $smarty_obj->assign("APP", $app_strings); $ITS4YouReports = new ITS4YouReports(); if ($ITS4YouReports->record != "") { $r_permitted = $ITS4YouReports->CheckReportPermissions($ITS4YouReports->primarymodule, $ITS4YouReports->record); } // ITS4YOU-CR SlOl | 1.8.2014 16:10 block mode for Developer Only $smarty_obj->assign("block_mode", "none"); //$smarty_obj->assign("block_mode", "block"); /*global $current_user;if($current_user->id=="1"){ $smarty_obj->assign("block_mode", "block"); }*/ // ITS4YOU-END 1.8.2014 16:11 $smarty_obj->assign("currentModule", "{$currentModule}"); if (isset($_REQUEST['parenttab']) && $_REQUEST['parenttab'] != '') { $smarty_obj->assign("CATEGORY", $_REQUEST['parenttab']); } if ($recordid != '') { $ITS4YouReports->mode = 'edit'; if (vtlib_isModuleActive($ITS4YouReports->primarymodule) == false) {