mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-10 10:45:23 +02:00
Version 15.72.2
This commit is contained in:
parent
3814579155
commit
64df3bd60c
BIN
icon/usrs64x64.gif
Normal file
BIN
icon/usrs64x64.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 578 B |
|
@ -112,17 +112,20 @@
|
||||||
// TODO: Reply to all
|
// TODO: Reply to all
|
||||||
// TODO: Reply icons should appear without text
|
// TODO: Reply icons should appear without text
|
||||||
// TODO: Link to remove messages is too wide. For example: "Remove these X messages".
|
// TODO: Link to remove messages is too wide. For example: "Remove these X messages".
|
||||||
|
// TODO: Remove message to teachers to verify indicators
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 15.72.1 (2015-12-22)"
|
#define Log_PLATFORM_VERSION "SWAD 15.72.2 (2015-12-23)"
|
||||||
#define CSS_FILE "swad15.65.1.css"
|
#define CSS_FILE "swad15.65.1.css"
|
||||||
|
|
||||||
// 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 15.72.2: Dec 23, 2015 Write message only to one recipient. Not finished.
|
||||||
|
Some small icons changed. (187750 lines)
|
||||||
Version 15.72.1: Dec 22, 2015 Write message only to one recipient. Not finished. (187724 lines)
|
Version 15.72.1: Dec 22, 2015 Write message only to one recipient. Not finished. (187724 lines)
|
||||||
Version 15.72: Dec 22, 2015 Reply message only to sender, suggested by Francisco Ocaña Lara. Not finished. (187705 lines)
|
Version 15.72: Dec 22, 2015 Reply message only to sender, suggested by Francisco Ocaña Lara. Not finished. (187705 lines)
|
||||||
Version 15.71.3: Dec 22, 2015 Changes in birthday range of years. (187669 lines)
|
Version 15.71.3: Dec 22, 2015 Changes in birthday range of years. (187669 lines)
|
||||||
|
|
|
@ -2888,7 +2888,7 @@ void Enr_PutLinkToAdminOneUsr (Act_Action_t NextAction)
|
||||||
extern const char *Txt_Admin_me;
|
extern const char *Txt_Admin_me;
|
||||||
extern const char *Txt_Admin_one_user;
|
extern const char *Txt_Admin_one_user;
|
||||||
|
|
||||||
Lay_PutContextualLink (NextAction,NULL,"configtest16x16.gif",
|
Lay_PutContextualLink (NextAction,NULL,"config64x64.gif",
|
||||||
Enr_CheckIfICanAdminOtherUsrs () ? Txt_Admin_one_user :
|
Enr_CheckIfICanAdminOtherUsrs () ? Txt_Admin_one_user :
|
||||||
Txt_Admin_me,
|
Txt_Admin_me,
|
||||||
Enr_CheckIfICanAdminOtherUsrs () ? Txt_Admin_one_user :
|
Enr_CheckIfICanAdminOtherUsrs () ? Txt_Admin_one_user :
|
||||||
|
@ -2906,7 +2906,7 @@ void Enr_PutLinkToAdminSeveralUsrs (Rol_Role_t Role)
|
||||||
|
|
||||||
Lay_PutContextualLink (Role == Rol_STUDENT ? ActReqEnrSevStd :
|
Lay_PutContextualLink (Role == Rol_STUDENT ? ActReqEnrSevStd :
|
||||||
ActReqEnrSevTch,
|
ActReqEnrSevTch,
|
||||||
NULL,"configtest16x16.gif",
|
NULL,"config64x64.gif",
|
||||||
Role == Rol_STUDENT ? Txt_Admin_several_students :
|
Role == Rol_STUDENT ? Txt_Admin_several_students :
|
||||||
Txt_Admin_several_teachers,
|
Txt_Admin_several_teachers,
|
||||||
Role == Rol_STUDENT ? Txt_Admin_several_students :
|
Role == Rol_STUDENT ? Txt_Admin_several_students :
|
||||||
|
|
|
@ -80,6 +80,7 @@ static void Msg_ShowASentOrReceivedMessage (Msg_TypeOfMessages_t TypeOfMessages,
|
||||||
static void Msg_GetStatusOfSentMsg (long MsgCod,bool *Expanded);
|
static void Msg_GetStatusOfSentMsg (long MsgCod,bool *Expanded);
|
||||||
static void Msg_GetStatusOfReceivedMsg (long MsgCod,bool *Open,bool *Replied,bool *Expanded);
|
static void Msg_GetStatusOfReceivedMsg (long MsgCod,bool *Open,bool *Replied,bool *Expanded);
|
||||||
static long Msg_GetParamMsgCod (void);
|
static long Msg_GetParamMsgCod (void);
|
||||||
|
static void Msg_PutParamsShowMorePotentialRecipients (void);
|
||||||
static void Msg_WriteFormUsrsIDsOrNicksOtherRecipients (void);
|
static void Msg_WriteFormUsrsIDsOrNicksOtherRecipients (void);
|
||||||
static void Msg_WriteFormSubjectAndContentMsgToUsrs (const char *Content);
|
static void Msg_WriteFormSubjectAndContentMsgToUsrs (const char *Content);
|
||||||
static void Msg_ShowNumMsgsDeleted (unsigned NumMsgs);
|
static void Msg_ShowNumMsgsDeleted (unsigned NumMsgs);
|
||||||
|
@ -290,8 +291,9 @@ static void Msg_PutFormMsgUsrs (const char *Content)
|
||||||
Usr_GetListMsgRecipientsWrittenExplicitelyBySender (false);
|
Usr_GetListMsgRecipientsWrittenExplicitelyBySender (false);
|
||||||
|
|
||||||
/***** Get list of users belonging to the current course *****/
|
/***** Get list of users belonging to the current course *****/
|
||||||
if (Gbl.Usrs.Me.IBelongToCurrentCrs || // If there is a course selected and I belong to it
|
if (!Gbl.Msg.ShowOnlyOneRecipient && // Show list of potential recipients
|
||||||
Gbl.Usrs.Me.LoggedRole == Rol_SYS_ADM)
|
(Gbl.Usrs.Me.IBelongToCurrentCrs || // If there is a course selected and I belong to it
|
||||||
|
Gbl.Usrs.Me.LoggedRole == Rol_SYS_ADM))
|
||||||
{
|
{
|
||||||
/***** Get and update type of list,
|
/***** Get and update type of list,
|
||||||
number of columns in class photo
|
number of columns in class photo
|
||||||
|
@ -323,6 +325,16 @@ static void Msg_PutFormMsgUsrs (const char *Content)
|
||||||
Gbl.Usrs.LstStds.NumUsrs)
|
Gbl.Usrs.LstStds.NumUsrs)
|
||||||
Usr_ShowFormsToSelectUsrListType (ActReqMsgUsr);
|
Usr_ShowFormsToSelectUsrListType (ActReqMsgUsr);
|
||||||
|
|
||||||
|
/***** Form to show several potential recipients *****/
|
||||||
|
if (Gbl.Msg.ShowOnlyOneRecipient)
|
||||||
|
{
|
||||||
|
fprintf (Gbl.F.Out,"<div class=\"CONTEXT_MENU\">");
|
||||||
|
Lay_PutContextualLink (ActReqMsgUsr,Msg_PutParamsShowMorePotentialRecipients,
|
||||||
|
"usrs64x64.gif",
|
||||||
|
"Ver más destinatarios","Ver más destinatarios"); // Need translation!!!!
|
||||||
|
fprintf (Gbl.F.Out,"</div>");
|
||||||
|
}
|
||||||
|
|
||||||
/***** Start form to select recipients and write the message *****/
|
/***** Start form to select recipients and write the message *****/
|
||||||
Act_FormStart (ActRcvMsgUsr);
|
Act_FormStart (ActRcvMsgUsr);
|
||||||
if (Gbl.Msg.Reply.IsReply)
|
if (Gbl.Msg.Reply.IsReply)
|
||||||
|
@ -411,6 +423,20 @@ static void Msg_PutFormMsgUsrs (const char *Content)
|
||||||
Grp_FreeListCodSelectedGrps ();
|
Grp_FreeListCodSelectedGrps ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*****************************************************************************/
|
||||||
|
/************ Put parameters to show more potential recipients ***************/
|
||||||
|
/*****************************************************************************/
|
||||||
|
|
||||||
|
static void Msg_PutParamsShowMorePotentialRecipients (void)
|
||||||
|
{
|
||||||
|
if (Gbl.Msg.Reply.IsReply)
|
||||||
|
{
|
||||||
|
Par_PutHiddenParamChar ("IsReply",'Y');
|
||||||
|
Msg_PutHiddenParamMsgCod (Gbl.Msg.Reply.OriginalMsgCod);
|
||||||
|
Usr_PutParamOtherUsrCodEncrypted ();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/************** Nicknames of recipients of a message to users ****************/
|
/************** Nicknames of recipients of a message to users ****************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -344,7 +344,7 @@ static void Tst_PutFormToConfigure (void)
|
||||||
{
|
{
|
||||||
extern const char *Txt_Configure;
|
extern const char *Txt_Configure;
|
||||||
|
|
||||||
Lay_PutContextualLink (ActCfgTst,NULL,"configtest16x16.gif",
|
Lay_PutContextualLink (ActCfgTst,NULL,"config64x64.gif",
|
||||||
Txt_Configure,Txt_Configure);
|
Txt_Configure,Txt_Configure);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -6534,7 +6534,7 @@ static void Usr_PutLinkToSeeGuests (void)
|
||||||
extern const char *Txt_See_guests;
|
extern const char *Txt_See_guests;
|
||||||
|
|
||||||
/***** Put form to list guests *****/
|
/***** Put form to list guests *****/
|
||||||
Lay_PutContextualLink (ActLstGst,NULL,"usrs16x16.gif",
|
Lay_PutContextualLink (ActLstGst,NULL,"usrs64x64.gif",
|
||||||
Txt_See_guests,Txt_See_guests);
|
Txt_See_guests,Txt_See_guests);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user