mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-14 12:44:09 +02:00
Version 16.193.6
This commit is contained in:
parent
7acc389a4f
commit
d4e4d9d5ac
|
@ -924,19 +924,22 @@ static void Acc_AskIfRemoveOtherUsrAccount (void)
|
||||||
|
|
||||||
if (Usr_ChkIfUsrCodExists (Gbl.Usrs.Other.UsrDat.UsrCod))
|
if (Usr_ChkIfUsrCodExists (Gbl.Usrs.Other.UsrDat.UsrCod))
|
||||||
{
|
{
|
||||||
Lay_ShowAlert (Lay_WARNING,Txt_Do_you_really_want_to_completely_eliminate_the_following_user);
|
/***** Show question and button to remove user as administrator *****/
|
||||||
|
/* Start alert */
|
||||||
|
Lay_ShowAlertAndButton1 (Lay_QUESTION,Txt_Do_you_really_want_to_completely_eliminate_the_following_user);
|
||||||
|
|
||||||
|
/* Show user's record */
|
||||||
Rec_ShowSharedRecordUnmodifiable (&Gbl.Usrs.Other.UsrDat);
|
Rec_ShowSharedRecordUnmodifiable (&Gbl.Usrs.Other.UsrDat);
|
||||||
|
|
||||||
|
/* Show form to request confirmation */
|
||||||
Act_FormStart (ActRemUsrGbl);
|
Act_FormStart (ActRemUsrGbl);
|
||||||
Usr_PutParamOtherUsrCodEncrypted ();
|
Usr_PutParamOtherUsrCodEncrypted ();
|
||||||
|
|
||||||
/* Ask for consent on dangerous actions */
|
|
||||||
Pwd_AskForConfirmationOnDangerousAction ();
|
Pwd_AskForConfirmationOnDangerousAction ();
|
||||||
|
|
||||||
Lay_PutRemoveButton (Txt_Eliminate_user_account);
|
Lay_PutRemoveButton (Txt_Eliminate_user_account);
|
||||||
|
|
||||||
Act_FormEnd ();
|
Act_FormEnd ();
|
||||||
|
|
||||||
|
/* End alert */
|
||||||
|
Lay_ShowAlertAndButton2 (ActUnk,NULL,Lay_NO_BUTTON,NULL);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
Lay_ShowAlert (Lay_WARNING,Txt_User_not_found_or_you_do_not_have_permission_);
|
Lay_ShowAlert (Lay_WARNING,Txt_User_not_found_or_you_do_not_have_permission_);
|
||||||
|
|
|
@ -221,13 +221,14 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 16.193.5 (2017-04-27)"
|
#define Log_PLATFORM_VERSION "SWAD 16.193.6 (2017-04-27)"
|
||||||
#define CSS_FILE "swad16.193.4.css"
|
#define CSS_FILE "swad16.193.4.css"
|
||||||
#define JS_FILE "swad16.181.js"
|
#define JS_FILE "swad16.181.js"
|
||||||
|
|
||||||
// Number of lines (includes comments but not blank lines) has been got with the following command:
|
// 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 sql/swad*.sql | tail -1
|
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*?.h sql/swad*.sql | tail -1
|
||||||
/*
|
/*
|
||||||
|
Version 16.193.6: Apr 27, 2017 Changed dialog to remove user account. (218322 lines)
|
||||||
Version 16.193.5: Apr 27, 2017 Changed dialog to remove user from course. (218316 lines)
|
Version 16.193.5: Apr 27, 2017 Changed dialog to remove user from course. (218316 lines)
|
||||||
Version 16.193.4: Apr 27, 2017 Changes in layout of alerts.
|
Version 16.193.4: Apr 27, 2017 Changes in layout of alerts.
|
||||||
Changed dialog to remove user as administrator. (218311 lines)
|
Changed dialog to remove user as administrator. (218311 lines)
|
||||||
|
|
10
swad_text.c
10
swad_text.c
|
@ -8632,21 +8632,21 @@ const char *Txt_Do_you_really_want_to_completely_eliminate_the_following_user =
|
||||||
#if L==1
|
#if L==1
|
||||||
"¿Realmente desea eliminar completamente la cuenta del siguiente usuario?"; // Necessita traduccio
|
"¿Realmente desea eliminar completamente la cuenta del siguiente usuario?"; // Necessita traduccio
|
||||||
#elif L==2
|
#elif L==2
|
||||||
"Do you really want to completely eliminate the following user?"; // Need Übersetzung
|
"Do you really want to completely eliminate the following user?"; // Need Übersetzung
|
||||||
#elif L==3
|
#elif L==3
|
||||||
"Do you really want to completely eliminate the following user?";
|
"Do you really want to completely eliminate the following user?";
|
||||||
#elif L==4
|
#elif L==4
|
||||||
"¿Realmente desea eliminar completamente la cuenta del siguiente usuario?";
|
"¿Realmente desea eliminar por completo la cuenta del siguiente usuario?";
|
||||||
#elif L==5
|
#elif L==5
|
||||||
"Do you really want to completely eliminate the following user?"; // Besoin de traduction
|
"Do you really want to completely eliminate the following user?"; // Besoin de traduction
|
||||||
#elif L==6
|
#elif L==6
|
||||||
"¿Realmente desea eliminar completamente la cuenta del siguiente usuario?"; // Okoteve traducción
|
"¿Realmente desea eliminar por completo la cuenta del siguiente usuario?"; // Okoteve traducción
|
||||||
#elif L==7
|
#elif L==7
|
||||||
"Vuoi realmente rimuovere totalmente il seguente utente?";
|
"Vuoi realmente rimuovere totalmente il seguente utente?";
|
||||||
#elif L==8
|
#elif L==8
|
||||||
"Czy na pewno chcesz, aby calkowicie wyeliminowac nastepujacych uzytkowników?";
|
"Czy na pewno chcesz, aby calkowicie wyeliminowac nastepujacych uzytkowników?";
|
||||||
#elif L==9
|
#elif L==9
|
||||||
"Do you really want to completely eliminate the following user?"; // Necessita de tradução
|
"Do you really want to completely eliminate the following user?"; // Necessita de tradução
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const char *Txt_Do_you_really_want_to_completely_eliminate_your_user_account =
|
const char *Txt_Do_you_really_want_to_completely_eliminate_your_user_account =
|
||||||
|
|
Loading…
Reference in New Issue
Block a user