Code

Uses a global base now, fixed blocklist delete
[gosa.git] / plugins / gofax / blocklists / headpage.tpl
index ec0a2889a74d34af1d8297c2f5fa522cbd367b22..63dffabaf0e940348f90c58ca6bdf3a02249c4f4 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>
   <div class="contentboxh">
@@ -7,16 +7,12 @@
     </p>
   </div>
   <div class="contentboxb">
-    <p class="contentboxb">
-      <select style="width:500px; height:450px;" name="blocklist" size=15 ondblclick="this.form.edit_helper.value='1'; this.form.submit()">
-       {html_options options=$blocklists}
-      </select>
-      <br>
-      <input type=submit value="{t}New{/t}..." name="new_blocklist">&nbsp;
-      <input type=submit value="{t}Edit{/t}" name="select_blocklist">&nbsp;
-      <input type=submit value="{t}Delete{/t}" name="delete_blocklist">
+         {$blocklistshead}
+  </div>
+  <div style='height:4px;'></div>
+  <div class="contentboxb" style="border-top:1px solid #B0B0B0;">
+         {$blocklists}
       <input type=hidden name="edit_helper">
-    </p>
   </div>
   </td>
   <td style="vertical-align:top;">
    <p class="contentboxb">
     {t}This menu allows you to create, delete and edit selected blocklists. Having a large size of lists, you might prefer the range selectors on top of the select box.{/t}
    </p>
-   <p class="contentboxb">
-    {t}-Edit- and -New...- will execute an assistant to aid you when performing changes on your blocklist. -Delete- will ask you for confirmation before really deleting anything.{/t}
-   </p>
    </div>
    <br>
    <div class="contentboxh">
     <p class="contentboxh"><img src="{$launchimage}" align="right" alt="[F]">{t}Filters{/t}</p>
    </div>
    <div class="contentboxb">
-     <table style="width:100%;border-top:1px solid #B0B0B0;">
+     <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
       {$alphabet}
      </table>
-    <table style="width:100%;border-top:1px solid #B0B0B0;">
+    <table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
                <tr>
                        <td>
        <input type=checkbox name="sendlists" value="1" {$sendlists} onClick="mainform.submit()" title="{t}Select to see send blocklists{/t}">{t}Show send blocklists{/t}<br>
                        </td>
                </tr>
        </table>    
-
-<table style="width:100%;border-top:1px solid #B0B0B0;">
-       <tr>
-               <td width="50%">
-                       <img alt="" src="{$tree_image}" align=middle>&nbsp;{t}Display lists 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>
-
-<table style="width:100%;border-top:1px solid #B0B0B0;">
-       <tr>
-               <td width="50%"><img alt=""  src="{$search_image}" align=middle>
-                       &nbsp;{t}Display lists matching{/t}
-               </td>
-           <td>
-                       <input type='text' name='regex' maxlength='20' value='{$regex}' title='{t}Regular expression for matching list names{/t}' onChange="mainform.submit()">
-               </td>
-       </tr>
-</table>
-
-<table style="width:100%;border-top:1px solid #B0B0B0;">
+<table summary="" style="width:100%;border-top:1px solid #B0B0B0;">
        <tr>
-               <td width="50%">
-                       <img alt="" src="{$search_image}" align=middle>&nbsp;{t}Display lists containing{/t}
+               <td><img alt="{t}Display lists matching{/t}" src="{$search_image}" align=middle>
                </td>
-           <td>
-               <input type='text' name='entry' maxlength='20' value='{$entry}' title='{t}Show lists containing entered numbers{/t}' onChange="mainform.submit()">
+           <td width="99%">
+                       <input style='width:99%' type='text' name='regex' maxlength='20' value='{$regex}' title='{t}Regular expression for matching list names{/t}' onChange="mainform.submit()">
                </td>
        </tr>
 </table>