1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
   | retour += "<SELECT name='predef_paramdate" + prop + "' onchange='check_defdate(param_defval" + prop + 
",predef_paramdate" + prop + 
",predef_paramplusmoins" + prop + 
",predef_paramj" + prop  +
",predef_paramjom" + prop + 
",predef_paramreport" + prop + 
",predef_paramnbjour" + prop + 
",predef_paramper" + prop + 
",predef_paramdatefixe"+ prop + 
",false);'";
 
		if (param[1].slice(0,5) == '<DATE' ) retour += " >\n";
		else retour += " STYLE='VISIBILITY:hidden;DISPLAY:none'>\n";
		if (param[1].search('C') != -1) retour += "<OPTION VALUE='C' SELECTED>Date calculée</OPTION>\n";
		else retour += "<OPTION VALUE='C'>Date calculée</OPTION>\n";
		if (param[1].search('F') != -1) retour += "<OPTION VALUE='F' SELECTED>Date fixe (JJ/MM/AAAA)</OPTION>\n";
		else retour += "<OPTION VALUE='F'>Date fixe (JJ/MM/AAAA)</OPTION>\n";
		if (param[1].search('R05') != -1) retour += "<OPTION VALUE='R05' SELECTED>Référence au 5</OPTION>\n";
		else retour += "<OPTION VALUE='R05'>Référence au 5</OPTION>\n";
		if (param[1].search('R15') != -1) retour += "<OPTION VALUE='R15' SELECTED>Référence au 15</OPTION>\n";
		else retour += "<OPTION VALUE='R15'>Référence au 15</OPTION>\n";
		if (param[1].search('R25') != -1) retour += "<OPTION VALUE='R25' SELECTED>Référence au 25</OPTION>\n";
		else retour += "<OPTION VALUE='R25'>Référence au 25</OPTION>\n";
		if (param[1].search('RD') != -1) retour += "<OPTION VALUE='RDE' SELECTED>Référence au dernier jour</OPTION>\n";
		else retour += "<OPTION VALUE='RDE'>Référence au dernier jour</OPTION>\n";
		retour += "</SELECT><BR>\n"; | 
Partager