Aufgrund einer Schwäche im Parser von locales.pl darf innerhalb eines <input type...
authorMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 22 Jul 2008 09:59:17 +0000 (09:59 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 22 Jul 2008 09:59:17 +0000 (09:59 +0000)
locale/de/ct
templates/webpages/ct/form_footer_de.html
templates/webpages/ct/form_footer_master.html

index 19126f0..df226d3 100644 (file)
@@ -240,11 +240,13 @@ $self->{subs} = {
   'lieferadresse_löschen'       => 'delete_shipto',
   'neue_ware'                   => 'new_part',
   'speichern'                   => 'save',
+  'speichern_und_kreditorenbuchung_erfassen' => 'save_and_ap_transaction',
   'speichern_und_debitorenbuchung_erfassen' => 'save_and_ar_transaction',
   'speichern_und_schließen'     => 'save_and_close',
   'speichern_und_rechnung_erfassen' => 'save_and_invoice',
   'speichern_und_auftrag_erfassen' => 'save_and_order',
   'speichern_und_angebot'       => 'save_and_quotation',
+  'speichern_und_lieferantenanfrage' => 'save_and_rfq',
 };
 
 1;
index 8f9c079..b8b9aae 100644 (file)
 <br>
   <input class="submit" type="submit" name="action" accesskey="s" value="Speichern">
   <input class="submit" type="submit" name="action" accesskey="s" value="Speichern und schließen">
-  <input class="submit" type="submit" name="action" value="[% IF is_cumstomer %]Speichern und Debitorenbuchung erfassen[% ELSE %]Speichern und Kreditorenbuchung erfassen[% END %]">
+  [%- IF is_cumstomer %]
+  <input class="submit" type="submit" name="action" value="Speichern und Debitorenbuchung erfassen">
+  [%- ELSE %]
+  <input class="submit" type="submit" name="action" value="Speichern und Kreditorenbuchung erfassen">
+  [%- END %]
   <input class="submit" type="submit" name="action" value="Speichern und Rechnung erfassen">
   <input class="submit" type="submit" name="action" value="Speichern und Auftrag erfassen">
-  <input class="submit" type="submit" name="action" value="[% IF is_customer %]Speichern und Angebot[% ELSE %]Speichern und Lieferantenanfrage[% END %]">
+  [%- IF is_customer %]
+  <input class="submit" type="submit" name="action" value="Speichern und Angebot">
+  [%- ELSE %]
+  <input class="submit" type="submit" name="action" value="Speichern und Lieferantenanfrage">
+  [%- END %]
 [%- IF id AND is_orphaned %]
   <input class="submit" type="submit" name="action" value="Löschen">
 [%- END %]
index 9680967..e39e4fa 100644 (file)
 <br>
   <input class="submit" type="submit" name="action" accesskey="s" value="<translate>Save</translate>">
   <input class="submit" type="submit" name="action" accesskey="s" value="<translate>Save and Close</translate>">
-  <input class="submit" type="submit" name="action" value="[% IF is_cumstomer %]<translate>Save and AR Transaction</translate>[% ELSE %]<translate>Save and AP Transaction</translate>[% END %]">
+  [%- IF is_cumstomer %]
+  <input class="submit" type="submit" name="action" value="<translate>Save and AR Transaction</translate>">
+  [%- ELSE %]
+  <input class="submit" type="submit" name="action" value="<translate>Save and AP Transaction</translate>">
+  [%- END %]
   <input class="submit" type="submit" name="action" value="<translate>Save and Invoice</translate>">
   <input class="submit" type="submit" name="action" value="<translate>Save and Order</translate>">
-  <input class="submit" type="submit" name="action" value="[% IF is_customer %]<translate>Save and Quotation</translate>[% ELSE %]<translate>Save and RFQ</translate>[% END %]">
+  [%- IF is_customer %]
+  <input class="submit" type="submit" name="action" value="<translate>Save and Quotation</translate>">
+  [%- ELSE %]
+  <input class="submit" type="submit" name="action" value="<translate>Save and RFQ</translate>">
+  [%- END %]
 [%- IF id AND is_orphaned %]
   <input class="submit" type="submit" name="action" value="<translate>Delete</translate>">
 [%- END %]