Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision e4d533e6

Von Moritz Bunkus vor fast 3 Jahren hinzugefügt

  • ID e4d533e65a92149137848134f8a97efb67d89a23
  • Vorgänger 7c9b978a
  • Nachfolger c9b7a9cd

E-Mails als HTML verschicken: Bearbeiten vordefinierter E-Mail-Texte

Unterschiede anzeigen:

bin/mozilla/generictranslations.pl
178 178
  setup_generictranslations_edit_email_strings_action_bar();
179 179

  
180 180
  $form->{title} = $locale->text('Edit preset email strings');
181
  $::request->{layout}->use_javascript(map { "${_}.js" } qw(ckeditor/ckeditor ckeditor/adapters/jquery));
181 182
  $form->header();
182 183
  print $form->parse_html_template('generictranslations/edit_email_strings',{ 'MAIL_STRINGS' => \%mail_strings });
183 184

  
templates/webpages/generictranslations/edit_email_strings.html
28 28
       [%- END %]
29 29
      </td>
30 30
      <td>
31
       [%- IF mail_string.search('preset') %]
32
        <textarea name="translation__[% language.id %]__[% mail_string %]" rows="4" cols="60">[% HTML.escape(language.$mail_string) %]</textarea>
31
       [%- IF mail_string.search('preset') && !mail_string.search('subject')%]
32
        <textarea name="translation__[% language.id %]__[% mail_string %]" rows="4" cols="60" class="texteditor">[% HTML.escape(language.$mail_string) %]</textarea>
33 33
       [%- ELSE %]
34 34
        <input name="translation__[% language.id %]__[% mail_string %]" size="40" value="[% HTML.escape(language.$mail_string) %]">
35 35
       [%- END %]

Auch abrufbar als: Unified diff