setup_generictranslations_edit_email_strings_action_bar();
$form->{title} = $locale->text('Edit preset email strings');
+ $::request->{layout}->use_javascript(map { "${_}.js" } qw(ckeditor/ckeditor ckeditor/adapters/jquery));
$form->header();
print $form->parse_html_template('generictranslations/edit_email_strings',{ 'MAIL_STRINGS' => \%mail_strings });
[%- END %]
</td>
<td>
- [%- IF mail_string.search('preset') %]
- <textarea name="translation__[% language.id %]__[% mail_string %]" rows="4" cols="60">[% HTML.escape(language.$mail_string) %]</textarea>
+ [%- IF mail_string.search('preset') && !mail_string.search('subject')%]
+ <textarea name="translation__[% language.id %]__[% mail_string %]" rows="4" cols="60" class="texteditor">[% HTML.escape(language.$mail_string) %]</textarea>
[%- ELSE %]
<input name="translation__[% language.id %]__[% mail_string %]" size="40" value="[% HTML.escape(language.$mail_string) %]">
[%- END %]