contains only admin templates which should not be changed by users
[mir.git] / templates / admin / feature.template
1 <html>
2 <head>
3         <title>${config["Mir.Name"]} | ${lang("feature.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 "templates/admin/head.template">
10
11 <table border="0">
12   <form method="post" action="${config.actionRoot}">
13     <input type="hidden" name="module" value="Schwerpunkt">
14     <input type="hidden" name="where" value="${data.where}">
15     <input type="hidden" name="offset" value="${data.offset}">
16     <input type="hidden" name="order" value="${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="${data.id}">
23     <tr>
24       <td align="right" valign="top" class="darkgrey"><span class="witetext"><B>${lang("feature.title")}:</B></span></td>
25       <td>
26         <input type="text" size="40" name="title" value="${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" class="darkgrey"><span class="witetext"><B>${lang("feature.filename")}:</B></span></td>
36       <td>
37          <input type="text" size="20" name="filename" value="${data.filename}">
38       </td>
39     </tr>
40
41     <tr>
42       <td align="right" valign="top" class="darkgrey"><span class="witetext"><B>${lang("feature.abstract")}:</B></span></td>
43       <td>
44         <textarea cols="40" rows="3" name="description">${data.description}</textarea>
45       </td>
46     </tr>
47
48     <tr>
49       <td align="right" valign="top" class="darkgrey"><span class="witetext"><B>${lang("feature.link")}:</B></span></td>
50       <td>
51         <input type="text" size="40" name="main_url" value="${data.main_url}">
52       </td>
53     </tr>
54     <tr>
55       <td colspan="2" align="right" valign="top" bgcolor="#ffffff"> <span class="witetext"><if new>
56         <input type="submit" name="save" value="${lang("insert")}">
57         <else>
58         <input type="submit" name="save" value="${lang("save")}">
59         </if></span></td>
60     </tr>
61   </form>
62 </table>
63 <include "templates/admin/foot.template">
64 </body>
65 </html>