Various fixes + Upgrades to the FileEdit module:
[mir.git] / templates / admin / start_admin.template
1 <html>
2   <head>
3     <title>${config["Mir.Name"]} | ${lang("start.htmltitle")}</title>
4     <link rel="stylesheet" type="text/css" href="${config.docRoot}/style/admin.css"
5     <meta http-equiv="Content-Type" content="text/html; charset=${lang("htmlcharset")}">
6   </head>
7
8 <body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
9
10   <include "head.template">
11   <table border="0" width="100%">
12         <tr>
13                 <td valign="top" width="40%" class="grey">
14
15
16                 <span class="spezialtext">
17                 <b>${lang("start.openpostings.title")}</b></span>
18
19          <p>
20                 <a href="${config.actionRoot}?module=Content&do=list&to_article_type%3D1&order=webdb_create+desc">
21                 <img src="${config.docRoot}/img/pointgris.gif" border=0>&nbsp;${lang("edit")}</a>
22
23                 <p>
24                         <span class="spezialtext">
25                         <b>${lang("start.comments.title")}</b></span>
26                 <p>
27                         <a href="${config.actionRoot}?module=Comment&do=list">
28                         <img src="${config.docRoot}/img/pointgris.gif" border=0>&nbsp;${lang("edit")}</a>
29             <p>
30                         <span class="spezialtext">
31                         <b>${lang("start.breaking.title")}</b></span>
32                 <p>
33       <img src="${config.docRoot}/img/pointgris.gif" border=0>&nbsp;
34                           <a href="${config.actionRoot}?module=Breaking&do=list">${lang("edit")}</a>
35       <img src="${config.docRoot}/img/pointgris.gif" border=0>&nbsp;
36                           <a href="${config.actionRoot}?module=Breaking&do=add">${lang("start.breaking.new")}</a>
37
38                         <table width="100%" border="0">
39                 <tr><td bgcolor="white">&nbsp;</td></tr>
40                 </table>
41
42             <span class="spezialtext">
43                         <b>${lang("start.content.title")}</b></span>
44
45                 <p>
46                         <img src="${config.docRoot}/img/pointgris.gif" border=0>&nbsp;
47                         <a href="${config.actionRoot}?module=Content&do=add&where=aktuell">${lang("start.content.new")}</a>
48             <p>
49                         <b>${lang("start.show")}:</b><br>
50       <list data.articletypes as a>
51                         <img src="${config.docRoot}/img/pointgris.gif" border=0>&nbsp;
52                         <a href="${config.actionRoot}?module=Content&do=list&where=is_published%3d'1'%20and%20to_article_type%3D${a.id}&order=webdb_create%20desc">${lang("start.allarticlesoftype", lang("articletypes."+a.name))}</a><br>
53       </list>
54
55       <br>
56                         <img src="${config.docRoot}/img/pointgris.gif" border=0>&nbsp;
57                         <a href="${config.actionRoot}?module=Content&do=list&where=&order=${utility.encodeURI("webdb_create desc")}">${lang("start.content.all")}</a><br>
58
59       <br>
60             <img src="${config.docRoot}/img/pointgris.gif" border=0>&nbsp;
61                         <a href="${config.actionRoot}?module=Content&do=list&where=${utility.encodeURI("is_published='f'")}&order=${utility.encodeURI("webdb_create desc")}" >${lang("start.content.not_published")}</a><br>
62                         <img src="${config.docRoot}/img/pointgris.gif" border=0>&nbsp;
63                         <a href="${config.actionRoot}?module=Content&do=list&where=${utility.encodeURI("id in (select content_id from content_x_media, media where media.id=media_id)")}&order=${utility.encodeURI("webdb_create desc")}">${lang("start.content.with_media")}</a><br>
64                         <img src="${config.docRoot}/img/pointgris.gif" border=0>&nbsp;
65                         <a href="${config.actionRoot}?module=Content&do=list&where=&order=${utility.encodeURI("webdb_lastchange desc")}">${lang("start.content.last_changes")}</a><br>
66                         <img src="${config.docRoot}/img/pointgris.gif" border=0>&nbsp;
67                         <a href="${config.actionRoot}?module=Content&do=list&where=${utility.encodeURI("not (comment is null or comment like '')")}&order=${utility.encodeURI("webdb_create desc")}">${lang("start.content.with_comments")}</a><br>
68
69       <br>
70       <img src="${config.docRoot}/img/pointgris.gif" border=0>&nbsp;
71       <a href="${config.actionRoot}?module=Hidden&do=list">${lang("start.content.hidden")}</a>
72       <br>
73       <br>
74       <span class="spezialtext"><b>
75         ${lang("start.editfiles.title")}
76       </b></span>
77       <br />
78
79                         <img src="${config.docRoot}/img/pointgris.gif" border=0>&nbsp;<a href="${config.actionRoot}?module=FileEdit&do=list">${lang("start.editfiles.include")}</a>
80
81                         <br><br>
82
83      <form action="${config.actionRoot}" method="post">
84              <input type="hidden" name="module" value="Content">
85        <input type="hidden" name="do" value="search">
86        <input type="hidden" name="order" value="datedesc">
87                     ${lang("start.content.search")}: <span class="small">
88        <input type="text" name="searchvalue" size="15">
89        <select name="searchfield">
90         <option value="title">${lang("content.title")}</option>
91         <option value="creator">${lang("content.creator")}</option>
92         <option value="source">${lang("content.location")}</option>
93                                 <option value="comment">${lang("content.comment")}</option>
94         <option value="contents">${lang("content.content")}</option>
95        </select></span>
96       </form>
97
98                 <table width="100%" border="0">
99                 <tr><td bgcolor="white">&nbsp;</td></tr>
100                 </table>
101
102                 <span class="spezialtext">
103                 <b>${lang("start.producers.title")}</b></span>
104     <p>
105       <a href="${config.actionRoot}?module=Producer&do=produceAllNew">${lang("start.producers.produceAllNew")}</a><br>
106       <a href="${config.actionRoot}?module=Producer&do=showProducerQueueStatus">${lang("start.producers.advanced")}</a>
107       
108         
109       <table width="100%" border="0"><tr><td bgcolor="white">&nbsp;</td></tr></table>
110
111       <a class="menucommand" href="${config.actionRoot}?module=Admin&do=superusermenu">${lang("start.superusermenu")}</a>
112
113     </td>
114                         <td bgcolor="white" width="5%">&nbsp;
115                         </td>
116                         
117 <comment> Middle column </comment>
118                         
119     <td valign="top" width="30%" class="grey">
120
121         <span class="spezialtext">
122                     <b>${lang("start.images.title")}</b>
123                   </span>
124
125       <p>
126         <a href="${config.actionRoot}?module=Images&do=list">
127           <img src="${config.docRoot}/img/pointgris.gif" border=0>&nbsp; ${lang("edit")}</a><br>
128         <a href="${config.actionRoot}?module=Images&do=add">
129           <img src="${config.docRoot}/img/pointgris.gif" border=0>&nbsp; ${lang("add")}</a>
130
131       <p>
132         <span class="spezialtext">
133           <b>${lang("start.audio.title")}</b>
134         </span>
135
136       <p>
137         <a href="${config.actionRoot}?module=Audio&do=list">
138             <img src="${config.docRoot}/img/pointgris.gif" border=0>&nbsp; ${lang("edit")}
139         </a><br>
140
141         <a href="${config.actionRoot}?module=Audio&do=add">
142           <img src="${config.docRoot}/img/pointgris.gif" border=0>&nbsp; ${lang("add")}
143         </a>
144
145       <p>
146         <span class="spezialtext">
147           <b>${lang("start.video.title")}</b>
148         </span>
149
150       <p>
151         <a href="${config.actionRoot}?module=Video&do=list">
152           <img src="${config.docRoot}/img/pointgris.gif" border=0>&nbsp; ${lang("edit")}
153         </a><br>
154       
155         <a href="${config.actionRoot}?module=Video&do=add">
156           <img src="${config.docRoot}/img/pointgris.gif" border=0>&nbsp; ${lang("add")}
157         </a>
158
159       <p>
160         <span class="spezialtext">
161           <b>${lang("start.other_media.title")}</b>
162         </span>
163
164       <p>
165         <a href="${config.actionRoot}?module=OtherMedia&do=list">
166           <img src="${config.docRoot}/img/pointgris.gif" border=0>&nbsp; ${lang("edit")}
167         </a><br>
168
169         <a href="${config.actionRoot}?module=OtherMedia&do=add" >
170           <img src="${config.docRoot}/img/pointgris.gif" border=0>&nbsp; ${lang("add")}
171         </a>
172
173       <p>
174                           <span class="spezialtext">
175                       <b>${lang("start.mediafolder.title")}</b>
176                     </span>
177
178       <p>
179         <a href="${config.actionRoot}?module=Mediafolder&do=list">
180           <img src="${config.docRoot}/img/pointgris.gif" border=0>&nbsp; ${lang("edit")}
181         </a><br>
182         
183         <a href="${config.actionRoot}?module=Mediafolder&do=add">
184           <img src="${config.docRoot}/img/pointgris.gif" border=0>&nbsp; ${lang("add")}
185         </a>
186     </td>
187
188     <td bgcolor="white" width="5%">&nbsp;
189     </td>
190
191 <comment> RIGHT COLUMN </comment>
192
193                         <td valign="top" width="20%" class="pink">
194
195         <comment>internal messageboard</comment>
196
197                 <span class="spezialtext">
198                 <b>${lang("start.messageboard.title")}</b>
199                 <span class="small"><br><a href="${config.actionRoot}?module=Message&do=add">${lang("add")}</a>
200                 <a href="${config.actionRoot}?module=Message&do=list">${lang("edit")}</a></span>
201                 <if data.messages>
202                         <list data.messages as m>
203                                 <p>
204                                 <if m.title><b>${m.title}</b><br></if>
205                                 ${m.description}<br>
206                                 <span class="x-small">
207                                 <if m.creator><i>von: ${m.creator}</i> / </if>${m.webdb_create}<br>
208                                 </span>
209                         </list>
210                 <else>
211                         <p><i>${lang("start.messageboard.no_messages")}</i>
212                 </if></span>
213         </td>
214
215         </tr>
216         </table>
217
218         <include "foot.template">
219
220         </body>
221 </html>