Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision cc8086cc

Von Tamino Steinert vor 9 Monaten hinzugefügt

  • ID cc8086ccd222ce10939d6257639b8268b1cb1973
  • Vorgänger 53c42274
  • Nachfolger 7fa5b6d0

EmailJournal: Zeige den Text richtig an.

Nutze 
 für format=flowed

Unterschiede anzeigen:

templates/design40_webpages/email_journal/tabs/basic_data.html
47 47
    <tr>
48 48
      <th>[% 'Body' | $T8 %]</th>
49 49
      <td>
50
        [% IF SELF.entry.headers.match('(?i)content-type:.*text/html') %]
51
          <div style="border:1px solid black;">
52
          [% P.restricted_html(SELF.entry.body) %]
53
          </div>
54
        [% ELSE %]
55
          [% L.textarea_tag('body', SELF.entry.body, wrap="soft", style="color:black; height:200px", class="wi-verywide", disabled=1) %]
56
        [% END %]
50
        <div style="border:1px solid black; resize: both; overflow: auto; min-height:50px">
51
          [% IF SELF.entry.headers.match('(?i)content-type:.*text/html') %]
52
            [% P.restricted_html(SELF.entry.body) %]
53
          [% ELSE %]
54
            <pre>[% SELF.entry.body | html %]</pre>
55
          [% END %]
56
        </div>
57 57
      </td>
58 58
    </tr>
59 59
  </tbody>

Auch abrufbar als: Unified diff