Overview
Comment: | Changement dénomination champ privé |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable |
Files: | files | file ages | folders |
SHA1: |
ebc410d846a8c8993f765762e0c2b6c9 |
User & Date: | bohwaz on 2018-12-24 16:36:29 |
Other Links: | manifest | tags |
Context
2019-01-09
| ||
21:56 | Affichage des contributions en nature dans le compte de résultat check-in: 8666b175a3 user: bohwaz tags: trunk, stable | |
2019-01-08
| ||
14:59 | Merge trunk check-in: ae518b948a user: bohwaz tags: dev | |
2018-12-24
| ||
16:36 | Changement dénomination champ privé check-in: ebc410d846 user: bohwaz tags: trunk, stable | |
2018-12-20
| ||
11:37 | Fix: colonne menu_condition non existante lorsqu'on restaure un plugin après restauration DB ancienne check-in: b9274fb412 user: bohwaz tags: trunk, stable | |
Changes
Modified src/templates/admin/config/membres.tpl from [fcc1959f81] to [6c8773201e].
︙ | ︙ | |||
26 27 28 29 30 31 32 | <dl> {foreach from=$champs item="champ" key="nom"} {if $nom == 'passe'}{continue}{/if} {html_champ_membre config=$champ name=$nom disabled=true} {if empty($champ.editable) || !empty($champ.private)} <dd> {if !empty($champ.private)} | | | | 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | <dl> {foreach from=$champs item="champ" key="nom"} {if $nom == 'passe'}{continue}{/if} {html_champ_membre config=$champ name=$nom disabled=true} {if empty($champ.editable) || !empty($champ.private)} <dd> {if !empty($champ.private)} (Champ caché) {elseif empty($champ.editable)} (Non-modifiable par les membres) {/if} </dd> {/if} {/foreach} </dl> </fieldset> <fieldset id="f_passe"> <legend>Connexion</legend> <dl> <dt><label for="f_passe">Mot de passe</label>{if !empty($champs.passe.mandatory)} <b title="(Champ obligatoire)">obligatoire</b>{/if}</dt> <dd><input type="password" id="f_passe" disabled="disabled" /></dd> {if empty($champs.passe.editable) || !empty($champs.passe.private)} <dd> {if !empty($champs.passe.private)} (Champ caché) {elseif empty($champs.passe.editable)} (Non-modifiable par les membres) {/if} </dd> {/if} </dl> </fieldset> |
︙ | ︙ | |||
125 126 127 128 129 130 131 132 133 134 135 | <dl> <dt><label>Type</label></dt> <dd><input type="hidden" name="champs[{$nom}][type]" value="{$champ.type}" />{$champ.type|get_type}</dd> <dt><label for="f_{$nom}_title">Titre</label> <b title="(Champ obligatoire)">obligatoire</b></dt> <dd><input type="text" name="champs[{$nom}][title]" id="f_{$nom}_title" value="{form_field data=$champs->$nom name=title}" size="60" required="required" /></dd> <dt><label for="f_{$nom}_help">Aide</label></dt> <dd><input type="text" name="champs[{$nom}][help]" id="f_{$nom}_help" value="{form_field data=$champs->$nom name=help}" size="100" /></dd> <dt><label><input type="checkbox" name="champs[{$nom}][editable]" value="1" {form_field data=$champs->$nom name=editable checked="1"} /> Modifiable par les membres</label></dt> <dd class="help">Si coché, les membres pourront changer cette information depuis leur espace personnel.</dd> <dt><label><input type="checkbox" name="champs[{$nom}][mandatory]" value="1" {form_field data=$champs->$nom name=mandatory checked="1"} /> Champ obligatoire</label></dt> <dd class="help">Si coché, ce champ ne pourra rester vide.</dd> | > > < < | 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | <dl> <dt><label>Type</label></dt> <dd><input type="hidden" name="champs[{$nom}][type]" value="{$champ.type}" />{$champ.type|get_type}</dd> <dt><label for="f_{$nom}_title">Titre</label> <b title="(Champ obligatoire)">obligatoire</b></dt> <dd><input type="text" name="champs[{$nom}][title]" id="f_{$nom}_title" value="{form_field data=$champs->$nom name=title}" size="60" required="required" /></dd> <dt><label for="f_{$nom}_help">Aide</label></dt> <dd><input type="text" name="champs[{$nom}][help]" id="f_{$nom}_help" value="{form_field data=$champs->$nom name=help}" size="100" /></dd> <dt><label><input type="checkbox" name="champs[{$nom}][private]" value="1" {form_field data=$champs->$nom name=private checked="1"} /> Caché pour les membres</label></dt> <dd class="help">Si coché, ce champ ne sera pas visible par les membres dans leur espace personnel.</dd> <dt><label><input type="checkbox" name="champs[{$nom}][editable]" value="1" {form_field data=$champs->$nom name=editable checked="1"} /> Modifiable par les membres</label></dt> <dd class="help">Si coché, les membres pourront changer cette information depuis leur espace personnel.</dd> <dt><label><input type="checkbox" name="champs[{$nom}][mandatory]" value="1" {form_field data=$champs->$nom name=mandatory checked="1"} /> Champ obligatoire</label></dt> <dd class="help">Si coché, ce champ ne pourra rester vide.</dd> {if $champ.type == 'select' || $champ.type == 'multiple'} <dt><label>Options disponibles</label></dt> {if $champ.type == 'multiple'} <dd class="help">Attention changer l'ordre des options peut avoir des effets indésirables.</dd> {else} <dd class="help">Attention renommer ou supprimer une option n'affecte pas ce qui a déjà été enregistré dans les fiches des membres.</dd> {/if} |
︙ | ︙ | |||
161 162 163 164 165 166 167 168 169 170 171 | </fieldset> {/foreach} </div> <fieldset id="f_passe"> <legend>Mot de passe</legend> <dl> <dt><label><input type="checkbox" name="champs[passe][editable]" value="1" {form_field data=$champs.passe name=editable checked="1"} /> Modifiable par les membres</label></dt> <dd class="help">Si coché, les membres pourront changer cette information depuis leur espace personnel.</dd> <dt><label><input type="checkbox" name="champs[passe][mandatory]" value="1" {form_field data=$champs.passe name=mandatory checked="1"} /> Champ obligatoire</label></dt> <dd class="help">Si coché, ce champ ne pourra rester vide.</dd> | > > < < | 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 | </fieldset> {/foreach} </div> <fieldset id="f_passe"> <legend>Mot de passe</legend> <dl> <dt><label><input type="checkbox" name="champs[passe][private]" value="1" {form_field data=$champs.passe name=private checked="1"} /> Caché pour les membres</label></dt> <dd class="help">Si coché, ce champ ne sera pas visible par les membres dans leur espace personnel.</dd> <dt><label><input type="checkbox" name="champs[passe][editable]" value="1" {form_field data=$champs.passe name=editable checked="1"} /> Modifiable par les membres</label></dt> <dd class="help">Si coché, les membres pourront changer cette information depuis leur espace personnel.</dd> <dt><label><input type="checkbox" name="champs[passe][mandatory]" value="1" {form_field data=$champs.passe name=mandatory checked="1"} /> Champ obligatoire</label></dt> <dd class="help">Si coché, ce champ ne pourra rester vide.</dd> </dl> </fieldset> <p class="submit"> {csrf_field key="config_membres"} <input type="submit" name="reset" value="Annuler les changements" class="minor" /> <input type="submit" name="review" value="Enregistrer →" /> |
︙ | ︙ |