Version 15.72.6

This commit is contained in:
Antonio Cañas Vargas 2015-12-24 13:02:02 +01:00
parent c45a9847b4
commit 5543775f65
4 changed files with 12 additions and 11 deletions

View File

@ -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)

View File

@ -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
/*****************************************************************************/

View File

@ -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,"<table style=\"margin:0 auto;\">");

View File

@ -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 ();