]> git.mxchange.org Git - mailer.git/blobdiff - templates/de/html/sponsor/sponsor_account_form.tpl
Rewrote some code, added templates/functions:
[mailer.git] / templates / de / html / sponsor / sponsor_account_form.tpl
index 16f0466650ffc0c07f7aa01f8b5e543f3ce87dd4..f61b5544ae50d06cbf096e1f1aecbb4852b52fd9 100644 (file)
 <div align="center">
-<form accept-charset="utf-8" action="{?URL?}/modules.php?module=sponsor&amp;what=account" method="post" style="padding-bottom: 0px">
-<table border="0" cellspacing="0" cellpadding="0" width="550" class="sponsor_table dashed">
+{%form,formMethodPost=modules.php?module=sponsor&amp;what=account%}
+<table border="0" cellspacing="0" cellpadding="0" width="550" class="table dashed">
 <tr>
-  <td colspan="2" align="center" class="sponsor_header bottom" height="32">
-    <strong>{--SPONSOR_ENTER_COMPANY_DATA--}:</strong>
-  </td>
+       <td colspan="2" align="center" class="table_header bottom" height="32">
+               <strong>{--SPONSOR_ENTER_COMPANY_DATA--}:</strong>
+       </td>
 </tr>
 <tr>
-  <td class="bottom right" width="275" align="right" height="27">
-    {--SPONSOR_ENTER_COMPANY_TITLE--}:&nbsp;
-  </td>
-  <td class="bottom" width="275">
-    &nbsp;<input type="text" name="company" class="guest_normal" size="20" maxlength="255" value="$content[company]" />
-  </td>
+       <td class="bottom right" align="right" height="27">
+               {--SPONSOR_ENTER_COMPANY_TITLE--}:
+       </td>
+       <td class="bottom">
+               <input type="text" class="form_field" name="company" size="20" maxlength="255" value="{%sponsor,company=$content[id]%}" />
+       </td>
 </tr>
 <tr>
-  <td class="bottom right" width="275" align="right" height="27">
-    {--SPONSOR_ENTER_COMPANY_POSITION--}:&nbsp;
-  </td>
-  <td class="bottom" width="275">
-    &nbsp;<input type="text" name="position" class="guest_normal" size="20" maxlength="255" value="$content[position]" />
-  </td>
+       <td class="bottom right" align="right" height="27">
+               {--SPONSOR_ENTER_COMPANY_POSITION--}:
+       </td>
+       <td class="bottom">
+               <input type="text" class="form_field" name="position" size="20" maxlength="255" value="{%sponsor,position=$content[id]%}" />
+       </td>
 </tr>
 <tr>
-  <td class="bottom right" width="275" align="right" height="27">
-    {--SPONSOR_ENTER_TAX_IDENT--}:&nbsp;
-  </td>
-  <td class="bottom" width="275">
-    &nbsp;<input type="text" name="tax_ident" class="guest_normal" size="20" maxlength="255" value="$content[tax_ident]" />
-  </td>
+       <td class="bottom right" align="right" height="27">
+               {--SPONSOR_ENTER_TAX_IDENT--}:
+       </td>
+       <td class="bottom">
+               <input type="text" class="form_field" name="tax_ident" size="20" maxlength="255" value="{%sponsor,tax_ident=$content[id]%}" />
+       </td>
 </tr>
 <tr>
-  <td colspan="2" align="center" class="sponsor_header bottom" height="32">
-    <strong>{--SPONSOR_ENTER_PERSONA_DATA--}:</strong>
-  </td>
+       <td colspan="2" align="center" class="table_header bottom" height="32">
+               <strong>{--SPONSOR_ENTER_PERSONA_DATA--}:</strong>
+       </td>
 </tr>
 <tr>
-  <td class="bottom right" width="275" align="right" height="27">
-    {--GUEST_GENDER--}:&nbsp;
-  </td>
-  <td class="bottom" width="275">
-    &nbsp;<select name="gender" class="guest_select" size="1">
-      <option value="M"$content[gender_m]>{--GENDER_M--}</option>
-      <option value="F"$content[gender_f]>{--GENDER_F--}</option>
-      <option value="C"$content[gender_c]>{--GENDER_C--}</option>
-    </select>
-  </td>
+       <td class="bottom right" align="right" height="27">
+               {--GENDER--}:
+       </td>
+       <td class="bottom">
+               {%pipe,generateGenderSelectionBox=$content[gender]%}
+       </td>
 </tr>
 <tr>
-  <td class="bottom right" width="275" align="right" height="27">
-    {--GUEST_SURNAME--}:&nbsp;
-  </td>
-  <td class="bottom" width="275">
-    &nbsp;<input type="text" name="surname" class="guest_normal" size="20" maxlength="255" value="$content[surname]" />
-  </td>
+       <td class="bottom right" align="right" height="27">
+               {--GUEST_SURNAME--}:
+       </td>
+       <td class="bottom">
+               <input type="text" class="form_field" name="surname" size="20" maxlength="255" value="{%sponsor,surname=$content[id]%}" />
+       </td>
 </tr>
 <tr>
-  <td class="bottom right" width="275" align="right" height="27">
-    {--GUEST_FAMILY--}:&nbsp;
-  </td>
-  <td class="bottom" width="275">
-    &nbsp;<input type="text" name="family" class="guest_normal" size="20" maxlength="255" value="$content[family]" />
-  </td>
+       <td class="bottom right" align="right" height="27">
+               {--GUEST_FAMILY--}:
+       </td>
+       <td class="bottom">
+               <input type="text" class="form_field" name="family" size="20" maxlength="255" value="{%sponsor,family=$content[id]%}" />
+       </td>
 </tr>
 <tr>
-  <td colspan="2" align="center" class="sponsor_header bottom" height="32">
-    <strong>{--SPONSOR_ENTER_CONTACT_DATA--}</strong>
-  </td>
+       <td colspan="2" align="center" class="table_header bottom" height="32">
+               <strong>{--SPONSOR_ENTER_CONTACT_DATA--}</strong>
+       </td>
 </tr>
 <tr>
-  <td class="bottom right" width="275" align="right" height="27">
-    {--SPONSOR_ENTER_STREET_NR1--}:&nbsp;
-  </td>
-  <td class="bottom" width="275">
-    &nbsp;<input type="text" name="street_nr1" class="guest_normal" size="20" maxlength="255" value="$content[street_nr1]" />
-  </td>
+       <td class="bottom right" align="right" height="27">
+               {--SPONSOR_ENTER_STREET_NR1--}:
+       </td>
+       <td class="bottom">
+               <input type="text" class="form_field" name="street_nr1" size="20" maxlength="255" value="{%sponsor,street_nr1=$content[id]%}" />
+       </td>
 </tr>
 <tr>
-  <td class="bottom right" width="275" align="right" height="27">
-    {--SPONSOR_ENTER_STREET_NR2--}:&nbsp;
-  </td>
-  <td class="bottom" width="275">
-    &nbsp;<input type="text" name="street_nr2" class="guest_normal" size="20" maxlength="255" value="$content[street_nr2]" />
-  </td>
+       <td class="bottom right" align="right" height="27">
+               {--SPONSOR_ENTER_STREET_NR2--}:
+       </td>
+       <td class="bottom">
+               <input type="text" class="form_field" name="street_nr2" size="20" maxlength="255" value="{%sponsor,street_nr2=$content[id]%}" />
+       </td>
 </tr>
 <tr>
-  <td class="bottom right" width="275" align="right" height="27">
-    {--SPONSOR_ENTER_CNTRY_ZIP_CITY--}:&nbsp;
-  </td>
-  <td class="bottom" width="275">
-    &nbsp;<input type="text" name="country" class="guest_normal" size="2" maxlength="2" value="$content[country]" />-<input type="text" name="zip" class="guest_normal" size="5" maxlength="6" value="$content[zip]" />
-    <input type="text" name="city" class="guest_normal" size="10" maxlength="255" value="$content[city]" />
-  </td>
+       <td class="bottom right" align="right" height="27">
+               {--SPONSOR_ENTER_COUNTRY_CODE_ZIP_CITY--}:
+       </td>
+       <td class="bottom">
+               <input type="text" class="form_field" name="country" size="2" maxlength="2" value="{%sponsor,country=$content[id]%}" />-<input type="text" class="form_field" name="zip" size="5" maxlength="6" value="{%sponsor,zip,bigintval=$content[id]%}" />
+               <input type="text" class="form_field" name="city" size="10" maxlength="255" value="{%sponsor,city=$content[id]%}" />
+       </td>
 </tr>
 <tr>
-  <td class="bottom right" width="275" align="right" height="27">
-    {--SPONSOR_ENTER_PHONE--}:&nbsp;
-  </td>
-  <td class="bottom" width="275">
-    &nbsp;<input type="text" name="phone" class="guest_normal" size="20" maxlength="255" value="$content[phone]" />
-  </td>
+       <td class="bottom right" align="right" height="27">
+               {--SPONSOR_ENTER_PHONE--}:
+       </td>
+       <td class="bottom">
+               <input type="text" class="form_field" name="phone" size="20" maxlength="255" value="$content[phone]" />
+       </td>
 </tr>
 <tr>
-  <td class="bottom right" width="275" align="right" height="27">
-    {--SPONSOR_ENTER_FAX--}:&nbsp;
-  </td>
-  <td class="bottom" width="275">
-    &nbsp;<input type="text" name="fax" class="guest_normal" size="20" maxlength="255" value="$content[fax]" />
-  </td>
+       <td class="bottom right" align="right" height="27">
+               {--SPONSOR_ENTER_FAX--}:
+       </td>
+       <td class="bottom">
+               <input type="text" class="form_field" name="fax" size="20" maxlength="255" value="$content[fax]" />
+       </td>
 </tr>
 <tr>
-  <td class="bottom right" width="275" align="right" height="27">
-    {--SPONSOR_ENTER_CELL--}:&nbsp;
-  </td>
-  <td class="bottom" width="275">
-    &nbsp;<input type="text" name="cell" class="guest_normal" size="20" maxlength="255" value="$content[cell]" />
-  </td>
+       <td class="bottom right" align="right" height="27">
+               {--SPONSOR_ENTER_CELL--}:
+       </td>
+       <td class="bottom">
+               <input type="text" class="form_field" name="cell" size="20" maxlength="255" value="$content[cell]" />
+       </td>
 </tr>
 <tr>
-  <td class="bottom right" width="275" align="right" height="27">
-    {--SPONSOR_ENTER_EMAIL--}:&nbsp;
-  </td>
-  <td class="bottom" width="275">
-    &nbsp;<input type="text" name="email" class="guest_normal" size="20" maxlength="255" value="$content[email]" />
-  </td>
+       <td class="bottom right" align="right" height="27">
+               {--SPONSOR_ENTER_EMAIL--}:
+       </td>
+       <td class="bottom">
+               <input type="text" class="form_field" name="email" size="20" maxlength="255" value="$content[email]" />
+       </td>
 </tr>
 <tr>
-  <td class="bottom right" width="275" align="right" height="27">
-    {--SPONSOR_ENTER_URL--}:&nbsp;
-  </td>
-  <td class="bottom" width="275">
-    &nbsp;<input type="text" name="url" class="guest_normal" size="20" maxlength="255" value="$content[url]" />
-  </td>
+       <td class="bottom right" align="right" height="27">
+               {--SPONSOR_ENTER_URL--}:
+       </td>
+       <td class="bottom">
+               <input type="text" class="form_field" name="url" size="20" maxlength="255" value="$content[url]" />
+       </td>
 </tr>
 <tr>
-  <td class="sponsor_header bottom" colspan="2" align="center" height="37">
-    <strong>{--SPONSOR_ENTER_OLD_PASSWORD--}:</strong>
-  </td>
+       <td class="table_header bottom" colspan="2" align="center" height="37">
+               <strong>{--SPONSOR_ENTER_OLD_PASSWORD--}:</strong>
+       </td>
 </tr>
 <tr>
-  <td class="bottom right" width="275" align="right" height="27">
-    {--SPONSOR_ENTER_PASSWORD--}:&nbsp;
-  </td>
-  <td class="bottom" width="275">
-    &nbsp;<input type="password" name="pass_old" class="guest_normal" size="10" maxlength="255" />
-  </td>
+       <td class="bottom right" align="right" height="27">
+               {--SPONSOR_ENTER_PASSWORD--}:
+       </td>
+       <td class="bottom">
+               <input type="password" class="form_field" name="pass_old" size="10" maxlength="255" />
+       </td>
 </tr>
 <tr>
-  <td class="sponsor_header bottom" colspan="2" align="center" height="37">
-    <strong>{--SPONSOR_CHANGE_PASSWORD--}:</strong>
-  </td>
+       <td class="table_header bottom" colspan="2" align="center" height="37">
+               <strong>{--SPONSOR_CHANGE_PASSWORD--}:</strong>
+       </td>
 </tr>
 <tr>
-  <td class="bottom right" width="275" align="right" height="27">
-    {--SPONSOR_ENTER_PASSWORDS--}:&nbsp;
-  </td>
-  <td class="bottom" width="275">
-    &nbsp;<input type="password" name="pass1" class="guest_normal" size="10" maxlength="255" />
-    <input type="password" name="pass2" class="guest_normal" size="10" maxlength="255" />
-  </td>
+       <td class="bottom right" align="right" height="27">
+               {--SPONSOR_ENTER_PASSWORDS--}:
+       </td>
+       <td class="bottom">
+               <input type="password" class="form_field" name="password1" size="10" maxlength="255" />
+               <input type="password" class="form_field" name="password2" size="10" maxlength="255" />
+       </td>
 </tr>
 <tr>
-  <td class="bottom" colspan="2" align="center">
-    <div class="tiny guest_note">{--SPONSOR_PASSWORD_NOTE--}</div>
-  </td>
+       <td class="bottom" colspan="2" align="center">
+               <div class="tiny notice">{--SPONSOR_PASSWORD_NOTICE--}</div>
+       </td>
 </tr>
 <tr>
-  <td class="sponsor_footer" colspan="2" align="center" height="32">
-    <input type="reset" class="guest_reset" value="{--CLEAR_FORM--}" />
-    <input type="submit" name="ok" class="guest_submit" value="{--SAVE_SETTINGS--}" />
-  </td>
+       <td class="table_footer" colspan="2" align="center" height="32">
+               <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+               <input type="submit" class="form_submit" name="ok" value="{--SAVE_SETTINGS--}" />
+       </td>
 </tr>
 </table>
-</form>
+{%form_close%}
 </div>