Edit C:\galaxie\Back\galaxie\netbusiness\mailcustomization\read.jsp
<% /****************************************************************************** * Copyright (c) 2000-2005 e-Deal * * e-Deal S.A. * 55 rue Brillat Savarin * 75013 Paris * France * * T: +33 (0)1 53 80 80 30 * F: +33 (0)1 73 01 69 77 * http://www.e-deal.com * * La diffusion de ce code source sous quelque forme que ce soit sans * l'autorisation de E-DEAL est interdite. * * Vous êtes autorisés à modifier ce code source uniquement pour votre usage * propre et sous réserve que les mentions de copyright demeurent intactes. * * Ce code est fourni en l'état. Aucune garantie d'aucune sorte, explicite ou * implicite n'est donnée. En aucun cas E-DEAL ne pourra être tenu pour * responsable des dommages pouvant résulter de l'utilisation de ce code * source. ******************************************************************************/ %><%@page session="true" import="com.edeal.frontline.*"%><%@page import="java.util.*" %> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.custom.*"%> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <jsp:useBean class="com.edeal.frontline.MailCustomizationBean" id="MailCustomization" scope="request"/> <% final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass()); FlRequest flRequest = new FlRequest(request); FlContext context = flRequest.getContext(); String cs_SubHTML = ""; try{ cs_SubHTML = MailCustomization.getMcsSubHTML(); }catch(FieldNotInitializedException e){} String cs_UnSubHTML = ""; try{ cs_UnSubHTML = MailCustomization.getMcsUnSubHTML(); }catch(FieldNotInitializedException e){} String Cs_ConfirmSubHTML = ""; try{ Cs_ConfirmSubHTML = MailCustomization.getMcsSubConfHTML(); }catch(FieldNotInitializedException e){} String Cs_ConfirmSubMAIL = ""; try{ Cs_ConfirmSubMAIL = MailCustomization.getMcsSubConfMAIL(); }catch(FieldNotInitializedException e){} String cs_NoMailHTML = ""; try{ cs_NoMailHTML = MailCustomization.getMcsNoMailHTML(); }catch(FieldNotInitializedException e){} String cs_GlblMsg = ""; try{ cs_GlblMsg = (String)MailCustomization.getMcsGlblMsg(); }catch(FieldNotInitializedException e){} String cs_logo = ""; try{ cs_logo = MailCustomization.getMcsLogo(); }catch(FieldNotInitializedException e){} DataDictionary dico = context.getDataDictionary(); Vector lngRefs = new Vector(); lngRefs = dico.getRefList(session, "Lna", "Te1"); String lngID = flRequest.getRequestParameterOrAttribute("McsLng"); if (lngID == null) lngID = (String)session.getAttribute("McsLng"); if(lngID == null) { Vector lngs = (Vector)lngRefs.get(0); lngID = (String)lngs.get(0); } String sfwID = flRequest.getRequestParameterOrAttribute("SfwID"); %> <script language="javascript"> function doReload(){ var lng = $("#McsLng option:selected").attr("value"); document.location="<fl:webapp/>/read_mailcustomization.fl?McsLng="+lng+"&SfwID=<%=sfwID%>"; } </script> <fl:bigTabs objectTitle="<%= Utils.getMessage(session, \"FXXX\", \"Emailing Customization\") %>"> <table class="container" cellpadding="0"> <tr> <td> <table class="container" cellpadding="0"> <tr> <td class="dataLabel"> <fl:label field="McsLng"/> </td> <td class="dataValue"> <select class="input select" name="McsLng" id="McsLng" onchange="javascript:doReload();"> <%for(int i = 0; i<lngRefs.size(); i++){ Vector lng = (Vector)lngRefs.get(i); String newLngID = (String)lng.get(0); %> <option <%if(newLngID.equals(lngID)){%><%=" selected=\"\" "%><%} %> value="<%=lng.get(0)%>"><%=lng.get(1)%></option> <%} %> </select> </td> </tr> </table> </td> </tr> <tr class="ligne_separation"><td></td></tr> <tr class="ligne_separation_couleur"><td></td></tr> <tr class="ligne_separation"><td></td></tr> <tr> <td> <table class="container" cellpadding="0"> <fl:fieldRead property="McsIPExclusion"/> </table> </td> </tr> <tr class="ligne_separation"><td></td></tr> <tr class="ligne_separation_couleur"><td></td></tr> <tr class="ligne_separation"><td></td></tr> <tr> <td> <table class="container" cellpadding="0"> <tr> <td class="dataLabel"> <fl:label field="McsLogo"/> </td> </tr> <tr> <td class="column2" colspan="5"> <%if(!("").equals(cs_logo)){%> <div style="text-align: center"><img src="<%=cs_logo%>"/></div> <%}%> </td> </tr> </table> </td> </tr> <tr class="ligne_separation"><td></td></tr> <tr class="ligne_separation_couleur"><td></td></tr> <tr class="ligne_separation"><td></td></tr> <tr> <td> <table class="container" cellpadding="0"> <tr> <td class="dataLabel"> <fl:label field="McsSubHTML"/> </td> </tr> <tr> <td class="column2" colspan="5"> <div title=""><%=cs_SubHTML%></div> </td> </tr> </table> </td> </tr> <tr class="ligne_separation"><td></td></tr> <tr class="ligne_separation_couleur"><td></td></tr> <tr class="ligne_separation"><td></td></tr> <tr> <td> <table class="container" cellpadding="0"> <tr> <td class="dataLabel"> <fl:label field="McsSubConfHTML"/> </td> </tr> <tr> <td class="column2" colspan="5"> <div title=""><%=Cs_ConfirmSubHTML%></div> </td> </tr> </table> </td> </tr> <tr class="ligne_separation"><td></td></tr> <tr class="ligne_separation_couleur"><td></td></tr> <tr class="ligne_separation"><td></td></tr> <tr> <td> <table class="container" cellpadding="0"> <tr> <td class="dataLabel"> <fl:label field="McsSubConfMAIL"/> </td> </tr> <tr> <td class="column2" colspan="5"> <div title=""><%=Cs_ConfirmSubMAIL%></div> </td> </tr> </table> </td> </tr> <tr class="ligne_separation"><td></td></tr> <tr class="ligne_separation_couleur"><td></td></tr> <tr class="ligne_separation"><td></td></tr> <tr> <td> <table class="container" cellpadding="0"> <tr> <td class="dataLabel"> <fl:label field="McsUnSubHTML"/> </td> </tr> <tr> <td class="column2" colspan="5"> <div title=""><%=cs_UnSubHTML%></div> </td> </tr> </table> </td> </tr> <tr class="ligne_separation"><td></td></tr> <tr class="ligne_separation_couleur"><td></td></tr> <tr class="ligne_separation"><td></td></tr> <tr> <td> <table class="container" cellpadding="0"> <tr> <td class="dataLabel"> <fl:label field="McsNoMailHTML"/> </td> </tr> <tr> <td class="column2" colspan="5"> <div title=""><%=cs_NoMailHTML%></div> </td> </tr> </table> </td> </tr> <tr class="ligne_separation"><td></td></tr> <tr class="ligne_separation_couleur"><td></td></tr> <tr class="ligne_separation"><td></td></tr> <tr> <td> <table class="container" cellpadding="0"> <tr> <td class="dataLabel"> <fl:label field="McsGlblMsg"/> </td> </tr> <tr> <td class="column2" colspan="5"> <div title=""><%=cs_GlblMsg%></div> </td> </tr> </table> </td> </tr> </table> </fl:bigTabs>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de