epic-ts
[kivitendo-erp.git] / templates / webpages / ct / search_contact.html
index be67814..de9ba8b 100644 (file)
@@ -1,17 +1,15 @@
 [%- USE HTML %]
 [%- USE T8 %]
-<body onload="fokus()">
+[%- USE L %]
+[%- USE LxERP %]
+<h1>[% 'Contacts' | $T8 %]</h1>
 
  <form method="post" action="ct.pl" name="Form">
 
-  <input type="hidden" name="db" value="[% db | html %]">
-
-  <div class="listtop">[% 'Contacts' | $T8 %]</div>
-
   <table>
    <tr>
     <th align="right" nowrap>[% 'Name' | $T8 %]</th>
-    <td><input name="filter.cp_name" size="35"></td>
+    <td><input name="filter.cp_name" size="35" class="initial_focus"></td>
    </tr>
    <tr>
     <th align="right" nowrap>[% 'Greeting' | $T8 %]</th>
         <input name="l.cp_givenname" id="l_cp_givenname" type="checkbox" class="checkbox" value="Y" checked>
         <label for="l_cp_givenname">[% 'Given Name' | $T8 %]</label>
        </td>
+      </tr>
+      <tr>
        <td>
         <input name="l.cp_street" id="l_cp_street" type="checkbox" class="checkbox" value="Y">
         <label for="l_cp_street">[% 'Street' | $T8 %]</label>
        </td>
+       <td>
+        <input name="l.cp_zipcode" id="l_cp_zipcode" type="checkbox" class="checkbox" value="Y">
+        <label for="l_cp_zipcode">[% 'Zipcode' | $T8 %]</label>
+       </td>
+       <td>
+        <input name="l.cp_city" id="l_cp_city" type="checkbox" class="checkbox" value="Y">
+        <label for="l_cp_city">[% 'City' | $T8 %]</label>
+       </td>
       </tr>
       <tr>
        <td>
         <input name="l.cp_mobile" id="l_cp_mobile" type="checkbox" class="checkbox" value="Y" checked>
         <label for="l_cp_mobile">[% 'Mobile' | $T8 %]</label>
        </td>
-       <td>
-        <input name="l.cp_email" id="l_cp_email" type="checkbox" class="checkbox" value="Y" checked>
-        <label for="l_cp_email">[% 'E-mail' | $T8 %]</label>
-       </td>
+
+       <td>[%- L.checkbox_tag('l.cp_privatphone', value='Y', label=LxERP.t8('Private Phone'), class='checkbox', checked=1) %]</td>
+      </tr>
+
+      <tr>
+       <td>[%- L.checkbox_tag('l.cp_fax',         value='Y', label=LxERP.t8('Fax'),            class='checkbox') %]</td>
+       <td>[%- L.checkbox_tag('l.cp_email',       value='Y', label=LxERP.t8('E-mail'),         class='checkbox', checked=1) %]</td>
+       <td>[%- L.checkbox_tag('l.cp_privatemail', value='Y', label=LxERP.t8('Private E-mail'), class='checkbox') %]</td>
       </tr>
 
       <tr>
-       <td>
-        <input name="l.cp_birthday" id="l_cp_birthday" type="checkbox" class="checkbox" value="Y">
-        <label for="l_cp_birthday">[% 'Birthday' | $T8 %]</label>
-       </td>
        <td>
         <input name="l.cp_abteilung" id="l_cp_abteilung" type="checkbox" class="checkbox" value="Y">
         <label for="l_cp_abteilung">[% 'Department' | $T8 %]</label>
        </td>
+
+       <td>[% L.checkbox_tag('l.cp_position', value='Y', label=LxERP.t8('Function/position'), class='checkbox') %]</td>
+      </tr>
+
+      <tr>
        <td>
         <input name="l.cp_gender" id="l_cp_gender" type="checkbox" class="checkbox" value="Y">
         <label for="l_cp_gender">[% 'Gender' | $T8 %]</label>
        </td>
+
+       <td>
+        <input name="l.cp_birthday" id="l_cp_birthday" type="checkbox" class="checkbox" value="Y">
+        <label for="l_cp_birthday">[% 'Birthday' | $T8 %]</label>
+       </td>
       </tr>
 
       [% CUSTOM_VARIABLES_INCLUSION_CODE %]
 
   <input type="submit" class="submit" name="action" value="[% 'Continue' | $T8 %]">
  </form>
-
-</body>
-</html>