another tiny fix
[mir.git] / templates / admin / start_admin.template
index 958b6c9..7b9730e 100755 (executable)
@@ -27,7 +27,6 @@
       </list>
       <br>  
       <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>
-      <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>
       <a href="${config.actionRoot}?module=Content&do=list&where=&order=${utility.encodeURI("webdb_lastchange desc")}">&gt; ${lang("start.content.last_changes")}</a><br>
       <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>
       <br>
 
 <comment> RIGHT COLUMN </comment>
 
-  <td valign="top" rowspan="2">
+  <td width="10%" valign="top" rowspan="1">
 
   <comment>internal messageboard</comment>
 
       <if messages>
         <list messages as m>
           <p class="x-small">
-            <if m.title><b>${m.title}</b><br></if>
-            ${m.description}<br>
+            <if m.title><b>${utility.encodeHTML(m.title)}</b><br></if>
+            ${utility.prettyEncodeHTML(m.description)}<br>
             <span class="x-small">
-              <if m.creator><i>by: ${m.creator}</i> / </if>${m.creationdate.format(config["Mir.DefaultDateTimeFormat"])}}<br>
+              <if m.creator><i>by: ${utility.encodeHTML(m.creator)}</i> / </if>${m.creationdate.format(config["Mir.DefaultDateTimeFormat"])}}<br>
             </span>
           </p>
         </list>
   </td>
 
   </tr>
-  
+
   <comment> BOTTOM ROW FOR SEARCH </comment>
   <tr>
-    <td colspan="3" valign="top">
+    <td colspan="5" valign="top">
       <p class="box-head"><b>${lang("start.search.title")}</b></p>
       <div class="box">
         <call ContentSearch("")>