change the templates to use the charset taken from the message bundle of the current...
[mir.git] / templates / admin / languagelist.template
1 <html>
2   <head>
3     <title>${config["Mir.Name"]} | ${lang("languagelist.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     <include "templates/admin/head.template">
8
9     <p>
10       <a class="majorcommand" href="${config.actionRoot}?module=Language&do=add">${lang("add")}</a> |
11       <a class="majorcommand" href="${config.actionRoot}?module=Admin&do=superusermenu">${lang("back")}</a>
12     </p>
13
14     <if data.contentlist>
15       <table border="0" cellpadding="2" cellspacing="1">
16         <tr class="darkgrey">
17           <td><span class="witesmall"><b>${lang("language.name")}</b></span></td>
18           <td><span class="witesmall"><b>${lang("language.code")}</b></span></td>
19                 <td>&nbsp;</td>
20         </tr>
21       
22         <list data.contentlist as entry>
23           <if grey=="1"><assign grey="0"><tr class="list1"><else><tr class="list2"><assign grey="1"></if>
24             <td>${entry.name}&nbsp;</td>
25             <td>${entry.code}&nbsp;</td>
26             <td>
27               <span class="text">&nbsp;
28                 <a href="${config.actionRoot}?module=Language&do=delete&id=${entry.id}">${lang("delete")}</a> | 
29                 <a href="${config.actionRoot}?module=Language&do=edit&id=${entry.id}">${lang("edit")}</a>
30               </span>
31             </td>
32           </tr>
33         </list>
34         <tr>
35           <td colspan="3" class="darkgrey"><span class="witetext">${data.count} ${lang("records")}
36             / ${lang("show_from_to", data.from, data.to)}</span></td>
37           <td>&nbsp;</td>
38         </tr>
39       </table>
40       
41       <p>
42       <if data.prev>
43           <a href="${config.actionRoot}?module=Language&do=list&where=${data.where}&prevoffset=${data.prev}&prev=zur&uuml;ck">${lang("list.previous")}</a>&nbsp;
44       </if>
45       <if data.next>
46       <a href="${config.actionRoot}?module=Language&do=list&where=${data.where}&nextoffset=${data.next}&next=weiter">${lang("list.next")}</a>
47       </if>
48     <else>
49       <P align="center">${lang("no_matches_found")}</p>
50     </if>
51
52     <p>
53       <a class="majorcommand" href="${config.actionRoot}?module=Language&do=add">${lang("add")}</a> |
54       <a class="majorcommand" href="${config.actionRoot}?module=Admin&do=superusermenu">${lang("back")}</a>
55     </p>
56
57     <include "templates/admin/foot.template">
58   </body>
59 </html>
60
61