mirror of https://github.com/acanas/swad-core.git
Version 15.88
This commit is contained in:
parent
2235870551
commit
334a49cde2
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
|
@ -11200,4 +11200,9 @@ DROP TABLE IF EXISTS social_timeline;
|
|||
CREATE TABLE IF NOT EXISTS social_timeline (SocCod BIGINT NOT NULL AUTO_INCREMENT,AuthorCod INT NOT NULL,PublisherCod INT NOT NULL,NotCod BIGINT NOT NULL,TimePublish DATETIME NOT NULL,UNIQUE INDEX(SocCod),INDEX(AuthorCod),INDEX(PublisherCod),INDEX(NotCod),INDEX(TimePublish));
|
||||
INSERT INTO social_timeline (AuthorCod,PublisherCod,NotCod,TimePublish) SELECT UsrCod,UsrCod,NotCod,TimeNote FROM social_notes ORDER BY NotCod;
|
||||
|
||||
|
||||
|
||||
SELECT MIN(PubCod) FROM social_timeline WHERE PublisherCod IN (SELECT '1' UNION SELECT FollowedCod FROM usr_follow WHERE FollowerCod='1') GROUP BY NotCod;
|
||||
|
||||
|
||||
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General 3 License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General 3 License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
@ -1004,8 +1004,10 @@ Social:
|
|||
|
||||
839. ActReqSocPst Write a public social post to be displayed in the timeline
|
||||
840. ActRcvSocPst Receive a public social post to be displayed in the timeline
|
||||
841. ActReqRemSocPub Request the removal of a social note (only if it is a post)
|
||||
842. ActRemSocPub Remove a social note (only if it is a post)
|
||||
NEW!!!!!!!!. ActShaSocPub Share a social publishing
|
||||
NEW!!!!!!!!. ActUnsSocPub Unshare a previously shared social publishing
|
||||
841. ActReqRemSocPub Request the removal of a social publishing (only if it is a post)
|
||||
842. ActRemSocPub Remove a social publishing (only if it is a post)
|
||||
843. ActSeePubPrf Show a public user's profile
|
||||
844. ActCal1stClkTim Calculate first click time from log and store into user's figures
|
||||
845. ActCalNumClk Calculate number of clicks from log and store into user's figures
|
||||
|
@ -2315,8 +2317,10 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] =
|
|||
|
||||
/* ActReqSocPst */{1491,-1,TabSoc,ActSeeSocAct ,0x1FE,0x1FE,0x1FE,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Soc_FormSocialPost ,NULL},
|
||||
/* ActRcvSocPst */{1492,-1,TabSoc,ActSeeSocAct ,0x1FE,0x1FE,0x1FE,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Soc_ReceiveSocialPost ,NULL},
|
||||
/* ActShaSocPub */{1495,-1,TabSoc,ActSeeSocAct ,0x1FE,0x1FE,0x1FE,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Soc_ShareSocialPublishing ,NULL},
|
||||
/* ActUnsSocPub */{1496,-1,TabSoc,ActSeeSocAct ,0x1FE,0x1FE,0x1FE,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Soc_UnshareSocialPublishing ,NULL},
|
||||
/* ActReqRemSocPub */{1494,-1,TabSoc,ActSeeSocAct ,0x1FE,0x1FE,0x1FE,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Soc_RequestRemovalSocialNote ,NULL},
|
||||
/* ActRemSocPub */{1493,-1,TabSoc,ActSeeSocAct ,0x1FE,0x1FE,0x1FE,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Soc_RemoveSocialPublishing ,NULL},
|
||||
/* ActRemSocPub */{1493,-1,TabSoc,ActSeeSocAct ,0x1FE,0x1FE,0x1FE,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Soc_RemoveSocialPublishing ,NULL},
|
||||
|
||||
/* ActSeePubPrf */{1402,-1,TabSoc,ActReqPubPrf ,0x1FF,0x1FF,0x1FF,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Prf_GetUsrCodAndShowUserProfile,NULL},
|
||||
/* ActCal1stClkTim */{1405,-1,TabSoc,ActReqPubPrf ,0x1FF,0x1FF,0x1FF,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Prf_CalculateFirstClickTime ,NULL},
|
||||
|
@ -4159,6 +4163,8 @@ Act_Action_t Act_FromActCodToAction[1+Act_MAX_ACTION_COD] = // Do not reuse uniq
|
|||
ActRcvSocPst, // #1492
|
||||
ActRemSocPub, // #1493
|
||||
ActReqRemSocPub, // #1494
|
||||
ActShaSocPub, // #1495
|
||||
ActUnsSocPub, // #1496
|
||||
};
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
298
swad_action.h
298
swad_action.h
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cańas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cańas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
@ -71,9 +71,9 @@ typedef enum
|
|||
|
||||
typedef int Act_Action_t; // Must be a signed type, because -1 is used to indicate obsolete action
|
||||
|
||||
#define Act_NUM_ACTIONS (7+52+15+90+72+67+205+183+143+151+36+27+82)
|
||||
#define Act_NUM_ACTIONS (7+52+15+90+72+67+205+183+143+153+36+27+82)
|
||||
|
||||
#define Act_MAX_ACTION_COD 1494
|
||||
#define Act_MAX_ACTION_COD 1496
|
||||
|
||||
#define Act_MAX_OPTIONS_IN_MENU_PER_TAB 20
|
||||
|
||||
|
@ -1043,155 +1043,157 @@ typedef int Act_Action_t; // Must be a signed type, because -1 is used to indica
|
|||
// Secondary actions
|
||||
#define ActReqSocPst (ActLstClk+ 5)
|
||||
#define ActRcvSocPst (ActLstClk+ 6)
|
||||
#define ActReqRemSocPub (ActLstClk+ 7)
|
||||
#define ActRemSocPub (ActLstClk+ 8)
|
||||
#define ActShaSocPub (ActLstClk+ 7)
|
||||
#define ActUnsSocPub (ActLstClk+ 8)
|
||||
#define ActReqRemSocPub (ActLstClk+ 9)
|
||||
#define ActRemSocPub (ActLstClk+ 10)
|
||||
|
||||
#define ActSeePubPrf (ActLstClk+ 9)
|
||||
#define ActCal1stClkTim (ActLstClk+ 10)
|
||||
#define ActCalNumClk (ActLstClk+ 11)
|
||||
#define ActCalNumFilVie (ActLstClk+ 12)
|
||||
#define ActCalNumForPst (ActLstClk+ 13)
|
||||
#define ActCalNumMsgSnt (ActLstClk+ 14)
|
||||
#define ActSeePubPrf (ActLstClk+ 11)
|
||||
#define ActCal1stClkTim (ActLstClk+ 12)
|
||||
#define ActCalNumClk (ActLstClk+ 13)
|
||||
#define ActCalNumFilVie (ActLstClk+ 14)
|
||||
#define ActCalNumForPst (ActLstClk+ 15)
|
||||
#define ActCalNumMsgSnt (ActLstClk+ 16)
|
||||
|
||||
#define ActFolUsr (ActLstClk+ 15)
|
||||
#define ActUnfUsr (ActLstClk+ 16)
|
||||
#define ActSeeFlg (ActLstClk+ 17)
|
||||
#define ActSeeFlr (ActLstClk+ 18)
|
||||
#define ActFolUsr (ActLstClk+ 17)
|
||||
#define ActUnfUsr (ActLstClk+ 18)
|
||||
#define ActSeeFlg (ActLstClk+ 19)
|
||||
#define ActSeeFlr (ActLstClk+ 20)
|
||||
|
||||
#define ActSeeForCrsUsr (ActLstClk+ 19)
|
||||
#define ActSeeForCrsTch (ActLstClk+ 20)
|
||||
#define ActSeeForDegUsr (ActLstClk+ 21)
|
||||
#define ActSeeForDegTch (ActLstClk+ 22)
|
||||
#define ActSeeForCtrUsr (ActLstClk+ 23)
|
||||
#define ActSeeForCtrTch (ActLstClk+ 24)
|
||||
#define ActSeeForInsUsr (ActLstClk+ 25)
|
||||
#define ActSeeForInsTch (ActLstClk+ 26)
|
||||
#define ActSeeForGenUsr (ActLstClk+ 27)
|
||||
#define ActSeeForGenTch (ActLstClk+ 28)
|
||||
#define ActSeeForSWAUsr (ActLstClk+ 29)
|
||||
#define ActSeeForSWATch (ActLstClk+ 30)
|
||||
#define ActSeePstForCrsUsr (ActLstClk+ 31)
|
||||
#define ActSeePstForCrsTch (ActLstClk+ 32)
|
||||
#define ActSeePstForDegUsr (ActLstClk+ 33)
|
||||
#define ActSeePstForDegTch (ActLstClk+ 34)
|
||||
#define ActSeePstForCtrUsr (ActLstClk+ 35)
|
||||
#define ActSeePstForCtrTch (ActLstClk+ 36)
|
||||
#define ActSeePstForInsUsr (ActLstClk+ 37)
|
||||
#define ActSeePstForInsTch (ActLstClk+ 38)
|
||||
#define ActSeePstForGenUsr (ActLstClk+ 39)
|
||||
#define ActSeePstForGenTch (ActLstClk+ 40)
|
||||
#define ActSeePstForSWAUsr (ActLstClk+ 41)
|
||||
#define ActSeePstForSWATch (ActLstClk+ 42)
|
||||
#define ActRcvThrForCrsUsr (ActLstClk+ 43)
|
||||
#define ActRcvThrForCrsTch (ActLstClk+ 44)
|
||||
#define ActRcvThrForDegUsr (ActLstClk+ 45)
|
||||
#define ActRcvThrForDegTch (ActLstClk+ 46)
|
||||
#define ActRcvThrForCtrUsr (ActLstClk+ 47)
|
||||
#define ActRcvThrForCtrTch (ActLstClk+ 48)
|
||||
#define ActRcvThrForInsUsr (ActLstClk+ 49)
|
||||
#define ActRcvThrForInsTch (ActLstClk+ 50)
|
||||
#define ActRcvThrForGenUsr (ActLstClk+ 51)
|
||||
#define ActRcvThrForGenTch (ActLstClk+ 52)
|
||||
#define ActRcvThrForSWAUsr (ActLstClk+ 53)
|
||||
#define ActRcvThrForSWATch (ActLstClk+ 54)
|
||||
#define ActRcvRepForCrsUsr (ActLstClk+ 55)
|
||||
#define ActRcvRepForCrsTch (ActLstClk+ 56)
|
||||
#define ActRcvRepForDegUsr (ActLstClk+ 57)
|
||||
#define ActRcvRepForDegTch (ActLstClk+ 58)
|
||||
#define ActRcvRepForCtrUsr (ActLstClk+ 59)
|
||||
#define ActRcvRepForCtrTch (ActLstClk+ 60)
|
||||
#define ActRcvRepForInsUsr (ActLstClk+ 61)
|
||||
#define ActRcvRepForInsTch (ActLstClk+ 62)
|
||||
#define ActRcvRepForGenUsr (ActLstClk+ 63)
|
||||
#define ActRcvRepForGenTch (ActLstClk+ 64)
|
||||
#define ActRcvRepForSWAUsr (ActLstClk+ 65)
|
||||
#define ActRcvRepForSWATch (ActLstClk+ 66)
|
||||
#define ActReqDelThrCrsUsr (ActLstClk+ 67)
|
||||
#define ActReqDelThrCrsTch (ActLstClk+ 68)
|
||||
#define ActReqDelThrDegUsr (ActLstClk+ 69)
|
||||
#define ActReqDelThrDegTch (ActLstClk+ 70)
|
||||
#define ActReqDelThrCtrUsr (ActLstClk+ 71)
|
||||
#define ActReqDelThrCtrTch (ActLstClk+ 72)
|
||||
#define ActReqDelThrInsUsr (ActLstClk+ 73)
|
||||
#define ActReqDelThrInsTch (ActLstClk+ 74)
|
||||
#define ActReqDelThrGenUsr (ActLstClk+ 75)
|
||||
#define ActReqDelThrGenTch (ActLstClk+ 76)
|
||||
#define ActReqDelThrSWAUsr (ActLstClk+ 77)
|
||||
#define ActReqDelThrSWATch (ActLstClk+ 78)
|
||||
#define ActDelThrForCrsUsr (ActLstClk+ 79)
|
||||
#define ActDelThrForCrsTch (ActLstClk+ 80)
|
||||
#define ActDelThrForDegUsr (ActLstClk+ 81)
|
||||
#define ActDelThrForDegTch (ActLstClk+ 82)
|
||||
#define ActDelThrForCtrUsr (ActLstClk+ 83)
|
||||
#define ActDelThrForCtrTch (ActLstClk+ 84)
|
||||
#define ActDelThrForInsUsr (ActLstClk+ 85)
|
||||
#define ActDelThrForInsTch (ActLstClk+ 86)
|
||||
#define ActDelThrForGenUsr (ActLstClk+ 87)
|
||||
#define ActDelThrForGenTch (ActLstClk+ 88)
|
||||
#define ActDelThrForSWAUsr (ActLstClk+ 89)
|
||||
#define ActDelThrForSWATch (ActLstClk+ 90)
|
||||
#define ActCutThrForCrsUsr (ActLstClk+ 91)
|
||||
#define ActCutThrForCrsTch (ActLstClk+ 92)
|
||||
#define ActCutThrForDegUsr (ActLstClk+ 93)
|
||||
#define ActCutThrForDegTch (ActLstClk+ 94)
|
||||
#define ActCutThrForCtrUsr (ActLstClk+ 95)
|
||||
#define ActCutThrForCtrTch (ActLstClk+ 96)
|
||||
#define ActCutThrForInsUsr (ActLstClk+ 97)
|
||||
#define ActCutThrForInsTch (ActLstClk+ 98)
|
||||
#define ActCutThrForGenUsr (ActLstClk+ 99)
|
||||
#define ActCutThrForGenTch (ActLstClk+100)
|
||||
#define ActCutThrForSWAUsr (ActLstClk+101)
|
||||
#define ActCutThrForSWATch (ActLstClk+102)
|
||||
#define ActPasThrForCrsUsr (ActLstClk+103)
|
||||
#define ActPasThrForCrsTch (ActLstClk+104)
|
||||
#define ActPasThrForDegUsr (ActLstClk+105)
|
||||
#define ActPasThrForDegTch (ActLstClk+106)
|
||||
#define ActPasThrForCtrUsr (ActLstClk+107)
|
||||
#define ActPasThrForCtrTch (ActLstClk+108)
|
||||
#define ActPasThrForInsUsr (ActLstClk+109)
|
||||
#define ActPasThrForInsTch (ActLstClk+110)
|
||||
#define ActPasThrForGenUsr (ActLstClk+111)
|
||||
#define ActPasThrForGenTch (ActLstClk+112)
|
||||
#define ActPasThrForSWAUsr (ActLstClk+113)
|
||||
#define ActPasThrForSWATch (ActLstClk+114)
|
||||
#define ActDelPstForCrsUsr (ActLstClk+115)
|
||||
#define ActDelPstForCrsTch (ActLstClk+116)
|
||||
#define ActDelPstForDegUsr (ActLstClk+117)
|
||||
#define ActDelPstForDegTch (ActLstClk+118)
|
||||
#define ActDelPstForCtrUsr (ActLstClk+119)
|
||||
#define ActDelPstForCtrTch (ActLstClk+120)
|
||||
#define ActDelPstForInsUsr (ActLstClk+121)
|
||||
#define ActDelPstForInsTch (ActLstClk+122)
|
||||
#define ActDelPstForGenUsr (ActLstClk+123)
|
||||
#define ActDelPstForGenTch (ActLstClk+124)
|
||||
#define ActDelPstForSWAUsr (ActLstClk+125)
|
||||
#define ActDelPstForSWATch (ActLstClk+126)
|
||||
#define ActEnbPstForCrsUsr (ActLstClk+127)
|
||||
#define ActEnbPstForCrsTch (ActLstClk+128)
|
||||
#define ActEnbPstForDegUsr (ActLstClk+129)
|
||||
#define ActEnbPstForDegTch (ActLstClk+130)
|
||||
#define ActEnbPstForCtrUsr (ActLstClk+131)
|
||||
#define ActEnbPstForCtrTch (ActLstClk+132)
|
||||
#define ActEnbPstForInsUsr (ActLstClk+133)
|
||||
#define ActEnbPstForInsTch (ActLstClk+134)
|
||||
#define ActEnbPstForGenUsr (ActLstClk+135)
|
||||
#define ActEnbPstForGenTch (ActLstClk+136)
|
||||
#define ActEnbPstForSWAUsr (ActLstClk+137)
|
||||
#define ActEnbPstForSWATch (ActLstClk+138)
|
||||
#define ActDisPstForCrsUsr (ActLstClk+139)
|
||||
#define ActDisPstForCrsTch (ActLstClk+140)
|
||||
#define ActDisPstForDegUsr (ActLstClk+141)
|
||||
#define ActDisPstForDegTch (ActLstClk+142)
|
||||
#define ActDisPstForCtrUsr (ActLstClk+143)
|
||||
#define ActDisPstForCtrTch (ActLstClk+144)
|
||||
#define ActDisPstForInsUsr (ActLstClk+145)
|
||||
#define ActDisPstForInsTch (ActLstClk+146)
|
||||
#define ActDisPstForGenUsr (ActLstClk+147)
|
||||
#define ActDisPstForGenTch (ActLstClk+148)
|
||||
#define ActDisPstForSWAUsr (ActLstClk+149)
|
||||
#define ActDisPstForSWATch (ActLstClk+150)
|
||||
#define ActSeeForCrsUsr (ActLstClk+ 21)
|
||||
#define ActSeeForCrsTch (ActLstClk+ 22)
|
||||
#define ActSeeForDegUsr (ActLstClk+ 23)
|
||||
#define ActSeeForDegTch (ActLstClk+ 24)
|
||||
#define ActSeeForCtrUsr (ActLstClk+ 25)
|
||||
#define ActSeeForCtrTch (ActLstClk+ 26)
|
||||
#define ActSeeForInsUsr (ActLstClk+ 27)
|
||||
#define ActSeeForInsTch (ActLstClk+ 28)
|
||||
#define ActSeeForGenUsr (ActLstClk+ 29)
|
||||
#define ActSeeForGenTch (ActLstClk+ 30)
|
||||
#define ActSeeForSWAUsr (ActLstClk+ 31)
|
||||
#define ActSeeForSWATch (ActLstClk+ 32)
|
||||
#define ActSeePstForCrsUsr (ActLstClk+ 33)
|
||||
#define ActSeePstForCrsTch (ActLstClk+ 34)
|
||||
#define ActSeePstForDegUsr (ActLstClk+ 35)
|
||||
#define ActSeePstForDegTch (ActLstClk+ 36)
|
||||
#define ActSeePstForCtrUsr (ActLstClk+ 37)
|
||||
#define ActSeePstForCtrTch (ActLstClk+ 38)
|
||||
#define ActSeePstForInsUsr (ActLstClk+ 39)
|
||||
#define ActSeePstForInsTch (ActLstClk+ 40)
|
||||
#define ActSeePstForGenUsr (ActLstClk+ 41)
|
||||
#define ActSeePstForGenTch (ActLstClk+ 42)
|
||||
#define ActSeePstForSWAUsr (ActLstClk+ 43)
|
||||
#define ActSeePstForSWATch (ActLstClk+ 44)
|
||||
#define ActRcvThrForCrsUsr (ActLstClk+ 45)
|
||||
#define ActRcvThrForCrsTch (ActLstClk+ 46)
|
||||
#define ActRcvThrForDegUsr (ActLstClk+ 47)
|
||||
#define ActRcvThrForDegTch (ActLstClk+ 48)
|
||||
#define ActRcvThrForCtrUsr (ActLstClk+ 49)
|
||||
#define ActRcvThrForCtrTch (ActLstClk+ 50)
|
||||
#define ActRcvThrForInsUsr (ActLstClk+ 51)
|
||||
#define ActRcvThrForInsTch (ActLstClk+ 52)
|
||||
#define ActRcvThrForGenUsr (ActLstClk+ 53)
|
||||
#define ActRcvThrForGenTch (ActLstClk+ 54)
|
||||
#define ActRcvThrForSWAUsr (ActLstClk+ 55)
|
||||
#define ActRcvThrForSWATch (ActLstClk+ 56)
|
||||
#define ActRcvRepForCrsUsr (ActLstClk+ 57)
|
||||
#define ActRcvRepForCrsTch (ActLstClk+ 58)
|
||||
#define ActRcvRepForDegUsr (ActLstClk+ 59)
|
||||
#define ActRcvRepForDegTch (ActLstClk+ 60)
|
||||
#define ActRcvRepForCtrUsr (ActLstClk+ 61)
|
||||
#define ActRcvRepForCtrTch (ActLstClk+ 62)
|
||||
#define ActRcvRepForInsUsr (ActLstClk+ 63)
|
||||
#define ActRcvRepForInsTch (ActLstClk+ 64)
|
||||
#define ActRcvRepForGenUsr (ActLstClk+ 65)
|
||||
#define ActRcvRepForGenTch (ActLstClk+ 66)
|
||||
#define ActRcvRepForSWAUsr (ActLstClk+ 67)
|
||||
#define ActRcvRepForSWATch (ActLstClk+ 68)
|
||||
#define ActReqDelThrCrsUsr (ActLstClk+ 69)
|
||||
#define ActReqDelThrCrsTch (ActLstClk+ 70)
|
||||
#define ActReqDelThrDegUsr (ActLstClk+ 71)
|
||||
#define ActReqDelThrDegTch (ActLstClk+ 72)
|
||||
#define ActReqDelThrCtrUsr (ActLstClk+ 73)
|
||||
#define ActReqDelThrCtrTch (ActLstClk+ 74)
|
||||
#define ActReqDelThrInsUsr (ActLstClk+ 75)
|
||||
#define ActReqDelThrInsTch (ActLstClk+ 76)
|
||||
#define ActReqDelThrGenUsr (ActLstClk+ 77)
|
||||
#define ActReqDelThrGenTch (ActLstClk+ 78)
|
||||
#define ActReqDelThrSWAUsr (ActLstClk+ 79)
|
||||
#define ActReqDelThrSWATch (ActLstClk+ 80)
|
||||
#define ActDelThrForCrsUsr (ActLstClk+ 81)
|
||||
#define ActDelThrForCrsTch (ActLstClk+ 82)
|
||||
#define ActDelThrForDegUsr (ActLstClk+ 83)
|
||||
#define ActDelThrForDegTch (ActLstClk+ 84)
|
||||
#define ActDelThrForCtrUsr (ActLstClk+ 85)
|
||||
#define ActDelThrForCtrTch (ActLstClk+ 86)
|
||||
#define ActDelThrForInsUsr (ActLstClk+ 87)
|
||||
#define ActDelThrForInsTch (ActLstClk+ 88)
|
||||
#define ActDelThrForGenUsr (ActLstClk+ 89)
|
||||
#define ActDelThrForGenTch (ActLstClk+ 90)
|
||||
#define ActDelThrForSWAUsr (ActLstClk+ 91)
|
||||
#define ActDelThrForSWATch (ActLstClk+ 92)
|
||||
#define ActCutThrForCrsUsr (ActLstClk+ 93)
|
||||
#define ActCutThrForCrsTch (ActLstClk+ 94)
|
||||
#define ActCutThrForDegUsr (ActLstClk+ 95)
|
||||
#define ActCutThrForDegTch (ActLstClk+ 96)
|
||||
#define ActCutThrForCtrUsr (ActLstClk+ 97)
|
||||
#define ActCutThrForCtrTch (ActLstClk+ 98)
|
||||
#define ActCutThrForInsUsr (ActLstClk+ 99)
|
||||
#define ActCutThrForInsTch (ActLstClk+100)
|
||||
#define ActCutThrForGenUsr (ActLstClk+101)
|
||||
#define ActCutThrForGenTch (ActLstClk+102)
|
||||
#define ActCutThrForSWAUsr (ActLstClk+103)
|
||||
#define ActCutThrForSWATch (ActLstClk+104)
|
||||
#define ActPasThrForCrsUsr (ActLstClk+105)
|
||||
#define ActPasThrForCrsTch (ActLstClk+106)
|
||||
#define ActPasThrForDegUsr (ActLstClk+107)
|
||||
#define ActPasThrForDegTch (ActLstClk+108)
|
||||
#define ActPasThrForCtrUsr (ActLstClk+109)
|
||||
#define ActPasThrForCtrTch (ActLstClk+110)
|
||||
#define ActPasThrForInsUsr (ActLstClk+111)
|
||||
#define ActPasThrForInsTch (ActLstClk+112)
|
||||
#define ActPasThrForGenUsr (ActLstClk+113)
|
||||
#define ActPasThrForGenTch (ActLstClk+114)
|
||||
#define ActPasThrForSWAUsr (ActLstClk+115)
|
||||
#define ActPasThrForSWATch (ActLstClk+116)
|
||||
#define ActDelPstForCrsUsr (ActLstClk+117)
|
||||
#define ActDelPstForCrsTch (ActLstClk+118)
|
||||
#define ActDelPstForDegUsr (ActLstClk+119)
|
||||
#define ActDelPstForDegTch (ActLstClk+120)
|
||||
#define ActDelPstForCtrUsr (ActLstClk+121)
|
||||
#define ActDelPstForCtrTch (ActLstClk+122)
|
||||
#define ActDelPstForInsUsr (ActLstClk+123)
|
||||
#define ActDelPstForInsTch (ActLstClk+124)
|
||||
#define ActDelPstForGenUsr (ActLstClk+125)
|
||||
#define ActDelPstForGenTch (ActLstClk+126)
|
||||
#define ActDelPstForSWAUsr (ActLstClk+127)
|
||||
#define ActDelPstForSWATch (ActLstClk+128)
|
||||
#define ActEnbPstForCrsUsr (ActLstClk+129)
|
||||
#define ActEnbPstForCrsTch (ActLstClk+130)
|
||||
#define ActEnbPstForDegUsr (ActLstClk+131)
|
||||
#define ActEnbPstForDegTch (ActLstClk+132)
|
||||
#define ActEnbPstForCtrUsr (ActLstClk+133)
|
||||
#define ActEnbPstForCtrTch (ActLstClk+134)
|
||||
#define ActEnbPstForInsUsr (ActLstClk+135)
|
||||
#define ActEnbPstForInsTch (ActLstClk+136)
|
||||
#define ActEnbPstForGenUsr (ActLstClk+137)
|
||||
#define ActEnbPstForGenTch (ActLstClk+138)
|
||||
#define ActEnbPstForSWAUsr (ActLstClk+139)
|
||||
#define ActEnbPstForSWATch (ActLstClk+140)
|
||||
#define ActDisPstForCrsUsr (ActLstClk+141)
|
||||
#define ActDisPstForCrsTch (ActLstClk+142)
|
||||
#define ActDisPstForDegUsr (ActLstClk+143)
|
||||
#define ActDisPstForDegTch (ActLstClk+144)
|
||||
#define ActDisPstForCtrUsr (ActLstClk+145)
|
||||
#define ActDisPstForCtrTch (ActLstClk+146)
|
||||
#define ActDisPstForInsUsr (ActLstClk+147)
|
||||
#define ActDisPstForInsTch (ActLstClk+148)
|
||||
#define ActDisPstForGenUsr (ActLstClk+149)
|
||||
#define ActDisPstForGenTch (ActLstClk+150)
|
||||
#define ActDisPstForSWAUsr (ActLstClk+151)
|
||||
#define ActDisPstForSWATch (ActLstClk+152)
|
||||
|
||||
#define ActCht (ActLstClk+151)
|
||||
#define ActCht (ActLstClk+153)
|
||||
|
||||
/*****************************************************************************/
|
||||
/******************************* Messages tab ********************************/
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General 3 License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
@ -117,13 +117,18 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.87 (2015-12-31)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.88 (2016-01-01)"
|
||||
#define CSS_FILE "swad15.84.2.css"
|
||||
#define JS_FILE "swad15.77.7.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 15.88: Jan 01, 2016 New buttons in social timeline to share/unshare a social publishing. (189841 lines)
|
||||
2 changes necessary in database:
|
||||
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1495','es','N','Compartir comentario social');
|
||||
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1496','es','N','Dejar de compartir comentario social');
|
||||
|
||||
Version 15.87: Dec 31, 2015 New database table to store users who write or share social notes. (189594 lines)
|
||||
3 changes necessary in database:
|
||||
CREATE TABLE IF NOT EXISTS social_timeline (PubCod BIGINT NOT NULL AUTO_INCREMENT,AuthorCod INT NOT NULL,PublisherCod INT NOT NULL,NotCod BIGINT NOT NULL,TimePublish DATETIME NOT NULL,UNIQUE INDEX(PubCod),INDEX(AuthorCod),INDEX(PublisherCod),INDEX(NotCod),INDEX(TimePublish));
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General 3 License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General 3 License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General 3 License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General 3 License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General 3 License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
@ -229,7 +229,7 @@ static void Mai_GetListMailDomainsAllowedForNotif (void)
|
|||
// ...because a unique temporary table can not be used twice in the same query
|
||||
|
||||
/***** Create temporary table with all the mail domains present in users' emails table *****/
|
||||
sprintf (Query,"DROP TABLE IF EXISTS T1,T2");
|
||||
sprintf (Query,"DROP TEMPORARY TABLE IF EXISTS T1,T2");
|
||||
if (mysql_query (&Gbl.mysql,Query))
|
||||
DB_ExitOnMySQLError ("can not remove temporary tables");
|
||||
|
||||
|
@ -306,7 +306,7 @@ static void Mai_GetListMailDomainsAllowedForNotif (void)
|
|||
DB_FreeMySQLResult (&mysql_res);
|
||||
|
||||
/***** Drop temporary table *****/
|
||||
sprintf (Query,"DROP TABLE IF EXISTS T1,T2");
|
||||
sprintf (Query,"DROP TEMPORARY TABLE IF EXISTS T1,T2");
|
||||
if (mysql_query (&Gbl.mysql,Query))
|
||||
DB_ExitOnMySQLError ("can not remove temporary tables");
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
and used to support university teaching.
|
||||
|
||||
This file is part of SWAD core.
|
||||
Copyright (C) 1999-2015 Antonio Cañas Vargas
|
||||
Copyright (C) 1999-2016 Antonio Cañas Vargas
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Affero General Public License as
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue