]> wagnertech.de Git - kivitendo-erp.git/blobdiff - templates/webpages/generic/edit_email_de.html
Automatisches Ersetzen von <translate>...</translate> durch $T8
[kivitendo-erp.git] / templates / webpages / generic / edit_email_de.html
index 620e34ce9f4c329d3cee9b5d160f9d6bfc48e20f..9aec0ca977863d7ebf6f88b3531f41c3523a729e 100644 (file)
@@ -1,38 +1,39 @@
-<body onload="fokus()">
+[%- USE T8 %]
+[% USE HTML %]<body onload="fokus()">
 
-<form name="Form" method="post" action="<TMPL_VAR script>">
+<form name="Form" method="post" action="[% script %]">
 
 <table width="100%">
   <tr class="listtop">
 
-    <th class="listtop"><TMPL_VAR title></th>
+    <th class="listtop">[% title %]</th>
   </tr>
   <tr height="5"></tr>
   <tr>
     <td>
       <table>
         <tr>
-          <th align="right" nowrap>An</th>
+          <th align="right" nowrap>[% 'To' | $T8 %]</th>
 
-          <td><input name="email" size="30" value="<TMPL_VAR email>"></td>
+          <td><input name="email" size="30" value="[% HTML.escape(email) %]"></td>
         </tr>
         <tr>
-          <th align="right" nowrap>Cc</th>
-          <td><input name="cc" size="30" value="<TMPL_VAR cc>"></td>
+          <th align="right" nowrap>[% 'Cc' | $T8 %]</th>
+          <td><input name="cc" size="30" value="[% HTML.escape(cc) %]"></td>
         </tr>
-<TMPL_IF SHOW_BCC>
+[% IF SHOW_BCC %]
         <tr>
-          <th align="right" nowrap>Bcc</th>
-          <td><input name="bcc" size="30" value="<TMPL_VAR bcc>"></td>
-        </tr></TMPL_IF>
+          <th align="right" nowrap>[% 'Bcc' | $T8 %]</th>
+          <td><input name="bcc" size="30" value="[% HTML.escape(bcc) %]"></td>
+        </tr>[% END %]
         <tr>
-          <th align="right" nowrap>Betreff</th>
+          <th align="right" nowrap>[% 'Subject' | $T8 %]</th>
 
-          <td><input name="subject" size="30" value="<TMPL_VAR subject>"></td>
+          <td><input name="subject" size="30" value="[% HTML.escape(subject) %]"></td>
         </tr>
         <tr>
-          <th align="right" nowrap>Name des Anhangs</th>
-          <td><input name="attachment_filename" size="30" value="<TMPL_VAR a_filename>"></td>
+          <th align="right" nowrap>[% 'Attachment name' | $T8 %]</th>
+          <td><input name="attachment_filename" size="30" value="[% HTML.escape(a_filename) %]"></td>
       </table>
     </td>
   </tr>
     <td>
       <table>
         <tr>
-          <th align="left" nowrap>Nachricht</th>
+          <th align="left" nowrap>[% 'Message' | $T8 %]</th>
         </tr>
         <tr>
-          <td><textarea name="message" rows="15" cols="60" wrap="soft"><TMPL_VAR message></textarea></td>
+          <td><textarea name="message" rows="15" cols="60" wrap="soft">[% HTML.escape(message) %]</textarea></td>
 
         </tr>
       </table>
@@ -53,8 +54,9 @@
   <tr>
     <td>
 
-<TMPL_VAR _print_options_>
-<TMPL_LOOP HIDDEN><input type="hidden" name="<TMPL_VAR name>" value="<TMPL_VAR value ESCAPE=HTML>"></TMPL_LOOP>
+[% print_options %]
+[% FOREACH row = HIDDEN %]<input type="hidden" name="[% row.name %]" value="[% HTML.escape(row.value) %]">
+[% END %]
 
     </td>
   </tr>
@@ -67,7 +69,7 @@
 <input type="hidden" name="nextsub" value="send_email">
 
 <br>
-<input name="action" class="submit" type="submit" value="Weiter">
+<input name="action" class="submit" type="submit" value="[% 'Continue' | $T8 %]">
 </form>
 
 </body>