From: Marcel Werk Date: Fri, 22 Apr 2016 14:58:44 +0000 (+0200) Subject: Template overhaul X-Git-Tag: 3.0.0_Beta_1~12 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=366b52523aa1c68ddfbac76fcb359c9e08b62a51;p=GitHub%2FWoltLab%2Fcom.woltlab.wcf.legalNotice.git Template overhaul --- diff --git a/templates/legalNotice.tpl b/templates/legalNotice.tpl index 76b805a..4733dd5 100644 --- a/templates/legalNotice.tpl +++ b/templates/legalNotice.tpl @@ -1,84 +1,70 @@ -{include file='documentHeader'} +{capture assign='pageTitle'}{lang}wcf.legalNotice.title{/lang}{/capture} - - {lang}wcf.legalNotice.title{/lang} - {PAGE_TITLE|language} - - {include file='headInclude'} - - - +{capture assign='contentTitle'}{lang}wcf.legalNotice.title{/lang}{/capture} - - -{include file='header'} +{capture assign='contentDescription'}{lang}wcf.legalNotice.description{/lang}{/capture} -
-

{lang}wcf.legalNotice.title{/lang}

-

{lang}wcf.legalNotice.description{/lang}

-
+{capture assign='headContent'} + +{/capture} -{include file='userNotice'} +{include file='header'} -
-
- {lang}wcf.legalNotice.general{/lang} +
+

{lang}wcf.legalNotice.general{/lang}

+ +
+ {if LEGAL_NOTICE_ADDRESS} +
{lang}wcf.legalNotice.address{/lang}
+
{@LEGAL_NOTICE_ADDRESS|language|newlineToBreak}
+ {/if} -
- {if LEGAL_NOTICE_ADDRESS} -
{lang}wcf.legalNotice.address{/lang}
-
{@LEGAL_NOTICE_ADDRESS|language|newlineToBreak}
- {/if} - - {if $encodedEmailAddress} -
{lang}wcf.legalNotice.emailAddress{/lang}
-
{@$encodedEmailAddress}
- {/if} - - {if LEGAL_NOTICE_PHONE} -
{lang}wcf.legalNotice.phone{/lang}
-
{LEGAL_NOTICE_PHONE}
- {/if} - - {if LEGAL_NOTICE_FAX} -
{lang}wcf.legalNotice.fax{/lang}
-
{LEGAL_NOTICE_FAX}
- {/if} - - {if LEGAL_NOTICE_REPRESENTATIVE} -
{lang}wcf.legalNotice.representative{/lang}
-
{LEGAL_NOTICE_REPRESENTATIVE}
- {/if} - - {if LEGAL_NOTICE_REGISTER} -
{lang}wcf.legalNotice.register{/lang}
-
{LEGAL_NOTICE_REGISTER}
- {/if} - - {if LEGAL_NOTICE_VAT_ID} -
{lang}wcf.legalNotice.vatID{/lang}
-
{LEGAL_NOTICE_VAT_ID}
- {/if} -
+ {if $encodedEmailAddress} +
{lang}wcf.legalNotice.emailAddress{/lang}
+
{@$encodedEmailAddress}
+ {/if} - {event name='generalFields'} -
- - {if LEGAL_NOTICE_ADDITIONAL_TEXT} -
- {lang}wcf.legalNotice.additionalText{/lang} - -
- {if LEGAL_NOTICE_ADDITIONAL_TEXT_ENABLE_HTML}{@LEGAL_NOTICE_ADDITIONAL_TEXT|language}{else}{@LEGAL_NOTICE_ADDITIONAL_TEXT|language|newlineToBreak}{/if} -
- - {event name='additionalTextFields'} -
- {/if} + {if LEGAL_NOTICE_PHONE} +
{lang}wcf.legalNotice.phone{/lang}
+
{LEGAL_NOTICE_PHONE}
+ {/if} + + {if LEGAL_NOTICE_FAX} +
{lang}wcf.legalNotice.fax{/lang}
+
{LEGAL_NOTICE_FAX}
+ {/if} + + {if LEGAL_NOTICE_REPRESENTATIVE} +
{lang}wcf.legalNotice.representative{/lang}
+
{LEGAL_NOTICE_REPRESENTATIVE}
+ {/if} + + {if LEGAL_NOTICE_REGISTER} +
{lang}wcf.legalNotice.register{/lang}
+
{LEGAL_NOTICE_REGISTER}
+ {/if} + + {if LEGAL_NOTICE_VAT_ID} +
{lang}wcf.legalNotice.vatID{/lang}
+
{LEGAL_NOTICE_VAT_ID}
+ {/if} + - {event name='fieldsets'} -
+ {event name='generalFields'} + -{include file='footer'} +{if LEGAL_NOTICE_ADDITIONAL_TEXT} +
+

{lang}wcf.legalNotice.additionalText{/lang}

+ +
+ {if LEGAL_NOTICE_ADDITIONAL_TEXT_ENABLE_HTML}{@LEGAL_NOTICE_ADDITIONAL_TEXT|language}{else}{@LEGAL_NOTICE_ADDITIONAL_TEXT|language|newlineToBreak}{/if} +
+ + {event name='additionalTextFields'} +
+{/if} - - +{event name='sections'} + +{include file='footer'}