{% set shop = oEmailView.getShop() %} {% set oViewConf = oEmailView.getViewConfig() %} {# CMS-Snippet With Intro-Text #} {% ifcontent ident "c4s_cust_email_shopowner" set oContent %} {{ oContent.oxcontents__oxcontent.value }} {% endifcontent %} {# Registerform User-Data #} {% for key, param in aParams %} {# DATA ACCOUNT #} {% block c4s_register_mail_owner_data_account %} {% if sEmail or param.blnewssubscribed %} {{ translate({ ident: "C4S_SECTION_ACCOUNT" }) }} {% endif %} {# ox :: username (email) #} {% block c4s_register_mail_owner_data_account_mail %} {% if sEmail %} {{ translate({ ident: "EMAIL_ADDRESS", suffix: "COLON" }) }} {{ sEmail }} {% endif %} {% endblock %} {# ox :: newsletter #} {% block c4s_register_mail_owner_data_account_newsletter %} {% if param.blnewssubscribed == "1" %} {{ translate({ ident: "NEWSLETTER_SUBSCRIPTION", suffix: "COLON" }) }} {% if param.blnewssubscribed == "1" %}Ja{% else %}Nein{% endif %} {% endif %} {% endblock %} {% endblock %} {# /DATA ACCOUNT #} {# DATA CONTACT PERSON #} {% block c4s_register_mail_owner_data_person %} {% if param.oxuser__oxsal or param.oxuser__c4stitle or param.oxuser__oxfname or param.oxuser__oxlname or param.oxuser__oxfon %} {{ translate({ ident: "C4S_SECTION_PERSON", suffix: "COLON" }) }} {% endif %} {# ox :: customer salutation #} {% block c4s_register_mail_owner_data_person_sal %} {% if param.oxuser__oxsal %} {{ translate({ ident: "TITLE", suffix: "COLON" }) }} {% if param.oxuser__oxsal|lower == "mr" %}{{ translate({ ident: "MR" }) }}{% else %}{{ translate({ ident: "MRS" }) }}{% endif %} {% endif %} {% endblock %} {# c4s :: customer title #} {% block c4s_register_mail_owner_data_person_title %} {% if param.oxuser__c4stitle %} {{ translate({ ident: "C4S_REGISTER_TITLE", suffix: "COLON" }) }} {{ param.oxuser__c4stitle }} {% endif %} {% endblock %} {# ox :: first name #} {% block c4s_register_mail_owner_data_person_fname %} {% if param.oxuser__oxfname %} {{ translate({ ident: "FIRST_NAME", suffix: "COLON" }) }} {{ param.oxuser__oxfname }} {% endif %} {% endblock %} {# ox :: last name #} {% block c4s_register_mail_owner_data_person_lname %} {% if param.oxuser__oxlname %} {{ translate({ ident: "LAST_NAME", suffix: "COLON" }) }} {{ param.oxuser__oxlname }} {% endif %} {% endblock %} {# ox :: fon #} {% block c4s_register_mail_owner_data_person_fon %} {% if param.oxuser__oxfon %} {{ translate({ ident: "PHONE", suffix: "COLON" }) }} {{ param.oxuser__oxfon }} {% endif %} {% endblock %} {% endblock %} {# /DATA PERSON #} {# DATA CLIENT #} {% block c4s_register_mail_owner_data_client %} {% if param.oxuser__oxcompany or param.oxuser__oxstreet or param.oxuser__oxstreetnr or param.oxuser__oxaddinfo or param.oxuser__oxcountry or param.oxuser__oxzip or param.oxuser__oxcity or param.oxuser__oxustid or param.oxuser__c4straderegister %} {{ translate({ ident: "C4S_SECTION_CLIENT", suffix: "COLON" }) }} {% endif %} {# ox :: company name #} {% block c4s_register_mail_owner_data_client_company %} {% if param.oxuser__oxcompany %} {{ translate({ ident: "C4S_REGISTER_COMPANY", suffix: "COLON" }) }} {{ param.oxuser__oxcompany }} {% endif %} {% endblock %} {# ox :: street #} {% block c4s_register_mail_owner_data_client_street %} {% if param.oxuser__oxstreet %} {{ translate({ ident: "C4S_REGISTER_STREET", suffix: "COLON" }) }} {{ param.oxuser__oxstreet }} {% endif %} {% endblock %} {# ox :: streetnumber #} {% block c4s_register_mail_owner_data_client_streetnr %} {% if param.oxuser__oxstreetnr %} {{ translate({ ident: "C4S_REGISTER_STREET_NR", suffix: "COLON" }) }} {{ param.oxuser__oxstreetnr }} {% endif %} {% endblock %} {# ox :: additional address info #} {% block c4s_register_mail_owner_data_client_add_info %} {% if param.oxuser__oxaddinfo %} {{ translate({ ident: "C4S_REGISTER_ADD_ADRESS_INFO", suffix: "COLON" }) }} {{ param.oxuser__oxaddinfo }} {% endif %} {% endblock %} {# ox: zip #} {% block c4s_register_mail_owner_data_client_zip %} {% if param.oxuser__oxzip %} {{ translate({ ident: "C4S_REGISTER_ZIP", suffix: "COLON" }) }} {{ param.oxuser__oxzip }} {% endif %} {% endblock %} {# ox: city #} {% block c4s_register_mail_owner_data_client_city %} {% if param.oxuser__oxcity %} {{ translate({ ident: "C4S_REGISTER_CITY", suffix: "COLON" }) }} {{ param.oxuser__oxcity }} {% endif %} {% endblock %} {# ox: country #} {% block c4s_register_mail_owner_data_client_country %} {% if param.oxuser__oxcountryid and oCountry and oCountry.getId() %} {{ translate({ ident: "C4S_REGISTER_COUNTRY", suffix: "COLON" }) }} {{ oCountry.oxcountry__oxtitle.value }} {% endif %} {% endblock %} {# ox :: ustID #} {% block c4s_register_mail_owner_data_client_ustid %} {% if param.oxuser__oxustid %} {{ translate({ ident: "C4S_REGISTER_VAT_ID_NUMBER", suffix: "COLON" }) }} {{ param.oxuser__oxustid }} {% endif %} {% endblock %} {# c4s :: tradeID #} {% block c4s_register_mail_owner_data_client_tradeid %} {% if param.oxuser__c4straderegister %} {{ translate({ ident: "C4S_REGISTER_TRADEREGISTER_NO", suffix: "COLON" }) }} {{ param.oxuser__c4straderegister }} {% endif %} {% endblock %} {% block c4s_register_mail_owner_data_client_mail %} {% if param.oxuser__c4sclientmail %} {{ translate({ ident: "C4S_REGISTER_CLIENT_MAIL", suffix: "COLON" }) }} {{ param.oxuser__c4sclientmail }} {% endif %} {% endblock %} {% block c4s_register_mail_owner_data_client_billing_mail %} {% if param.oxuser__c4sclientbillingmail %} {{ translate({ ident: "C4S_REGISTER_CLIENT_BILLING_MAIL", suffix: "COLON" }) }} {{ param.oxuser__c4sclientbillingmail }} {% endif %} {% endblock %} {% block c4s_register_mail_owner_data_client_confirmation_mail %} {% if param.oxuser__c4sclientconfirmationmail %} {{ translate({ ident: "C4S_REGISTER_CLIENT_CONFIRMATION_MAIL", suffix: "COLON" }) }} {{ param.oxuser__c4sclientconfirmationmail }} {% endif %} {% endblock %} {% endblock %} {# /DATA BILLING ADRESS #} {# ADDITIONAL FIELDS #} {% block c4s_register_mail_owner_additional %} {% if param.oxuser__c4smessage %} {{ translate({ ident: "C4S_SECTION_ADDITIONAL", suffix: "COLON" }) }} {% endif %} {# c4s :: message #} {% block c4s_register_mail_owner_additional_message %} {% if param.oxuser__c4smessage %} {{ translate({ ident: "C4S_REGISTER_MESSAGE_AREA", suffix: "COLON" }) }} {{ param.oxuser__c4smessage }} {% endif %} {% endblock %} {% endblock %} {# /ADDITIONAL FIELDS #} {% endfor %} {# Include E-Mail-Footer Template #} {% include "email/html/footer.html.twig" %}