From 12ab35cf12c8d492f7d0457c4bcb6307e2363139 Mon Sep 17 00:00:00 2001 From: cy_altern Date: Sat, 22 Mar 2025 19:14:42 +0100 Subject: [PATCH] =?UTF-8?q?Chore=20:=20ajout=20du=20login=20(mais=20en=20d?= =?UTF-8?q?isabled)=20dans=20le=20form=20d'=C3=A9dition=20du=20compte.=20P?= =?UTF-8?q?assage=20en=20balise=20+=20condition=20plut=C3=B4t=20que=20BOUC?= =?UTF-8?q?LE=20condition=20pour=20le=20test=20de=20pr=C3=A9sence=20de=20v?= =?UTF-8?q?erifmobile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- comptespip_options.php | 11 ++++ css/comptespip.css | 4 +- formulaires/editer_compte_spip.html | 86 ++++++++++++++--------------- 3 files changed, 57 insertions(+), 44 deletions(-) diff --git a/comptespip_options.php b/comptespip_options.php index 745dd79..e8088aa 100644 --- a/comptespip_options.php +++ b/comptespip_options.php @@ -16,6 +16,17 @@ if (!defined('_ECRIRE_INC_VERSION')) { defined('_LOGIN_TROP_COURT') or define('_LOGIN_TROP_COURT', 1); $GLOBALS['comptespip_editer'] = [ + [ + 'saisie' => 'input', + 'options' => array( + 'nom' => 'login', + 'label' => 'Votre identifiant de connexion', + 'obligatoire' => 'non', + 'disable' => 'oui', + //'fonction' => 'ma_super_fonction' + //'modifier' => 'ma_super_fonction_pour_modifier' + ) + ], [ 'saisie' => 'input', 'options' => array( diff --git a/css/comptespip.css b/css/comptespip.css index 7f2c25a..ae29d27 100644 --- a/css/comptespip.css +++ b/css/comptespip.css @@ -41,9 +41,11 @@ float: left; } +/* .se_connecter .formulaire_spip { background-color: rgba(235, 235, 235, 1) !important; } +*/ .se_connecter .boutons { background-color: transparent !important; } @@ -58,7 +60,7 @@ padding: 0 1.5rem; margin-bottom: 1rem; letter-spacing: initial; - font-variant: small-caps; + /*font-variant: small-caps;*/ } .se_connecter #indicatif { width: 2rem; diff --git a/formulaires/editer_compte_spip.html b/formulaires/editer_compte_spip.html index b10c357..55f350b 100644 --- a/formulaires/editer_compte_spip.html +++ b/formulaires/editer_compte_spip.html @@ -32,51 +32,51 @@
- - -
- <:comptespip:telephone|ucfirst:> -
- #SET{erreurs,#ENV**{erreurs}|table_valeur{mobile}} - [(#GET{erreurs})] -
-
- + [(#PLUGIN{verifmob}|oui) + +
+ <:comptespip:telephone|ucfirst:> +
+ [(#SET{erreurs,#ENV**{erreurs}|table_valeur{mobile}})] + [(#GET{erreurs})] +
+
+ +
+ + +
- - -
-
-
- - #SET{erreurs,#ENV**{erreurs}|table_valeur{confirmation_sms}} - [(#GET{erreurs})] - -
- -
- [(#INCLURE{fond=inclure/verif_mobile})] - +
+ + [(#SET{erreurs,#ENV**{erreurs}|table_valeur{confirmation_sms}})] + [(#GET{erreurs})] + +
+ + + [(#INCLURE{fond=inclure/verif_mobile})] + ]