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