|
6 | 6 | {if $container->getLabel() !== null} |
7 | 7 | {if $container->getDescription() !== null} |
8 | 8 | <header class="sectionHeader"> |
9 | | - <h2 class="sectionTitle">{@$container->getLabel()}{if $container->markAsRequired()} <span class="formFieldRequired">*</span>{/if}</h2> |
10 | | - <p class="sectionDescription">{@$container->getDescription()}</p> |
| 9 | + <h2 class="sectionTitle">{unsafe:$container->getLabel()}{if $container->markAsRequired()} <span class="formFieldRequired">*</span>{/if}</h2> |
| 10 | + <p class="sectionDescription">{unsafe:$container->getDescription()}</p> |
11 | 11 | </header> |
12 | 12 | {else} |
13 | | - <h2 class="sectionTitle">{@$container->getLabel()}{if $container->markAsRequired()} <span class="formFieldRequired">*</span>{/if}</h2> |
| 13 | + <h2 class="sectionTitle">{unsafe:$container->getLabel()}{if $container->markAsRequired()} <span class="formFieldRequired">*</span>{/if}</h2> |
14 | 14 | {/if} |
15 | 15 | {/if} |
16 | 16 |
|
17 | 17 | {lang}wcf.user.security.multifactor.totp.newDevice.description{/lang} |
18 | 18 |
|
19 | 19 | <div class="multifactorTotpNewDevice"> |
20 | 20 | {if $container->getNodeById('secret')->isAvailable()} |
21 | | - {@$container->getNodeById('secret')->getFieldHtml()} |
| 21 | + {unsafe:$container->getNodeById('secret')->getFieldHtml()} |
22 | 22 | {/if} |
23 | 23 |
|
24 | 24 | <div class="multifactorTotpNewDeviceFields"> |
25 | 25 | {foreach from=$container item='child'} |
26 | 26 | {if $child->getId() !== 'secret' && $child->getId() !== 'submitButton' && $child->isAvailable()} |
27 | | - {@$child->getHtml()} |
| 27 | + {unsafe:$child->getHtml()} |
28 | 28 | {/if} |
29 | 29 | {/foreach} |
30 | 30 |
|
31 | 31 | {if $container->getNodeById('submitButton')->isAvailable()} |
32 | 32 | <div class="formSubmit"> |
33 | | - {@$container->getNodeById('submitButton')->getHtml()} |
| 33 | + {unsafe:$container->getNodeById('submitButton')->getHtml()} |
34 | 34 | </div> |
35 | 35 | {/if} |
36 | 36 | </div> |
|
41 | 41 |
|
42 | 42 | <script data-relocate="true"> |
43 | 43 | require(['WoltLabSuite/Core/Form/Builder/Field/Dependency/Container/Default'], function(DefaultContainerDependency) { |
44 | | - new DefaultContainerDependency('{@$container->getPrefixedId()|encodeJS}Container'); |
| 44 | + new DefaultContainerDependency('{unsafe:$container->getPrefixedId()|encodeJS}Container'); |
45 | 45 | }); |
46 | 46 | </script> |
0 commit comments