Passage en chaine de langue du form de config + debut de gestion en
partie
This commit is contained in:
parent
61a98417d8
commit
adbc6bde54
2 changed files with 31 additions and 16 deletions
|
@ -10,6 +10,7 @@
|
|||
#ACTION_FORMULAIRE
|
||||
|
||||
<fieldset>
|
||||
<legend><:comptespip:conf_formulaire_inscription:></legend>
|
||||
<div class="editer_groupe">
|
||||
#SET{name,id_presentation}
|
||||
#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
|
||||
|
@ -24,25 +25,25 @@
|
|||
#SET{name,statut}
|
||||
#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
|
||||
<div class="editer editer_[(#GET{name})][ (#GET{erreurs}|oui)erreur]">
|
||||
<label for="#GET{name}">Statut du compte</label>
|
||||
<label for="#GET{name}"><:comptespip:conf_statut:></label>
|
||||
[<span class="erreur_message">(#GET{erreurs})</span>]
|
||||
<input type="text" class="text statut" name="#GET{name}" id="#GET{name}" value="#ENV{#GET{name}}" >
|
||||
<p class="explication">Si pas renseigné, inscription impossible</p>
|
||||
<p class="explication"><:comptespip:conf_statut_expl:></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="editer_groupe">
|
||||
#SET{name,unicite_email}
|
||||
#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
|
||||
<label>Unicité des emails lors de l'inscription</label>
|
||||
<div class="editer editer_[(#GET{name})][ (#GET{erreurs}|oui)erreur]">
|
||||
<label><:comptespip:conf_label_unicite_email:></label>
|
||||
<div class="choix">
|
||||
<input type="radio" class="radio" name="#GET{name}" value="non" id="#GET{name}_non"[ (#ENV{#GET{name}}|=={non}|?{checked="checked"})] >
|
||||
<label for="#GET{name}_non">Non</label>
|
||||
<label for="#GET{name}_non"><:comptespip:non:></label>
|
||||
</div>
|
||||
<div class="choix">
|
||||
<input type="radio" class="radio" name="#GET{name}" value="oui" id="#GET{name}_oui"[ (#ENV{#GET{name}}|non|?{checked="checked"})] >
|
||||
<label for="#GET{name}_oui">Oui</label>
|
||||
<input type="radio" class="radio" name="#GET{name}" value="" id="#GET{name}_oui"[ (#ENV{#GET{name}}|non|?{checked="checked"})] >
|
||||
<label for="#GET{name}_oui"><:comptespip:oui:></label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -53,7 +54,7 @@
|
|||
#SET{name,aut_modele}
|
||||
#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
|
||||
<div class="editer editer_[(#GET{name})][ (#GET{erreurs}|oui)erreur]">
|
||||
<label for="#GET{name}">Nom du modèle d'autorisations</label>
|
||||
<label for="#GET{name}"><:comptespip:conf_nom_modele_autorisation:></label>
|
||||
[<span class="erreur_message">(#GET{erreurs})</span>]
|
||||
<input type="text" class="text aut_modele" name="#GET{name}" id="#GET{name}" value="#ENV{#GET{name}}" >
|
||||
</div>
|
||||
|
@ -66,10 +67,10 @@
|
|||
#SET{name,mail_inscription_sujet}
|
||||
#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
|
||||
<div class="editer editer_[(#GET{name})][ (#GET{erreurs}|oui)erreur]">
|
||||
<label for="#GET{name}">Sujet du mail</label>
|
||||
<label for="#GET{name}"><:comptespip:conf_sujet_mail:></label>
|
||||
[<span class="erreur_message">(#GET{erreurs})</span>]
|
||||
<input type="text" class="text mail_inscription_sujet" name="#GET{name}" id="#GET{name}" value="#ENV{#GET{name}}" >
|
||||
<p class="explication">Si pas renseigné, récupère celui par defaut de SPIP</p>
|
||||
<p class="explication"><:comptespip:conf_sujet_mail_expl:></p>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
@ -78,15 +79,15 @@
|
|||
<div class="editer_groupe">
|
||||
#SET{name,connexion_auto}
|
||||
#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
|
||||
<label>Connexion automatique après l'inscription</label>
|
||||
<div class="editer editer_[(#GET{name})][ (#GET{erreurs}|oui)erreur]">
|
||||
<label><:comptespip:conf_label_connexion_auto:></label>
|
||||
<div class="choix">
|
||||
<input type="radio" class="radio" name="#GET{name}" value="non" id="#GET{name}_non"[ (#ENV{#GET{name}}|non|?{checked="checked"})] >
|
||||
<label for="#GET{name}_non">Non</label>
|
||||
<label for="#GET{name}_non"><:comptespip:non:></label>
|
||||
</div>
|
||||
<div class="choix">
|
||||
<input type="radio" class="radio" name="#GET{name}" value="oui" id="#GET{name}_oui"[ (#ENV{#GET{name}}|=={oui}|?{checked="checked"})] >
|
||||
<label for="#GET{name}_oui">Oui</label>
|
||||
<label for="#GET{name}_oui"><:comptespip:oui:></label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -95,14 +96,12 @@
|
|||
#SET{name,page_redirection_connexion}
|
||||
#SET{erreurs,#ENV**{erreurs}|table_valeur{#GET{name}}}
|
||||
<div class="editer editer_[(#GET{name})][ (#GET{erreurs}|oui)erreur]">
|
||||
<label for="#GET{name}">Nom de la page de redirection</label>
|
||||
<label for="#GET{name}"><:comptespip:conf_label_page_redirection:></label>
|
||||
[<span class="erreur_message">(#GET{erreurs})</span>]
|
||||
<input type="text" class="text page_redirection_connexion" name="#GET{name}" id="#GET{name}" value="#ENV{#GET{name}}" >
|
||||
<p class="explication">Si vide, page sommaire</p>
|
||||
<p class="explication"><:comptespip:conf_label_page_redirection_expl:></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</fieldset>
|
||||
|
||||
|
||||
|
|
|
@ -14,11 +14,27 @@ $GLOBALS[$GLOBALS['idx_lang']] = array(
|
|||
'cfg_exemple' => 'Exemple',
|
||||
'cfg_exemple_explication' => 'Explication de cet exemple',
|
||||
'cfg_titre_parametrages' => 'Paramétrages',
|
||||
'conf_formulaire_inscription' => 'Configuration du formulaire d\'inscription',
|
||||
'conf_sujet_mail' => 'Sujet du mail post inscription',
|
||||
'conf_nom_modele_autorisation' => "Nom du modèle d'autorisations",
|
||||
'conf_sujet_mail_expl' => "Si pas renseigné, récupère celui par defaut de SPIP",
|
||||
'conf_statut' => "Statut du compte",
|
||||
'conf_statut_expl' => "Si pas renseigné, inscription impossible",
|
||||
'conf_label_unicite_email' => "Unicité des emails lors de l'inscription",
|
||||
'conf_label_connexion_auto' => "Connexion automatique après l'inscription",
|
||||
'conf_label_page_redirection' => "Nom de la page de redirection",
|
||||
'conf_label_page_redirection_expl' => "Si vide, page sommaire",
|
||||
|
||||
|
||||
// MM
|
||||
'message_mail' => 'Voici vos identifiants pour vous connecter sur le site "@nom_site_spip@" (@adresse_login@) :',
|
||||
|
||||
// NN
|
||||
'non' => 'Non',
|
||||
|
||||
// OO
|
||||
'oui' => 'Oui',
|
||||
|
||||
// T
|
||||
'titre_page_configurer_comptespip' => 'CompteSPIP',
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue