Various fixes + Upgrades to the FileEdit module:
[mir.git] / templates / admin / articletypelist.template
1 <html>
2   <head>
3     <title>${config["Mir.Name"]} | ${lang("articletypelist.htmltitle")}</title>
4     <link rel="stylesheet" type="text/css" href="${config.docRoot}/style/admin.css">
5   </head>
6   <body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
7
8     <include "head.template">
9
10     <p>
11       <a class="majorcommand" href="${config.actionRoot}?module=ArticleType&do=add">${lang("add")}</a> |
12       <a class="majorcommand" href="${config.actionRoot}?module=Admin&do=superusermenu">${lang("back")}</a>
13     </p>
14
15     <if data.contentlist>
16       <table border="0">
17         <tr class="darkgrey">
18           <td>
19             <span class="witesmall">
20               <b>${lang("articletype.id")}</b>
21             </span>
22           </td>
23           <td>
24             <span class="witesmall">
25                     <b>${lang("articletype.name")}</b>
26                   </span>
27                 </td>
28           <td>
29             &nbsp;
30           </td>
31         </tr>
32         <list data.contentlist as entry>
33           <if grey=="1">
34             <assign grey="0">
35             <tr class="list1">
36           <else>
37             <assign grey="1"> 
38             <tr class="list2">
39           </if>
40             <td><span class="small">${entry.id}&nbsp;</span></td>
41             <td><span class="small">${entry.name}&nbsp;</span></td>
42             <td>
43               <span class="text">&nbsp;
44                   <a href="${config.actionRoot}?module=ArticleType&do=delete&id=${entry.id}">${lang("delete")}</a>
45                 | <a href="${config.actionRoot}?module=ArticleType&do=edit&id=${entry.id}">${lang("edit")}</a>
46               </span>
47             </td>
48           </tr>
49         </list>
50         <tr>
51           <td colspan="2" class="darkgrey">
52             <span class="witesmall">
53               ${data.count} ${lang("records")} / ${lang("show_from_to", data.from, data.to)}
54                   </span>
55                 </td>
56           <td>&nbsp;</td>
57         </tr>
58       </table>
59       <p>
60       <if (data.prev || data.next)>
61         <form method="post" action="${config.actionRoot}">
62           <input type="hidden" name="module" value="ArticleType">
63           <input type="hidden" name="where" value="${data.where}">
64           <if data.prev>
65             <input type="hidden" name="do" value="list">
66             <input type="hidden" name="prevoffset" value="${data.prev}">
67             <input type="submit" name="prev" value="${lang("list.previous")}">
68           </if>
69           <if data.next>
70             <input type="hidden" name="do" value="list">
71             <input type="hidden" name="nextoffset" value="${data.next}">
72             <input type="submit" name="next" value="${lang("list.next")}">
73           </if>
74         </form>
75       </if>
76     <else>
77       <P align="center">${lang("no_matches_found")}</p>
78     </if>
79     
80     <p>
81       <a class="majorcommand" href="${config.actionRoot}?module=ArticleType&do=add">${lang("add")}</a> |
82       <a class="majorcommand" href="${config.actionRoot}?module=Admin&do=superusermenu">${lang("back")}</a>
83     </p>
84
85     <include "foot.template">
86   </body>
87 </html>
88
89