rebuilding head
[mir.git] / templates / admin / start_admin.template
index fd89391..145ef36 100755 (executable)
@@ -11,7 +11,7 @@
 
 <table border="0" width="100%">
   <tr>
-    <td valign="top" width="40%">
+    <td valign="top" >
     <!-- ###### left column ###### -->
     <p class="box-head"><b>${lang("start.administer.title")}</b></p>
     <p class="box"> 
@@ -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>
@@ -58,7 +57,7 @@
 
 <comment> Middle column </comment>
       
-    <td valign="top" width="30%">
+    <td valign="top" >
     
     <p class="box-head"><b>${lang("start.addandedit.title")}</b></p>
     <div class="box">
         <input type="hidden" name="do" value="edit">
         ${lang("start.content.open_by_id")}: 
         <input type="text" name="id" value="" size="7">
-        <input type="submit" value=" &gt; ">
+        <input class="majorbutton" type="submit" value=" &gt; ">
       </form>
       <form>
         <input type="hidden" name="module" value="Comment">
         <input type="hidden" name="do" value="edit">
         ${lang("start.comment.open_by_id")}: 
         <input type="text" name="id" value="" size="7">
-        <input type="submit" value=" &gt; ">
+        <input class="majorbutton" type="submit" value=" &gt; ">
       </form>
       
       
     <div class="box">
       
       <a href="${config.actionRoot}?module=Images&do=list">&gt; ${lang("start.images.title")}</a>&nbsp;
-      <a href="${config.actionRoot}?module=Images&do=add">[+]</a><br>
-
+      <a href="${config.actionRoot}?module=Images&do=add">[+]</a>
+      <form>
+        <input type="hidden" name="module" value="Images">
+        <input type="hidden" name="do" value="edit">
+        ${lang("start.images.open_by_id")}: 
+        <input type="text" name="id" value="" size="7">
+        <input class="majorbutton" type="submit" value=" &gt; ">
+      </form>
       <a href="${config.actionRoot}?module=Audio&do=list">&gt; ${lang("start.audio.title")}</a>&nbsp;
       <a href="${config.actionRoot}?module=Audio&do=add">[+]</a><br>
 
     
     
     <p class="box-head"><b>${lang("start.producers.title")}</b></p>
-    <p class="box">
-      <a href="${config.actionRoot}?module=Producer&do=produceAllNew">&gt; ${lang("start.producers.produceAllNew")}</a><br>
+    <div class="box">
+      <list recipes as s>
+        <form style="margin: 0px; border: 0px; padding: 0px" method="post" action="${config.actionRoot}">
+           <input type="hidden" name="module" value="Producer">
+           <input type="hidden" name="do" value="producerecipe">
+           <input type="hidden" name="recipe" value="${utility.encodeHTML(s)}">
+           <input class="majorbutton" type="submit" value="${lang("start.producers.recipe."+s)}">
+        </form>
+      </list>
+
       <a href="${config.actionRoot}?module=Producer&do=showProducerQueueStatus">&gt; ${lang("start.producers.advanced")}</a>
-    </p>
+    </div>
     
     <p class="box bg-neutral">
       <a href="${config.actionRoot}?module=Admin&do=superusermenu">${lang("start.superusermenu")}</a>   
 
 <comment> RIGHT COLUMN </comment>
 
-  <td valign="top" width="26%" rowspan="2">
+  <td valign="top" rowspan="2">
 
   <comment>internal messageboard</comment>
 
     <td colspan="3" valign="top">
       <p class="box-head"><b>${lang("start.search.title")}</b></p>
       <div class="box">
-        <call ContentSearch ("")>
+        <call ContentSearch("")>
       </div>
 
 <comment>