diff --git a/APPL/FAC/fac_report.asp b/APPL/FAC/fac_report.asp index 490c25fe4d..f408027f49 100644 --- a/APPL/FAC/fac_report.asp +++ b/APPL/FAC/fac_report.asp @@ -75,6 +75,7 @@ var outputmode = getQParamInt("outputmode", 0); var nobuttons = getQParamInt("nobuttons", 0) == 1; + var noheader = getQParamInt("noheader", 0) == 1; var rmode = ''; if (outputmode==2) rmode = 'excel'; @@ -119,7 +120,8 @@ { icon: "excel.png", title: L("lcl_export_to_excel"), action: 'rap_excel() ' } ]; } - IFRAMER_HEADER(model.records_title, buttons); + if (!noheader) + IFRAMER_HEADER(model.records_title, buttons); } FCLT2XMLResponse ({xmlnode: 'rapport', key: usrrap_key, mode: rmode, where: sql_where}); %> @@ -459,11 +461,14 @@ function fac_usrrap_list_graph (model, scf_params) <% var widget_height = getQParam("widget_height", null); + var nobuttons = getQParamInt("nobuttons", 0) == 1; + var noheader = getQParamInt("noheader", 0) == 1; var mygraph_height = ((widget_height != null) ? parseInt(widget_height) : 500); var buttons = []; if(!nobuttons) var buttons = [ { icon: "palette.png", title: L("lcl_openimage"), action: "toImg()" } ]; - IFRAMER_HEADER(model.records_title, buttons); + if (!noheader) + IFRAMER_HEADER(model.records_title, buttons); %>