Skip to content

Instantly share code, notes, and snippets.

@Kaapiii
Last active December 12, 2015 04:18
Show Gist options
  • Save Kaapiii/4713134 to your computer and use it in GitHub Desktop.
Save Kaapiii/4713134 to your computer and use it in GitHub Desktop.
Contrexx3 Newsletter Module Files
<div id="newsletter">
<!-- BEGIN newsletter_error_message -->
<div class="errorMessage">
[[NEWSLETTER_ERROR_MESSAGE]]</div>
<!-- END newsletter_error_message --><!-- BEGIN newsletter_ok_message -->
<div class="okMessage">
[[NEWSLETTER_OK_MESSAGE]]</div>
<!-- END newsletter_ok_message --><!-- BEGIN newsletterForm -->
<div class="form">
<form action="[[NODE_NEWSLETTER_PROFILE]]" method="post" name="newsletter">
<input type="hidden" name="code" value="[[NEWSLETTER_USER_CODE]]" />
<input type="hidden" name="mail" value="[[NEWSLETTER_PROFILE_MAIL]]" />
<!-- BEGIN recipient_profile -->
<fieldset>
<legend>Profil Daten</legend>
<p>
<label for="email">[[TXT_NEWSLETTER_EMAIL_ADDRESS]]</label><input maxlength="255" name="email" type="text" value="[[NEWSLETTER_EMAIL]]" /></p>
<!-- BEGIN recipient_sex -->
<p>
<label>[[TXT_NEWSLETTER_SEX]] [[NEWSLETTER_RECIPIENT_SEX_MANDATORY]]</label><input id="female" name="sex" type="radio" value="f" [[NEWSLETTER_SEX_F]] /><label class="description" for="female">[[TXT_NEWSLETTER_FEMALE]]</label></p>
<p>
<input id="male" name="sex" type="radio" value="m" [[NEWSLETTER_SEX_M]] /><label class="description" for="male">[[TXT_NEWSLETTER_MALE]]</label></p>
<!-- END recipient_sex --><!-- BEGIN recipient_salutation -->
<p>
<label>[[TXT_NEWSLETTER_SALUTATION]] [[NEWSLETTER_RECIPIENT_SALUTATION_MANDATORY]]</label>[[NEWSLETTER_SALUTATION]]</p>
<!-- END recipient_salutation --><!-- BEGIN recipient_title -->
<p>
<label>[[TXT_NEWSLETTER_TITLE]] [[NEWSLETTER_RECIPIENT_TITLE_MANDATORY]]</label><input maxlength="255" name="title" type="text" value="[[NEWSLETTER_TITLE]]" /></p>
<!-- END recipient_title --><!-- BEGIN recipient_firstname -->
<p>
<label for="firstname">[[TXT_NEWSLETTER_FIRSTNAME]] [[NEWSLETTER_RECIPIENT_FIRSTNAME_MANDATORY]]</label><input maxlength="255" name="firstname" type="text" value="[[NEWSLETTER_FIRSTNAME]]" /></p>
<!-- END recipient_firstname --><!-- BEGIN recipient_lastname -->
<p>
<label for="lastname">[[TXT_NEWSLETTER_LASTNAME]] [[NEWSLETTER_RECIPIENT_LASTNAME_MANDATORY]]</label><input maxlength="255" name="lastname" type="text" value="[[NEWSLETTER_LASTNAME]]" /></p>
<!-- END recipient_lastname --><!-- BEGIN recipient_position -->
<p>
<label for="position">[[TXT_NEWSLETTER_POSITION]] [[NEWSLETTER_RECIPIENT_POSITION_MANDATORY]]</label><input maxlength="255" name="position" type="text" value="[[NEWSLETTER_POSITION]]" /></p>
<!-- END recipient_position --><!-- BEGIN recipient_company -->
<p>
<label for="company">[[TXT_NEWSLETTER_COMPANY]] [[NEWSLETTER_RECIPIENT_COMPANY_MANDATORY]]</label><input maxlength="255" name="company" type="text" value="[[NEWSLETTER_COMPANY]]" /></p>
<!-- END recipient_company --><!-- BEGIN recipient_industry -->
<p>
<label for="industry_sector">[[TXT_NEWSLETTER_INDUSTRY_SECTOR]] [[NEWSLETTER_RECIPIENT_INDUSTRY_MANDATORY]]</label><input maxlength="255" name="industry_sector" type="text" value="[[NEWSLETTER_INDUSTRY_SECTOR]]" /></p>
<!-- END recipient_industry --><!-- BEGIN recipient_address -->
<p>
<label for="address">[[TXT_NEWSLETTER_ADDRESS]] [[NEWSLETTER_RECIPIENT_ADDRESS_MANDATORY]]</label><input maxlength="255" name="address" type="text" value="[[NEWSLETTER_ADDRESS]]" /></p>
<!-- END recipient_address --><!-- BEGIN recipient_city -->
<p>
<label for="city">[[TXT_NEWSLETTER_CITY]] [[NEWSLETTER_RECIPIENT_CITY_MANDATORY]]</label><input maxlength="255" name="city" type="text" value="[[NEWSLETTER_CITY]]" /></p>
<!-- END recipient_city --><!-- BEGIN recipient_zip -->
<p>
<label for="zip">[[TXT_NEWSLETTER_ZIP]] [[NEWSLETTER_RECIPIENT_ZIP_MANDATORY]]</label><input maxlength="255" name="zip" type="text" value="[[NEWSLETTER_ZIP]]" /></p>
<!-- END recipient_zip --><!-- BEGIN recipient_country -->
<p>
<label for="country">[[TXT_NEWSLETTER_COUNTRY]] [[NEWSLETTER_RECIPIENT_COUNTRY_MANDATORY]]</label>[[NEWSLETTER_COUNTRY]]</p>
<!-- END recipient_country --><!-- BEGIN recipient_phone -->
<p>
<label for="phone_office">[[TXT_NEWSLETTER_PHONE]] [[NEWSLETTER_RECIPIENT_PHONE_MANDATORY]]</label><input maxlength="255" name="phone_office" type="text" value="[[NEWSLETTER_PHONE]]" /></p>
<!-- END recipient_phone --><!-- BEGIN recipient_private -->
<p>
<label for="phone_private">[[TXT_NEWSLETTER_PHONE_PRIVATE]] [[NEWSLETTER_RECIPIENT_PRIVATE_MANDATORY]]</label><input maxlength="255" name="phone_private" type="text" value="[[NEWSLETTER_PHONE_PRIVATE]]" /></p>
<!-- END recipient_private --><!-- BEGIN recipient_mobile -->
<p>
<label for="phone_mobile">[[TXT_NEWSLETTER_PHONE_MOBILE]] [[NEWSLETTER_RECIPIENT_MOBILE_MANDATORY]]</label><input maxlength="255" name="phone_mobile" type="text" value="[[NEWSLETTER_PHONE_MOBILE]]" /></p>
<!-- END recipient_mobile --><!-- BEGIN recipient_fax -->
<p>
<label for="fax">[[TXT_NEWSLETTER_FAX]] [[NEWSLETTER_RECIPIENT_FAX_MANDATORY]]</label><input maxlength="255" name="fax" type="text" value="[[NEWSLETTER_FAX]]" /></p>
<!-- END recipient_fax --><!-- BEGIN recipient_birthday -->
<p>
<label>[[TXT_NEWSLETTER_BIRTHDAY]] [[NEWSLETTER_RECIPIENT_BIRTHDAY_MANDATORY]]</label> <select name="day" style="width:75px"><option value="0">[[TXT_NEWSLETTER_RECIPIENT_DATE]]</option><!-- BEGIN birthday_day --><option [[SELECTED_DAY]] value="[[USERS_BIRTHDAY_DAY]]">[[USERS_BIRTHDAY_DAY_NAME]]</option><!-- END birthday_day --></select> <select name="month" style="width:170px"><option value="0">[[TXT_NEWSLETTER_RECIPIENT_MONTH]]</option><!-- BEGIN birthday_month --><option value="[[USERS_BIRTHDAY_MONTH]]" [[SELECTED_MONTH]]>[[USERS_BIRTHDAY_MONTH_NAME]]</option><!-- END birthday_month --></select> <select name="year" style="width:75px"><option value="0">[[TXT_NEWSLETTER_RECIPIENT_YEAR]]</option><!-- BEGIN birthday_year --><option value="[[USERS_BIRTHDAY_YEAR]]" [[SELECTED_YEAR]]>[[USERS_BIRTHDAY_YEAR]]</option><!-- END birthday_year --></select></p>
<!-- END recipient_birthday --><!-- BEGIN recipient_website -->
<p>
<label for="website">[[TXT_NEWSLETTER_WEBSITE]] [[NEWSLETTER_RECIPIENT_WEBSITE_MANDATORY]]</label><input maxlength="255" name="website" type="text" value="[[NEWSLETTER_WEBSITE]]" /></p>
<!-- END recipient_website --></fieldset>
<!-- END recipient_profile --><!-- BEGIN newsletter_lists -->
<fieldset>
<legend>Newsletter</legend> <!-- BEGIN newsletter_list -->
<p>
<input id="list_[[NEWSLETTER_LIST_ID]]" name="list[[[NEWSLETTER_LIST_ID]]]" type="checkbox" value="1" [[NEWSLETTER_LIST_SELECTED]] /><label class="description" for="list_[[NEWSLETTER_LIST_ID]]">[[NEWSLETTER_LIST_NAME]]</label></p>
<!-- END newsletter_list --></fieldset>
<!-- END newsletter_lists -->
<p>
<input name="recipient_save" type="submit" value="[[TXT_NEWSLETTER_SAVE]]" /></p>
</form>
</div>
<!-- END newsletterForm -->
</div>
<div id="newsletter">
<!-- BEGIN newsletter_error_message -->
<div class="errorMessage">[[NEWSLETTER_ERROR_MESSAGE]]</div>
<!-- END newsletter_error_message -->
<!-- BEGIN newsletter_ok_message -->
<div class="okMessage">[[NEWSLETTER_OK_MESSAGE]]</div>
<!-- END newsletter_ok_message -->
<!-- BEGIN newsletterForm -->
<div class="form">
<fieldset>
<legend>Anmeldeformular</legend>
<form action="index.php?section=newsletter&amp;cmd=subscribe" method="post" name="newsletter">
<p><label for="email">[[TXT_NEWSLETTER_EMAIL_ADDRESS]]</label><input maxlength="255" name="email" type="text" value="[[NEWSLETTER_EMAIL]]" /></p>
<p><label>[[TXT_NEWSLETTER_SEX]]</label><input id="female" name="sex" type="radio" value="f" /><label class="description" for="female">[[TXT_NEWSLETTER_FEMALE]]</label></p>
<p><input id="male" name="sex" type="radio" value="m" /><label class="description" for="male">[[TXT_NEWSLETTER_MALE]]</label></p>
<p><label>[[TXT_NEWSLETTER_TITLE]]</label>[[NEWSLETTER_SALUTATION]]</p>
<p><label for="lastname">[[TXT_NEWSLETTER_LASTNAME]]</label><input maxlength="255" name="lastname" type="text" value="[[NEWSLETTER_LASTNAME]]" /></p>
<p><label for="firstname">[[TXT_NEWSLETTER_FIRSTNAME]]</label><input maxlength="255" name="firstname" type="text" value="[[NEWSLETTER_FIRSTNAME]]" /></p>
<p><label for="company">[[TXT_NEWSLETTER_COMPANY]]</label><input maxlength="255" name="company" type="text" value="[[NEWSLETTER_COMPANY]]" /></p>
<p><label for="street">[[TXT_NEWSLETTER_STREET]]</label><input maxlength="255" name="street" type="text" value="[[NEWSLETTER_STREET]]" /></p>
<p><label for="zip">[[TXT_NEWSLETTER_ZIP]]</label><input maxlength="255" name="zip" type="text" value="[[NEWSLETTER_ZIP]]" /></p>
<p><label for="city">[[TXT_NEWSLETTER_CITY]]</label><input maxlength="255" name="city" type="text" value="[[NEWSLETTER_CITY]]" /></p>
<p><label for="country">[[TXT_NEWSLETTER_COUNTRY]]</label>[[NEWSLETTER_COUNTRY]]</p>
<p><label for="phone">[[TXT_NEWSLETTER_PHONE]]</label><input maxlength="255" name="phone" type="text" value="[[NEWSLETTER_PHONE]]" /></p>
<p>
<label>[[TXT_NEWSLETTER_BIRTHDAY]]&nbsp;[[NEWSLETTER_RECIPIENT_BIRTHDAY_MANDATORY]]</label>
<select name="day" style="width:75px">
<option value="0">[[TXT_NEWSLETTER_RECIPIENT_DATE]]</option>
<!-- BEGIN birthday_day -->
<option value="[[USERS_BIRTHDAY_DAY]]">[[USERS_BIRTHDAY_DAY_NAME]]</option>
<!-- END birthday_day -->
</select>
<select name="month" style="width:170px">
<option value="0">[[TXT_NEWSLETTER_RECIPIENT_MONTH]]</option>
<!-- BEGIN birthday_month -->
<option value="[[USERS_BIRTHDAY_MONTH]]">[[USERS_BIRTHDAY_MONTH_NAME]]</option>
<!-- END birthday_month -->
</select>
<select name="year" style="width:75px">
<option value="0">[[TXT_NEWSLETTER_RECIPIENT_YEAR]]</option>
<!-- BEGIN birthday_year -->
<option value="[[USERS_BIRTHDAY_YEAR]]">[[USERS_BIRTHDAY_YEAR]]</option>
<!-- END birthday_year -->
</select>
</p>
<p><label for="uri">[[TXT_NEWSLETTER_URI]]</label><input maxlength="255" name="uri" type="text" value="[[NEWSLETTER_URI]]" /></p> -->
<!-- BEGIN newsletter_lists -->
<p><input id="list_[[NEWSLETTER_LIST_ID]]" name="list[[[NEWSLETTER_LIST_ID]]]" type="checkbox" value="1" /><label class="description" for="list_[[NEWSLETTER_LIST_ID]]">[[NEWSLETTER_LIST_NAME]]</label></p>
<!-- END newsletter_lists -->
<p><input name="recipient_save" type="submit" value="[[TXT_NEWSLETTER_SAVE]]" /></p>
</form>
</fieldset>
</div>
<!-- END newsletterForm -->
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment