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