Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 79d30e2e

Von Moritz Bunkus vor fast 17 Jahren hinzugefügt

  • ID 79d30e2e5cceb8b1136e1e3a340a88322ed7b461
  • Vorgänger 5928c143
  • Nachfolger f559ec45

Umstellung der Vorlagen aus templates/webpages/dunning von HTML::Template auf Template.

Unterschiede anzeigen:

bin/mozilla/dn.pl
96 96
  $form->{fokus}    = "search.customer";
97 97
  $form->header();
98 98

  
99
  print $form->parse_html_template("dunning/add");
99
  print $form->parse_html_template2("dunning/add");
100 100

  
101 101
  $lxdebug->leave_sub();
102 102
}
......
131 131
                                          'no_opendocument' => 1,);
132 132

  
133 133
  $form->header();
134
  print $form->parse_html_template("dunning/show_invoices");
134
  print $form->parse_html_template2("dunning/show_invoices");
135 135

  
136 136
  $lxdebug->leave_sub();
137 137
}
......
233 233

  
234 234
  $form->{"title"} = $locale->text("Set eMail text");
235 235
  $form->header();
236
  print($form->parse_html_template("dunning/set_email"));
236
  print($form->parse_html_template2("dunning/set_email"));
237 237

  
238 238
  $lxdebug->leave_sub();
239 239
}
......
260 260
    . qq|;setupDateFormat('|. $myconfig{dateformat} .qq|', '|. $locale->text("Falsches Datumsformat!") .qq|')|
261 261
    . qq|;setupPoints('|. $myconfig{numberformat} .qq|', '|. $locale->text("wrongformat") .qq|')|;
262 262

  
263
  print $form->parse_html_template("dunning/search");
263
  print $form->parse_html_template2("dunning/search");
264 264

  
265 265
  $lxdebug->leave_sub();
266 266

  
......
361 361

  
362 362
  $report->add_data($current_dunning_rows) if (scalar @{ $current_dunning_rows });
363 363

  
364
  $report->set_options('raw_top_info_text'    => $form->parse_html_template('dunning/show_dunning_top'),
365
                       'raw_bottom_info_text' => $form->parse_html_template('dunning/show_dunning_bottom'),
364
  $report->set_options('raw_top_info_text'    => $form->parse_html_template2('dunning/show_dunning_top'),
365
                       'raw_bottom_info_text' => $form->parse_html_template2('dunning/show_dunning_bottom'),
366 366
                       'output_format'        => 'HTML',
367 367
                       'attachment_basename'  => $locale->text('dunning_list') . strftime('_%Y%m%d', localtime time),
368 368
    );
templates/webpages/dunning/add_de.html
1
<script type="text/javascript" src="js/common.js"></script>
1
[% USE HTML %]<script type="text/javascript" src="js/common.js"></script>
2 2
<script type="text/javascript">
3 3
 <!--
4 4
     function setup_controls() {
5 5
       fokus();
6
       setupDateFormat('<TMPL_VAR myconfig_dateformat>', 'Falsches Datumsformat!');
7
       setupPoints('<TMPL_VAR myconfig_numberformat>', 'Falsches Format');
6
       setupDateFormat('[% myconfig_dateformat %]', 'Falsches Datumsformat!');
7
       setupPoints('[% myconfig_numberformat %]', 'Falsches Format');
8 8
     }
9 9
   -->
10 10
</script>
11 11

  
12 12
<body onLoad="setup_controls();">
13 13

  
14
 <div class="listtop"><TMPL_VAR title></div>
14
 <div class="listtop">[% title %]</div>
15 15

  
16 16
 <form method="post" name="search" action="dn.pl">
17 17

  
......
19 19
   <tr>
20 20
    <th align="right">Kunde</th>
21 21
    <td colspan="3">
22
     <TMPL_IF SHOW_CUSTOMER_SELECTION>
22
     [% IF SHOW_CUSTOMER_SELECTION %]
23 23
      <select name="customer">
24 24
       <option></option>
25
       <TMPL_LOOP all_customer><option><TMPL_VAR name ESCAPE=HTML>--<TMPL_VAR id ESCAPE=HTML></option></TMPL_LOOP>
25
       [% FOREACH row = all_customer %]<option>[% HTML.escape(row.name) %]--[% HTML.escape(row.id) %]</option>[% END %]
26 26
      </select>
27
      <TMPL_ELSE>
28
      <input name=customer size=35>
29
     </TMPL_IF>
27
      [% ELSE %]
28
      <input name="customer" size="35">
29
     [% END %]
30 30
    </td>
31 31
   </tr>
32 32

  
33
   <TMPL_IF SHOW_DUNNING_LEVEL_SELECTION>
33
   [% IF SHOW_DUNNING_LEVEL_SELECTION %]
34 34
    <tr>
35 35
     <th align="right">N?chste Mahnstufe</th>
36 36
     <td colspan="3">
37 37
      <select name="dunning_level">
38 38
       <option></option>
39
       <TMPL_LOOP DUNNING><option value="<TMPL_VAR id ESCAPE=HTML>"><TMPL_VAR dunning_description ESCAPE=HTML></option></TMPL_LOOP>
39
       [% FOREACH row = DUNNING %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>[% END %]
40 40
      </select>
41 41
     </td>
42 42
    </tr>
43
   </TMPL_IF>
43
   [% END %]
44 44

  
45
   <TMPL_IF SHOW_DEPARTMENT_SELECTION>
45
   [% IF SHOW_DEPARTMENT_SELECTION %]
46 46
    <tr>
47 47
     <th align="right">Abteilung</th>
48 48
     <td colspan="3">
49 49
      <select name="department">
50 50
       <option></option>
51
       <TMPL_LOOP all_departments><option><TMPL_VAR description ESCAPE=HTML>--<TMPL_VAR id ESCAPE=HTML></option></TMPL_LOOP>
51
       [% FOREACH row = all_departments %]<option>[% HTML.escape(row.description) %]--[% HTML.escape(row.id) %]</option>[% END %]
52 52
      </select>
53 53
     </td>
54 54
    </tr>
55
   </TMPL_IF>
55
   [% END %]
56 56

  
57 57
   <tr>
58 58
    <th align="right" nowrap>Rechnungsnummer</th>
......
84 84

  
85 85
  <input type="hidden" name="nextsub" value="show_invoices">
86 86

  
87
  <input type="hidden" name="login" value="<TMPL_VAR login ESCAPE=HTML>">
88
  <input type="hidden" name="password" value="<TMPL_VAR password ESCAPE=HTML>">
87
  <input type="hidden" name="login" value="[% HTML.escape(login) %]">
88
  <input type="hidden" name="password" value="[% HTML.escape(password) %]">
89 89

  
90 90
  <br>
91 91
  <input class="submit" type="submit" name="action" value="Weiter">
templates/webpages/dunning/add_master.html
1
<script type="text/javascript" src="js/common.js"></script>
1
[% USE HTML %]<script type="text/javascript" src="js/common.js"></script>
2 2
<script type="text/javascript">
3 3
 <!--
4 4
     function setup_controls() {
5 5
       fokus();
6
       setupDateFormat('<TMPL_VAR myconfig_dateformat>', '<translate>Wrong date format!</translate>');
7
       setupPoints('<TMPL_VAR myconfig_numberformat>', '<translate>wrongformat</translate>');
6
       setupDateFormat('[% myconfig_dateformat %]', '<translate>Wrong date format!</translate>');
7
       setupPoints('[% myconfig_numberformat %]', '<translate>wrongformat</translate>');
8 8
     }
9 9
   -->
10 10
</script>
11 11

  
12 12
<body onLoad="setup_controls();">
13 13

  
14
 <div class="listtop"><TMPL_VAR title></div>
14
 <div class="listtop">[% title %]</div>
15 15

  
16 16
 <form method="post" name="search" action="dn.pl">
17 17

  
......
19 19
   <tr>
20 20
    <th align="right"><translate>Customer</translate></th>
21 21
    <td colspan="3">
22
     <TMPL_IF SHOW_CUSTOMER_SELECTION>
22
     [% IF SHOW_CUSTOMER_SELECTION %]
23 23
      <select name="customer">
24 24
       <option></option>
25
       <TMPL_LOOP all_customer><option><TMPL_VAR name ESCAPE=HTML>--<TMPL_VAR id ESCAPE=HTML></option></TMPL_LOOP>
25
       [% FOREACH row = all_customer %]<option>[% HTML.escape(row.name) %]--[% HTML.escape(row.id) %]</option>[% END %]
26 26
      </select>
27
      <TMPL_ELSE>
28
      <input name=customer size=35>
29
     </TMPL_IF>
27
      [% ELSE %]
28
      <input name="customer" size="35">
29
     [% END %]
30 30
    </td>
31 31
   </tr>
32 32

  
33
   <TMPL_IF SHOW_DUNNING_LEVEL_SELECTION>
33
   [% IF SHOW_DUNNING_LEVEL_SELECTION %]
34 34
    <tr>
35 35
     <th align="right"><translate>Next Dunning Level</translate></th>
36 36
     <td colspan="3">
37 37
      <select name="dunning_level">
38 38
       <option></option>
39
       <TMPL_LOOP DUNNING><option value="<TMPL_VAR id ESCAPE=HTML>"><TMPL_VAR dunning_description ESCAPE=HTML></option></TMPL_LOOP>
39
       [% FOREACH row = DUNNING %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>[% END %]
40 40
      </select>
41 41
     </td>
42 42
    </tr>
43
   </TMPL_IF>
43
   [% END %]
44 44

  
45
   <TMPL_IF SHOW_DEPARTMENT_SELECTION>
45
   [% IF SHOW_DEPARTMENT_SELECTION %]
46 46
    <tr>
47 47
     <th align="right"><translate>Department</translate></th>
48 48
     <td colspan="3">
49 49
      <select name="department">
50 50
       <option></option>
51
       <TMPL_LOOP all_departments><option><TMPL_VAR description ESCAPE=HTML>--<TMPL_VAR id ESCAPE=HTML></option></TMPL_LOOP>
51
       [% FOREACH row = all_departments %]<option>[% HTML.escape(row.description) %]--[% HTML.escape(row.id) %]</option>[% END %]
52 52
      </select>
53 53
     </td>
54 54
    </tr>
55
   </TMPL_IF>
55
   [% END %]
56 56

  
57 57
   <tr>
58 58
    <th align="right" nowrap><translate>Invoice Number</translate></th>
......
84 84

  
85 85
  <input type="hidden" name="nextsub" value="show_invoices">
86 86

  
87
  <input type="hidden" name="login" value="<TMPL_VAR login ESCAPE=HTML>">
88
  <input type="hidden" name="password" value="<TMPL_VAR password ESCAPE=HTML>">
87
  <input type="hidden" name="login" value="[% HTML.escape(login) %]">
88
  <input type="hidden" name="password" value="[% HTML.escape(password) %]">
89 89

  
90 90
  <br>
91 91
  <input class="submit" type="submit" name="action" value="<translate>Continue</translate>">
templates/webpages/dunning/search_de.html
1
<body onLoad="<TMPL_VAR onload>">
1
[% USE HTML %]<body onLoad="[% onload %]">
2 2

  
3 3
 <script type="text/javascript" src="js/common.js"></script>
4 4

  
5 5
 <form method="post" name="search" action="dn.pl">
6 6

  
7
  <div class="listtop"><TMPL_VAR title></div>
7
  <div class="listtop">[% title %]</div>
8 8

  
9 9
  <table width="100%">
10 10
   <tr height="5"></tr>
......
14 14
      <tr>
15 15
       <th align="right">Kunde</th>
16 16
       <td colspan="3">
17
        <TMPL_IF SHOW_CUSTOMER_DDBOX>
17
        [% IF SHOW_CUSTOMER_DDBOX %]
18 18
         <select name="customer_id">
19 19
          <option value=""></option>
20
          <TMPL_LOOP ALL_CUSTOMERS><option value="<TMPL_VAR id ESCAPE=HTML>"><TMPL_VAR name ESCAPE=HTML></option>
21
          </TMPL_LOOP>
20
          [% FOREACH row = ALL_CUSTOMERS %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.name) %]</option>
21
          [% END %]
22 22
         </select>
23
         <TMPL_ELSE>
23
         [% ELSE %]
24 24
         <input name="customer" size="35">
25
        </TMPL_IF>
25
        [% END %]
26 26
       </td>
27 27
      </tr>
28 28

  
29
      <TMPL_IF SHOW_DUNNING_LEVELS>
29
      [% IF SHOW_DUNNING_LEVELS %]
30 30
       <tr>
31 31
        <th align="right" nowrap>N?chste Mahnstufe</th>
32 32
        <td colspan="3">
33 33
         <select name="dunning_level">
34 34
          <option value=""></option>
35
          <TMPL_LOOP DUNNING><option value="<TMPL_VAR id ESCAPE=HTML>"><TMPL_VAR dunning_description ESCAPE=HTML></option>
36
          </TMPL_LOOP>
35
          [% FOREACH row = DUNNING %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>
36
          [% END %]
37 37
         </select>
38 38
        </td>
39 39
       </tr>
40
      </TMPL_IF>
40
      [% END %]
41 41

  
42
      <TMPL_IF SHOW_DEPARTMENT_DDBOX>
42
      [% IF SHOW_DEPARTMENT_DDBOX %]
43 43
       <tr>
44 44
        <th align="right" nowrap>Abteilung</th>
45 45
        <td colspan="3">
46 46
         <select name="department_id">
47 47
          <option value=""></option>
48
          <TMPL_LOOP ALL_DEPARTMENTS><option value="<TMPL_VAR id ESCAPE=HTML>"><TMPL_VAR description ESCAPE=HTML></option>
49
          </TMPL_LOOP>
48
          [% FOREACH row = ALL_DEPARTMENTS %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.description) %]</option>
49
          [% END %]
50 50
         </select>
51 51
        </td>
52 52
       </tr>
53
      </TMPL_IF>
53
      [% END %]
54 54

  
55 55
      <tr>
56 56
       <th align="right" nowrap>Rechnungsnummer</th>
......
70 70
      <tr>
71 71
       <th align="right" nowrap>Rechnungen von</th>
72 72
       <td>
73
        <input name="transdatefrom" id="transdatefrom" size="11" title="<TMPL_VAR myconfig_dateformat" onBlur="check_right_date_format(this)">
73
        <input name="transdatefrom" id="transdatefrom" size="11" title="[% HTML.escape(myconfig_dateformat) %]" onBlur="check_right_date_format(this)">
74 74
        <input type="button" name="transdatefrom" id="trigger1" value="?">
75 75
       </td>
76 76
       <th align="right" nowrap>An</th>
77 77
       <td>
78
        <input name="transdateto" id="transdateto" size="11" title="<TMPL_VAR myconfig_dateformat" onBlur="check_right_date_format(this)">
78
        <input name="transdateto" id="transdateto" size="11" title="[% HTML.escape(myconfig_dateformat) %]" onBlur="check_right_date_format(this)">
79 79
        <input type="button" name="transdateto" id="trigger2" value="?">
80 80
       </td>
81 81
      </tr>
......
83 83
      <tr>
84 84
       <th align="right" nowrap>Mahnungen von</th>
85 85
       <td>
86
        <input name="dunningfrom" id="dunningfrom" size="11" title="<TMPL_VAR myconfig_dateformat" onBlur="check_right_date_format(this)">
86
        <input name="dunningfrom" id="dunningfrom" size="11" title="[% HTML.escape(myconfig_dateformat) %]" onBlur="check_right_date_format(this)">
87 87
        <input type="button" name="dunningfrom" id="trigger3" value="?">
88 88
       </td>
89 89
       <th align="right" nowrap>An</th>
90 90
       <td>
91
        <input name="dunningto" id="dunningto" size="11" title="<TMPL_VAR myconfig_dateformat" onBlur="check_right_date_format(this)">
91
        <input name="dunningto" id="dunningto" size="11" title="[% HTML.escape(myconfig_dateformat) %]" onBlur="check_right_date_format(this)">
92 92
        <input type="button" name="dunningto" id="trigger4" value="?">
93 93
       </td>
94 94
      </tr>
......
113 113

  
114 114
  <input type="hidden" name="nextsub" value="show_dunning">
115 115

  
116
  <input type="hidden" name="login" value="<TMPL_VAR login ESCAPE=HTML>">
117
  <input type="hidden" name="password" value="<TMPL_VAR password ESCAPE=HTML>">
116
  <input type="hidden" name="login" value="[% HTML.escape(login) %]">
117
  <input type="hidden" name="password" value="[% HTML.escape(password) %]">
118 118

  
119 119
  <br>
120 120

  
......
124 124

  
125 125
 <script type="text/javascript">
126 126
  <!--
127
      Calendar.setup({ inputField : "transdatefrom", ifFormat :"<TMPL_VAR myconfig_jsc_dateformat>", align : "BR", button : "trigger1" });
128
      Calendar.setup({ inputField : "transdateto", ifFormat :"<TMPL_VAR myconfig_jsc_dateformat>", align : "BR", button : "trigger2" });
129
      Calendar.setup({ inputField : "dunningfrom", ifFormat :"<TMPL_VAR myconfig_jsc_dateformat>", align : "BR", button : "trigger3" });
130
      Calendar.setup({ inputField : "dunningto", ifFormat :"<TMPL_VAR myconfig_jsc_dateformat>", align : "BR", button : "trigger4" });
127
      Calendar.setup({ inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger1" });
128
      Calendar.setup({ inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger2" });
129
      Calendar.setup({ inputField : "dunningfrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger3" });
130
      Calendar.setup({ inputField : "dunningto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger4" });
131 131
    -->
132 132
 </script>
133 133

  
templates/webpages/dunning/search_master.html
1
<body onLoad="<TMPL_VAR onload>">
1
[% USE HTML %]<body onLoad="[% onload %]">
2 2

  
3 3
 <script type="text/javascript" src="js/common.js"></script>
4 4

  
5 5
 <form method="post" name="search" action="dn.pl">
6 6

  
7
  <div class="listtop"><TMPL_VAR title></div>
7
  <div class="listtop">[% title %]</div>
8 8

  
9 9
  <table width="100%">
10 10
   <tr height="5"></tr>
......
14 14
      <tr>
15 15
       <th align="right"><translate>Customer</translate></th>
16 16
       <td colspan="3">
17
        <TMPL_IF SHOW_CUSTOMER_DDBOX>
17
        [% IF SHOW_CUSTOMER_DDBOX %]
18 18
         <select name="customer_id">
19 19
          <option value=""></option>
20
          <TMPL_LOOP ALL_CUSTOMERS><option value="<TMPL_VAR id ESCAPE=HTML>"><TMPL_VAR name ESCAPE=HTML></option>
21
          </TMPL_LOOP>
20
          [% FOREACH row = ALL_CUSTOMERS %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.name) %]</option>
21
          [% END %]
22 22
         </select>
23
         <TMPL_ELSE>
23
         [% ELSE %]
24 24
         <input name="customer" size="35">
25
        </TMPL_IF>
25
        [% END %]
26 26
       </td>
27 27
      </tr>
28 28

  
29
      <TMPL_IF SHOW_DUNNING_LEVELS>
29
      [% IF SHOW_DUNNING_LEVELS %]
30 30
       <tr>
31 31
        <th align="right" nowrap><translate>Next Dunning Level</translate></th>
32 32
        <td colspan="3">
33 33
         <select name="dunning_level">
34 34
          <option value=""></option>
35
          <TMPL_LOOP DUNNING><option value="<TMPL_VAR id ESCAPE=HTML>"><TMPL_VAR dunning_description ESCAPE=HTML></option>
36
          </TMPL_LOOP>
35
          [% FOREACH row = DUNNING %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.dunning_description) %]</option>
36
          [% END %]
37 37
         </select>
38 38
        </td>
39 39
       </tr>
40
      </TMPL_IF>
40
      [% END %]
41 41

  
42
      <TMPL_IF SHOW_DEPARTMENT_DDBOX>
42
      [% IF SHOW_DEPARTMENT_DDBOX %]
43 43
       <tr>
44 44
        <th align="right" nowrap><translate>Department</translate></th>
45 45
        <td colspan="3">
46 46
         <select name="department_id">
47 47
          <option value=""></option>
48
          <TMPL_LOOP ALL_DEPARTMENTS><option value="<TMPL_VAR id ESCAPE=HTML>"><TMPL_VAR description ESCAPE=HTML></option>
49
          </TMPL_LOOP>
48
          [% FOREACH row = ALL_DEPARTMENTS %]<option value="[% HTML.escape(row.id) %]">[% HTML.escape(row.description) %]</option>
49
          [% END %]
50 50
         </select>
51 51
        </td>
52 52
       </tr>
53
      </TMPL_IF>
53
      [% END %]
54 54

  
55 55
      <tr>
56 56
       <th align="right" nowrap><translate>Invoice Number</translate></th>
......
70 70
      <tr>
71 71
       <th align="right" nowrap><translate>Invdate from</translate></th>
72 72
       <td>
73
        <input name="transdatefrom" id="transdatefrom" size="11" title="<TMPL_VAR myconfig_dateformat" onBlur="check_right_date_format(this)">
73
        <input name="transdatefrom" id="transdatefrom" size="11" title="[% HTML.escape(myconfig_dateformat) %]" onBlur="check_right_date_format(this)">
74 74
        <input type="button" name="transdatefrom" id="trigger1" value="?">
75 75
       </td>
76 76
       <th align="right" nowrap><translate>To</translate></th>
77 77
       <td>
78
        <input name="transdateto" id="transdateto" size="11" title="<TMPL_VAR myconfig_dateformat" onBlur="check_right_date_format(this)">
78
        <input name="transdateto" id="transdateto" size="11" title="[% HTML.escape(myconfig_dateformat) %]" onBlur="check_right_date_format(this)">
79 79
        <input type="button" name="transdateto" id="trigger2" value="?">
80 80
       </td>
81 81
      </tr>
......
83 83
      <tr>
84 84
       <th align="right" nowrap><translate>Dunning Date from</translate></th>
85 85
       <td>
86
        <input name="dunningfrom" id="dunningfrom" size="11" title="<TMPL_VAR myconfig_dateformat" onBlur="check_right_date_format(this)">
86
        <input name="dunningfrom" id="dunningfrom" size="11" title="[% HTML.escape(myconfig_dateformat) %]" onBlur="check_right_date_format(this)">
87 87
        <input type="button" name="dunningfrom" id="trigger3" value="?">
88 88
       </td>
89 89
       <th align="right" nowrap><translate>To</translate></th>
90 90
       <td>
91
        <input name="dunningto" id="dunningto" size="11" title="<TMPL_VAR myconfig_dateformat" onBlur="check_right_date_format(this)">
91
        <input name="dunningto" id="dunningto" size="11" title="[% HTML.escape(myconfig_dateformat) %]" onBlur="check_right_date_format(this)">
92 92
        <input type="button" name="dunningto" id="trigger4" value="?">
93 93
       </td>
94 94
      </tr>
......
113 113

  
114 114
  <input type="hidden" name="nextsub" value="show_dunning">
115 115

  
116
  <input type="hidden" name="login" value="<TMPL_VAR login ESCAPE=HTML>">
117
  <input type="hidden" name="password" value="<TMPL_VAR password ESCAPE=HTML>">
116
  <input type="hidden" name="login" value="[% HTML.escape(login) %]">
117
  <input type="hidden" name="password" value="[% HTML.escape(password) %]">
118 118

  
119 119
  <br>
120 120

  
......
124 124

  
125 125
 <script type="text/javascript">
126 126
  <!--
127
      Calendar.setup({ inputField : "transdatefrom", ifFormat :"<TMPL_VAR myconfig_jsc_dateformat>", align : "BR", button : "trigger1" });
128
      Calendar.setup({ inputField : "transdateto", ifFormat :"<TMPL_VAR myconfig_jsc_dateformat>", align : "BR", button : "trigger2" });
129
      Calendar.setup({ inputField : "dunningfrom", ifFormat :"<TMPL_VAR myconfig_jsc_dateformat>", align : "BR", button : "trigger3" });
130
      Calendar.setup({ inputField : "dunningto", ifFormat :"<TMPL_VAR myconfig_jsc_dateformat>", align : "BR", button : "trigger4" });
127
      Calendar.setup({ inputField : "transdatefrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger1" });
128
      Calendar.setup({ inputField : "transdateto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger2" });
129
      Calendar.setup({ inputField : "dunningfrom", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger3" });
130
      Calendar.setup({ inputField : "dunningto", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BR", button : "trigger4" });
131 131
    -->
132 132
 </script>
133 133

  
templates/webpages/dunning/set_email_de.html
1
<body <TMPL_IF NAME=onload>onload="<TMPL_VAR NAME=onload>"</TMPL_IF>>
1
[% USE HTML %]<body onload="[% onload %]">
2 2

  
3 3
 <script type="text/javascript">
4 4
  <!--
......
12 12

  
13 13
 <form name="Form">
14 14

  
15
  <input type="hidden" name="input_subject" value="<TMPL_VAR input_subject ESCAPE=HTML>">
16
  <input type="hidden" name="input_body" value="<TMPL_VAR input_body ESCAPE=HTML>">
17
  <input type="hidden" name="input_attachment" value="<TMPL_VAR input_attachment ESCAPE=HTML>">
15
  <input type="hidden" name="input_subject" value="[% HTML.escape(input_subject) %]">
16
  <input type="hidden" name="input_body" value="[% HTML.escape(input_body) %]">
17
  <input type="hidden" name="input_attachment" value="[% HTML.escape(input_attachment) %]">
18 18

  
19
  <div class="listtop" width="100%"><TMPL_VAR title></div>
19
  <div class="listtop" width="100%">[% title %]</div>
20 20

  
21 21
  <table width="100%">
22 22
   <tr>
23 23
    <td valign="top">Betreff:</td>
24
    <td valign="top"><input id="email_subject" name="email_subject" size="40" value="<TMPL_VAR email_subject ESCAPE=HTML>"></td>
24
    <td valign="top"><input id="email_subject" name="email_subject" size="40" value="[% HTML.escape(email_subject) %]"></td>
25 25
   </tr>
26 26

  
27 27
   <tr>
28 28
    <td valign="top">Text:</td>
29
    <td valign="top"><textarea id="email_body" name="email_body" rows="20" cols="70" wrap="soft"><TMPL_VAR email_body ESCAPE=HTML></textarea></td>
29
    <td valign="top"><textarea id="email_body" name="email_body" rows="20" cols="70" wrap="soft">[% HTML.escape(email_body) %]</textarea></td>
30 30
   </tr>
31 31

  
32 32
   <tr>
33 33
    <td valign="top">PDF anh?ngen</td>
34
    <td valign="top"><input id="email_attachment" type="checkbox" name="email_attachment" value="1" <TMPL_IF email_attachment>checked</TMPL_IF>></td>
34
    <td valign="top"><input id="email_attachment" type="checkbox" name="email_attachment" value="1" [% IF email_attachment %]checked[% END %]></td>
35 35
   </tr>
36 36
  </table>
37 37

  
templates/webpages/dunning/set_email_master.html
1
<body <TMPL_IF NAME=onload>onload="<TMPL_VAR NAME=onload>"</TMPL_IF>>
1
[% USE HTML %]<body onload="[% onload %]">
2 2

  
3 3
 <script type="text/javascript">
4 4
  <!--
......
12 12

  
13 13
 <form name="Form">
14 14

  
15
  <input type="hidden" name="input_subject" value="<TMPL_VAR input_subject ESCAPE=HTML>">
16
  <input type="hidden" name="input_body" value="<TMPL_VAR input_body ESCAPE=HTML>">
17
  <input type="hidden" name="input_attachment" value="<TMPL_VAR input_attachment ESCAPE=HTML>">
15
  <input type="hidden" name="input_subject" value="[% HTML.escape(input_subject) %]">
16
  <input type="hidden" name="input_body" value="[% HTML.escape(input_body) %]">
17
  <input type="hidden" name="input_attachment" value="[% HTML.escape(input_attachment) %]">
18 18

  
19
  <div class="listtop" width="100%"><TMPL_VAR title></div>
19
  <div class="listtop" width="100%">[% title %]</div>
20 20

  
21 21
  <table width="100%">
22 22
   <tr>
23 23
    <td valign="top"><translate>Subject:</translate></td>
24
    <td valign="top"><input id="email_subject" name="email_subject" size="40" value="<TMPL_VAR email_subject ESCAPE=HTML>"></td>
24
    <td valign="top"><input id="email_subject" name="email_subject" size="40" value="[% HTML.escape(email_subject) %]"></td>
25 25
   </tr>
26 26

  
27 27
   <tr>
28 28
    <td valign="top"><translate>Body:</translate></td>
29
    <td valign="top"><textarea id="email_body" name="email_body" rows="20" cols="70" wrap="soft"><TMPL_VAR email_body ESCAPE=HTML></textarea></td>
29
    <td valign="top"><textarea id="email_body" name="email_body" rows="20" cols="70" wrap="soft">[% HTML.escape(email_body) %]</textarea></td>
30 30
   </tr>
31 31

  
32 32
   <tr>
33 33
    <td valign="top"><translate>Attach PDF:</translate></td>
34
    <td valign="top"><input id="email_attachment" type="checkbox" name="email_attachment" value="1" <TMPL_IF email_attachment>checked</TMPL_IF>></td>
34
    <td valign="top"><input id="email_attachment" type="checkbox" name="email_attachment" value="1" [% IF email_attachment %]checked[% END %]></td>
35 35
   </tr>
36 36
  </table>
37 37

  
templates/webpages/dunning/show_dunning_bottom_de.html
1
  <input type="hidden" name="rowcount" value="<TMPL_VAR rowcount>">
1
[% USE HTML %]  <input type="hidden" name="rowcount" value="[% rowcount %]">
2 2

  
3
  <p><TMPL_VAR PRINT_OPTIONS></p>
3
  <p>[% PRINT_OPTIONS %]</p>
4 4

  
5 5
  <p>
6 6
   Mahnungen<br>
templates/webpages/dunning/show_dunning_bottom_master.html
1
  <input type="hidden" name="rowcount" value="<TMPL_VAR rowcount>">
1
[% USE HTML %]  <input type="hidden" name="rowcount" value="[% rowcount %]">
2 2

  
3
  <p><TMPL_VAR PRINT_OPTIONS></p>
3
  <p>[% PRINT_OPTIONS %]</p>
4 4

  
5 5
  <p>
6 6
   <translate>Dunnings</translate><br>
templates/webpages/dunning/show_dunning_top_de.html
1
 <script type="text/javascript" src="js/common.js"></script>
1
[% USE HTML %] <script type="text/javascript" src="js/common.js"></script>
2 2
 <script type="text/javascript" src="js/dunning.js"></script>
3 3

  
4 4
 <form method="post" action="dn.pl">
5 5

  
6
  <input type="hidden" name="login" value="<TMPL_VAR login ESCAPE=HTML>">
7
  <input type="hidden" name="password" value="<TMPL_VAR password ESCAPE=HTML>">
6
  <input type="hidden" name="login" value="[% HTML.escape(login) %]">
7
  <input type="hidden" name="password" value="[% HTML.escape(password) %]">
8 8

  
templates/webpages/dunning/show_dunning_top_master.html
1
 <script type="text/javascript" src="js/common.js"></script>
1
[% USE HTML %] <script type="text/javascript" src="js/common.js"></script>
2 2
 <script type="text/javascript" src="js/dunning.js"></script>
3 3

  
4 4
 <form method="post" action="dn.pl">
5 5

  
6
  <input type="hidden" name="login" value="<TMPL_VAR login ESCAPE=HTML>">
7
  <input type="hidden" name="password" value="<TMPL_VAR password ESCAPE=HTML>">
6
  <input type="hidden" name="login" value="[% HTML.escape(login) %]">
7
  <input type="hidden" name="password" value="[% HTML.escape(password) %]">
8 8

  
templates/webpages/dunning/show_invoices_de.html
1
<body>
1
[% USE HTML %]<body>
2 2
 <script type="text/javascript" src="js/checkbox_utils.js"></script>
3 3
 <script type="text/javascript" src="js/common.js"></script>
4 4
 <script type="text/javascript" src="js/dunning.js"></script>
5 5

  
6
 <div class="listtop" width="100%"><TMPL_VAR title></div>
6
 <div class="listtop" width="100%">[% title %]</div>
7 7

  
8 8
 <p>Die Spalten &quot;Zahlbar bis&quot;, &quot;Kumulierte Geb&uuml;hren&quot; und &quot;Zinsen&quot; zeigen Daten der letzten f&uuml;r diese Rechnung erzeugten Mahnung.</p>
9 9

  
......
13 13
   <th class="listheading" colspan="2">Aktuelles / N?chstes Mahnlevel</th>
14 14

  
15 15
   <th class="listheading">
16
    <input type="checkbox" name="selectall_active" id="selectall_active" onclick="checkbox_check_all('selectall_active', 'active_', 1, <TMPL_VAR rowcount>);">
16
    <input type="checkbox" name="selectall_active" id="selectall_active" onclick="checkbox_check_all('selectall_active', 'active_', 1, [% rowcount %]);">
17 17
    <label for="selectall_active">Aktiviert?</label>
18 18
   </th>
19 19

  
20 20
   <th class="listheading">
21
    <input type="checkbox" name="selectall_email" id="selectall_email" onclick="checkbox_check_all('selectall_email', 'email_', 1, <TMPL_VAR rowcount>);">
21
    <input type="checkbox" name="selectall_email" id="selectall_email" onclick="checkbox_check_all('selectall_email', 'email_', 1, [% rowcount %]);">
22 22
    <label for="selectall_email">eMail?</label>
23 23
   </th>
24 24

  
......
33 33

  
34 34
   <!-- Ausgabe der einzelnen Zeilen -->
35 35

  
36
   <TMPL_LOOP DUNNINGS>
37
    <tr class="listrow<TMPL_IF __odd__>1<TMPL_ELSE>0</TMPL_IF>">
36
   [% FOREACH row = DUNNINGS %]
37
    <tr class="listrow[% loop.count % 2 %]">
38 38

  
39 39
     <td>
40
      <input type="hidden" name="inv_id_<TMPL_VAR __counter__>" size="2" value="<TMPL_VAR id ESCAPE=HTML>">
41
      <input type="hidden" name="customer_id_<TMPL_VAR __counter__>" size="2" value="<TMPL_VAR customer_id ESCAPE=HTML>">
42
      <TMPL_IF dunning_level><TMPL_VAR dunning_level ESCAPE=HTML><TMPL_ELSE>&nbsp;</TMPL_IF>
40
      <input type="hidden" name="inv_id_[% loop.count %]" size="2" value="[% HTML.escape(row.id) %]">
41
      <input type="hidden" name="customer_id_[% loop.count %]" size="2" value="[% HTML.escape(row.customer_id) %]">
42
      [% IF row.dunning_level %][% HTML.escape(row.dunning_level) %][% ELSE %]&nbsp;[% END %]
43 43
     </td>
44 44

  
45 45
     <td>
46
      <select name="next_dunning_config_id_<TMPL_VAR __counter__>">
47
       <TMPL_LOOP DUNNING_CONFIG><option value="<TMPL_VAR id ESCAPE=HTML>" <TMPL_IF SELECTED>selected</TMPL_IF>><TMPL_VAR dunning_description ESCAPE=HTML></option></TMPL_LOOP>
46
      <select name="next_dunning_config_id_[% loop.count %]">
47
       [% FOREACH cfg_row = DUNNING_CONFIG %]<option value="[% HTML.escape(cfg_row.id) %]" [% IF cfg_row.SELECTED %]selected[% END %]>[% HTML.escape(cfg_row.dunning_description) %]</option>[% END %]
48 48
      </select>
49 49
     </td>
50 50

  
51
     <td><input type="checkbox" name="active_<TMPL_VAR __counter__>" value="1" <TMPL_IF active>checked</TMPL_IF>></td>
52
     <td><input type="checkbox" name="email_<TMPL_VAR __counter__>" value="1" <TMPL_IF email>checked</TMPL_IF>></td>
53
     <td><input type="hidden" name="customername_<TMPL_VAR __counter__>" size="6" value="<TMPL_VAR customername ESCAPE=HTML>"><TMPL_VAR customername ESCAPE=HTML></td>
54
     <td><input type="hidden" name="invnumber_<TMPL_VAR __counter__>" size="6" value="<TMPL_VAR invnumber ESCAPE=HTML>"><TMPL_VAR invnumber ESCAPE=HTML></td>
55
     <td><input type="hidden" name="invdate_<TMPL_VAR __counter__>" size="6" value="<TMPL_VAR transdate ESCAPE=HTML>"><TMPL_VAR transdate ESCAPE=HTML></td>
56
     <td><input type="hidden" name="inv_duedate_<TMPL_VAR __counter__>" size="6" value="<TMPL_VAR duedate ESCAPE=HTML>"><TMPL_VAR duedate ESCAPE=HTML></td>
57
     <td align="right"><input type="hidden" name="amount_<TMPL_VAR __counter__>" size="6" value="<TMPL_VAR amount ESCAPE=HTML>"><TMPL_VAR amount ESCAPE=HTML></td>
58
     <td><TMPL_VAR next_duedate ESCAPE=HTML></td>
59
     <td align="right"><input type="hidden" name="fee_<TMPL_VAR __counter__>" size="6" value="<TMPL_VAR fee ESCAPE=HTML>"><TMPL_VAR fee ESCAPE=HTML></td>
60
     <td align="right"><input type="hidden" name="interest_<TMPL_VAR __counter__>" size="6" value="<TMPL_VAR interest ESCAPE=HTML>"><TMPL_VAR interest ESCAPE=HTML></td>
51
     <td><input type="checkbox" name="active_[% loop.count %]" value="1" [% IF row.active %]checked[% END %]></td>
52
     <td><input type="checkbox" name="email_[% loop.count %]" value="1" [% IF row.email %]checked[% END %]></td>
53
     <td><input type="hidden" name="customername_[% loop.count %]" size="6" value="[% HTML.escape(row.customername) %]">[% HTML.escape(row.customername) %]</td>
54
     <td><input type="hidden" name="invnumber_[% loop.count %]" size="6" value="[% HTML.escape(row.invnumber) %]">[% HTML.escape(row.invnumber) %]</td>
55
     <td><input type="hidden" name="invdate_[% loop.count %]" size="6" value="[% HTML.escape(row.transdate) %]">[% HTML.escape(row.transdate) %]</td>
56
     <td><input type="hidden" name="inv_duedate_[% loop.count %]" size="6" value="[% HTML.escape(row.duedate) %]">[% HTML.escape(row.duedate) %]</td>
57
     <td align="right"><input type="hidden" name="amount_[% loop.count %]" size="6" value="[% HTML.escape(row.amount) %]">[% HTML.escape(row.amount) %]</td>
58
     <td>[% HTML.escape(row.next_duedate) %]</td>
59
     <td align="right"><input type="hidden" name="fee_[% loop.count %]" size="6" value="[% HTML.escape(row.fee) %]">[% HTML.escape(row.fee) %]</td>
60
     <td align="right"><input type="hidden" name="interest_[% loop.count %]" size="6" value="[% HTML.escape(row.interest) %]">[% HTML.escape(row.interest) %]</td>
61 61
    </tr>
62
   </TMPL_LOOP>
62
   [% END %]
63 63
  </table>
64 64

  
65 65
  <hr size=3 noshade>
66 66

  
67
  <TMPL_VAR PRINT_OPTIONS>
67
  [% PRINT_OPTIONS %]
68 68

  
69 69
  <br>
70 70

  
71
  <input name="rowcount" type="hidden" value="<TMPL_VAR rowcount ESCAPE=HTML>">
72
  <input name="groupinvoices" type="hidden" value="<TMPL_VAR groupinvoices ESCAPE=HTML>">
71
  <input name="rowcount" type="hidden" value="[% HTML.escape(rowcount) %]">
72
  <input name="groupinvoices" type="hidden" value="[% HTML.escape(groupinvoices) %]">
73 73

  
74
  <input name="callback" type="hidden" value="<TMPL_VAR callback ESCAPE=HTML>">
74
  <input name="callback" type="hidden" value="[% HTML.escape(callback) %]">
75 75
  <input name="nextsub" type="hidden" value="save_dunning">
76 76

  
77
  <input type="hidden" name="login" value="<TMPL_VAR login ESCAPE=HTML>">
78
  <input type="hidden" name="password" value="<TMPL_VAR password ESCAPE=HTML>">
77
  <input type="hidden" name="login" value="[% HTML.escape(login) %]">
78
  <input type="hidden" name="password" value="[% HTML.escape(password) %]">
79 79
  <input type="hidden" name="action" value="Weiter">
80 80

  
81 81
  <input type="submit" name="dummy" value="Weiter"
82
         <TMPL_UNLESS DEBUG_DUNNING>onclick="this.disabled=true; this.value='Der Mahnprozess ist gestartet.'; document.Form.submit()"</TMPL_UNLESS>>
82
         [% UNLESS DEBUG_DUNNING %]onclick="this.disabled=true; this.value='Der Mahnprozess ist gestartet.'; document.Form.submit()"[% END %]>
83 83

  
84 84
 </form>
85 85
</body>
templates/webpages/dunning/show_invoices_master.html
1
<body>
1
[% USE HTML %]<body>
2 2
 <script type="text/javascript" src="js/checkbox_utils.js"></script>
3 3
 <script type="text/javascript" src="js/common.js"></script>
4 4
 <script type="text/javascript" src="js/dunning.js"></script>
5 5

  
6
 <div class="listtop" width="100%"><TMPL_VAR title></div>
6
 <div class="listtop" width="100%">[% title %]</div>
7 7

  
8 8
 <p><translate>The columns &quot;Dunning Duedate&quot;, &quot;Total
9 9
   Fees&quot; and &quot;Interest&quot; show data for the previous
......
15 15
   <th class="listheading" colspan="2"><translate>Current / Next Level</translate></th>
16 16

  
17 17
   <th class="listheading">
18
    <input type="checkbox" name="selectall_active" id="selectall_active" onclick="checkbox_check_all('selectall_active', 'active_', 1, <TMPL_VAR rowcount>);">
18
    <input type="checkbox" name="selectall_active" id="selectall_active" onclick="checkbox_check_all('selectall_active', 'active_', 1, [% rowcount %]);">
19 19
    <label for="selectall_active"><translate>Active?</translate></label>
20 20
   </th>
21 21

  
22 22
   <th class="listheading">
23
    <input type="checkbox" name="selectall_email" id="selectall_email" onclick="checkbox_check_all('selectall_email', 'email_', 1, <TMPL_VAR rowcount>);">
23
    <input type="checkbox" name="selectall_email" id="selectall_email" onclick="checkbox_check_all('selectall_email', 'email_', 1, [% rowcount %]);">
24 24
    <label for="selectall_email"><translate>eMail?</translate></label>
25 25
   </th>
26 26

  
......
35 35

  
36 36
   <!-- Ausgabe der einzelnen Zeilen -->
37 37

  
38
   <TMPL_LOOP DUNNINGS>
39
    <tr class="listrow<TMPL_IF __odd__>1<TMPL_ELSE>0</TMPL_IF>">
38
   [% FOREACH row = DUNNINGS %]
39
    <tr class="listrow[% loop.count % 2 %]">
40 40

  
41 41
     <td>
42
      <input type="hidden" name="inv_id_<TMPL_VAR __counter__>" size="2" value="<TMPL_VAR id ESCAPE=HTML>">
43
      <input type="hidden" name="customer_id_<TMPL_VAR __counter__>" size="2" value="<TMPL_VAR customer_id ESCAPE=HTML>">
44
      <TMPL_IF dunning_level><TMPL_VAR dunning_level ESCAPE=HTML><TMPL_ELSE>&nbsp;</TMPL_IF>
42
      <input type="hidden" name="inv_id_[% loop.count %]" size="2" value="[% HTML.escape(row.id) %]">
43
      <input type="hidden" name="customer_id_[% loop.count %]" size="2" value="[% HTML.escape(row.customer_id) %]">
44
      [% IF row.dunning_level %][% HTML.escape(row.dunning_level) %][% ELSE %]&nbsp;[% END %]
45 45
     </td>
46 46

  
47 47
     <td>
48
      <select name="next_dunning_config_id_<TMPL_VAR __counter__>">
49
       <TMPL_LOOP DUNNING_CONFIG><option value="<TMPL_VAR id ESCAPE=HTML>" <TMPL_IF SELECTED>selected</TMPL_IF>><TMPL_VAR dunning_description ESCAPE=HTML></option></TMPL_LOOP>
48
      <select name="next_dunning_config_id_[% loop.count %]">
49
       [% FOREACH cfg_row = DUNNING_CONFIG %]<option value="[% HTML.escape(cfg_row.id) %]" [% IF cfg_row.SELECTED %]selected[% END %]>[% HTML.escape(cfg_row.dunning_description) %]</option>[% END %]
50 50
      </select>
51 51
     </td>
52 52

  
53
     <td><input type="checkbox" name="active_<TMPL_VAR __counter__>" value="1" <TMPL_IF active>checked</TMPL_IF>></td>
54
     <td><input type="checkbox" name="email_<TMPL_VAR __counter__>" value="1" <TMPL_IF email>checked</TMPL_IF>></td>
55
     <td><input type="hidden" name="customername_<TMPL_VAR __counter__>" size="6" value="<TMPL_VAR customername ESCAPE=HTML>"><TMPL_VAR customername ESCAPE=HTML></td>
56
     <td><input type="hidden" name="invnumber_<TMPL_VAR __counter__>" size="6" value="<TMPL_VAR invnumber ESCAPE=HTML>"><TMPL_VAR invnumber ESCAPE=HTML></td>
57
     <td><input type="hidden" name="invdate_<TMPL_VAR __counter__>" size="6" value="<TMPL_VAR transdate ESCAPE=HTML>"><TMPL_VAR transdate ESCAPE=HTML></td>
58
     <td><input type="hidden" name="inv_duedate_<TMPL_VAR __counter__>" size="6" value="<TMPL_VAR duedate ESCAPE=HTML>"><TMPL_VAR duedate ESCAPE=HTML></td>
59
     <td align="right"><input type="hidden" name="amount_<TMPL_VAR __counter__>" size="6" value="<TMPL_VAR amount ESCAPE=HTML>"><TMPL_VAR amount ESCAPE=HTML></td>
60
     <td><TMPL_VAR next_duedate ESCAPE=HTML></td>
61
     <td align="right"><input type="hidden" name="fee_<TMPL_VAR __counter__>" size="6" value="<TMPL_VAR fee ESCAPE=HTML>"><TMPL_VAR fee ESCAPE=HTML></td>
62
     <td align="right"><input type="hidden" name="interest_<TMPL_VAR __counter__>" size="6" value="<TMPL_VAR interest ESCAPE=HTML>"><TMPL_VAR interest ESCAPE=HTML></td>
53
     <td><input type="checkbox" name="active_[% loop.count %]" value="1" [% IF row.active %]checked[% END %]></td>
54
     <td><input type="checkbox" name="email_[% loop.count %]" value="1" [% IF row.email %]checked[% END %]></td>
55
     <td><input type="hidden" name="customername_[% loop.count %]" size="6" value="[% HTML.escape(row.customername) %]">[% HTML.escape(row.customername) %]</td>
56
     <td><input type="hidden" name="invnumber_[% loop.count %]" size="6" value="[% HTML.escape(row.invnumber) %]">[% HTML.escape(row.invnumber) %]</td>
57
     <td><input type="hidden" name="invdate_[% loop.count %]" size="6" value="[% HTML.escape(row.transdate) %]">[% HTML.escape(row.transdate) %]</td>
58
     <td><input type="hidden" name="inv_duedate_[% loop.count %]" size="6" value="[% HTML.escape(row.duedate) %]">[% HTML.escape(row.duedate) %]</td>
59
     <td align="right"><input type="hidden" name="amount_[% loop.count %]" size="6" value="[% HTML.escape(row.amount) %]">[% HTML.escape(row.amount) %]</td>
60
     <td>[% HTML.escape(row.next_duedate) %]</td>
61
     <td align="right"><input type="hidden" name="fee_[% loop.count %]" size="6" value="[% HTML.escape(row.fee) %]">[% HTML.escape(row.fee) %]</td>
62
     <td align="right"><input type="hidden" name="interest_[% loop.count %]" size="6" value="[% HTML.escape(row.interest) %]">[% HTML.escape(row.interest) %]</td>
63 63
    </tr>
64
   </TMPL_LOOP>
64
   [% END %]
65 65
  </table>
66 66

  
67 67
  <hr size=3 noshade>
68 68

  
69
  <TMPL_VAR PRINT_OPTIONS>
69
  [% PRINT_OPTIONS %]
70 70

  
71 71
  <br>
72 72

  
73
  <input name="rowcount" type="hidden" value="<TMPL_VAR rowcount ESCAPE=HTML>">
74
  <input name="groupinvoices" type="hidden" value="<TMPL_VAR groupinvoices ESCAPE=HTML>">
73
  <input name="rowcount" type="hidden" value="[% HTML.escape(rowcount) %]">
74
  <input name="groupinvoices" type="hidden" value="[% HTML.escape(groupinvoices) %]">
75 75

  
76
  <input name="callback" type="hidden" value="<TMPL_VAR callback ESCAPE=HTML>">
76
  <input name="callback" type="hidden" value="[% HTML.escape(callback) %]">
77 77
  <input name="nextsub" type="hidden" value="save_dunning">
78 78

  
79
  <input type="hidden" name="login" value="<TMPL_VAR login ESCAPE=HTML>">
80
  <input type="hidden" name="password" value="<TMPL_VAR password ESCAPE=HTML>">
79
  <input type="hidden" name="login" value="[% HTML.escape(login) %]">
80
  <input type="hidden" name="password" value="[% HTML.escape(password) %]">
81 81
  <input type="hidden" name="action" value="<translate>Continue</translate>">
82 82

  
83 83
  <input type="submit" name="dummy" value="<translate>Continue</translate>"
84
         <TMPL_UNLESS DEBUG_DUNNING>onclick="this.disabled=true; this.value='<translate>The dunning process started</translate>'; document.Form.submit()"</TMPL_UNLESS>>
84
         [% UNLESS DEBUG_DUNNING %]onclick="this.disabled=true; this.value='<translate>The dunning process started</translate>'; document.Form.submit()"[% END %]>
85 85

  
86 86
 </form>
87 87
</body>

Auch abrufbar als: Unified diff