Debian Codegraph @

src/plaintext/plaintext_templates.cxx

raw
1 // ----------------------------------------------------------------------------
2 // Copyright (C) 2014
3 // David Freese, W1HKJ
4 //
5 // This file is part of flmsg
6 //
7 // flrig is free software; you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by
9 // the Free Software Foundation; either version 3 of the License, or
10 // (at your option) any later version.
11 //
12 // flrig is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
16 //
17 // You should have received a copy of the GNU General Public License
18 // along with this program. If not, see <http://www.gnu.org/licenses/>.
19 // ----------------------------------------------------------------------------
20
21 #include "templates.h"
22
23 const char pt_html_template[] =
24 "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\">\
25 <html>\
26 <head><meta content=\"text/html; charset=UTF-8\" http-equiv=\"content-type\">\
27 <title>:tt:</title>\
28 </head><body>\
29 <table WIDTH=1000px BORDER=1 CELLPADDING=0 CELLSPACING=0>\
30 <tbody>\
31 <tr ALIGN=center>\
32 <td COLSPAN=3 VALIGN=top BGCOLOR=#EEEEEE><big><b>:tt:</b></big><br></td>\
33 </tr>\
34 <tr><td VALIGN=top>TO: :to:<br></td></tr>\
35 <tr><td VALIGN=top>FROM: :fm:<br></td></tr>\
36 <tr><td VALIGN=top>SUBJ: :sb:<br></td></tr>\
37 <tr><td VALIGN=top>DATE: :dt:<br></td></tr>\
38 <tr><td VALIGN=top>TIME: :tm:<br></td></tr>\
39 <tr><td COLSPAN=3 VALIGN=top BGCOLOR=#EEEEEE>MESSAGE:<br></td></tr>\
40 <tr><td COLSPAN=3 VALIGN=top>:mg:<br></td></tr>\
41 </table>\
42 </body></html>";
43
44 const char pt_txt_template[] =
45 "TITLE: :tt:\n\
46 TO: :to:\n\
47 FROM: :fm:\n\
48 SUBJ: :sb:\n\
49 DATE: :dt:\n\
50 TIME: :tm:\n\
51 MESSAGE:\n\
52 :mg:\n\
53 ";
54