+ {if $entry->field_id|strpos:'date_' === 0 or $entry->field_id eq 'ddn_adh'}
+ {assign var="template" value="date.tpl"}
+ {/if}
+ {if $entry->field_id eq 'adresse_adh'}
+ {assign var="template" value="address.tpl"}
+ {/if}
+ {if $entry->field_id eq 'mdp_adh'}
+ {if !$self_adh}
+ {assign var="template" value="password.tpl"}
+ {else}
+ {assign var="template" value="captcha.tpl"}
{/if}
- {if $entry->field_id eq 'info_adh'
- or $entry->field_id eq 'info_public_adh'}
- {assign var="template" value="textarea.tpl"}
- {if $entry->field_id eq 'info_adh'}
- {assign var="example" value={_T string="This comment is only displayed for admins and staff members."}}
- {else}
- {if $login->isAdmin() or $login->isStaff()}
- {assign var="example" value={_T string="This comment is reserved to the member."}}
- {/if}
+ {/if}
+ {if $entry->field_id eq 'info_adh'
+ or $entry->field_id eq 'info_public_adh'}
+ {assign var="template" value="textarea.tpl"}
+ {if $entry->field_id eq 'info_adh'}
+ {assign var="example" value={_T string="This comment is only displayed for admins and staff members."}}
+ {else}
+ {if $login->isAdmin() or $login->isStaff()}
+ {assign var="example" value={_T string="This comment is reserved to the member."}}
{/if}
{/if}
- {if $entry->field_id eq 'activite_adh'}
- {assign var="template" value="account.tpl"}
- {/if}
- {if $entry->field_id eq 'id_statut'}
- {assign var="template" value="status.tpl"}
- {/if}
-
- {if $entry->field_id eq 'gpgid'}
- {assign var="size" value="8"}
- {/if}
- {if $entry->field_id eq 'email_adh'}
- {assign var="size" value="30"}
- {/if}
- {if $entry->field_id eq 'fingerprint'}
- {assign var="size" value="40"}
- {/if}
- {if $entry->field_id eq 'bool_display_info'}
- {assign var="title" value={_T string="Do member want to appear publically?"}}
- {assign var="tip" value={_T string="If you check this box (and if you are up to date with your contributions), your full name and other information will be publically visible on the members list.<br/>If you've uploaded a photo, it will be displayed on the trombinoscope page.<br/>Note that administrators can disabled public pages, this setting will have no effect in that case."}}
+ {assign var="title" value={_T string="Do member want to appear publically?"}}
+ {assign var="tip" value={_T string="If you check this box (and if you are up to date with your contributions), your full name and other information will be publically visible on the members list.<br/>If you've uploaded a photo, it will be displayed on the trombinoscope page.<br/>Note that administrators can disabled public pages, this setting will have no effect in that case."}}