Code

Fixed section mentioned in FAQ
[gosa.git] / plugins / admin / applications / headpage.tpl
index 3a8a4ee2917467504269237a44728b97cc2b72cf..91ccb3c305ef1097f0f34c87c3b61b37367d939e 100644 (file)
@@ -1,4 +1,4 @@
-<table style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
+<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=4>
 <tr>
   <td style="vertical-align:top;">
   <div class="contentboxh">
@@ -7,50 +7,59 @@
     </p>
   </div>
   <div class="contentboxb">
-    <p class="contentboxb">
-     <select style="width:500px; height:450px;" name="applist" size=15 ondblclick="this.form.edit_helper.value='1'; this.form.submit()">
-      {html_options options=$applications}
-    </select>
-    <br>
-    <input type=submit value="{t}New{/t}..." name="new_app">&nbsp;
-    <input type=submit value="{t}Edit{/t}" name="select_app">&nbsp;
-    <input type=submit value="{t}Delete{/t}" name="delete_app">&nbsp;
+      {$applicationshead}
+  </div>
+  <div style='height:4px;'></div>
+  <div class="contentboxb" style="border-top:1px solid #B0B0B0;">
+      {$applications}
     <input type=hidden name="edit_helper">
-   </p>
   </div>
   </td>
   <td style="vertical-align:top">
-   <div class="contentboxh">
+   <div class="contentboxh" style="border-bottom:1px solid #B0B0B0;">
     <p class="contentboxh"><img src="{$infoimage}" align="right" alt="[i]">{t}Information{/t}</p>
    </div>
    <div class="contentboxb">
    <p class="contentboxb">
     {t}This menu allows you to add, edit and remove selected applications. You may want to use the range selector on top of the application listbox, when working with a large number of applications.{/t}
    </p>
-   <p class="contentboxb">
-    {t}-Edit- and -New...- will execute an assistant to aid you in editing properties. -Delete- will ask for confirmation before removing applications.{/t}
-   </p>
    </div>
+       {if $enableReleaseManagement == true}
+   <br>
+   <div class="contentboxh" style="border-bottom:1px solid #B0B0B0;">
+    <p class="contentboxh"><img src="{$releaseimage}" align="right" alt="[F]">{t}Branches{/t}</p>
+   </div>
+   <div class="contentboxb">
+        <table summary="" style="width:100%;">
+         <tr>
+          <td>
+        {t}Current release{/t}&nbsp;
+        <select name="select_release" onChange="document.mainform.submit();">
+                {html_options values=$releaseKeys output=$releases selected=$select_release}
+        </select>
+          </td>
+         </tr>
+        </table>
+   </div>
+       {/if}
    <br>
    <div class="contentboxh">
     <p class="contentboxh"><img src="{$launchimage}" align="right" alt="[F]">{t}Filters{/t}</p>
    </div>
    <div class="contentboxb">
-    <p class="contentboxb" style="border-top:1px solid #B0B0B0;">
-     <table style="width:100%;">
+     <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
       {$alphabet}
      </table>
-    </p>
-    <p class="contentboxb" style="border-top:1px solid #B0B0B0;">
-    <table width="100%"><tr><td><img src="{$tree_image}" align=center>&nbsp;{t}Display applications of department{/t}</td>
-    <td><select name="depselect" size=1 onChange="mainform.submit()" title="{t}Choose the department the search will be based on{/t}">
-      {html_options options=$deplist selected=$depselect}
-    </select></td></tr></table>
-    </p>
-    <p class="contentboxb" style="border-top:1px solid #B0B0B0">
-    <table width="100%"><tr><td><img src="{$search_image}" align=center>&nbsp;{t}Display applications matching{/t}</td>
-    <td><input type='text' name='regex' maxlength='20' value='{$regex}' title='{t}Regular expression for matching application names{/t}' onChange="mainform.submit()"></td></tr></table>
-    </p>
+     <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
+     <tr>
+     <td>
+     <LABEL for='regex'><img alt="{t}Display applications matching{/t}" src="{$search_image}" align=middle title='{t}Display applications matching{/t}'></LABEL>
+     </td>
+     <td width="99%">
+     <input style='width:99%' type='text' name='regex' maxlength='20' id='filter' value='{$regex}' title='{t}Regular expression for matching application names{/t}' onChange="mainform.submit()">
+     </td>
+     </tr>
+     </table>
     {$apply}
    </div>
   </td>