Edit C:\Windows\install\galaxie_p01_01-10\marketing\form\form_js.jsp
<%@page session="true"%><%@ taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %><% response.setContentType("application/x-javascript"); %> function doOnLoad(){ var f = document.forms[0]; f.lblFrmEventID.className ='chpsTextObligatoire'; } function doFrmEventIDChange(){ doRefresh(); } function addParagraph() { var mf = window.document.forms[0]; if (mf.ParagraphText.value != "") { mf.Links.options[mf.Links.options.length] = new Option("<fl:getMessage code="L616E" alt="(P)"/> " + mf.ParagraphText.value , mf.ParagraphText.value); mf.ParagraphText.value = ""; }else{ alert("<fl:getMessage code="L63F3" alt="Veuillez saisir un titre de paragraphe"/>"); mf.ParagraphText.focus(); } } function moveSelect(monSelect, laDirection) { var i, p, n; p = monSelect.selectedIndex; n = monSelect.options.length; if (p == -1) return; if ( (p == 0) && (laDirection == 1) ) return; if ( (p == n-1) && (laDirection == -1) ) return; nouvOrdreText = new Array(n); nouvOrdreValue = new Array(n); for (i=0 ; i<n ; i++) { if ( (laDirection == 1) && (i == p-1) ) { nouvOrdreText[i] = monSelect.options[p].text; nouvOrdreValue[i] = monSelect.options[p].value; } else if ( (laDirection == 1) && (i == p) ) { nouvOrdreText[i] = monSelect.options[p-1].text; nouvOrdreValue[i] = monSelect.options[p-1].value; } else if ( (laDirection == -1) && (i == p) ) { nouvOrdreText[i] = monSelect.options[p+1].text; nouvOrdreValue[i] = monSelect.options[p+1].value; } else if ( (laDirection == -1) && (i == p+1) ) { nouvOrdreText[i] = monSelect.options[p].text; nouvOrdreValue[i] = monSelect.options[p].value; } else { nouvOrdreText[i] = monSelect.options[i].text; nouvOrdreValue[i] = monSelect.options[i].value; } } while (monSelect.options.length > 0) { monSelect.options[monSelect.options.length - 1] = null; } for (i = 0 ; i < nouvOrdreValue.length ; i++) { monSelect.options[i] = new Option(nouvOrdreText[i], nouvOrdreValue[i]); } monSelect.selectedIndex = p - laDirection; } function removeSelect(monSelect) { var i, p, n; p = monSelect.selectedIndex; n = monSelect.options.length; if (p == -1) return; if (p == n-1) { monSelect.options[n-1] = null; return; } for (i=p ; i < n-1 ; i++) { monSelect.options[i].value = monSelect.options[i+1].value; monSelect.options[i].text = monSelect.options[i+1].text; } monSelect.options[n-1] = null; } function moveLineUp() { var f = window.document.forms[0]; moveSelect(f.Links, 1); } function moveLineDown() { var f = window.document.forms[0]; moveSelect(f.Links, -1); } function removeLine() { var f = window.document.forms[0]; removeSelect(f.Links); } function clearEvent() { var mf = document.forms[0]; mf.FrmEventID.value = ""; mf.lblFrmEventID.value = ""; } function beforeSubmit() { var mf = document.forms[0]; presentFieldsValue(); var mySelect = mf.Links; var i; var allKeys = ""; for (i=0 ; i < mySelect.options.length ; i++) { allKeys += (i == 0 ? "" : "|") + mySelect.options[i].value; } mf.LinksKeys.value = allKeys; }
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de