Popravki glede "define()" - pri novejsem php ne more biti case insensitive

This commit is contained in:
pero1203 2021-01-12 14:09:06 +01:00
parent 57e2eb66ec
commit db9d3ed2da
4 changed files with 50 additions and 59 deletions

View File

@ -295,7 +295,7 @@
define ('STR_DLMT', "|");
define ('DAT_EXT', '.dat');
define ('TMP_EXT', '.tmp');
define ('PIPE_CHAR', "\x7C",true);
define ('PIPE_CHAR', '\x7C');
define ('STR_LESS_THEN', '\x3C');
define ('STR_GREATER_THEN', '\x3E');
define ('STR_EQUALS', '\x3D');

View File

@ -14,27 +14,27 @@ define("M_ANALIZA_SUMS", "sums");
/*PDF*/
define("A_REPORT_VPRASALNIK_PDF", "vprasalnik_pdf");
define("A_REPORT_PDF_RESULTS","pdf_results",true);
define("A_REPORT_PDF_COMMENT","pdf_comment",true);
define("A_REPORT_PDF_RESULTS","pdf_results");
define("A_REPORT_PDF_COMMENT","pdf_comment");
define("M_REPORT_ANALIZA_PDF_FREKVENCA","frequency",true);
define("M_REPORT_ANALIZA_PDF_CROSSTAB_IZPIS","crosstabs_izpis",true);
define("M_REPORT_ANALIZA_PDF_MULTICROSSTAB_IZPIS","multicrosstabs_izpis",true);
define("M_REPORT_ANALIZA_PDF_MEAN_IZPIS","mean_izpis",true);
define("M_REPORT_ANALIZA_PDF_TTEST_IZPIS","ttest_izpis",true);
define("M_REPORT_ANALIZA_PDF_BREAK_IZPIS","break_izpis",true);
define("M_REPORT_ANALIZA_PDF_STAT","statistics",true);
define("M_REPORT_ANALIZA_PDF_CHARTS","charts",true);
define("M_REPORT_ANALIZA_PDF_SUMS","sums",true);
define("M_REPORT_ANALIZA_PDF_CREPORT","creport_pdf",true);
define("M_REPORT_ANALIZA_PDF_FREKVENCA","frequency");
define("M_REPORT_ANALIZA_PDF_CROSSTAB_IZPIS","crosstabs_izpis");
define("M_REPORT_ANALIZA_PDF_MULTICROSSTAB_IZPIS","multicrosstabs_izpis");
define("M_REPORT_ANALIZA_PDF_MEAN_IZPIS","mean_izpis");
define("M_REPORT_ANALIZA_PDF_TTEST_IZPIS","ttest_izpis");
define("M_REPORT_ANALIZA_PDF_BREAK_IZPIS","break_izpis");
define("M_REPORT_ANALIZA_PDF_STAT","statistics");
define("M_REPORT_ANALIZA_PDF_CHARTS","charts");
define("M_REPORT_ANALIZA_PDF_SUMS","sums");
define("M_REPORT_ANALIZA_PDF_CREPORT","creport_pdf");
define("A_REPORT_PDF_STATUS","status",true);
define("A_REPORT_PDF_EDITS_ANALYSIS","editsAnalysis",true);
define("A_REPORT_PDF_LIST","list_pdf",true);
define("M_REPORT_PDF_EVOLI","pdf_evoli",true);
define("M_REPORT_PDF_TEAMMETER","pdf_teammeter",true);
define("M_REPORT_PDF_MFDPS","pdf_mfpds",true);
define("M_REPORT_PDF_HEATMAP_IMAGE","heatmap_image_pdf",true);
define("A_REPORT_PDF_STATUS","status");
define("A_REPORT_PDF_EDITS_ANALYSIS","editsAnalysis");
define("A_REPORT_PDF_LIST","list_pdf");
define("M_REPORT_PDF_EVOLI","pdf_evoli");
define("M_REPORT_PDF_TEAMMETER","pdf_teammeter");
define("M_REPORT_PDF_MFDPS","pdf_mfpds");
define("M_REPORT_PDF_HEATMAP_IMAGE","heatmap_image_pdf");
define("M_REPORT_HIERARHIJA_PDF_IZPIS", "hierarhija_pdf_izpis");
@ -59,7 +59,7 @@ define("M_REPORT_ANALIZA_RTF_CHARTS", "charts_rtf");
define("M_REPORT_ANALIZA_RTF_CREPORT", "creport_rtf");
define("A_REPORT_RTF_LIST", "list_rtf");
define("M_REPORT_ANALIZA_RTF_HEATMAP_IMAGE","heatmap_image_rtf",true);
define("M_REPORT_ANALIZA_RTF_HEATMAP_IMAGE","heatmap_image_rtf");
define("A_GDPR_RTF_INDIVIDUAL", "rtf_gdpr_individual");
define("A_GDPR_RTF_ACTIVITY", "rtf_gdpr_activity");

View File

@ -111,7 +111,7 @@ define ("circleSlider", '\def\circleSLIDER#1#2{% 1: length, 2: position of the m
\fill[rounded corners=0.1cm, draw=gray, fill=lightgray] (start) rectangle (end);
\fill[draw=gray, rounded corners=0.2mm, fill=gray!20!gray] (mark) circle(.15) ;
}
}', true);
}');
#definicija za izris drsnika brez kroglice
define ("emptySlider", '\def\emptySLIDER#1{% 1: length
@ -120,25 +120,16 @@ define ("emptySlider", '\def\emptySLIDER#1{% 1: length
\coordinate (end) at (#1,0.1cm);
\fill[rounded corners=0.1cm, draw=gray, fill=lightgray] (start) rectangle (end);
}
}', true);
}');
#definicija latex kode za dodajanje skripte za generiranje xls iz html
/* define ("headWithXlsScript",
'\ifdefined\HCode
\AtBeginDocument{%
\Configure{@HEAD}{\HCode{<script src="./table2excel/dist/jquery.table2excel.js"></script>\Hnewline}}
\ConfigureEnv{quote}{\Tg<quote>}{\Tg</quote>}{}{}
}
\fi',
true); */
define ("headWithXlsScript",
'\ifdefined\HCode
\AtBeginDocument{%
\Configure{@HEAD}{\HCode{<script src="./export/script/saveAsExcel2.js"></script>\Hnewline}}
\ConfigureEnv{quote}{\Tg<quote>}{\Tg</quote>}{}{}
}
\fi',
true);
\fi');
class LatexDocument{

View File

@ -30,35 +30,35 @@ define("M_ANALIZA_SUMS", "sums");
/*PDF*/
define("A_REPORT_VPRASALNIK_PDF", "vprasalnik_pdf");
define("A_REPORT_PDF_RESULTS","pdf_results",true);
define("A_REPORT_PDF_COMMENT","pdf_comment",true);
define("M_REPORT_ANALIZA_PDF_FREKVENCA","frequency",true);
define("M_REPORT_ANALIZA_PDF_CROSSTAB_IZPIS","crosstabs_izpis",true);
define("M_REPORT_ANALIZA_PDF_MULTICROSSTAB_IZPIS","multicrosstabs_izpis",true);
define("M_REPORT_ANALIZA_PDF_MEAN_IZPIS","mean_izpis",true);
define("M_REPORT_ANALIZA_PDF_TTEST_IZPIS","ttest_izpis",true);
define("M_REPORT_ANALIZA_PDF_BREAK_IZPIS","break_izpis",true);
define("M_REPORT_ANALIZA_PDF_STAT","statistics",true);
define("M_REPORT_ANALIZA_PDF_CHARTS","charts",true);
define("M_REPORT_ANALIZA_PDF_SUMS","sums",true);
define("M_REPORT_ANALIZA_PDF_CREPORT","creport_pdf",true);
define("A_REPORT_PDF_STATUS","status",true);
define("A_REPORT_PDF_EDITS_ANALYSIS","editsAnalysis",true);
define("A_REPORT_PDF_LIST","list_pdf",true);
define("M_REPORT_PDF_EVOLI","pdf_evoli",true);
define("M_REPORT_PDF_TEAMMETER","pdf_teammeter",true);
define("M_REPORT_PDF_EMPLOYMETER","pdf_employmeter",true);
define("M_REPORT_PDF_MFDPS","pdf_mfpds",true);
define("M_REPORT_PDF_MJU","pdf_mju",true);
define("M_REPORT_PDF_MJU2","pdf_mju2",true);
define("M_REPORT_BORZA","borza_chart",true);
define("M_REPORT_PDF_HEATMAP_IMAGE","heatmap_image_pdf",true);
define("A_REPORT_PDF_RESULTS","pdf_results");
define("A_REPORT_PDF_COMMENT","pdf_comment");
define("M_REPORT_ANALIZA_PDF_FREKVENCA","frequency");
define("M_REPORT_ANALIZA_PDF_CROSSTAB_IZPIS","crosstabs_izpis");
define("M_REPORT_ANALIZA_PDF_MULTICROSSTAB_IZPIS","multicrosstabs_izpis");
define("M_REPORT_ANALIZA_PDF_MEAN_IZPIS","mean_izpis");
define("M_REPORT_ANALIZA_PDF_TTEST_IZPIS","ttest_izpis");
define("M_REPORT_ANALIZA_PDF_BREAK_IZPIS","break_izpis");
define("M_REPORT_ANALIZA_PDF_STAT","statistics");
define("M_REPORT_ANALIZA_PDF_CHARTS","charts");
define("M_REPORT_ANALIZA_PDF_SUMS","sums");
define("M_REPORT_ANALIZA_PDF_CREPORT","creport_pdf");
define("A_REPORT_PDF_STATUS","status");
define("A_REPORT_PDF_EDITS_ANALYSIS","editsAnalysis");
define("A_REPORT_PDF_LIST","list_pdf");
define("M_REPORT_PDF_EVOLI","pdf_evoli");
define("M_REPORT_PDF_TEAMMETER","pdf_teammeter");
define("M_REPORT_PDF_EMPLOYMETER","pdf_employmeter");
define("M_REPORT_PDF_MFDPS","pdf_mfpds");
define("M_REPORT_PDF_MJU","pdf_mju");
define("M_REPORT_PDF_MJU2","pdf_mju2");
define("M_REPORT_BORZA","borza_chart");
define("M_REPORT_PDF_HEATMAP_IMAGE","heatmap_image_pdf");
define("M_REPORT_HIERARHIJA_PDF_IZPIS", "hierarhija_pdf_izpis");
/*RTF*/
define("A_REPORT_VPRASALNIK_RTF", "vprasalnik_rtf");
define("A_REPORT_RTF_RESULTS", "rtf_results");
define("A_REPORT_RTF_COMMENT","rtf_comment",true);
define("A_REPORT_RTF_COMMENT","rtf_comment");
define("M_REPORT_ANALIZA_RTF_FREKVENCA", "frequency_rtf");
define("M_REPORT_ANALIZA_RTF_CROSSTAB_IZPIS", "crosstabs_izpis_rtf");
define("M_REPORT_ANALIZA_RTF_MULTICROSSTAB_IZPIS", "multicrosstabs_izpis_rtf");
@ -70,7 +70,7 @@ define("M_REPORT_ANALIZA_RTF_SUMS", "sums_rtf");
define("M_REPORT_ANALIZA_RTF_CHARTS", "charts_rtf");
define("M_REPORT_ANALIZA_RTF_CREPORT", "creport_rtf");
define("A_REPORT_RTF_LIST", "list_rtf");
define("M_REPORT_ANALIZA_RTF_HEATMAP_IMAGE","heatmap_image_rtf",true);
define("M_REPORT_ANALIZA_RTF_HEATMAP_IMAGE","heatmap_image_rtf");
/*XLS*/
define("M_REPORT_ANALIZA_XLS_STAT", "statistics_xls");
@ -96,7 +96,7 @@ define("A_LANGUAGE_TECHNOLOGY_XLS", "lt_excel");
/*PPT*/
define("M_REPORT_ANALIZA_PPT_CHARTS", "charts_ppt");
define("M_REPORT_ANALIZA_PPT_HEATMAP_IMAGE","heatmap_image_ppt",true);
define("M_REPORT_ANALIZA_PPT_HEATMAP_IMAGE","heatmap_image_ppt");
/*IMAGE*/
define("M_REPORT_ANALIZA_HEATMAP_IMAGE", "heatmap_image");