new admin templates! with many thanks to init...
[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                         
19                         <a href="${config.actionRoot}?module=Content&do=list&where=is_published%3d'1'%20and%20to_article_type%3D0&order=webdb_create%20desc">&gt; ${lang("start.allarticlesoftype", lang("articletypes.openposting"))}</a>      
20                         <br>
21                         <a href="${config.actionRoot}?module=Comment&do=list">
22                                 &gt; ${lang("start.content.comments")}
23                         </a>
24                 </p>
25
26                 <p class="box_head"><b>${lang("start.list.title")}</b></p>      
27                 <p class="box">
28       <list articletypes as a>
29                         <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>
30       </list>
31                         <br>    
32                         <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>
33                         <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>
34                         <a href="${config.actionRoot}?module=Content&do=list&where=&order=${utility.encodeURI("webdb_lastchange desc")}">&gt; ${lang("start.content.last_changes")}</a><br>
35                         <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>
36                         <br>
37                         <a href="${config.actionRoot}?module=Content&do=list&where=&order=${utility.encodeURI("webdb_create desc")}">&gt; ${lang("start.content.all")}</a><br>
38                 </p>
39
40                 <p class="box_head"><b>${lang("start.extra.title")}</b></p>             
41                 <p class="box"> 
42                         <a href="${config.actionRoot}?module=Hidden&do=list">&gt; ${lang("start.content.hidden")}</a><br>
43                         <a href="${config.actionRoot}?module=FileEdit&do=list">&gt; ${lang("start.fileedit.title")}</a>
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.open_by_id")} : 
67                                 <input type="text" name="id" value="" size="7">
68                                 <input type="submit" value=" &gt; ">
69                         </form>
70                         
71                         
72                 </div>
73                 
74                 <p class="box_head"><b>${lang("start.media.title")}</b></p>     
75                 <div class="box">
76                         
77                         <a href="${config.actionRoot}?module=Images&do=list">&gt; ${lang("start.images.title")}</a>&nbsp;
78                         <a href="${config.actionRoot}?module=Images&do=add">[+]</a><br>
79
80                         <a href="${config.actionRoot}?module=Audio&do=list">&gt; ${lang("start.audio.title")}</a>&nbsp;
81                         <a href="${config.actionRoot}?module=Audio&do=add">[+]</a><br>
82
83                         
84                         <a href="${config.actionRoot}?module=Video&do=list">&gt; ${lang("start.video.title")}</a>&nbsp;
85                         <a href="${config.actionRoot}?module=Video&do=add">[+]</a><br>
86
87                         
88                         <a href="${config.actionRoot}?module=OtherMedia&do=list">&gt; ${lang("start.other_media.title")}</a>&nbsp;
89                         <a href="${config.actionRoot}?module=OtherMedia&do=add" >[+]</a><br>
90
91                         <br>
92                         <a href="${config.actionRoot}?module=Mediafolder&do=list">&gt; ${lang("start.mediafolder.title")}</a>&nbsp;
93                         <a href="${config.actionRoot}?module=Mediafolder&do=add">[+]</a><br>
94                 </div>
95                 
96                 
97                 
98                 <p class="box_head"><b>${lang("start.producers.title")}</b></p>
99                 <p class="box">
100                         <a href="${config.actionRoot}?module=Producer&do=produceAllNew">&gt; ${lang("start.producers.produceAllNew")}</a><br>
101                         <a href="${config.actionRoot}?module=Producer&do=showProducerQueueStatus">&gt; ${lang("start.producers.advanced")}</a>
102                 </p>
103                 
104                 <p class="box bg_neutral">
105                         <a href="${config.actionRoot}?module=Admin&do=superusermenu">${lang("start.superusermenu")}</a>         
106                 </p>
107
108         </td>
109
110     <td width="2%">&nbsp;</td>
111
112 <comment> RIGHT COLUMN </comment>
113
114         <td valign="top" width="26%" rowspan="2">
115
116         <comment>internal messageboard</comment>
117
118
119                 <p class="box_head"><b>${lang("start.messageboard.title")}</b></p>
120                 <div class="box_bg">
121                         <span class="small">
122                                 <a href="${config.actionRoot}?module=Message&do=add">[ + ${lang("add")}]</a> 
123                                 <a href="${config.actionRoot}?module=Message&do=list">[${lang("edit")}]</a>
124                         </span>
125                         <if messages>
126                                 <list messages as m>
127                                         <p class="x-small">
128                                                 <if m.title><b>${m.title}</b><br></if>
129                                                 ${m.description}<br>
130                                                 <span class="x-small">
131                                                         <if m.creator><i>by: ${m.creator}</i> / </if>${m.webdb_create}<br>
132                                                 </span>
133                                         </p>
134                                 </list>
135                         <else>
136                                 <p><i>${lang("start.messageboard.no_messages")}</i>
137                         </if></span>
138                 </div>
139         </td>
140
141         </tr>
142         
143         <comment> BOTTOM ROW FOR SEARCH </comment>
144         <tr>
145                 <td colspan="3" valign="top">
146                         <p class="box_head"><b>${lang("start.search.title")}</b></p>
147                         <div class="box">
148                                 <call ContentSearch ("")>
149                         </div>
150                         
151                         <!-- HELP -DEMO -->
152                         <p class="box">
153                                 <b>HELP-Demo:</b><br>
154                                 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>
155                                 newwin small-link: <call Help ("../help/content_datum.html", "", "" )>&nbsp;&nbsp; newwin big-link: <call Help ("../help/content_datum.html", "", "1" )>
156                         </p>
157                         
158                         
159                 </td>
160                 <td>&nbsp;</td>
161         </tr>
162         
163 </table>
164
165         <include "foot.template">
166
167         </body>
168 </html>