diff --git a/swad_changelog.h b/swad_changelog.h index fc70e0eba..a1f6d3deb 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -118,12 +118,13 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 15.72.5 (2015-12-24)" +#define Log_PLATFORM_VERSION "SWAD 15.72.6 (2015-12-24)" #define CSS_FILE "swad15.72.4.css" // 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 15.72.6: Dec 24, 2015 Debug message removed. (187796 lines) Version 15.72.5: Dec 24, 2015 Fixed bugs while sending a message to a unique recipient. (187794 lines) Version 15.72.4: Dec 23, 2015 Show recipient when writing message to only one recipient. (187775 lines) Version 15.72.3: Dec 23, 2015 Message translated. (187733 lines) diff --git a/swad_config.h b/swad_config.h index d3c3314f1..00d81fd70 100644 --- a/swad_config.h +++ b/swad_config.h @@ -28,9 +28,9 @@ /** Uncomment one of the following installations of SWAD or create your own **/ /*****************************************************************************/ -#define LOCALHOST_UBUNTU // Comment this line if not applicable +//#define LOCALHOST_UBUNTU // Comment this line if not applicable //#define OPENSWAD_ORG // Comment this line if not applicable -//#define SWAD_UGR_ES // Comment this line if not applicable +#define SWAD_UGR_ES // Comment this line if not applicable //#define WWW_CEVUNA_UNA_PY // Comment this line if not applicable /*****************************************************************************/ diff --git a/swad_message.c b/swad_message.c index 5952c0653..9b4675ce7 100644 --- a/swad_message.c +++ b/swad_message.c @@ -292,10 +292,6 @@ static void Msg_PutFormMsgUsrs (const char *Content) /***** Get list of users' IDs or nicknames written explicitely *****/ Usr_GetListMsgRecipientsWrittenExplicitelyBySender (false); - sprintf (Gbl.Message,"Gbl.Usrs.ListOtherRecipients = '%s'", - Gbl.Usrs.ListOtherRecipients); - Lay_ShowAlert (Lay_INFO,Gbl.Message); - /***** Get who to show as potential recipients: - only the selected recipient - any user (default) *****/ @@ -349,9 +345,11 @@ static void Msg_PutFormMsgUsrs (const char *Content) Msg_PutHiddenParamMsgCod (Gbl.Msg.Reply.OriginalMsgCod); } if (Gbl.Usrs.Other.UsrDat.UsrCod > 0) + { Usr_PutParamOtherUsrCodEncrypted (); - if (Gbl.Msg.ShowOnlyOneRecipient) - Par_PutHiddenParamChar ("ShowOnlyOneRecipient",'Y'); + if (Gbl.Msg.ShowOnlyOneRecipient) + Par_PutHiddenParamChar ("ShowOnlyOneRecipient",'Y'); + } /***** Start table *****/ fprintf (Gbl.F.Out,""); diff --git a/swad_user.c b/swad_user.c index 65c30c036..e95991ceb 100644 --- a/swad_user.c +++ b/swad_user.c @@ -5028,9 +5028,11 @@ void Usr_PutExtraParamsUsrList (Act_Action_t NextAction) Msg_PutHiddenParamMsgCod (Gbl.Msg.Reply.OriginalMsgCod); } if (Gbl.Usrs.Other.UsrDat.UsrCod > 0) + { Usr_PutParamOtherUsrCodEncrypted (); - if (Gbl.Msg.ShowOnlyOneRecipient) - Par_PutHiddenParamChar ("ShowOnlyOneRecipient",'Y'); + if (Gbl.Msg.ShowOnlyOneRecipient) + Par_PutHiddenParamChar ("ShowOnlyOneRecipient",'Y'); + } break; case ActSeeUseGbl: Pho_PutHiddenParamFigureType ();