]> wagnertech.de Git - kivitendo-erp.git/blobdiff - templates/webpages/dunning/add_de.html
Automatisches Ersetzen von <translate>...</translate> durch $T8
[kivitendo-erp.git] / templates / webpages / dunning / add_de.html
index f35601f80d8e34688aba47251c94b0f9866b465b..9b6d4e287288c7f92dbdfee5dc84e1831bffef5e 100644 (file)
@@ -1,94 +1,92 @@
-<script type="text/javascript" src="js/common.js"></script>
+[%- USE T8 %]
+[% USE HTML %]<script type="text/javascript" src="js/common.js"></script>
 <script type="text/javascript">
  <!--
      function setup_controls() {
        fokus();
-       setupDateFormat('<TMPL_VAR myconfig_dateformat>', 'Falsches Datumsformat!');
-       setupPoints('<TMPL_VAR myconfig_numberformat>', 'Falsches Format');
+       setupDateFormat('[% myconfig_dateformat %]', '[% 'Wrong date format!' | $T8 %]');
+       setupPoints('[% myconfig_numberformat %]', '[% 'wrongformat' | $T8 %]');
      }
    -->
 </script>
 
 <body onLoad="setup_controls();">
 
- <div class="listtop"><TMPL_VAR title></div>
+ <div class="listtop">[% title %]</div>
 
  <form method="post" name="search" action="dn.pl">
 
   <table>
    <tr>
-    <th align="right">Kunde</th>
+    <th align="right">[% 'Customer' | $T8 %]</th>
     <td colspan="3">
-     <TMPL_IF SHOW_CUSTOMER_SELECTION>
+     [% IF SHOW_CUSTOMER_SELECTION %]
       <select name="customer">
        <option></option>
-       <TMPL_LOOP all_customer><option><TMPL_VAR name ESCAPE=HTML>--<TMPL_VAR id ESCAPE=HTML></option></TMPL_LOOP>
+       [% FOREACH row = all_customer %]<option>[% HTML.escape(row.name) %]--[% HTML.escape(row.id) %]</option>[% END %]
       </select>
-      <TMPL_ELSE>
-      <input name=customer size=35>
-     </TMPL_IF>
+      [% ELSE %]
+      <input name="customer" size="35">
+     [% END %]
     </td>
    </tr>
 
-   <TMPL_IF SHOW_DUNNING_LEVEL_SELECTION>
+   [% IF SHOW_DUNNING_LEVEL_SELECTION %]
     <tr>
-     <th align="right">Nächste Mahnstufe</th>
+     <th align="right">[% 'Next Dunning Level' | $T8 %]</th>
      <td colspan="3">
       <select name="dunning_level">
        <option></option>
-       <TMPL_LOOP DUNNING><option value="<TMPL_VAR id ESCAPE=HTML>"><TMPL_VAR dunning_description ESCAPE=HTML></option></TMPL_LOOP>
+       [% FOREACH row = DUNNING %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>[% END %]
       </select>
      </td>
     </tr>
-   </TMPL_IF>
+   [% END %]
 
-   <TMPL_IF SHOW_DEPARTMENT_SELECTION>
+   [% IF SHOW_DEPARTMENT_SELECTION %]
     <tr>
-     <th align="right">Abteilung</th>
+     <th align="right">[% 'Department' | $T8 %]</th>
      <td colspan="3">
       <select name="department">
        <option></option>
-       <TMPL_LOOP all_departments><option><TMPL_VAR description ESCAPE=HTML>--<TMPL_VAR id ESCAPE=HTML></option></TMPL_LOOP>
+       [% FOREACH row = all_departments %]<option>[% HTML.escape(row.description) %]--[% HTML.escape(row.id) %]</option>[% END %]
       </select>
      </td>
     </tr>
-   </TMPL_IF>
+   [% END %]
 
    <tr>
-    <th align="right" nowrap>Rechnungsnummer</th>
+    <th align="right" nowrap>[% 'Invoice Number' | $T8 %]</th>
     <td colspan="3"><input name="invnumber" size="20"></td>
    </tr>
 
    <tr>
-    <th align="right" nowrap>Auftragsnummer</th>
+    <th align="right" nowrap>[% 'Order Number' | $T8 %]</th>
     <td colspan="3"><input name="ordnumber" size="20"></td>
    </tr>
 
    <tr>
-    <th align="right" nowrap>Bemerkungen</th>
+    <th align="right" nowrap>[% 'Notes' | $T8 %]</th>
     <td colspan="3"><input name="notes" size="40"></td>
    </tr>
 
    <tr><td colspan="2"><hr size="3" noshade></td></tr>
 
    <tr>
-    <th align="right" nowrap>Mindestbetrag</th>
+    <th align="right" nowrap>[% 'Minimum Amount' | $T8 %]</th>
     <td><input name="minamount" size="6"></td>
    </tr>
 
    <tr>
-    <th align="right" nowrap>Rechnungen zusammenfassen</th>
+    <th align="right" nowrap>[% 'Group Invoices' | $T8 %]</th>
     <td><input type="checkbox" value="1" name="groupinvoices" checked></td>
    </tr>
   </table>
 
   <input type="hidden" name="nextsub" value="show_invoices">
 
-  <input type="hidden" name="login" value="<TMPL_VAR login ESCAPE=HTML>">
-  <input type="hidden" name="password" value="<TMPL_VAR password ESCAPE=HTML>">
-
   <br>
-  <input class="submit" type="submit" name="action" value="Weiter">
+  <input class="submit" type="submit" name="action" value="[% 'Continue' | $T8 %]">
 
  </form>