small wishes and fixes
[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" width="40%">
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.list.title")}</b></p>  
24     <p class="box">
25       <list articletypes as a>
26           <a href="${config.actionRoot}?module=Content&do=list&where=is_published%3d'1'%20and%20to_article_type%3D${a.id}&order=webdb_create%20desc">&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
37     <p class="box-head"><b>${lang("start.extra.title")}</b></p>   
38     <p class="box"> 
39       <a href="${config.actionRoot}?module=Hidden&do=list">&gt; ${lang("start.content.hidden")}</a>
40       <list fileeditentries as e>
41         <br>
42           <a href="${config.actionRoot}?module=FileEdit&do=list&entry=${e}">&gt; ${lang("start.fileedit."+e+".title")}</a>
43       </list>
44     </p>
45 </td>
46
47 <!-- ###### end left column ###### -->
48
49 <td width="2%">&nbsp;</td>
50 <!-- ###### Spacer-column ###### -->
51
52 <comment> Middle column </comment>
53       
54     <td valign="top" width="30%">
55     
56     <p class="box-head"><b>${lang("start.addandedit.title")}</b></p>
57     <div class="box">
58       <a href="${config.actionRoot}?module=Content&do=add&where=aktuell">&gt; ${lang("start.content.new")}</a>
59       <br>
60       
61       <a href="${config.actionRoot}?module=Breaking&do=list">&gt; ${lang("start.breaking.title")}</a>&nbsp;
62       <a href="${config.actionRoot}?module=Breaking&do=add">[+]</a>
63       <form>
64         <input type="hidden" name="module" value="Content">
65         <input type="hidden" name="do" value="edit">
66         ${lang("start.content.open_by_id")}: 
67         <input type="text" name="id" value="" size="7">
68         <input type="submit" value=" &gt; ">
69       </form>
70       <form>
71         <input type="hidden" name="module" value="Comment">
72         <input type="hidden" name="do" value="edit">
73         ${lang("start.comment.open_by_id")}: 
74         <input type="text" name="id" value="" size="7">
75         <input type="submit" value=" &gt; ">
76       </form>
77       
78       
79     </div>
80     
81     <p class="box-head"><b>${lang("start.media.title")}</b></p> 
82     <div class="box">
83       
84       <a href="${config.actionRoot}?module=Images&do=list">&gt; ${lang("start.images.title")}</a>&nbsp;
85       <a href="${config.actionRoot}?module=Images&do=add">[+]</a><br>
86
87       <a href="${config.actionRoot}?module=Audio&do=list">&gt; ${lang("start.audio.title")}</a>&nbsp;
88       <a href="${config.actionRoot}?module=Audio&do=add">[+]</a><br>
89
90       
91       <a href="${config.actionRoot}?module=Video&do=list">&gt; ${lang("start.video.title")}</a>&nbsp;
92       <a href="${config.actionRoot}?module=Video&do=add">[+]</a><br>
93
94       
95       <a href="${config.actionRoot}?module=OtherMedia&do=list">&gt; ${lang("start.other_media.title")}</a>&nbsp;
96       <a href="${config.actionRoot}?module=OtherMedia&do=add" >[+]</a><br>
97
98       <br>
99       <a href="${config.actionRoot}?module=Mediafolder&do=list">&gt; ${lang("start.mediafolder.title")}</a>&nbsp;
100       <a href="${config.actionRoot}?module=Mediafolder&do=add">[+]</a><br>
101     </div>
102     
103     
104     
105     <p class="box-head"><b>${lang("start.producers.title")}</b></p>
106     <p class="box">
107       <a href="${config.actionRoot}?module=Producer&do=produceAllNew">&gt; ${lang("start.producers.produceAllNew")}</a><br>
108       <a href="${config.actionRoot}?module=Producer&do=showProducerQueueStatus">&gt; ${lang("start.producers.advanced")}</a>
109     </p>
110     
111     <p class="box bg-neutral">
112       <a href="${config.actionRoot}?module=Admin&do=superusermenu">${lang("start.superusermenu")}</a>   
113     </p>
114
115   </td>
116
117     <td width="2%">&nbsp;</td>
118
119 <comment> RIGHT COLUMN </comment>
120
121   <td valign="top" width="26%" rowspan="2">
122
123   <comment>internal messageboard</comment>
124
125
126     <p class="box-head"><b>${lang("start.messageboard.title")}</b></p>
127     <div class="box-bg">
128       <span class="small">
129         <a href="${config.actionRoot}?module=Message&do=add">[ + ${lang("add")}]</a> 
130         <a href="${config.actionRoot}?module=Message&do=list">[${lang("edit")}]</a>
131       </span>
132       <if messages>
133         <list messages as m>
134           <p class="x-small">
135             <if m.title><b>${m.title}</b><br></if>
136             ${m.description}<br>
137             <span class="x-small">
138               <if m.creator><i>by: ${m.creator}</i> / </if>${m.webdb_create}<br>
139             </span>
140           </p>
141         </list>
142       <else>
143         <p><i>${lang("start.messageboard.no_messages")}</i>
144       </if></span>
145     </div>
146   </td>
147
148   </tr>
149   
150   <comment> BOTTOM ROW FOR SEARCH </comment>
151   <tr>
152     <td colspan="3" valign="top">
153       <p class="box-head"><b>${lang("start.search.title")}</b></p>
154       <div class="box">
155         <call ContentSearch ("")>
156       </div>
157       
158       <!-- HELP -DEMO -->
159       <p class="box">
160         <b>HELP-Demo:</b><br>
161         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>
162         newwin small-link: <call Help ("../help/content_datum.html", "", "" )>&nbsp;&nbsp; newwin big-link: <call Help ("../help/content_datum.html", "", "1" )>
163       </p>
164       
165       
166     </td>
167     <td>&nbsp;</td>
168   </tr>
169   
170 </table>
171
172   <include "foot.template">
173
174   </body>
175 </html>