-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathHtml.html
55 lines (55 loc) · 2.89 KB
/
Html.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{namespace formvh=TYPO3\CMS\Form\ViewHelpers}
{namespace formmailtext=Kitzberger\FormMailtext\ViewHelpers}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="format-detection" content="telephone=no">
</head>
<body>
<formmailtext:renderMessage message="{message -> f:format.html()}">
<table width="600" cellpadding="0" cellspacing="0" border="0">
<formvh:renderAllFormValues renderable="{form.formDefinition}" as="formValue">
<tr>
<f:if condition="{formValue.isSection}">
<f:then>
<td colspan="2"><b>{formvh:translateElementProperty(element: formValue.element, property: 'label')}</b></td>
</f:then>
<f:else>
<td width="600" valign="top" align="left">{formvh:translateElementProperty(element: formValue.element, property: 'label')}</td>
<td width="600" valign="top" align="left">
<f:if condition="{formValue.value}">
<f:then>
<f:if condition="{formValue.isMultiValue}">
<f:then>
<table cellspacing="0" border="0">
<f:for each="{formValue.processedValue}" as="value">
<tr>
<td>{value}</td>
</tr>
</f:for>
</table>
</f:then>
<f:else>
<table cellspacing="0" border="0">
<tr>
<td><f:format.nl2br>{formValue.processedValue}</f:format.nl2br></td>
</tr>
</table>
</f:else>
</f:if>
</f:then>
<f:else>
-
</f:else>
</f:if>
</td>
</f:else>
</f:if>
</tr>
</formvh:renderAllFormValues>
</table>
</formmailtext:renderMessage>
</body>
</html>