Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 1a39394f

Von Moritz Bunkus vor etwa 17 Jahren hinzugefügt

  • ID 1a39394f99bd1a1870fe148cadfe52942096a802
  • Vorgänger b9882bee
  • Nachfolger a1486b4e

Umstellung der Vorlagen in templates/webpages/common von HTML::Template auf Template.

Unterschiede anzeigen:

bin/mozilla/am.pl
2706 2706
	$form->{title} = $locale->text("History Search");
2707 2707
    $form->header();
2708 2708
    
2709
    print $form->parse_html_template("/common/search_history");
2709
    print $form->parse_html_template2("common/search_history");
2710 2710
	
2711 2711
	$lxdebug->leave_sub();
2712 2712
}
......
2785 2785
  my ($sort, $sortby) = split(/\-\-/, $form->{order});
2786 2786
  $sort =~ s/.*\.(.*)$/$1/;
2787 2787

  
2788
	print $form->parse_html_template("/common/show_history", 
2788
	print $form->parse_html_template2("common/show_history", 
2789 2789
    {"DATEN" => $form->get_history($dbh, $daten, $restriction, $form->{order}),
2790 2790
     "SUCCESS" => ($form->get_history($dbh, $daten, $restriction, $form->{order}) ne "0"),
2791 2791
     "NONEWWINDOW" => 1,
bin/mozilla/ap.pl
1422 1422
  }
1423 1423

  
1424 1424
  $report->set_options('top_info_text'        => join("\n", @options),
1425
                       'raw_bottom_info_text' => $form->parse_html_template('ap/ap_transactions_bottom'),
1425
                       'raw_bottom_info_text' => $form->parse_html_template2('ap/ap_transactions_bottom'),
1426 1426
                       'output_format'        => 'HTML',
1427 1427
                       'title'                => $form->{title},
1428 1428
                       'attachment_basename'  => $locale->text('invoice_list') . strftime('_%Y%m%d', localtime time),
bin/mozilla/ar.pl
1505 1505
  }
1506 1506

  
1507 1507
  $report->set_options('top_info_text'        => join("\n", @options),
1508
                       'raw_bottom_info_text' => $form->parse_html_template('ar/ar_transactions_bottom'),
1508
                       'raw_bottom_info_text' => $form->parse_html_template2('ar/ar_transactions_bottom'),
1509 1509
                       'output_format'        => 'HTML',
1510 1510
                       'title'                => $form->{title},
1511 1511
                       'attachment_basename'  => $locale->text('invoice_list') . strftime('_%Y%m%d', localtime time),
bin/mozilla/common.pl
514 514
  
515 515
	$form->{title} = $locale->text("History");
516 516
    $form->header();
517
    print $form->parse_html_template( "common/show_history", {
517
    print $form->parse_html_template2( "common/show_history", {
518 518
    	"DATEN" => $form->get_history($dbh,$form->{input_name},"",$form->{order}),
519 519
    	"SUCCESS" => ($form->get_history($dbh,$form->{input_name}) ne "0"),
520 520
      uc($sort) => 1,
......
559 559
  $form->{title} = $form->{vc} eq "customer" ?
560 560
    $locale->text("Customer details") : $locale->text("Vendor details");
561 561
  $form->header();
562
  print($form->parse_html_template("common/show_vc_details",
563
                                   { "is_customer" => $form->{vc} eq "customer" }));
562
  print($form->parse_html_template2("common/show_vc_details",
563
                                    { "is_customer" => $form->{vc} eq "customer" }));
564 564

  
565 565
	$lxdebug->leave_sub();
566 566
}
templates/webpages/ap/ap_transactions_bottom_de.html
1
 <form method="post" action="ap.pl">
1
[% USE HTML %] <form method="post" action="ap.pl">
2 2

  
3
  <input name="callback" type="hidden" value="<TMPL_VAR callback>">
3
  <input name="callback" type="hidden" value="[% callback %]">
4 4

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

  
8 8
  Neu erfassen<br>
9 9

  
templates/webpages/ap/ap_transactions_bottom_master.html
1
 <form method="post" action="ap.pl">
1
[% USE HTML %] <form method="post" action="ap.pl">
2 2

  
3
  <input name="callback" type="hidden" value="<TMPL_VAR callback>">
3
  <input name="callback" type="hidden" value="[% callback %]">
4 4

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

  
8 8
  <translate>Create new</translate><br>
9 9

  
templates/webpages/ar/ar_transactions_bottom_de.html
1
 <form method="post" action="ar.pl">
1
[% USE HTML %] <form method="post" action="ar.pl">
2 2

  
3
  <input name="callback" type="hidden" value="<TMPL_VAR callback>">
3
  <input name="callback" type="hidden" value="[% callback %]">
4 4

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

  
8 8
  Neu erfassen<br>
9 9

  
templates/webpages/ar/ar_transactions_bottom_master.html
1
 <form method="post" action="ar.pl">
1
[% USE HTML %] <form method="post" action="ar.pl">
2 2

  
3
  <input name="callback" type="hidden" value="<TMPL_VAR callback>">
3
  <input name="callback" type="hidden" value="[% callback %]">
4 4

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

  
8 8
  <translate>Create new</translate><br>
9 9

  
templates/webpages/common/search_history_de.html
1
<style type="text/css">@import url(js/jscalendar/calendar-win2k-1.css);</style>
1
[% USE HTML %]<style type="text/css">@import url(js/jscalendar/calendar-win2k-1.css);</style>
2 2
<script type="text/javascript" src="js/jscalendar/calendar.js"></script>
3 3
<script type="text/javascript" src="js/jscalendar/lang/calendar-de.js"></script>
4 4
<script type="text/javascript" src="js/jscalendar/calendar-setup.js"></script>
......
6 6

  
7 7
<form method="post" onSubmit="javascript:set_history_uri();">
8 8

  
9
<input type="hidden" name="login" value="<TMPL_VAR NAME=login ESCAPE=HTML>">
10
<input type="hidden" name="password" value="<TMPL_VAR NAME=password ESCAPE=HTML>">
9
<input type="hidden" name="login" value="[% HTML.escape(login) %]">
10
<input type="hidden" name="password" value="[% HTML.escape(password) %]">
11 11
<input type="hidden" name="action" value="show_am_history">
12 12

  
13 13
	<table>
......
21 21
					<!--
22 22
                    function uncheckOther(id) {
23 23
						if(!(
24
						    (document.getElementById('non-deleted').checked == false) 
25
					    	&& 
26
						    (document.getElementById('both').checked == false) 
27
						    && 
24
						    (document.getElementById('non-deleted').checked == false)
25
					    	&&
26
						    (document.getElementById('both').checked == false)
27
						    &&
28 28
						    (document.getElementById('deleted').checked == false)
29 29
						  )) {
30 30
								if(id == "deleted") {
......
41 41
								}
42 42
						}
43 43
					}
44
					
44

  
45 45
					var defaults = new Array('SAVED', 'DELETED', 'ADDED', 'PAYMENT POSTED', 'POSTED', 'POSTED AS NEW', 'SAVED FOR DUNNING', 'DUNNING STARTED', 'PRINTED');
46 46
					var translated = new Object();
47 47
					translated['SAVED'] = 'Gespeichert';
......
53 53
					translated['SAVED FOR DUNNING'] = 'Gespeichert';
54 54
					translated['DUNNING STARTED'] = 'Mahnprozess gestartet';
55 55
					translated['PRINTED'] = 'Gedruckt';
56
					
56

  
57 57
					var jscalender = "<table valign=\"top\">"
58 58
									+ "<tr><td colspan=\"2\"><b>Zeitraum:&nbsp;</b></td></tr>"
59 59
									+ "<tr><td>von:&nbsp;"
60
									+ "<input name=\"transdate\" id=\"transdate\" size=\"11\" title=\"<TMPL_VAR NAME=myconfig_dateformat ESCAPE=HTML>\" value=\"<TMPL_VAR NAME=transdate ESCAPE=HTML>\" onChange=\"document.getElementById(\'transdate_hidden\').value=this.value;\">"
60
									+ "<input name=\"transdate\" id=\"transdate\" size=\"11\" title=\"[% HTML.escape(myconfig_dateformat) %]\" value=\"[% HTML.escape(transdate) %]\" onChange=\"document.getElementById(\'transdate_hidden\').value=this.value;\">"
61 61
									+ "<input type=\"button\" name=\"transdate\" id=\"trigger1\" value=\"?\">"
62 62
									+ "&nbsp;</td><td>bis:&nbsp;"
63
									+ "<input name=\"reqdate\" id=\"reqdate\" size=\"11\" title=\"<TMPL_VAR NAME=myconfig_dateformat ESCAPE=HTML>\" value=\"<TMPL_VAR NAME=reqdate ESCAPE=HTML>\" onChange=\"document.getElementById(\'reqdate_hidden\').value=this.value;\">"
63
									+ "<input name=\"reqdate\" id=\"reqdate\" size=\"11\" title=\"[% HTML.escape(myconfig_dateformat) %]\" value=\"[% HTML.escape(reqdate) %]\" onChange=\"document.getElementById(\'reqdate_hidden\').value=this.value;\">"
64 64
									+ "<input type=\"button\" name=\"reqdate\" id=\"trigger2\" value=\"?\"></td></tr></table>";
65 65
					var mitarbeiter = "<table valign=\"top\">"
66 66
									+ "<tr><td><b>Mitarbeiter:</b>&nbsp;</td>"
67 67
									+ "<td><input type='text' name='mitarbeiter' id='mitarbeiter' onChange=\"document.getElementById(\'mitarbeiter_hidden\').value=this.value;\"></td>"
68 68
									+ "</tr></table>";
69
					
69

  
70 70
					var tempString = "";
71 71
					function addForm(last, remove) {
72 72
						if(last == "INIT") {
......
78 78
							document.getElementById('selectEmployee').innerHTML = mitarbeiter;
79 79
							document.getElementById('selectDate').innerHTML = jscalender;
80 80
							document.getElementById('selectTable').innerHTML = tempString;
81
							
81

  
82 82
							Calendar.setup(
83 83
      			    		{
84 84
		                      inputField : "transdate",
......
94 94
		                  	  align : "BL",
95 95
        		          	  button : "trigger2"
96 96
          					});
97
						}			
97
						}
98 98
						else {
99 99
							defaults.splice(remove,1);
100 100
							document.getElementById('inputText').innerHTML += ((document.getElementById('inputText').innerHTML == "") ? ("<b>Sie haben bereits die folgenden Einschr&auml;nkungen vorgenommen:</b><br>") : ("<br>")) + translated[last];
......
112 112
							}
113 113
						}
114 114
					}
115
					
115

  
116 116
					function resetAll() {
117 117
						document.getElementById('selectTable').innerHTML = "<a href=\"javascript:addForm('INIT')\">Ja";
118 118
						document.getElementById('inputText').innerHTML = "";
......
142 142
						 Nach welchem <b>Begriff</b> wollen Sie suchen?
143 143
						</td>
144 144
						<td>
145
							<input type="text" name="searchid" id="searchid" value="<TMPL_VAR NAME=searchid ESCAPE=HTML>">
145
							<input type="text" name="searchid" id="searchid" value="[% HTML.escape(searchid) %]">
146 146
						</td>
147 147
					</tr>
148 148
					<tr>
......
185 185
					</tr>
186 186
				</table>
187 187
			</td>
188
		</tr>	
188
		</tr>
189 189
	</table>
190 190
</form>
templates/webpages/common/search_history_master.html
1
<style type="text/css">@import url(js/jscalendar/calendar-win2k-1.css);</style>
1
[% USE HTML %]<style type="text/css">@import url(js/jscalendar/calendar-win2k-1.css);</style>
2 2
<script type="text/javascript" src="js/jscalendar/calendar.js"></script>
3 3
<script type="text/javascript" src="js/jscalendar/lang/calendar-de.js"></script>
4 4
<script type="text/javascript" src="js/jscalendar/calendar-setup.js"></script>
......
6 6

  
7 7
<form method="post" onSubmit="javascript:set_history_uri();">
8 8

  
9
<input type="hidden" name="login" value="<TMPL_VAR NAME=login ESCAPE=HTML>">
10
<input type="hidden" name="password" value="<TMPL_VAR NAME=password ESCAPE=HTML>">
9
<input type="hidden" name="login" value="[% HTML.escape(login) %]">
10
<input type="hidden" name="password" value="[% HTML.escape(password) %]">
11 11
<input type="hidden" name="action" value="show_am_history">
12 12

  
13 13
	<table>
......
21 21
					<!--
22 22
                    function uncheckOther(id) {
23 23
						if(!(
24
						    (document.getElementById('non-deleted').checked == false) 
25
					    	&& 
26
						    (document.getElementById('both').checked == false) 
27
						    && 
24
						    (document.getElementById('non-deleted').checked == false)
25
					    	&&
26
						    (document.getElementById('both').checked == false)
27
						    &&
28 28
						    (document.getElementById('deleted').checked == false)
29 29
						  )) {
30 30
								if(id == "deleted") {
......
41 41
								}
42 42
						}
43 43
					}
44
					
44

  
45 45
					var defaults = new Array('SAVED', 'DELETED', 'ADDED', 'PAYMENT POSTED', 'POSTED', 'POSTED AS NEW', 'SAVED FOR DUNNING', 'DUNNING STARTED', 'PRINTED');
46 46
					var translated = new Object();
47 47
					translated['SAVED'] = '<translate>SAVED</translate>';
......
53 53
					translated['SAVED FOR DUNNING'] = '<translate>SAVED FOR DUNNING</translate>';
54 54
					translated['DUNNING STARTED'] = '<translate>DUNNING STARTED</translate>';
55 55
					translated['PRINTED'] = '<translate>PRINTED</translate>';
56
					
56

  
57 57
					var jscalender = "<table valign=\"top\">"
58 58
									+ "<tr><td colspan=\"2\"><b><translate>Period</translate>:&nbsp;</b></td></tr>"
59 59
									+ "<tr><td><translate>from (time)</translate>:&nbsp;"
60
									+ "<input name=\"transdate\" id=\"transdate\" size=\"11\" title=\"<TMPL_VAR NAME=myconfig_dateformat ESCAPE=HTML>\" value=\"<TMPL_VAR NAME=transdate ESCAPE=HTML>\" onChange=\"document.getElementById(\'transdate_hidden\').value=this.value;\">"
60
									+ "<input name=\"transdate\" id=\"transdate\" size=\"11\" title=\"[% HTML.escape(myconfig_dateformat) %]\" value=\"[% HTML.escape(transdate) %]\" onChange=\"document.getElementById(\'transdate_hidden\').value=this.value;\">"
61 61
									+ "<input type=\"button\" name=\"transdate\" id=\"trigger1\" value=\"?\">"
62 62
									+ "&nbsp;</td><td><translate>to (time)</translate>:&nbsp;"
63
									+ "<input name=\"reqdate\" id=\"reqdate\" size=\"11\" title=\"<TMPL_VAR NAME=myconfig_dateformat ESCAPE=HTML>\" value=\"<TMPL_VAR NAME=reqdate ESCAPE=HTML>\" onChange=\"document.getElementById(\'reqdate_hidden\').value=this.value;\">"
63
									+ "<input name=\"reqdate\" id=\"reqdate\" size=\"11\" title=\"[% HTML.escape(myconfig_dateformat) %]\" value=\"[% HTML.escape(reqdate) %]\" onChange=\"document.getElementById(\'reqdate_hidden\').value=this.value;\">"
64 64
									+ "<input type=\"button\" name=\"reqdate\" id=\"trigger2\" value=\"?\"></td></tr></table>";
65 65
					var mitarbeiter = "<table valign=\"top\">"
66 66
									+ "<tr><td><b>Mitarbeiter:</b>&nbsp;</td>"
67 67
									+ "<td><input type='text' name='mitarbeiter' id='mitarbeiter' onChange=\"document.getElementById(\'mitarbeiter_hidden\').value=this.value;\"></td>"
68 68
									+ "</tr></table>";
69
					
69

  
70 70
					var tempString = "";
71 71
					function addForm(last, remove) {
72 72
						if(last == "INIT") {
......
78 78
							document.getElementById('selectEmployee').innerHTML = mitarbeiter;
79 79
							document.getElementById('selectDate').innerHTML = jscalender;
80 80
							document.getElementById('selectTable').innerHTML = tempString;
81
							
81

  
82 82
							Calendar.setup(
83 83
      			    		{
84 84
		                      inputField : "transdate",
......
94 94
		                  	  align : "BL",
95 95
        		          	  button : "trigger2"
96 96
          					});
97
						}			
97
						}
98 98
						else {
99 99
							defaults.splice(remove,1);
100 100
							document.getElementById('inputText').innerHTML += ((document.getElementById('inputText').innerHTML == "") ? ("<b><translate>You've already chosen the following limitations:</translate></b><br>") : ("<br>")) + translated[last];
......
112 112
							}
113 113
						}
114 114
					}
115
					
115

  
116 116
					function resetAll() {
117 117
						document.getElementById('selectTable').innerHTML = "<a href=\"javascript:addForm('INIT')\"><translate>Yes</translate>";
118 118
						document.getElementById('inputText').innerHTML = "";
......
142 142
						 <translate>What's the <b>term</b> you're looking for?</translate>
143 143
						</td>
144 144
						<td>
145
							<input type="text" name="searchid" id="searchid" value="<TMPL_VAR NAME=searchid ESCAPE=HTML>">
145
							<input type="text" name="searchid" id="searchid" value="[% HTML.escape(searchid) %]">
146 146
						</td>
147 147
					</tr>
148 148
					<tr>
......
185 185
					</tr>
186 186
				</table>
187 187
			</td>
188
		</tr>	
188
		</tr>
189 189
	</table>
190 190
</form>
templates/webpages/common/show_history_de.html
1
<form>
2
<input type="hidden" name="login" value="<TMPL_VAR NAME=login ESCAPE=HTML>">
3
<input type="hidden" name="password" value="<TMPL_VAR NAME=password ESCAPE=HTML>">
4
</form> 
5
<TMPL_IF NAME=SUCCESS>
1
[% USE HTML %]<form>
2
<input type="hidden" name="login" value="[% HTML.escape(login) %]">
3
<input type="hidden" name="password" value="[% HTML.escape(password) %]">
4
</form>
5
[% IF SUCCESS %]
6 6
<script type="text/javascript">
7 7
  function orderBy(order,desc) {
8 8
    var reg = /\&order\=(.+)\-\-(\d)$/;
......
31 31
          </td>
32 32
          <td valign="top">
33 33
            <table height="0" width="0" cellpadding="0" cellspacing="0" marginheight="0" marginwidth="0" valign="top" border="0">
34
              <TMPL_IF NAME=ITIME>
35
                <TMPL_IF NAME=ITIMEBY>
34
              [% IF ITIME %]
35
                [% IF ITIMEBY %]
36 36
                  <tr><td><a href="javascript:orderBy('h.itime',0);" title="Reihenfolge" style="border: solid 1px #aaaade;">&and;</a></td></tr>
37 37
                  <tr><td><a title="Reihenfolge" style="background: #ccccff; border: solid 1px #aaaade;">&or;</a></td></tr>
38
                <TMPL_ELSE>
38
                [% ELSE %]
39 39
                  <tr><td><a title="Reihenfolge" style="background: #ccccff; border: solid 1px #aaaade;">&and;</a></td></tr>
40 40
                  <tr><td><a href="javascript:orderBy('h.itime',1);" style="border: solid 1px #aaaade;">&or;</a></td></tr>
41
                </TMPL_IF>
42
              <TMPL_ELSE>
41
                [% END %]
42
              [% ELSE %]
43 43
                <tr><td><a href="javascript:orderBy('h.itime',0);" title="Reihenfolge" style="border: solid 1px #aaaade;">&and;</a></td></tr>
44 44
                <tr><td><a href="javascript:orderBy('h.itime',1);" title="Reihenfolge" style="border: solid 1px #aaaade;">&or;</a></td></tr>
45
              </TMPL_IF>
45
              [% END %]
46 46
            </table>
47 47
          </td>
48 48
        </tr>
......
56 56
          </td>
57 57
          <td valign="top">
58 58
            <table height="0" width="0" cellpadding="0" cellspacing="0" marginheight="0" marginwidth="0" valign="top" border="0">
59
              <TMPL_IF NAME=NAME>
60
                <TMPL_IF NAME=NAMEBY>
59
              [% IF NAME %]
60
                [% IF NAMEBY %]
61 61
                  <tr><td height="0" width="0"><a href="javascript:orderBy('emp.name',0);" title="Reihenfolge" style="border: solid 1px #aaaade;">&and;</a></td></tr>
62 62
                  <tr><td height="0" width="0"><a title="Reihenfolge" style="background: #ccccff; border: solid 1px #aaaade;">&or;</a></td></tr>
63
                <TMPL_ELSE>
63
                [% ELSE %]
64 64
                  <tr><td><a title="Reihenfolge" style="background: #ccccff; border: solid 1px #aaaade;">&and;</a></td></tr>
65 65
                  <tr><td><a href="javascript:orderBy('emp.name',1);" style="border: solid 1px #aaaade;">&or;</a></td></tr>
66
                </TMPL_IF>
67
              <TMPL_ELSE>
66
                [% END %]
67
              [% ELSE %]
68 68
                <tr><td><a href="javascript:orderBy('emp.name',0);" title="Reihenfolge" style="border: solid 1px #aaaade;">&and;</a></td></tr>
69 69
                <tr><td><a href="javascript:orderBy('emp.name',1);" title="Reihenfolge" style="border: solid 1px #aaaade;">&or;</a></td></tr>
70
              </TMPL_IF>
70
              [% END %]
71 71
            </table>
72 72
          </td>
73 73
        </tr>
......
99 99
          </td>
100 100
          <td valign="top">
101 101
            <table height="0" width="0" cellpadding="0" cellspacing="0" marginheight="0" marginwidth="0" valign="top" border="0">
102
              <TMPL_IF NAME=TRANS_ID>
103
                <TMPL_IF NAME=TRANS_IDBY>
102
              [% IF TRANS_ID %]
103
                [% IF TRANS_IDBY %]
104 104
                  <tr><td height="0" width="0"><a href="javascript:orderBy('h.trans_id',0);" title="Reihenfolge" style="border: solid 1px #aaaade;">&and;</a></td></tr>
105 105
                  <tr><td height="0" width="0"><a title="Reihenfolge" style="background: #ccccff; border: solid 1px #aaaade;">&or;</a></td></tr>
106
                <TMPL_ELSE>
106
                [% ELSE %]
107 107
                  <tr><td><a title="Reihenfolge" style="background: #ccccff; border: solid 1px #aaaade;">&and;</a></td></tr>
108 108
                  <tr><td><a href="javascript:orderBy('h.trans_id',1);" style="border: solid 1px #aaaade;">&or;</a></td></tr>
109
                </TMPL_IF>
110
              <TMPL_ELSE>
109
                [% END %]
110
              [% ELSE %]
111 111
                <tr><td><a href="javascript:orderBy('h.trans_id',0);" title="Reihenfolge" style="border: solid 1px #aaaade;">&and;</a></td></tr>
112 112
                <tr><td><a href="javascript:orderBy('h.trans_id',1);" title="Reihenfolge" style="border: solid 1px #aaaade;">&or;</a></td></tr>
113
              </TMPL_IF>
113
              [% END %]
114 114
            </table>
115 115
          </td>
116 116
        </tr>
......
124 124
          </td>
125 125
          <td valign="top">
126 126
            <table height="0" width="0" cellpadding="0" cellspacing="0" marginheight="0" marginwidth="0" valign="top" border="0" >
127
              <TMPL_IF NAME=SNUMBERS>
128
                <TMPL_IF NAME=SNUMBERSBY>
127
              [% IF SNUMBERS %]
128
                [% IF SNUMBERSBY %]
129 129
                  <tr><td height="0" width="0"><a href="javascript:orderBy('h.snumbers',0);" title="Reihenfolge" style="border: solid 1px #aaaade;">&and;</a></td></tr>
130 130
                  <tr><td height="0" width="0"><a title="Reihenfolge" style="background: #ccccff; border: solid 1px #aaaade;">&or;</a></td></tr>
131
                <TMPL_ELSE>
131
                [% ELSE %]
132 132
                  <tr><td><a title="Reihenfolge" style="background: #ccccff; border: solid 1px #aaaade;">&and;</a></td></tr>
133 133
                  <tr><td><a href="javascript:orderBy('h.snumbers',1);" style="border: solid 1px #aaaade;">&or;</a></td></tr>
134
                </TMPL_IF>
135
              <TMPL_ELSE>
134
                [% END %]
135
              [% ELSE %]
136 136
                <tr><td><a href="javascript:orderBy('h.snumbers',0);" title="Reihenfolge" style="border: solid 1px #aaaade;">&and;</a></td></tr>
137 137
                <tr><td><a href="javascript:orderBy('h.snumbers',1);" title="Reihenfolge" style="border: solid 1px #aaaade;">&or;</a></td></tr>
138
              </TMPL_IF>
138
              [% END %]
139 139
            </table>
140 140
          </td>
141 141
        </tr>
......
143 143
    </th>
144 144
	</tr>
145 145
  <tbody height="380px" width="580px" style="overflow:auto;">
146
<TMPL_LOOP NAME=DATEN>
147
  <tr class="listrow<TMPL_IF __odd__>1<TMPL_ELSE>0</TMPL_IF>">
146
[% FOREACH row = DATEN %]
147
  <tr class="listrow[% loop.count % 2 %]">
148 148
		<td nowrap>
149
			&nbsp;<TMPL_VAR NAME=itime ESCAPE=HTML>&nbsp;
149
			&nbsp;[% HTML.escape(row.itime) %]&nbsp;
150 150
		</td>
151 151
		<td nowrap>
152
			&nbsp;<TMPL_VAR NAME=name ESCAPE=HTML>&nbsp;
152
			&nbsp;[% HTML.escape(row.name) %]&nbsp;
153 153
		</td>
154 154
		<td>
155
			&nbsp;<TMPL_VAR NAME=addition ESCAPE=HTML>&nbsp;
155
			&nbsp;[% HTML.escape(row.addition) %]&nbsp;
156 156
		</td>
157 157
		<td>
158
      &nbsp;<TMPL_VAR NAME=what_done ESCAPE=HTML>&nbsp;
158
      &nbsp;[% HTML.escape(row.what_done) %]&nbsp;
159 159
    </td>
160 160
    <td>
161
      &nbsp;<TMPL_VAR NAME=id ESCAPE=HTML>&nbsp;
161
      &nbsp;[% HTML.escape(row.id) %]&nbsp;
162 162
    </td>
163 163
    <td>
164
      &nbsp;<TMPL_VAR NAME=snumbers ESCAPE=HTML>&nbsp;
164
      &nbsp;[% HTML.escape(row.snumbers) %]&nbsp;
165 165
    </td>
166
	</tr>	
167
</TMPL_LOOP>
166
	</tr>
167
[% END %]
168 168
</tbody>
169 169
</table>
170 170
</div>
171 171
<div style="position:absolute; bottom:10px; left:10px;">
172
<TMPL_ELSE>
172
[% ELSE %]
173 173
<b>Keine Suchergebnisse gefunden!</b><br>
174
</TMPL_IF>
174
[% END %]
175 175
<p>
176
<TMPL_IF NAME=NONEWWINDOW>
176
[% IF NONEWWINDOW %]
177 177
<input type="button" onclick="javascript:history.back(-1);" value="zur?ck">
178
<TMPL_ELSE>
178
[% ELSE %]
179 179
<input type="button" onclick="javascript:window.close();" value="schlie?en">
180
</TMPL_IF>
180
[% END %]
181 181
</p>
182 182
</div>
templates/webpages/common/show_history_master.html
1
<form>
2
<input type="hidden" name="login" value="<TMPL_VAR NAME=login ESCAPE=HTML>">
3
<input type="hidden" name="password" value="<TMPL_VAR NAME=password ESCAPE=HTML>">
4
</form> 
5
<TMPL_IF NAME=SUCCESS>
1
[% USE HTML %]<form>
2
<input type="hidden" name="login" value="[% HTML.escape(login) %]">
3
<input type="hidden" name="password" value="[% HTML.escape(password) %]">
4
</form>
5
[% IF SUCCESS %]
6 6
<script type="text/javascript">
7 7
  function orderBy(order,desc) {
8 8
    var reg = /\&order\=(.+)\-\-(\d)$/;
......
31 31
          </td>
32 32
          <td valign="top">
33 33
            <table height="0" width="0" cellpadding="0" cellspacing="0" marginheight="0" marginwidth="0" valign="top" border="0">
34
              <TMPL_IF NAME=ITIME>
35
                <TMPL_IF NAME=ITIMEBY>
34
              [% IF ITIME %]
35
                [% IF ITIMEBY %]
36 36
                  <tr><td><a href="javascript:orderBy('h.itime',0);" title="<translate>order</translate>" style="border: solid 1px #aaaade;">&and;</a></td></tr>
37 37
                  <tr><td><a title="<translate>order</translate>" style="background: #ccccff; border: solid 1px #aaaade;">&or;</a></td></tr>
38
                <TMPL_ELSE>
38
                [% ELSE %]
39 39
                  <tr><td><a title="<translate>order</translate>" style="background: #ccccff; border: solid 1px #aaaade;">&and;</a></td></tr>
40 40
                  <tr><td><a href="javascript:orderBy('h.itime',1);" style="border: solid 1px #aaaade;">&or;</a></td></tr>
41
                </TMPL_IF>
42
              <TMPL_ELSE>
41
                [% END %]
42
              [% ELSE %]
43 43
                <tr><td><a href="javascript:orderBy('h.itime',0);" title="<translate>order</translate>" style="border: solid 1px #aaaade;">&and;</a></td></tr>
44 44
                <tr><td><a href="javascript:orderBy('h.itime',1);" title="<translate>order</translate>" style="border: solid 1px #aaaade;">&or;</a></td></tr>
45
              </TMPL_IF>
45
              [% END %]
46 46
            </table>
47 47
          </td>
48 48
        </tr>
......
56 56
          </td>
57 57
          <td valign="top">
58 58
            <table height="0" width="0" cellpadding="0" cellspacing="0" marginheight="0" marginwidth="0" valign="top" border="0">
59
              <TMPL_IF NAME=NAME>
60
                <TMPL_IF NAME=NAMEBY>
59
              [% IF NAME %]
60
                [% IF NAMEBY %]
61 61
                  <tr><td height="0" width="0"><a href="javascript:orderBy('emp.name',0);" title="<translate>order</translate>" style="border: solid 1px #aaaade;">&and;</a></td></tr>
62 62
                  <tr><td height="0" width="0"><a title="<translate>order</translate>" style="background: #ccccff; border: solid 1px #aaaade;">&or;</a></td></tr>
63
                <TMPL_ELSE>
63
                [% ELSE %]
64 64
                  <tr><td><a title="<translate>order</translate>" style="background: #ccccff; border: solid 1px #aaaade;">&and;</a></td></tr>
65 65
                  <tr><td><a href="javascript:orderBy('emp.name',1);" style="border: solid 1px #aaaade;">&or;</a></td></tr>
66
                </TMPL_IF>
67
              <TMPL_ELSE>
66
                [% END %]
67
              [% ELSE %]
68 68
                <tr><td><a href="javascript:orderBy('emp.name',0);" title="<translate>order</translate>" style="border: solid 1px #aaaade;">&and;</a></td></tr>
69 69
                <tr><td><a href="javascript:orderBy('emp.name',1);" title="<translate>order</translate>" style="border: solid 1px #aaaade;">&or;</a></td></tr>
70
              </TMPL_IF>
70
              [% END %]
71 71
            </table>
72 72
          </td>
73 73
        </tr>
......
99 99
          </td>
100 100
          <td valign="top">
101 101
            <table height="0" width="0" cellpadding="0" cellspacing="0" marginheight="0" marginwidth="0" valign="top" border="0">
102
              <TMPL_IF NAME=TRANS_ID>
103
                <TMPL_IF NAME=TRANS_IDBY>
102
              [% IF TRANS_ID %]
103
                [% IF TRANS_IDBY %]
104 104
                  <tr><td height="0" width="0"><a href="javascript:orderBy('h.trans_id',0);" title="<translate>order</translate>" style="border: solid 1px #aaaade;">&and;</a></td></tr>
105 105
                  <tr><td height="0" width="0"><a title="<translate>order</translate>" style="background: #ccccff; border: solid 1px #aaaade;">&or;</a></td></tr>
106
                <TMPL_ELSE>
106
                [% ELSE %]
107 107
                  <tr><td><a title="<translate>order</translate>" style="background: #ccccff; border: solid 1px #aaaade;">&and;</a></td></tr>
108 108
                  <tr><td><a href="javascript:orderBy('h.trans_id',1);" style="border: solid 1px #aaaade;">&or;</a></td></tr>
109
                </TMPL_IF>
110
              <TMPL_ELSE>
109
                [% END %]
110
              [% ELSE %]
111 111
                <tr><td><a href="javascript:orderBy('h.trans_id',0);" title="<translate>order</translate>" style="border: solid 1px #aaaade;">&and;</a></td></tr>
112 112
                <tr><td><a href="javascript:orderBy('h.trans_id',1);" title="<translate>order</translate>" style="border: solid 1px #aaaade;">&or;</a></td></tr>
113
              </TMPL_IF>
113
              [% END %]
114 114
            </table>
115 115
          </td>
116 116
        </tr>
......
124 124
          </td>
125 125
          <td valign="top">
126 126
            <table height="0" width="0" cellpadding="0" cellspacing="0" marginheight="0" marginwidth="0" valign="top" border="0" >
127
              <TMPL_IF NAME=SNUMBERS>
128
                <TMPL_IF NAME=SNUMBERSBY>
127
              [% IF SNUMBERS %]
128
                [% IF SNUMBERSBY %]
129 129
                  <tr><td height="0" width="0"><a href="javascript:orderBy('h.snumbers',0);" title="<translate>order</translate>" style="border: solid 1px #aaaade;">&and;</a></td></tr>
130 130
                  <tr><td height="0" width="0"><a title="<translate>order</translate>" style="background: #ccccff; border: solid 1px #aaaade;">&or;</a></td></tr>
131
                <TMPL_ELSE>
131
                [% ELSE %]
132 132
                  <tr><td><a title="<translate>order</translate>" style="background: #ccccff; border: solid 1px #aaaade;">&and;</a></td></tr>
133 133
                  <tr><td><a href="javascript:orderBy('h.snumbers',1);" style="border: solid 1px #aaaade;">&or;</a></td></tr>
134
                </TMPL_IF>
135
              <TMPL_ELSE>
134
                [% END %]
135
              [% ELSE %]
136 136
                <tr><td><a href="javascript:orderBy('h.snumbers',0);" title="<translate>order</translate>" style="border: solid 1px #aaaade;">&and;</a></td></tr>
137 137
                <tr><td><a href="javascript:orderBy('h.snumbers',1);" title="<translate>order</translate>" style="border: solid 1px #aaaade;">&or;</a></td></tr>
138
              </TMPL_IF>
138
              [% END %]
139 139
            </table>
140 140
          </td>
141 141
        </tr>
......
143 143
    </th>
144 144
	</tr>
145 145
  <tbody height="380px" width="580px" style="overflow:auto;">
146
<TMPL_LOOP NAME=DATEN>
147
  <tr class="listrow<TMPL_IF __odd__>1<TMPL_ELSE>0</TMPL_IF>">
146
[% FOREACH row = DATEN %]
147
  <tr class="listrow[% loop.count % 2 %]">
148 148
		<td nowrap>
149
			&nbsp;<TMPL_VAR NAME=itime ESCAPE=HTML>&nbsp;
149
			&nbsp;[% HTML.escape(row.itime) %]&nbsp;
150 150
		</td>
151 151
		<td nowrap>
152
			&nbsp;<TMPL_VAR NAME=name ESCAPE=HTML>&nbsp;
152
			&nbsp;[% HTML.escape(row.name) %]&nbsp;
153 153
		</td>
154 154
		<td>
155
			&nbsp;<TMPL_VAR NAME=addition ESCAPE=HTML>&nbsp;
155
			&nbsp;[% HTML.escape(row.addition) %]&nbsp;
156 156
		</td>
157 157
		<td>
158
      &nbsp;<TMPL_VAR NAME=what_done ESCAPE=HTML>&nbsp;
158
      &nbsp;[% HTML.escape(row.what_done) %]&nbsp;
159 159
    </td>
160 160
    <td>
161
      &nbsp;<TMPL_VAR NAME=id ESCAPE=HTML>&nbsp;
161
      &nbsp;[% HTML.escape(row.id) %]&nbsp;
162 162
    </td>
163 163
    <td>
164
      &nbsp;<TMPL_VAR NAME=snumbers ESCAPE=HTML>&nbsp;
164
      &nbsp;[% HTML.escape(row.snumbers) %]&nbsp;
165 165
    </td>
166
	</tr>	
167
</TMPL_LOOP>
166
	</tr>
167
[% END %]
168 168
</tbody>
169 169
</table>
170 170
</div>
171 171
<div style="position:absolute; bottom:10px; left:10px;">
172
<TMPL_ELSE>
172
[% ELSE %]
173 173
<b><translate>Keine Suchergebnisse gefunden!</translate></b><br>
174
</TMPL_IF>
174
[% END %]
175 175
<p>
176
<TMPL_IF NAME=NONEWWINDOW>
176
[% IF NONEWWINDOW %]
177 177
<input type="button" onclick="javascript:history.back(-1);" value="<translate>back</translate>">
178
<TMPL_ELSE>
178
[% ELSE %]
179 179
<input type="button" onclick="javascript:window.close();" value="<translate>close</translate>">
180
</TMPL_IF>
180
[% END %]
181 181
</p>
182 182
</div>
templates/webpages/common/show_vc_details_de.html
1
<body>
1
[% USE HTML %]<body>
2 2

  
3 3
 <div width="100%" class="listtop">
4
  <TMPL_IF is_customer>Kundendetails<TMPL_ELSE>Lieferantendetails</TMPL_IF> &quot;<TMPL_VAR name ESCAPE=HTML>&quot;
4
  [% IF is_customer %]Kundendetails[% ELSE %]Lieferantendetails[% END %] &quot;[% HTML.escape(name) %]&quot;
5 5
 </div>
6 6

  
7 7
 <p>Springe zu <a href="#billing">Rechnungsadresse</a>
8
  <TMPL_LOOP SHIPTO>, <a href="#shipping<TMPL_VAR __counter__>">Lieferadresse &quot;<TMPL_VAR shiptoname ESCAPE=HTML>&quot;</a></TMPL_LOOP>
9
  <TMPL_LOOP CONTACTS>, <a href="#contact<TMPL_VAR __counter__>">Ansprechpartner &quot;<TMPL_VAR cp_name ESCAPE=HTML>&quot;</a></TMPL_LOOP></p>
8
  [% FOREACH shipto = SHIPTO %], <a href="#shipping[% loop.count %]">Lieferadresse &quot;[% HTML.escape(shipto.shiptoname) %]&quot;</a>[% END %]
9
  [% FOREACH contact = CONTACTS %], <a href="#contact[% loop.count %]">Ansprechpartner &quot;[% HTML.escape(contact.cp_name) %]&quot;</a>[% END %]</p>
10 10

  
11 11
 <hr>
12 12

  
......
15 15
 <table>
16 16
  <tr>
17 17
   <td align="right">Kundennummer</td>
18
   <td><TMPL_VAR customernumber ESCAPE=HTML></td>
18
   <td>[% HTML.escape(customernumber) %]</td>
19 19
  </tr>
20 20

  
21 21
  <tr>
22 22
   <td align="right">Firmenname</td>
23
   <td><TMPL_VAR name ESCAPE=HTML></td>
23
   <td>[% HTML.escape(name) %]</td>
24 24
  </tr>
25 25

  
26 26
  <tr>
27 27
   <td align="right">Abteilung</td>
28
   <td><TMPL_VAR department_1 ESCAPE=HTML><TMPL_IF department_2><TMPL_IF department_1>; </TMPL_IF><TMPL_VAR department_2 ESCAPE=HTML></TMPL_IF></td>
28
   <td>[% HTML.escape(department_1) %][% IF department_2 %][% IF department_1 %]; [% END %][% HTML.escape(department_2) %][% END %]</td>
29 29
  </tr>
30 30

  
31 31
  <tr>
32 32
   <td align="right">Stra?e</td>
33
   <td><TMPL_VAR street ESCAPE=HTML></td>
33
   <td>[% HTML.escape(street) %]</td>
34 34
  </tr>
35 35

  
36 36
  <tr>
37 37
   <td align="right">PLZ, Ort</td>
38
   <td><TMPL_VAR zipcode ESCAPE=HTML> <TMPL_VAR city ESCAPE=HTML></td>
38
   <td>[% HTML.escape(zipcode) %] [% HTML.escape(city) %]</td>
39 39
  </tr>
40 40

  
41 41
  <tr>
42 42
   <td align="right">Land</td>
43
   <td><TMPL_VAR country ESCAPE=HTML></td>
43
   <td>[% HTML.escape(country) %]</td>
44 44
  </tr>
45 45

  
46 46
  <tr>
47 47
   <td align="right">Ansprechpartner</td>
48
   <td><TMPL_IF greeting><TMPL_VAR greeting ESCAPE=HTML> </TMPL_IF><TMPL_VAR contact ESCAPE=HTML></td>
48
   <td>[% IF greeting %][% HTML.escape(greeting) %] [% END %][% HTML.escape(contact) %]</td>
49 49
  </tr>
50 50

  
51 51
  <tr>
52 52
   <td align="right">Telefon</td>
53
   <td><TMPL_VAR phone ESCAPE=HTML></td>
53
   <td>[% HTML.escape(phone) %]</td>
54 54
  </tr>
55 55

  
56 56
  <tr>
57 57
   <td align="right">Fax</td>
58
   <td><TMPL_VAR fax ESCAPE=HTML></td>
58
   <td>[% HTML.escape(fax) %]</td>
59 59
  </tr>
60 60

  
61 61
  <tr>
62 62
   <td align="right">eMail</td>
63
   <td><TMPL_VAR email ESCAPE=HTML></td>
63
   <td>[% HTML.escape(email) %]</td>
64 64
  </tr>
65 65

  
66 66
  <tr>
67 67
   <td align="right">Homepage</td>
68
   <td><TMPL_VAR homepage ESCAPE=HTML></td>
68
   <td>[% HTML.escape(homepage) %]</td>
69 69
  </tr>
70 70

  
71 71
  <tr>
72 72
   <td align="right">Kreditlimit</td>
73
   <td><TMPL_VAR creditlimit ESCAPE=HTML></td>
73
   <td>[% HTML.escape(creditlimit) %]</td>
74 74
  </tr>
75 75

  
76 76
  <tr>
77 77
   <td align="right">Rabatt</td>
78
   <td><TMPL_VAR discount ESCAPE=HTML>%</td>
78
   <td>[% HTML.escape(discount) %]%</td>
79 79
  </tr>
80 80

  
81 81
  <tr>
82 82
   <td align="right">Zahlungskonditionen</td>
83
   <td><TMPL_VAR payment_terms ESCAPE=HTML></td>
83
   <td>[% HTML.escape(payment_terms) %]</td>
84 84
  </tr>
85 85

  
86 86
  <tr>
87 87
   <td align="right">Steuernummer</td>
88
   <td><TMPL_VAR taxnumber ESCAPE=HTML></td>
88
   <td>[% HTML.escape(taxnumber) %]</td>
89 89
  </tr>
90 90

  
91 91
  <tr>
92 92
   <td align="right">USt-IdNr.</td>
93
   <td><TMPL_VAR ustid ESCAPE=HTML></td>
93
   <td>[% HTML.escape(ustid) %]</td>
94 94
  </tr>
95 95

  
96
  <TMPL_IF is_customer>
96
  [% IF is_customer %]
97 97
   <tr>
98 98
    <td align="right">KNr. beim Kunden</td>
99
    <td><TMPL_VAR c_vendor_id ESCAPE=HTML></td>
99
    <td>[% HTML.escape(c_vendor_id) %]</td>
100 100
   </tr>
101
  </TMPL_IF>
101
  [% END %]
102 102

  
103 103
  <tr>
104 104
   <td align="right">Kontonummer</td>
105
   <td><TMPL_VAR account_number ESCAPE=HTML></td>
105
   <td>[% HTML.escape(account_number) %]</td>
106 106
  </tr>
107 107

  
108 108
  <tr>
109 109
   <td align="right">BLZ</td>
110
   <td><TMPL_VAR bank_code ESCAPE=HTML></td>
110
   <td>[% HTML.escape(bank_code) %]</td>
111 111
  </tr>
112 112

  
113 113
  <tr>
114 114
   <td align="right">Bank</td>
115
   <td><TMPL_VAR bank ESCAPE=HTML></td>
115
   <td>[% HTML.escape(bank) %]</td>
116 116
  </tr>
117 117

  
118 118
  <tr>
119
   <td align="right"><TMPL_IF is_customer>Kundentyp<TMPL_ELSE>Lieferantentyp</TMPL_IF></td>
120
   <td><TMPL_VAR business ESCAPE=HTML></td>
119
   <td align="right">[% IF is_customer %]Kundentyp[% ELSE %]Lieferantentyp[% END %]</td>
120
   <td>[% HTML.escape(business) %]</td>
121 121
  </tr>
122 122

  
123 123
  <tr>
124 124
   <td align="right">Sprache</td>
125
   <td><TMPL_VAR language ESCAPE=HTML></td>
125
   <td>[% HTML.escape(language) %]</td>
126 126
  </tr>
127 127

  
128 128
  <tr>
129 129
   <td align="right" valign="top">Bemerkungen</td>
130
   <td valign="top"><TMPL_VAR notes ESCAPE=HTML></td>
130
   <td valign="top">[% HTML.escape(notes) %]</td>
131 131
  </tr>
132 132

  
133 133
 </table>
......
139 139

  
140 140

  
141 141

  
142
 <TMPL_LOOP SHIPTO>
142
 [% FOREACH row = SHIPTO %]
143 143

  
144 144
  <hr>
145 145

  
146 146
  <p>Springe zu <a href="#billing">Rechnungsadresse</a>
147
   <TMPL_LOOP SHIPTO>, <a href="#shipping<TMPL_VAR __counter__>">Lieferadresse &quot;<TMPL_VAR shiptoname ESCAPE=HTML>&quot;</a></TMPL_LOOP>
148
   <TMPL_LOOP CONTACTS>, <a href="#contact<TMPL_VAR __counter__>">Ansprechpartner &quot;<TMPL_VAR cp_name ESCAPE=HTML>&quot;</a></TMPL_LOOP></p>
147
   [% FOREACH shipto = SHIPTO %], <a href="#shipping[% loop.count %]">Lieferadresse &quot;[% HTML.escape(shipto.shiptoname) %]&quot;</a>[% END %]
148
   [% FOREACH contact = CONTACTS %], <a href="#contact[% loop.count %]">Ansprechpartner &quot;[% HTML.escape(contact.cp_name) %]&quot;</a>[% END %]</p>
149 149

  
150 150
  <hr>
151 151

  
152
  <a name="shipping<TMPL_VAR __counter__>"><div class="listheading">Lieferadresse &quot;<TMPL_VAR shiptoname ESCAPE=HTML>&quot;</div></a>
152
  <a name="shipping[% loop.count %]"><div class="listheading">Lieferadresse &quot;[% HTML.escape(row.shiptoname) %]&quot;</div></a>
153 153

  
154 154
  <table>
155 155
   <tr>
156 156
    <td align="right">Firmenname</td>
157
    <td><TMPL_VAR shiptoname ESCAPE=HTML></td>
157
    <td>[% HTML.escape(row.shiptoname) %]</td>
158 158
   </tr>
159 159

  
160 160
   <tr>
161 161
    <td align="right">Abteilung</td>
162
    <td><TMPL_VAR shiptodepartment_1 ESCAPE=HTML><TMPL_IF shiptodepartment_2><TMPL_IF shiptodepartment_1>; </TMPL_IF><TMPL_VAR shiptodepartment_2 ESCAPE=HTML></TMPL_IF></td>
162
    <td>[% HTML.escape(row.shiptodepartment_1) %][% IF row.shiptodepartment_2 %][% IF row.shiptodepartment_1 %]; [% END %][% HTML.escape(row.shiptodepartment_2) %][% END %]</td>
163 163
   </tr>
164 164

  
165 165
   <tr>
166 166
    <td align="right">Stra?e</td>
167
    <td><TMPL_VAR shiptostreet ESCAPE=HTML></td>
167
    <td>[% HTML.escape(row.shiptostreet) %]</td>
168 168
   </tr>
169 169

  
170 170
   <tr>
171 171
    <td align="right">PLZ, Ort</td>
172
    <td><TMPL_VAR shiptozipcode ESCAPE=HTML> <TMPL_VAR shiptocity ESCAPE=HTML></td>
172
    <td>[% HTML.escape(row.shiptozipcode) %] [% HTML.escape(row.shiptocity) %]</td>
173 173
   </tr>
174 174

  
175 175
   <tr>
176 176
    <td align="right">Land</td>
177
    <td><TMPL_VAR shiptocountry ESCAPE=HTML></td>
177
    <td>[% HTML.escape(row.shiptocountry) %]</td>
178 178
   </tr>
179 179

  
180 180
   <tr>
181 181
    <td align="right">Ansprechpartner</td>
182
    <td><TMPL_VAR shiptocontact ESCAPE=HTML></td>
182
    <td>[% HTML.escape(row.shiptocontact) %]</td>
183 183
   </tr>
184 184

  
185 185
   <tr>
186 186
    <td align="right">Telefon</td>
187
    <td><TMPL_VAR shiptophone ESCAPE=HTML></td>
187
    <td>[% HTML.escape(row.shiptophone) %]</td>
188 188
   </tr>
189 189

  
190 190
   <tr>
191 191
    <td align="right">Fax</td>
192
    <td><TMPL_VAR shiptofax ESCAPE=HTML></td>
192
    <td>[% HTML.escape(row.shiptofax) %]</td>
193 193
   </tr>
194 194

  
195 195
   <tr>
196 196
    <td align="right">eMail</td>
197
    <td><TMPL_VAR shiptoemail ESCAPE=HTML></td>
197
    <td>[% HTML.escape(row.shiptoemail) %]</td>
198 198
   </tr>
199 199

  
200 200
  </table>
201
 </TMPL_LOOP>
201
 [% END %]
202 202

  
203 203

  
204 204

  
......
209 209

  
210 210

  
211 211

  
212
 <TMPL_LOOP CONTACTS>
212
 [% FOREACH row = CONTACTS %]
213 213

  
214 214
  <hr>
215 215

  
216 216
  <p>Springe zu <a href="#billing">Rechnungsadresse</a>
217
   <TMPL_LOOP SHIPTO>, <a href="#shipping<TMPL_VAR __counter__>">Lieferadresse &quot;<TMPL_VAR shiptoname ESCAPE=HTML>&quot;</a></TMPL_LOOP>
218
   <TMPL_LOOP CONTACTS>, <a href="#contact<TMPL_VAR __counter__>">Ansprechpartner &quot;<TMPL_VAR cp_name ESCAPE=HTML>&quot;</a></TMPL_LOOP></p>
217
   [% FOREACH shipto = SHIPTO %], <a href="#shipping[% loop.count %]">Lieferadresse &quot;[% HTML.escape(shipto.shiptoname) %]&quot;</a>[% END %]
218
   [% FOREACH contact = CONTACTS %], <a href="#contact[% loop.count %]">Ansprechpartner &quot;[% HTML.escape(contact.cp_name) %]&quot;</a>[% END %]</p>
219 219

  
220 220
  <hr>
221 221

  
222
  <a name="contact<TMPL_VAR __counter__>"><div class="listheading">Ansprechpartner &quot;<TMPL_VAR cp_name ESCAPE=HTML>&quot;</div></a>
222
  <a name="contact[% loop.count %]"><div class="listheading">Ansprechpartner &quot;[% HTML.escape(row.cp_name) %]&quot;</div></a>
223 223

  
224 224
  <table>
225 225
   <tr>
226 226
    <td align="right">Anrede</td>
227
    <td><TMPL_VAR cp_greeting ESCAPE=HTML></td>
227
    <td>[% HTML.escape(row.cp_greeting) %]</td>
228 228
   </tr>
229 229

  
230 230
   <tr>
231 231
    <td align="right">Titel</td>
232
    <td><TMPL_VAR cp_title ESCAPE=HTML></td>
232
    <td>[% HTML.escape(row.cp_title) %]</td>
233 233
   </tr>
234 234

  
235 235
   <tr>
236 236
    <td align="right">Vorname</td>
237
    <td><TMPL_VAR cp_givenname ESCAPE=HTML></td>
237
    <td>[% HTML.escape(row.cp_givenname) %]</td>
238 238
   </tr>
239 239

  
240 240
   <tr>
241 241
    <td align="right">Name</td>
242
    <td><TMPL_VAR cp_name ESCAPE=HTML></td>
242
    <td>[% HTML.escape(row.cp_name) %]</td>
243 243
   </tr>
244 244

  
245 245
   <tr>
246 246
    <td align="right">Abteilung</td>
247
    <td><TMPL_VAR cp_abteilung ESCAPE=HTML></td>
247
    <td>[% HTML.escape(row.cp_abteilung) %]</td>
248 248
   </tr>
249 249

  
250 250
   <tr>
251 251
    <td align="right">Telefon 1 </td>
252
    <td><TMPL_VAR cp_phone1 ESCAPE=HTML></td>
252
    <td>[% HTML.escape(row.cp_phone1) %]</td>
253 253
   </tr>
254 254

  
255 255
   <tr>
256 256
    <td align="right">Telefon 2</td>
257
    <td><TMPL_VAR cp_phone2 ESCAPE=HTML></td>
257
    <td>[% HTML.escape(row.cp_phone2) %]</td>
258 258
   </tr>
259 259

  
260 260
   <tr>
261 261
    <td align="right">Fax</td>
262
    <td><TMPL_VAR cp_fax ESCAPE=HTML></td>
262
    <td>[% HTML.escape(row.cp_fax) %]</td>
263 263
   </tr>
264 264

  
265 265
   <tr>
266 266
    <td align="right">Mobile 1</td>
267
    <td><TMPL_VAR cp_mobile1 ESCAPE=HTML></td>
267
    <td>[% HTML.escape(row.cp_mobile1) %]</td>
268 268
   </tr>
269 269

  
270 270
   <tr>
271 271
    <td align="right">Mobile 2</td>
272
    <td><TMPL_VAR cp_mobile2 ESCAPE=HTML></td>
272
    <td>[% HTML.escape(row.cp_mobile2) %]</td>
273 273
   </tr>
274 274

  
275 275
   <tr>
276 276
    <td align="right">Sat. Tel.</td>
277
    <td><TMPL_VAR cp_satphone ESCAPE=HTML></td>
277
    <td>[% HTML.escape(row.cp_satphone) %]</td>
278 278
   </tr>
279 279

  
280 280
   <tr>
281 281
    <td align="right">Sat. Fax</td>
282
    <td><TMPL_VAR cp_satfax ESCAPE=HTML></td>
282
    <td>[% HTML.escape(row.cp_satfax) %]</td>
283 283
   </tr>
284 284

  
285 285
   <tr>
286 286
    <td align="right">Projekt</td>
287
    <td><TMPL_VAR cp_project ESCAPE=HTML></td>
287
    <td>[% HTML.escape(row.cp_project) %]</td>
288 288
   </tr>
289 289

  
290 290
   <tr>
291 291
    <td align="right">eMail</td>
292
    <td><TMPL_VAR cp_email ESCAPE=HTML></td>
292
    <td>[% HTML.escape(row.cp_email) %]</td>
293 293
   </tr>
294 294

  
295 295
   <tr>
296 296
    <td align="right">Privates Tel.</td>
297
    <td><TMPL_VAR cp_privatphone ESCAPE=HTML></td>
297
    <td>[% HTML.escape(row.cp_privatphone) %]</td>
298 298
   </tr>
299 299

  
300 300
   <tr>
301 301
    <td align="right">Private eMail</td>
302
    <td><TMPL_VAR cp_privatemail ESCAPE=HTML></td>
302
    <td>[% HTML.escape(row.cp_privatemail) %]</td>
303 303
   </tr>
304 304

  
305 305
   <tr>
306 306
    <td align="right">Geburtstag</td>
307
    <td><TMPL_VAR cp_birthday ESCAPE=HTML></td>
307
    <td>[% HTML.escape(row.cp_birthday) %]</td>
308 308
   </tr>
309 309

  
310 310
  </table>
311 311

  
312
 </TMPL_LOOP>
312
 [% END %]
313 313

  
314 314
</body>
315 315
</html>
templates/webpages/common/show_vc_details_master.html
1
<body>
1
[% USE HTML %]<body>
2 2

  
3 3
 <div width="100%" class="listtop">
4
  <TMPL_IF is_customer><translate>Customer details</translate><TMPL_ELSE><translate>Vendor details</translate></TMPL_IF> &quot;<TMPL_VAR name ESCAPE=HTML>&quot;
4
  [% IF is_customer %]<translate>Customer details</translate>[% ELSE %]<translate>Vendor details</translate>[% END %] &quot;[% HTML.escape(name) %]&quot;
5 5
 </div>
6 6

  
7 7
 <p><translate>Jump to</translate> <a href="#billing"><translate>Billing Address</translate></a>
8
  <TMPL_LOOP SHIPTO>, <a href="#shipping<TMPL_VAR __counter__>"><translate>Shipping Address</translate> &quot;<TMPL_VAR shiptoname ESCAPE=HTML>&quot;</a></TMPL_LOOP>
9
  <TMPL_LOOP CONTACTS>, <a href="#contact<TMPL_VAR __counter__>"><translate>Contact Person</translate> &quot;<TMPL_VAR cp_name ESCAPE=HTML>&quot;</a></TMPL_LOOP></p>
8
  [% FOREACH shipto = SHIPTO %], <a href="#shipping[% loop.count %]"><translate>Shipping Address</translate> &quot;[% HTML.escape(shipto.shiptoname) %]&quot;</a>[% END %]
9
  [% FOREACH contact = CONTACTS %], <a href="#contact[% loop.count %]"><translate>Contact Person</translate> &quot;[% HTML.escape(contact.cp_name) %]&quot;</a>[% END %]</p>
10 10

  
11 11
 <hr>
12 12

  
......
15 15
 <table>
16 16
  <tr>
17 17
   <td align="right"><translate>Customer Number</translate></td>
18
   <td><TMPL_VAR customernumber ESCAPE=HTML></td>
18
   <td>[% HTML.escape(customernumber) %]</td>
19 19
  </tr>
20 20

  
21 21
  <tr>
22 22
   <td align="right"><translate>Company Name</translate></td>
23
   <td><TMPL_VAR name ESCAPE=HTML></td>
23
   <td>[% HTML.escape(name) %]</td>
24 24
  </tr>
25 25

  
26 26
  <tr>
27 27
   <td align="right"><translate>Department</translate></td>
28
   <td><TMPL_VAR department_1 ESCAPE=HTML><TMPL_IF department_2><TMPL_IF department_1>; </TMPL_IF><TMPL_VAR department_2 ESCAPE=HTML></TMPL_IF></td>
28
   <td>[% HTML.escape(department_1) %][% IF department_2 %][% IF department_1 %]; [% END %][% HTML.escape(department_2) %][% END %]</td>
29 29
  </tr>
30 30

  
31 31
  <tr>
32 32
   <td align="right"><translate>Street</translate></td>
33
   <td><TMPL_VAR street ESCAPE=HTML></td>
33
   <td>[% HTML.escape(street) %]</td>
34 34
  </tr>
35 35

  
36 36
  <tr>
37 37
   <td align="right"><translate>Zip, City</translate></td>
38
   <td><TMPL_VAR zipcode ESCAPE=HTML> <TMPL_VAR city ESCAPE=HTML></td>
38
   <td>[% HTML.escape(zipcode) %] [% HTML.escape(city) %]</td>
39 39
  </tr>
40 40

  
41 41
  <tr>
42 42
   <td align="right"><translate>Country</translate></td>
43
   <td><TMPL_VAR country ESCAPE=HTML></td>
43
   <td>[% HTML.escape(country) %]</td>
44 44
  </tr>
45 45

  
46 46
  <tr>
47 47
   <td align="right"><translate>Contact Person</translate></td>
48
   <td><TMPL_IF greeting><TMPL_VAR greeting ESCAPE=HTML> </TMPL_IF><TMPL_VAR contact ESCAPE=HTML></td>
48
   <td>[% IF greeting %][% HTML.escape(greeting) %] [% END %][% HTML.escape(contact) %]</td>
49 49
  </tr>
50 50

  
51 51
  <tr>
52 52
   <td align="right"><translate>Phone</translate></td>
53
   <td><TMPL_VAR phone ESCAPE=HTML></td>
53
   <td>[% HTML.escape(phone) %]</td>
54 54
  </tr>
55 55

  
56 56
  <tr>
57 57
   <td align="right"><translate>Fax</translate></td>
58
   <td><TMPL_VAR fax ESCAPE=HTML></td>
58
   <td>[% HTML.escape(fax) %]</td>
59 59
  </tr>
60 60

  
61 61
  <tr>
62 62
   <td align="right"><translate>E-mail</translate></td>
63
   <td><TMPL_VAR email ESCAPE=HTML></td>
63
   <td>[% HTML.escape(email) %]</td>
64 64
  </tr>
65 65

  
66 66
  <tr>
67 67
   <td align="right"><translate>Homepage</translate></td>
68
   <td><TMPL_VAR homepage ESCAPE=HTML></td>
68
   <td>[% HTML.escape(homepage) %]</td>
69 69
  </tr>
70 70

  
71 71
  <tr>
72 72
   <td align="right"><translate>Credit Limit</translate></td>
73
   <td><TMPL_VAR creditlimit ESCAPE=HTML></td>
73
   <td>[% HTML.escape(creditlimit) %]</td>
74 74
  </tr>
75 75

  
76 76
  <tr>
77 77
   <td align="right"><translate>Discount</translate></td>
78
   <td><TMPL_VAR discount ESCAPE=HTML>%</td>
78
   <td>[% HTML.escape(discount) %]%</td>
79 79
  </tr>
80 80

  
81 81
  <tr>
82 82
   <td align="right"><translate>Payment Terms</translate></td>
83
   <td><TMPL_VAR payment_terms ESCAPE=HTML></td>
83
   <td>[% HTML.escape(payment_terms) %]</td>
84 84
  </tr>
85 85

  
86 86
  <tr>
87 87
   <td align="right"><translate>Tax Number</translate></td>
88
   <td><TMPL_VAR taxnumber ESCAPE=HTML></td>
88
   <td>[% HTML.escape(taxnumber) %]</td>
89 89
  </tr>
90 90

  
91 91
  <tr>
92 92
   <td align="right"><translate>USt-IdNr.</translate></td>
93
   <td><TMPL_VAR ustid ESCAPE=HTML></td>
93
   <td>[% HTML.escape(ustid) %]</td>
94 94
  </tr>
95 95

  
96
  <TMPL_IF is_customer>
96
  [% IF is_customer %]
97 97
   <tr>
98 98
    <td align="right"><translate>KNr. beim Kunden</translate></td>
99
    <td><TMPL_VAR c_vendor_id ESCAPE=HTML></td>
99
    <td>[% HTML.escape(c_vendor_id) %]</td>
100 100
   </tr>
101
  </TMPL_IF>
101
  [% END %]
102 102

  
103 103
  <tr>
104 104
   <td align="right"><translate>Account Number</translate></td>
105
   <td><TMPL_VAR account_number ESCAPE=HTML></td>
105
   <td>[% HTML.escape(account_number) %]</td>
106 106
  </tr>
107 107

  
108 108
  <tr>
109 109
   <td align="right"><translate>Bank Code</translate></td>
110
   <td><TMPL_VAR bank_code ESCAPE=HTML></td>
110
   <td>[% HTML.escape(bank_code) %]</td>
111 111
  </tr>
112 112

  
113 113
  <tr>
114 114
   <td align="right"><translate>Bank</translate></td>
115
   <td><TMPL_VAR bank ESCAPE=HTML></td>
115
   <td>[% HTML.escape(bank) %]</td>
116 116
  </tr>
117 117

  
118 118
  <tr>
119
   <td align="right"><TMPL_IF is_customer><translate>Customer type</translate><TMPL_ELSE><translate>Vendor type</translate></TMPL_IF></td>
120
   <td><TMPL_VAR business ESCAPE=HTML></td>
119
   <td align="right">[% IF is_customer %]<translate>Customer type</translate>[% ELSE %]<translate>Vendor type</translate>[% END %]</td>
120
   <td>[% HTML.escape(business) %]</td>
121 121
  </tr>
122 122

  
123 123
  <tr>
124 124
   <td align="right"><translate>Language</translate></td>
125
   <td><TMPL_VAR language ESCAPE=HTML></td>
125
   <td>[% HTML.escape(language) %]</td>
126 126
  </tr>
127 127

  
128 128
  <tr>
129 129
   <td align="right" valign="top"><translate>Notes</translate></td>
130
   <td valign="top"><TMPL_VAR notes ESCAPE=HTML></td>
130
   <td valign="top">[% HTML.escape(notes) %]</td>
131 131
  </tr>
132 132

  
133 133
 </table>
......
139 139

  
140 140

  
141 141

  
142
 <TMPL_LOOP SHIPTO>
142
 [% FOREACH row = SHIPTO %]
143 143

  
144 144
  <hr>
145 145

  
146 146
  <p><translate>Jump to</translate> <a href="#billing"><translate>Billing Address</translate></a>
147
   <TMPL_LOOP SHIPTO>, <a href="#shipping<TMPL_VAR __counter__>"><translate>Shipping Address</translate> &quot;<TMPL_VAR shiptoname ESCAPE=HTML>&quot;</a></TMPL_LOOP>
148
   <TMPL_LOOP CONTACTS>, <a href="#contact<TMPL_VAR __counter__>"><translate>Contact Person</translate> &quot;<TMPL_VAR cp_name ESCAPE=HTML>&quot;</a></TMPL_LOOP></p>
147
   [% FOREACH shipto = SHIPTO %], <a href="#shipping[% loop.count %]"><translate>Shipping Address</translate> &quot;[% HTML.escape(shipto.shiptoname) %]&quot;</a>[% END %]
148
   [% FOREACH contact = CONTACTS %], <a href="#contact[% loop.count %]"><translate>Contact Person</translate> &quot;[% HTML.escape(contact.cp_name) %]&quot;</a>[% END %]</p>
149 149

  
150 150
  <hr>
151 151

  
152
  <a name="shipping<TMPL_VAR __counter__>"><div class="listheading"><translate>Shipping Address</translate> &quot;<TMPL_VAR shiptoname ESCAPE=HTML>&quot;</div></a>
152
  <a name="shipping[% loop.count %]"><div class="listheading"><translate>Shipping Address</translate> &quot;[% HTML.escape(row.shiptoname) %]&quot;</div></a>
153 153

  
154 154
  <table>
155 155
   <tr>
156 156
    <td align="right"><translate>Company Name</translate></td>
157
    <td><TMPL_VAR shiptoname ESCAPE=HTML></td>
157
    <td>[% HTML.escape(row.shiptoname) %]</td>
158 158
   </tr>
159 159

  
160 160
   <tr>
161 161
    <td align="right"><translate>Department</translate></td>
162
    <td><TMPL_VAR shiptodepartment_1 ESCAPE=HTML><TMPL_IF shiptodepartment_2><TMPL_IF shiptodepartment_1>; </TMPL_IF><TMPL_VAR shiptodepartment_2 ESCAPE=HTML></TMPL_IF></td>
162
    <td>[% HTML.escape(row.shiptodepartment_1) %][% IF row.shiptodepartment_2 %][% IF row.shiptodepartment_1 %]; [% END %][% HTML.escape(row.shiptodepartment_2) %][% END %]</td>
163 163
   </tr>
164 164

  
165 165
   <tr>
166 166
    <td align="right"><translate>Street</translate></td>
167
    <td><TMPL_VAR shiptostreet ESCAPE=HTML></td>
167
    <td>[% HTML.escape(row.shiptostreet) %]</td>
168 168
   </tr>
169 169

  
170 170
   <tr>
171 171
    <td align="right"><translate>Zip, City</translate></td>
172
    <td><TMPL_VAR shiptozipcode ESCAPE=HTML> <TMPL_VAR shiptocity ESCAPE=HTML></td>
172
    <td>[% HTML.escape(row.shiptozipcode) %] [% HTML.escape(row.shiptocity) %]</td>
173 173
   </tr>
174 174

  
175 175
   <tr>
176 176
    <td align="right"><translate>Country</translate></td>
177
    <td><TMPL_VAR shiptocountry ESCAPE=HTML></td>
177
    <td>[% HTML.escape(row.shiptocountry) %]</td>
178 178
   </tr>
179 179

  
180 180
   <tr>
181 181
    <td align="right"><translate>Contact Person</translate></td>
182
    <td><TMPL_VAR shiptocontact ESCAPE=HTML></td>
182
    <td>[% HTML.escape(row.shiptocontact) %]</td>
183 183
   </tr>
184 184

  
185 185
   <tr>
186 186
    <td align="right"><translate>Phone</translate></td>
187
    <td><TMPL_VAR shiptophone ESCAPE=HTML></td>
187
    <td>[% HTML.escape(row.shiptophone) %]</td>
188 188
   </tr>
189 189

  
190 190
   <tr>
191 191
    <td align="right"><translate>Fax</translate></td>
192
    <td><TMPL_VAR shiptofax ESCAPE=HTML></td>
192
    <td>[% HTML.escape(row.shiptofax) %]</td>
193 193
   </tr>
194 194

  
195 195
   <tr>
196 196
    <td align="right"><translate>E-mail</translate></td>
197
    <td><TMPL_VAR shiptoemail ESCAPE=HTML></td>
197
    <td>[% HTML.escape(row.shiptoemail) %]</td>
198 198
   </tr>
199 199

  
200 200
  </table>
201
 </TMPL_LOOP>
201
 [% END %]
202 202

  
203 203

  
204 204

  
......
209 209

  
210 210

  
211 211

  
212
 <TMPL_LOOP CONTACTS>
212
 [% FOREACH row = CONTACTS %]
213 213

  
214 214
  <hr>
215 215

  
216 216
  <p><translate>Jump to</translate> <a href="#billing"><translate>Billing Address</translate></a>
217
   <TMPL_LOOP SHIPTO>, <a href="#shipping<TMPL_VAR __counter__>"><translate>Shipping Address</translate> &quot;<TMPL_VAR shiptoname ESCAPE=HTML>&quot;</a></TMPL_LOOP>
218
   <TMPL_LOOP CONTACTS>, <a href="#contact<TMPL_VAR __counter__>"><translate>Contact Person</translate> &quot;<TMPL_VAR cp_name ESCAPE=HTML>&quot;</a></TMPL_LOOP></p>
217
   [% FOREACH shipto = SHIPTO %], <a href="#shipping[% loop.count %]"><translate>Shipping Address</translate> &quot;[% HTML.escape(shipto.shiptoname) %]&quot;</a>[% END %]
218
   [% FOREACH contact = CONTACTS %], <a href="#contact[% loop.count %]"><translate>Contact Person</translate> &quot;[% HTML.escape(contact.cp_name) %]&quot;</a>[% END %]</p>
219 219

  
220 220
  <hr>
221 221

  
222
  <a name="contact<TMPL_VAR __counter__>"><div class="listheading"><translate>Contact Person</translate> &quot;<TMPL_VAR cp_name ESCAPE=HTML>&quot;</div></a>
222
  <a name="contact[% loop.count %]"><div class="listheading"><translate>Contact Person</translate> &quot;[% HTML.escape(row.cp_name) %]&quot;</div></a>
223 223

  
224 224
  <table>
225 225
   <tr>
226 226
    <td align="right"><translate>Greeting</translate></td>
227
    <td><TMPL_VAR cp_greeting ESCAPE=HTML></td>
227
    <td>[% HTML.escape(row.cp_greeting) %]</td>
228 228
   </tr>
229 229

  
230 230
   <tr>
231 231
    <td align="right"><translate>Title</translate></td>
232
    <td><TMPL_VAR cp_title ESCAPE=HTML></td>
232
    <td>[% HTML.escape(row.cp_title) %]</td>
233 233
   </tr>
234 234

  
235 235
   <tr>
236 236
    <td align="right"><translate>Given Name</translate></td>
237
    <td><TMPL_VAR cp_givenname ESCAPE=HTML></td>
237
    <td>[% HTML.escape(row.cp_givenname) %]</td>
238 238
   </tr>
239 239

  
240 240
   <tr>
241 241
    <td align="right"><translate>Name</translate></td>
242
    <td><TMPL_VAR cp_name ESCAPE=HTML></td>
242
    <td>[% HTML.escape(row.cp_name) %]</td>
243 243
   </tr>
244 244

  
245 245
   <tr>
246 246
    <td align="right"><translate>Department</translate></td>
247
    <td><TMPL_VAR cp_abteilung ESCAPE=HTML></td>
247
    <td>[% HTML.escape(row.cp_abteilung) %]</td>
248 248
   </tr>
249 249

  
250 250
   <tr>
251 251
    <td align="right"><translate>Phone1</translate></td>
252
    <td><TMPL_VAR cp_phone1 ESCAPE=HTML></td>
252
    <td>[% HTML.escape(row.cp_phone1) %]</td>
253 253
   </tr>
254 254

  
255 255
   <tr>
256 256
    <td align="right"><translate>Phone2</translate></td>
257
    <td><TMPL_VAR cp_phone2 ESCAPE=HTML></td>
257
    <td>[% HTML.escape(row.cp_phone2) %]</td>
258 258
   </tr>
259 259

  
260 260
   <tr>
261 261
    <td align="right"><translate>Fax</translate></td>
262
    <td><TMPL_VAR cp_fax ESCAPE=HTML></td>
262
    <td>[% HTML.escape(row.cp_fax) %]</td>
263 263
   </tr>
264 264

  
265 265
   <tr>
266 266
    <td align="right"><translate>Mobile1</translate></td>
267
    <td><TMPL_VAR cp_mobile1 ESCAPE=HTML></td>
267
    <td>[% HTML.escape(row.cp_mobile1) %]</td>
268 268
   </tr>
269 269

  
270 270
   <tr>
271 271
    <td align="right"><translate>Mobile2</translate></td>
272
    <td><TMPL_VAR cp_mobile2 ESCAPE=HTML></td>
272
    <td>[% HTML.escape(row.cp_mobile2) %]</td>
273 273
   </tr>
274 274

  
275 275
   <tr>
276 276
    <td align="right"><translate>Sat. Phone</translate></td>
277
    <td><TMPL_VAR cp_satphone ESCAPE=HTML></td>
277
    <td>[% HTML.escape(row.cp_satphone) %]</td>
278 278
   </tr>
279 279

  
280 280
   <tr>
281 281
    <td align="right"><translate>Sat. Fax</translate></td>
282
    <td><TMPL_VAR cp_satfax ESCAPE=HTML></td>
282
    <td>[% HTML.escape(row.cp_satfax) %]</td>
283 283
   </tr>
284 284

  
285 285
   <tr>
286 286
    <td align="right"><translate>Project</translate></td>
287
    <td><TMPL_VAR cp_project ESCAPE=HTML></td>
287
    <td>[% HTML.escape(row.cp_project) %]</td>
288 288
   </tr>
289 289

  
290 290
   <tr>
291 291
    <td align="right"><translate>E-mail</translate></td>
292
    <td><TMPL_VAR cp_email ESCAPE=HTML></td>
292
    <td>[% HTML.escape(row.cp_email) %]</td>
293 293
   </tr>
294 294

  
295 295
   <tr>
296 296
    <td align="right"><translate>Private Phone</translate></td>
297
    <td><TMPL_VAR cp_privatphone ESCAPE=HTML></td>
297
    <td>[% HTML.escape(row.cp_privatphone) %]</td>
298 298
   </tr>
299 299

  
300 300
   <tr>
301 301
    <td align="right"><translate>Private E-mail</translate></td>
302
    <td><TMPL_VAR cp_privatemail ESCAPE=HTML></td>
302
    <td>[% HTML.escape(row.cp_privatemail) %]</td>
303 303
   </tr>
304 304

  
305 305
   <tr>
306 306
    <td align="right"><translate>Birthday</translate></td>
307
    <td><TMPL_VAR cp_birthday ESCAPE=HTML></td>
307
    <td>[% HTML.escape(row.cp_birthday) %]</td>
308 308
   </tr>
309 309

  
310 310
  </table>
311 311

  
312
 </TMPL_LOOP>
312
 [% END %]
313 313

  
314 314
</body>
315 315
</html>

Auch abrufbar als: Unified diff