2255a0408e6b790c430a98ac3c950525bee4fe5a
[mir.git] / templates-dist / admin / feature.template
1 <html>
2 <head>
3 <title>
4 ${lang("feature.htmltitle")}
5 </title>
6 <head>
7
8 <body bgcolor="#FFFFFF">
9 <include "admin/head.template">
10
11 <table border="0">
12   <form method="post" action="${encodeHTML(config.actionRoot)}">
13     <input type="hidden" name="module" value="Schwerpunkt">
14     <input type="hidden" name="where" value="${encodeHTML(data.where)}">
15     <input type="hidden" name="offset" value="${encodeHTML(data.offset)}">
16     <input type="hidden" name="order" value="${encodeHTML(data.order)}">
17     <if data.new>
18     <input type="hidden" name="do" value="insert">
19     <else>
20     <input type="hidden" name="do" value="update">
21     </if>
22     <input type="hidden" name="id" value="${encodeHTML(data.id)}">
23     <tr>
24       <td align="right" valign="top" bgcolor="#006600"><font color="#ffffff"><B>${lang("feature.title")}:</B></font></td>
25       <td>
26         <input type="text" size="40" name="title" value="${encodeHTML(data.title)}">
27         <select name="is_published">
28                         <option value="1"<if data.is_published!="0">selected</if>>${lang("feature.is_published")}</option>
29                         <option value="0" <if data.is_published=="0">selected</if>>${lang("feature.is_not_published")}</option>
30         </select>
31       </td>
32     </tr>
33
34     <tr>
35       <td align="right" valign="top" bgcolor="#006600"><font color="#ffffff"><B>${lang("feature.filename")}:</B></font></td>
36       <td>
37          <input type="text" size="20" name="filename" value="${encodeHTML(data.filename)}">
38       </td>
39     </tr>
40
41     <tr>
42       <td align="right" valign="top" bgcolor="#006600"><font color="#ffffff"><B>${lang("feature.abstract")}:</B></font></td>
43       <td>
44         <textarea cols="40" rows="3" name="description">${encodeHTML(data.description)}</textarea>
45       </td>
46     </tr>
47
48     <tr>
49       <td align="right" valign="top" bgcolor="#006600"><font color="#ffffff"><B>${lang("feature.link")}:</B></font></td>
50       <td>
51         <input type="text" size="40" name="main_url" value="${encodeHTML(data.main_url)}">
52       </td>
53     </tr>
54     <tr>
55       <td colspan="2" align="right" valign="top" bgcolor="#ffffff"> <font color="#ffffff"><if new>
56         <input type="submit" name="save" value="${lang("insert")}">
57         <else>
58         <input type="submit" name="save" value="${lang("save")}">
59         </if></font></td>
60     </tr>
61   </form>
62 </table>
63 <include "admin/foot.template">
64 </body>
65 </html>