Changeset 338 for ether_megapoli


Ignore:
Timestamp:
01/11/12 12:04:19 (12 years ago)
Author:
vmipsl
Message:

Correction téléchargement fichier avec '+'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ether_megapoli/trunk/web/data/files.jsp

    r260 r338  
    1313 
    1414 
    15     <tiles:put name="title" type="string"><bean:message key="app.title"/> - <bean:message key="data.access.files2" arg0="${nomJeu}"/></tiles:put> 
     15    <tiles:put name="title" type="string"><bean:message key="app.title"/> - <bean:message key="data.access.files"/></tiles:put> 
    1616    <tiles:put name="nav" type="string"> 
    1717        <html:link page="/index.jsp"><bean:message key="app.home"/></html:link>&nbsp;&gt; 
     
    2121 
    2222    <%--****************** CONTENT ****************** --%> 
    23     <tiles:put name="bodytitle" type="string"><bean:message arg0="${nomJeu}" key="data.access.files"/></tiles:put> 
     23    <tiles:put name="bodytitle" type="string"><bean:message key="data.access.files"/></tiles:put> 
    2424 
    2525    <nested:root name="fichiersForm"> 
     
    2727        <nested:define id="nomCateg" property="nomCategorie"/> 
    2828        <bean:define id="path" value="${nomCateg}/${nomJeu}"/> 
     29        <% path = path.replaceAll( "\\+", "%2B" ); %> 
    2930 
    3031        <tiles:put name="body" type="string"> 
     
    4748 
    4849            <div style="float:right"> 
    49                 <a onclick='javascript:neededLogin("/ZipGame.do?path=<nested:write name="path"/>")' title='<bean:message key="data.access.downloading"/>'> 
     50                <a onclick='javascript:neededLogin("/ZipGame.do?path=<%=path%>")' title='<bean:message key="data.access.downloading"/>'> 
    5051                    <html:img page="/resources/images/utils/text.png" alt="file"/> 
    5152                    <bean:message arg0="${nomJeu}" key="data.access.files.dowload.zip"/> 
     
    5859                    <nested:define id="file" property="fichierNom"/> 
    5960                    <bean:define id="pathFile" value="${path}/${file}"/> 
    60                     <a onclick='javascript:neededLogin("/SendFileToClient.do?path=<nested:write name="pathFile"/>")' title='<bean:message key="data.access.downloading"/>'> 
     61                    <% pathFile = pathFile.replaceAll( "\\+", "%2B" ); %> 
     62 
     63                    <a onclick='javascript:neededLogin("/SendFileToClient.do?path=<%=pathFile%>")' title='<bean:message key="data.access.downloading"/>'> 
    6164                        <html:img page="/resources/images/utils/text.png" alt="file"/> 
    6265                        <nested:write property="fichierNom"/> 
Note: See TracChangeset for help on using the changeset viewer.