contains only admin templates which should not be changed by users
[mir.git] / templates / admin / videolist.template
1 <html>
2 <head>
3         <title>${config["Mir.Name"]} | ${lang("video.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" cellpadding="2" cellspacing="1">
12   <tr>
13     <td colspan="5"><form method="post" action="${config.actionRoot}">
14         <input type="hidden" name="module" value="Video">
15         <input type="hidden" name="do" value="list">
16         <input type="hidden" name="cid" value="${data.cid}">
17         <table border="0">
18         <tr class="pink">
19                 <td>${lang("medialist.search_text_in")}:</td>
20                 <td>${lang("media.published")}:</td>
21                 <td>${lang("media.mediafolder")}:</td>
22                 <td>&nbsp;</td>
23         </tr>
24
25         <tr>
26         <td>
27                 <input type="text" size="10" maxlength="20" name="query_text" value="${data.query_text}">
28                 <select name="query_field">
29                 <option value="title"<if data.query_field=="title"> selected</if>>${lang("media.title")}</option>
30                 <option value="creator"<if data.query_field=="creator"> selected</if>>${lang("media.creator")}</option>
31                 <option value="place"<if data.query_field=="place"> selected</if>>${lang("media.location")}</option>
32                 <option value="keywords"<if data.query_field=="keywords"> selected</if>>${lang("media.keywords")}</option>
33         </select>
34         </td>
35         <td>
36                 <select name="query_is_published">
37                     <option value="">${lang("dontcare")}</option>
38                 <option value="0" <if data.query_is_published=="0"> selected</if>>${lang("no")}</option>
39                     <option value="1" <if data.query_is_published=="1"> selected</if>>${lang("yes")}</option>
40             </select>
41         </td>
42         <td>
43         <select name="query_media_folder">
44         <list extra.mediafolderPopupData as m>
45         <option value="${m.key}" <if m.key == query_media_folder>selected</if>>${m.value}</option>
46         </list>
47         </select>
48         </td>
49         <td>
50                 <input type="submit" name="search" value="${lang("filter")}">
51         </td>
52         </tr>
53         </table>
54         </form>
55         </td>
56   </tr>
57
58   <tr class="darkgrey" >
59         <td><span class="witesmall">
60         <b>${lang("media.icon")}</b></span></td>
61         <td><span class="witesmall">
62         <b>${lang("media.title")}</b></span></td>
63     <td><span class="witesmall">
64         <b>${lang("media.mediafolder")}</b></span></td>
65     <td><span class="witesmall">
66         <b>${lang("media.creator")}</b></span></td>
67   </tr>
68   <if data.contentlist>
69   <list data.contentlist as entry>
70   <tr <if grey=="1"><assign grey="0">class="list1"<else>class="list1"<assign grey="1"> </if>>
71   <td>
72           <img src="${config.docRoot}/img/${entry.big_icon}" border=0></span></td>
73   <td>${entry.title}&nbsp;
74           <if entry.decription><br>${entry.description}</if></td>
75   <td>${data.mediafolderHashdata[entry.to_media_folder]["name"]}&nbsp;</td>
76   <td>${entry.creator}&nbsp;</td>
77   <td><span class="text">&nbsp;
78         <if data.cid><a href="${config.actionRoot}?module=Content&do=attach&mid=${entry.id}&cid=${data.cid}">${lang("attach")}</a>
79         <else>
80         <a href="${config.actionRoot}?module=Video&do=delete&id=${entry.id}">${lang("delete")}</a>
81     | <a href="${config.actionRoot}?module=Video&do=edit&id=${entry.id}">${lang("edit")}</a>
82         </if>
83         </span></td>
84   </tr>
85   </list>
86   <tr>
87     <td colspan="4" class="darkgrey"><span class="witetext">${data.count} ${lang("records")}
88       / ${lang("show_from_to", data.from, data.to)}</span></td>
89     <td>&nbsp;</td>
90   </tr>
91
92 <tr><td>
93 <if data.prev>
94         <a href="${config.actionRoot}?module=Video&do=list&query_text=${data.query_text_encoded}&query_field=${data.query_field}&query_is_published=${data.query_is_published}&query_media_folder=${data.query_media_folder}&offset=${data.prev}&prev=zur&uuml;ck&cid=${data.cid}">zurueck</a>&nbsp;
95 </if>
96 <if data.next>
97 <a href="${config.actionRoot}?module=Video&do=list&query_text=${data.query_text_encoded}&query_field=${data.query_field}&query_is_published=${data.query_is_published}&query_media_folder=${data.query_media_folder}&offset=${data.next}&next=weiter&cid=${data.cid}">weiter</a>
98 </if>
99 </td></tr>
100 <else>
101   <tr><td align="center">${lang("no_matches_found")}</td></tr>
102 </if>
103 </table>
104 <include "templates/admin/foot.template">
105 </body>
106 </html>