Edit C:\galaxie\deploy\Tomcat6\webapps\galaxie\admin\ditranscode\import.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" contentType="text/html; charset=UTF-8" %> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.*" %> <%@ page import="com.edeal.frontline.Utils" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <jsp:useBean class="com.edeal.frontline.DITranscodeBean" id="DITranscode" 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 pDitCode = flRequest.getParameter("DitCode"); if (pDitCode != null){ DITranscode.setDitCode(pDitCode); } String id = flRequest.getParameter("id"); %> <html> <head> <title></title> <link rel="stylesheet" type="text/css" href="<fl:webapp/>/css/common_css.jsp"> <script language="javascript"> var submitFlag = 0; function doSubmit() { if(!submitFlag) { submitFlag = 1; document.forms[0].submit(); } } function doDelete() { if(!submitFlag) { submitFlag = 1; if(document.forms[0].DitCode.value == '') { window.alert('<fl:getMessage code="M2007" alt="Veuillez saisir une valeur." js="true"/>'); document.forms[0].DitCode.focus(); } else { document.forms[1].DitCode.value = document.forms[0].DitCode.value; document.forms[1].submit(); return; } submitFlag = 0; } } function doGenerateCode() { var f = document.forms[0]; if(f.DitFile.value && !f.DitCode.value) { var strPath = f.DitFile.value; var idx = strPath.lastIndexOf('\\'); if(idx < 0) { idx = strPath.lastIndexOf('/'); } if(idx >= 0 && (idx + 1) < strPath.length) { f.DitCode.value = strPath.substring(idx + 1); } } } </script> </head> <body> <fl:form method="post" action="/import_validate.fl" bean="DITranscode" enctype="multipart/form-data"> <fl:bigTabs objectTitle="<%= Utils.getMessage(session, \"L62FF\", \"Table de transcodage\") %>" listTitle="<%= Utils.getMessage(session, \"L64C4\", \"Liste des transcodages\") %>" ou="<%= \"/create_ditranscode.fl\" + (id != null ? \"?id=\" + id : \"\") %>"> <table class="container" cellpadding="0"> <tr><td colspan="3" class="ligne_separation"/></tr> <tr> <td class="column2"> <table class="container" cellpadding="0"> <fl:fieldEdit property="DitCode"/> </table> </td> <td class="separation"><div class="separation"></div></td> <td class="column2"> <input name="DitFile" type="file" size="40" onchange="doGenerateCode();"> </td> </tr> </table> </fl:bigTabs> </fl:form> </body> </html> <% /****************************************************************************** * * * a.stouky@e-deal.ma : 2006/08/24 * * *****************************************************************************/ %>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de