Ejemplo n.º 1
0
        $grpNameStr .= "'" . addslashes(decode_html($grpName)) . "'";
        $m++;
    }
}
$smarty_obj->assign("ROLEIDSTR", $roleIdStr);
$smarty_obj->assign("ROLENAMESTR", $roleNameStr);
$smarty_obj->assign("USERIDSTR", $userIdStr);
$smarty_obj->assign("USERNAMESTR", $userNameStr);
$smarty_obj->assign("GROUPIDSTR", $grpIdStr);
$smarty_obj->assign("GROUPNAMESTR", $grpNameStr);
// ITS4YOU-END
$reportdescription = htmlspecialchars($reportdescription, ENT_COMPAT, $default_charset);
$smarty_obj->assign('REPORT_DESC', $reportdescription);
$smarty_obj->assign('FOLDERID', $folderid);
$smarty_obj->assign("CREATE_MODE", $ITS4YouReports->mode);
$smarty_obj->assign("PRIMARYMODULES", $ITS4YouReports->getPrimaryModules());
$smarty_obj->assign("FOLDERID", vtlib_purify($_REQUEST['folder']));
$smarty_obj->assign("REP_FOLDERS", $ITS4YouReports->getReportFolders());
if (!isset($_REQUEST["mode"])) {
    // ReportsStep2
    $smarty_obj = $ITS4YouReports->getSelectedValuesToSmarty($smarty_obj, "all");
    // ReportGrouping
    // ReportColumns
    $RC_BLOCK2 = $ITS4YouReports->getSelectedColumnsList($ITS4YouReports->selected_columns_list_arr);
    $smarty_obj->assign("RC_BLOCK2", $RC_BLOCK2);
}
$tool_buttons = Button_Check($currentModule);
$tool_buttons["Import"] = "no";
$tool_buttons["Export"] = "no";
$smarty_obj->assign('CHECK', $tool_buttons);
if ($ITS4YouReports->CheckPermissions("EDIT")) {