// ---------------------------------------------------------------------------- // Copyright (C) 2014 // David Freese, W1HKJ // // This file is part of flmsg // // flrig is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 3 of the License, or // (at your option) any later version. // // flrig is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see . // ---------------------------------------------------------------------------- #include "templates.h" const char mars_daily_html_template[] = "\ \ \ :TITLE:\ \ \ \ \ \ \
MARS DAILY REPORT

\
\
DE :md_de_: NR :md_nbr:\n\
:md_pre: :md_dtg:\n\
FM :md_fnm: :md_fcl: :md_fst:\n\
TO :md_tps:/:md_tcl: :md_tst:\n\
INFO :md_ps1:/:md_cl1: :md_st1:\n\
INFO :md_ps2:/:md_cl2: :md_st2:\n\
INFO :md_ps3:/:md_cl3: :md_st3:\n\
BT\n\
:md_inc:\n\
SUBJECT: SITREP / :md_sid: / :md_slo:\n\
1. :md_22h:\n\
2. :md_ncl: / :md_e_x:\n\
3. :md_dta:/:md_dtd: :md_nst:\n\
A. :md_det:\n\
B. :md_acs:\n\
4. :md_agy:\n\
5. :md_rem:\n\
:md_inc:\n\
BT\n\
/EX\n\
NNNN\n\
\ \ "; const char mars_daily_text_template[] = "DE :md_de_: NR :md_nbr:\n\ :md_pre: :md_dtg:\n\ FM :md_fnm: :md_fcl: :md_fst:\n\ TO :md_tps:/:md_tcl: :md_tst:\n\ INFO :md_ps1:/:md_cl1: :md_st1:\n\ INFO :md_ps2:/:md_cl2: :md_st2:\n\ INFO :mars_state_sd:/:call_sign_st:\n\ BT\n\ :md_inc:\n\ SUBJECT: SITREP / :md_sid: / :md_slo:\n\ 1. :md_22h:\n\ 2. :md_ncl: / :md_e_x:\n\ 3. :md_dta:/:md_dtd: :md_nst:\n\ A. :md_det:\n\ B. :md_acs:\n\ 4. :md_agy:\n\ 5. :md_rem:\n\ :md_inc:\n\ BT\n\ /EX\n\ NNNN\n"; //====================================================================== // Net report templates //====================================================================== const char mars_net_html_template[] = "\ \ \ \ :TITLE:\ \ \ \ \ \ \
MARS NET REPORT

\
\
DE :de: :nbr:\n\
:prec: :dtg:\n\
FM :fmname: :fmcall: :fmstate:\n\
TO :topos:/:tocall: :tostate:\n\
INFO :info1pos:/:info1call: :info1state:\n\
BT\n\
:incident:\n\
SUBJECT: NET REPORT :dnd:\n\
1. :netcall:\n\
2. :dtgstart: :dtgend:\n\
3. :netsb:\n\
4. :ncscall:\n\
5. :nbrstas:, :calls:\n\
6. NA\n\
7. A. :nbrmsgs:\n\
   B. :comments:\n\
:incident:\n\
BT\n\
/EX\n\
NNNN\n\
\ \ "; const char mars_net_text_template[] = "\ DE :de: :nbr:\n\ :prec: :dtg:\n\ FM :fmname: :fmcall: :fmstate:\n\ TO :topos:/:tocall: :tostate:\n\ INFO :info1pos:/:info1call: :info1state:\n\ BT\n\ :incident:\n\ SUBJECT: NET REPORT :dnd:\n\ 1. :netcall:\n\ 2. :dtgstart: :dtgend:\n\ 3. :netsb:\n\ 4. :ncscall:\n\ 5. :nbrstas:, :calls:\n\ 6. NA\n\ 7. A. :nbrmsgs:\n\ B. :comments:\n\ :incident:\n\ BT\n\ /EX\n\ NNNN\n\ "; //====================================================================== // IN/IEE report templates //====================================================================== const char mars_ineei_html_template[] = "\ \ \ \ :TITLE:\ \ \ \ \ \ \
MARS IN/EEI REPORT

\
\
DE :de: :nbr:\n\
:prec: :dtg:\n\
FM :fm:\n\
TO: :to::info:\n\
BT\n\
:incident:\n\
SUBJECT: IN/EEI REPORT\n\
1. REF EVENT IDENTIFIER: :1ref:\n\
A. INCIDENT LOCATION TIME: :1a:\n\
B. EMERGENCY MEDICAL: :1b_medfacsts:\n\
C. LOCAL TRANSPORTATION: :1c_trnpsts:\n\
D. GENERAL DAMAGE DESCRIPTION: :1d_damage:\n\
E. UTILITY STATUS: :1e_utilsts:\n\
F. COMMUNICATIONS STATUS: :1f_commsts:\n\
G. SOURCE OF INFO: :1g:\n\
H. REMARKS: :1h_remarks:\n\
:incident:\n\
BT\n\
/EX\n\
NNNN\n\
\ \ "; const char mars_ineei_text_template[] = "\ DE :de: :nbr:\n\ :prec: :dtg:\n\ FM :fm:\n\ TO: :to::info:\n\ BT\n\ :incident:\n\ SUBJECT: IN/EEI REPORT\n\ 1. REF EVENT IDENTIFIER: :1ref:\n\ A. INCIDENT LOCATION TIME: :1a:\n\ B. EMERGENCY MEDICAL: :1b_medfacsts:\n\ C. LOCAL TRANSPORTATION: :1c_trnpsts:\n\ D. GENERAL DAMAGE DESCRIPTION: :1d_damage:\n\ E. UTILITY STATUS: :1e_utilsts:\n\ F. COMMUNICATIONS STATUS: :1f_commsts:\n\ G. SOURCE OF INFO: :1g:\n\ H. REMARKS: :1h_remarks:\n\ :incident:\n\ BT\n\ /EX\n\ NNNN\n\ "; //====================================================================== // ARMY message templates //====================================================================== const char mars_army_html_template[] = "\ \ \ \ :TITLE:\ \ \ \ \ \ \
ARMY MARS STD MSG

\
\
DE :de: NR :nbr:\n\
:pre: :dtg:\n\
FM :fm:\n\
TO :to:\n\
INFO :info:\n\
BT\n\
:text:\n\
BT\n\
NNNN\n\
\ \ "; const char mars_army_text_template[] = "\ DE :de: NR :nbr:\n\ :pre: :dtg:\n\ FM :fm:\n\ TO :to:\n\ INFO :info:\n\ BT\n\ :text:\n\ BT\n\ NNNN\n\ "; //====================================================================== // NAVY message templates //====================================================================== const char mars_navy_html_template[] = "\ \ \ \ :TITLE:\ \ \ \ \ \ \
NAVY MARS STD MSG

\
\
:pre: :dtg:\n\
FM :fm:\n\
TO :to:\n\
BT\n\
UNCLAS\n\
:text:\n\
BT\n\
NNNN\n\
\ \ "; const char mars_navy_text_template[] = "\ :pre: :dtg:\n\ FM :fm:\n\ TO :to:\n\ BT\n\ UNCLAS\n\ :text:\n\ BT\n\ NNNN\n\ "; //====================================================================== // GENERIC message templates //====================================================================== const char mars_msg_html_template[] = "\ \ \ \ :TITLE:\ \ \ \ \ \ \
GENERIC MARS STD MSG

\
\
:pre: :dtg:\n\
FM :fm:\n\
TO :to:\n\
BT\n\
UNCLAS\n\
:text:\n\
BT\n\
NNNN\n\
\ \ "; const char mars_msg_text_template[] = "\ :pre: :dtg:\n\ FM :fm:\n\ TO :to:\n\ BT\n\ UNCLAS\n\ :text:\n\ BT\n\ NNNN\n\ ";