Version 16.227.2

This commit is contained in:
Antonio Cañas Vargas 2017-05-30 09:42:01 +02:00
parent 66d35b5c37
commit 588c0a5c92
2 changed files with 8 additions and 9 deletions

View File

@ -229,19 +229,19 @@
// TODO: Al listar administradores, debería estar marcado por defecto "Incluir fotos"
// TODO: Behaviour of register non-editing teachers in groups should be similar to register students.
/*****************************************************************************/
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.227.1 (2017-05-30)"
#define Log_PLATFORM_VERSION "SWAD 16.227.2 (2017-05-30)"
#define CSS_FILE "swad16.226.css"
#define JS_FILE "swad16.206.3.js"
// 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
/*
Version 16.227.3: May 30, 2017 Behaviour of registering non-editing teachers in groups similar to registering students. (? lines)
Version 16.227.2: May 30, 2017 Button to upload photo integrated in alert. (220694 lines)
Version 16.227.1: May 30, 2017 Button to check email integrated in alert. (220693 lines)
Version 16.227: May 30, 2017 Changes in selector or roles in record cards. (220694 lines)
Version 16.226.1: May 29, 2017 Changes in contextual links related to users enrolment. (220637 lines)

View File

@ -246,6 +246,7 @@ void Usr_InformAboutNumClicksBeforePhoto (void)
extern struct Act_Actions Act_Actions[Act_NUM_ACTIONS];
extern const char *Txt_You_must_send_your_photo_because_;
extern const char *Txt_You_can_only_perform_X_further_actions_;
extern const char *Txt_Upload_photo;
char Message[512]; // Don't use Gbl.Alert.Txt here, because it may be filled with another message and such message would be overwritten
if (Gbl.Usrs.Me.NumAccWithoutPhoto)
@ -255,12 +256,10 @@ void Usr_InformAboutNumClicksBeforePhoto (void)
else if (Act_Actions[Gbl.Action.Act].BrowserWindow == Act_THIS_WINDOW)
{
sprintf (Message,Txt_You_can_only_perform_X_further_actions_,
Pho_MAX_CLICKS_WITHOUT_PHOTO-Gbl.Usrs.Me.NumAccWithoutPhoto);
Ale_ShowAlert (Ale_WARNING,Message);
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\">");
Pho_PutLinkToChangeMyPhoto ();
fprintf (Gbl.F.Out,"</div>");
Pho_MAX_CLICKS_WITHOUT_PHOTO - Gbl.Usrs.Me.NumAccWithoutPhoto);
Ale_ShowAlertAndButton (Ale_WARNING,Message,
ActReqMyPho,NULL,NULL,NULL,
Lay_CONFIRM_BUTTON,Txt_Upload_photo);
}
}
}