fixed missing escaping of textarea data
[mir.git] / templates / admin / fileedit.template
1 <html>
2 <head>
3         <title>${config["Mir.Name"]} | ${lang("fileedit.htmltitle")}</title>
4   <link rel="stylesheet" type="text/css" href="${config.docRoot}/style/admin.css">
5 </head>
6
7 <body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
8
9 <include "head.template">
10
11 <br>
12 <b>${lang("fileedit.filename")} :</b> ${filename}
13
14 <br>
15
16 <form action="${config.actionRoot}" method="post">
17
18         <input type="hidden" name="module" value="FileEdit">
19         <input type="hidden" name="filename" value="${filename}">
20         <input type="hidden" name="subdirectory" value="${subdirectory}">
21         <input type="hidden" name="do" value="update">
22
23
24          <textarea cols="120" rows="40" name="text" wrap=virtual>${utility.encodeHTML(text)}</textarea>
25
26 <br>
27
28
29
30         <input type="submit" name="save" value="${lang("save")}"> &nbsp;
31         <input type="reset" value="${lang("reset")}">
32
33
34 </form>
35 <br>
36 <br>
37
38 ${lang("preview")}
39
40 <hr size="2" width="90%" noshade>
41
42 ${text}
43
44 <hr size="2" width="90%" noshade>
45 <br>
46
47 <include "foot.template">
48
49 </body>
50 </html>
51
52