]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Fix inpossible download of hostcert on french language.
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 7 Jan 2014 20:13:56 +0000 (21:13 +0100)
committerStefan Schantl <stefan.schantl@ipfire.org>
Tue, 7 Jan 2014 20:13:56 +0000 (21:13 +0100)
The french tranlsation string for download host certificate contains a single quote
character which breaks the used HTML code. As a result of this it wasn't possibe to
download the host certificate via the WUI with selected french language.

Fixes #10405.

html/cgi-bin/ovpnmain.cgi
html/cgi-bin/vpnmain.cgi

index 52dc6e4646d0f324e9c849cb95e93ca488aed097..c620ab09d1fa8970a2a2974a54c785244387b286 100644 (file)
@@ -4748,8 +4748,8 @@ END
            <input type='image' name='$Lang::tr{'show host certificate'}' src='/images/info.gif' alt='$Lang::tr{'show host certificate'}' title='$Lang::tr{'show host certificate'}' width='20' height='20' border='0' />
        </td></form>
        <form method='post' name='frmhostcrtb'><td width='3%' align='center'>
-           <input type='image' name='$Lang::tr{'download host certificate'}' src='/images/media-floppy.png' alt='$Lang::tr{'download host certificate'}' title='$Lang::tr{'download host certificate'}' border='0' />
-           <input type='hidden' name='ACTION' value='$Lang::tr{'download host certificate'}' />
+           <input type='image' name="$Lang::tr{'download host certificate'}" src='/images/media-floppy.png' alt="$Lang::tr{'download host certificate'}" title="$Lang::tr{'download host certificate'}" border='0' />
+           <input type='hidden' name='ACTION' value="$Lang::tr{'download host certificate'}" />
        </td></form>
        <td width='4%'>&nbsp;</td></tr>
 END
index af68d50a2f928e239d43779067145bd3169033a7..0f60820ed3e733d44edb11b47d5f504d16e15a6d 100644 (file)
@@ -2870,8 +2870,8 @@ END
        </td>
        <td width='3%' align='center'>
            <form method='post' action='$ENV{'SCRIPT_NAME'}'>
-           <input type='image' name='$Lang::tr{'download host certificate'}' src='/images/floppy.gif' alt='$Lang::tr{'download host certificate'}' title='$Lang::tr{'download host certificate'}' />
-           <input type='hidden' name='ACTION' value='$Lang::tr{'download host certificate'}' />
+           <input type='image' name="$Lang::tr{'download host certificate'}" src='/images/floppy.gif' alt="$Lang::tr{'download host certificate'}" title="$Lang::tr{'download host certificate'}" />
+           <input type='hidden' name='ACTION' value="$Lang::tr{'download host certificate'}" />
            </form>
        </td>
        <td width='4%'>&nbsp;</td></tr>