diff --git a/swad_changelog.h b/swad_changelog.h index 0cfa1562c..ca2bd61c2 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -42,11 +42,12 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 14.74.5 (2015/02/08)" +#define Log_PLATFORM_VERSION "SWAD 14.74.6 (2015/02/08)" // Number of lines (includes comments but not blank lines) has been got with the following command: // nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h | tail -1 /* + Version 14.74.6: Feb 08, 2015 Changes in layout of form to register/remove one user. (178009 lines) Version 14.74.5: Feb 08, 2015 Changes in layout of form to register/remove users. (178038 lines) Version 14.74.4: Feb 08, 2015 Changes in layout of form to register/remove users. (178000 lines) Version 14.74.3: Feb 08, 2015 Button to view banners. diff --git a/swad_enrollment.c b/swad_enrollment.c index ddd6217f6..3a6d367a1 100644 --- a/swad_enrollment.c +++ b/swad_enrollment.c @@ -617,7 +617,7 @@ static void Enr_ShowFormRegRemSeveralUsrs (void) fprintf (Gbl.F.Out,"" ""); - /***** Frame end *****/ + /***** End frame *****/ fprintf (Gbl.F.Out,"" ""); Lay_EndRoundFrameTable10 (); @@ -2640,7 +2640,7 @@ void Enr_ReqRegRemUsr (void) static void Enr_ReqAnotherUsrIDToRegisterRemove (void) { - extern const char *Txt_Enter_the_ID_of_the_user_you_want_to_register_remove_; + extern const char *Txt_Admin_one_user; /***** Put link to remove old users *****/ if (Gbl.Usrs.Me.LoggedRole == Rol_ROLE_SYS_ADM) @@ -2650,9 +2650,18 @@ static void Enr_ReqAnotherUsrIDToRegisterRemove (void) fprintf (Gbl.F.Out,""); } - Lay_ShowAlert (Lay_INFO,Txt_Enter_the_ID_of_the_user_you_want_to_register_remove_); + /***** Start frame *****/ + Lay_StartRoundFrameTable10 (NULL,2,Txt_Admin_one_user); + fprintf (Gbl.F.Out,"" + ""); + /***** Write form to request another user's ID *****/ Enr_WriteFormToReqAnotherUsrID (ActReqMdfUsr); + + /***** End frame *****/ + fprintf (Gbl.F.Out,"" + ""); + Lay_EndRoundFrameTable10 (); } /*****************************************************************************/ diff --git a/swad_text.c b/swad_text.c index 575df1e7d..15a0495e9 100644 --- a/swad_text.c +++ b/swad_text.c @@ -9948,45 +9948,6 @@ const char *Txt_Enter_from_X = // Warning: it is very important to include %s in "Digite partir %s"; #endif -const char *Txt_Enter_the_ID_of_the_user_you_want_to_register_remove_ = -#if L==0 - "Escriu el @sobrenom, correu o ID (DNI/cèdula)" - " de l'usuari que desitja inscriure/eliminar" - " o les dades voleu modificar."; -#elif L==1 - "Enter the @nick, e-mail or ID" - " of the user you want to register/remove" - " or whose data you want to modify."; // Need Übersetzung -#elif L==2 - "Enter the @nick, e-mail or ID" - " of the user you want to register/remove" - " or whose data you want to modify."; -#elif L==3 - "Escriba el @apodo, correo o ID (DNI/cédula)" - " del usuario que desea inscribir/eliminar" - " o cuyos datos desea modificar."; -#elif L==4 - "Enter the @nick, e-mail or ID" - " of the user you want to register/remove" - " or whose data you want to modify."; // Besoin de traduction -#elif L==5 - "Escriba el @apodo, correo o ID (DNI/cédula)" - " del usuario que desea inscribir/eliminar" - " o cuyos datos desea modificar."; // Okoteve traducción -#elif L==6 - "Introduci il @nome-utente, e-mail o ID" - " dell'utente che vuoi registrare/rimuovere" - " o la data di chi vuoi modificare."; -#elif L==7 - "Enter the @nick, e-mail or ID" - " of the user you want to register/remove" - " or whose data you want to modify."; // Potrzebujesz tlumaczenie -#elif L==8 - "Enter the @nick, e-mail or ID" - " of the user you want to register/remove" - " or whose data you want to modify."; // Necessita de tradução -#endif - const char *Txt_Error_getting_data_from_a_recipient = #if L==0 "Error obteniendo datos de un destinatario."; // Necessita traduccio