another tiny fix
[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   </head>
6
7 <body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
8
9   <include "FUNCTIONS.template">
10   <include "head.template">
11
12 <table border="0" width="100%">
13   <tr>
14     <td valign="top" >
15     <!-- ###### left column ###### -->
16     <p class="box-head"><b>${lang("start.administer.title")}</b></p>
17     <p class="box"> 
18       <list administeroperations as a>
19           <a href="${config.actionRoot}?${a.url}">${lang("start.administer."+a.name)}</a><br>
20       </list>
21     </p>
22
23     <p class="box-head"><b>${lang("start.articles.title")}</b></p>  
24     <p class="box">
25       <list articletypes as a>
26           <a href="${config.actionRoot}?module=Content&do=search&searcharticletype=${a.id}&searchorder=datedesc">&gt; ${lang("start.allarticlesoftype", lang("articletypes."+a.name))}</a><br>
27       </list>
28       <br>  
29       <a href="${config.actionRoot}?module=Content&do=list&where=${utility.encodeURI("is_published='f'")}&order=${utility.encodeURI("webdb_create desc")}" >&gt; ${lang("start.content.not_published")}</a><br>
30       <a href="${config.actionRoot}?module=Content&do=list&where=&order=${utility.encodeURI("webdb_lastchange desc")}">&gt; ${lang("start.content.last_changes")}</a><br>
31       <a href="${config.actionRoot}?module=Content&do=list&where=${utility.encodeURI("not (comment is null or comment like '')")}&order=${utility.encodeURI("webdb_create desc")}">&gt; ${lang("start.content.with_comments")}</a><br>
32       <br>
33       <a href="${config.actionRoot}?module=Content&do=list&where=&order=${utility.encodeURI("webdb_create desc")}">&gt; ${lang("start.content.all")}</a><br>
34     </p>
35     <p class="box-head"><b>${lang("start.comments.title")}</b></p>  
36     <p class="box">
37       <list commentstatuses as a>
38           <a href="${config.actionRoot}?module=Comment&do=list&where=to_comment_status%3D${a.id}&order=webdb_create%20desc">&gt; ${lang("start.allcommentswithstatus", lang("commentstatus."+a.name))}</a><br>
39       </list>
40     </p>
41
42
43     <p class="box-head"><b>${lang("start.extra.title")}</b></p>   
44     <p class="box"> 
45       <a href="${config.actionRoot}?module=Hidden&do=list">&gt; ${lang("start.content.hidden")}</a>
46       <list fileeditentries as e>
47         <br>
48           <a href="${config.actionRoot}?module=FileEdit&do=list&entry=${e}">&gt; ${lang("start.fileedit."+e+".title")}</a>
49       </list>
50     </p>
51 </td>
52
53 <!-- ###### end left column ###### -->
54
55 <td width="2%">&nbsp;</td>
56 <!-- ###### Spacer-column ###### -->
57
58 <comment> Middle column </comment>
59       
60     <td valign="top" >
61     
62     <p class="box-head"><b>${lang("start.addandedit.title")}</b></p>
63     <div class="box">
64       <a href="${config.actionRoot}?module=Content&do=add&where=aktuell">&gt; ${lang("start.content.new")}</a>
65       <br>
66       
67       <a href="${config.actionRoot}?module=Breaking&do=list">&gt; ${lang("start.breaking.title")}</a>&nbsp;
68       <a href="${config.actionRoot}?module=Breaking&do=add">[+]</a>
69       <form>
70         <input type="hidden" name="module" value="Content">
71         <input type="hidden" name="do" value="edit">
72         ${lang("start.content.open_by_id")}: 
73         <input type="text" name="id" value="" size="7">
74         <input class="majorbutton" type="submit" value=" &gt; ">
75       </form>
76       <form>
77         <input type="hidden" name="module" value="Comment">
78         <input type="hidden" name="do" value="edit">
79         ${lang("start.comment.open_by_id")}: 
80         <input type="text" name="id" value="" size="7">
81         <input class="majorbutton" type="submit" value=" &gt; ">
82       </form>
83       
84       
85     </div>
86     
87     <p class="box-head"><b>${lang("start.media.title")}</b></p> 
88     <div class="box">
89       
90       <a href="${config.actionRoot}?module=Images&do=list">&gt; ${lang("start.images.title")}</a>&nbsp;
91       <a href="${config.actionRoot}?module=Images&do=add">[+]</a>
92       <form>
93         <input type="hidden" name="module" value="Images">
94         <input type="hidden" name="do" value="edit">
95         ${lang("start.images.open_by_id")}: 
96         <input type="text" name="id" value="" size="7">
97         <input class="majorbutton" type="submit" value=" &gt; ">
98       </form>
99       <a href="${config.actionRoot}?module=Audio&do=list">&gt; ${lang("start.audio.title")}</a>&nbsp;
100       <a href="${config.actionRoot}?module=Audio&do=add">[+]</a><br>
101
102       
103       <a href="${config.actionRoot}?module=Video&do=list">&gt; ${lang("start.video.title")}</a>&nbsp;
104       <a href="${config.actionRoot}?module=Video&do=add">[+]</a><br>
105
106       
107       <a href="${config.actionRoot}?module=OtherMedia&do=list">&gt; ${lang("start.other_media.title")}</a>&nbsp;
108       <a href="${config.actionRoot}?module=OtherMedia&do=add" >[+]</a><br>
109
110       <br>
111       <a href="${config.actionRoot}?module=Mediafolder&do=list">&gt; ${lang("start.mediafolder.title")}</a>&nbsp;
112       <a href="${config.actionRoot}?module=Mediafolder&do=add">[+]</a><br>
113     </div>
114     
115     
116     
117     <p class="box-head"><b>${lang("start.producers.title")}</b></p>
118     <div class="box">
119       <list recipes as s>
120         <form style="margin: 0px; border: 0px; padding: 0px" method="post" action="${config.actionRoot}">
121            <input type="hidden" name="module" value="Producer">
122            <input type="hidden" name="do" value="producerecipe">
123            <input type="hidden" name="recipe" value="${utility.encodeHTML(s)}">
124            <input class="majorbutton" type="submit" value="${lang("start.producers.recipe."+s)}">
125         </form>
126       </list>
127
128       <a href="${config.actionRoot}?module=Producer&do=showProducerQueueStatus">&gt; ${lang("start.producers.advanced")}</a>
129     </div>
130     
131     <p class="box bg-neutral">
132       <a href="${config.actionRoot}?module=Admin&do=superusermenu">${lang("start.superusermenu")}</a>   
133     </p>
134
135   </td>
136
137     <td width="2%">&nbsp;</td>
138
139 <comment> RIGHT COLUMN </comment>
140
141   <td width="10%" valign="top" rowspan="1">
142
143   <comment>internal messageboard</comment>
144
145
146     <p class="box-head"><b>${lang("start.messageboard.title")}</b></p>
147     <div class="box-bg">
148       <span class="small">
149         <a href="${config.actionRoot}?module=Message&do=add">[ + ${lang("add")}]</a> 
150         <a href="${config.actionRoot}?module=Message&do=list">[${lang("edit")}]</a>
151       </span>
152       <if messages>
153         <list messages as m>
154           <p class="x-small">
155             <if m.title><b>${utility.encodeHTML(m.title)}</b><br></if>
156             ${utility.prettyEncodeHTML(m.description)}<br>
157             <span class="x-small">
158               <if m.creator><i>by: ${utility.encodeHTML(m.creator)}</i> / </if>${m.creationdate.format(config["Mir.DefaultDateTimeFormat"])}}<br>
159             </span>
160           </p>
161         </list>
162       <else>
163         <p><i>${lang("start.messageboard.no_messages")}</i>
164       </if></span>
165     </div>
166   </td>
167
168   </tr>
169
170   <comment> BOTTOM ROW FOR SEARCH </comment>
171   <tr>
172     <td colspan="5" valign="top">
173       <p class="box-head"><b>${lang("start.search.title")}</b></p>
174       <div class="box">
175         <call ContentSearch("")>
176       </div>
177
178 <comment>      
179       <!-- HELP -DEMO -->
180       <p class="box">
181         <b>HELP-Demo:</b><br>
182         popup small-link: <call Help ("../help/content_datum.html", "1", "" )>&nbsp;&nbsp;  popup big-link: <call Help ("../help/content_datum.html", "1", "1" )><br><br>
183         newwin small-link: <call Help ("../help/content_datum.html", "", "" )>&nbsp;&nbsp; newwin big-link: <call Help ("../help/content_datum.html", "", "1" )>
184       </p>
185 </comment>      
186       
187     </td>
188   </tr>
189   
190 </table>
191
192   <include "foot.template">
193
194   </body>
195 </html>