Skip to content

Commit

Permalink
Version 16.137
Browse files Browse the repository at this point in the history
  • Loading branch information
acanas committed Feb 17, 2017
1 parent 3092652 commit 65d14b5
Show file tree
Hide file tree
Showing 16 changed files with 455 additions and 283 deletions.
12 changes: 7 additions & 5 deletions swad_action.c
Expand Up @@ -1131,7 +1131,7 @@ extern struct Globals Gbl;
939. ActReqRemSocComGbl Request the removal of a comment in a social note (global)
940. ActRemSocComGbl Remove of a comment in a social note (global)
941. ActReqPubPrf Request @nickname to show a public user's profile
941. ActReqOthPubPrf Request @nickname to show a public user's profile
942. ActRcvSocPstUsr Receive a public social post to be displayed in the timeline (user)
943. ActRcvSocComUsr Comment a social note in the timeline (user)
Expand Down Expand Up @@ -2606,7 +2606,7 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] =
/* ActReqRemSocComGbl*/{1505,-1,TabUnk,ActSeeSocTmlGbl ,0x1FE,0x1FE,0x1FE,0x1FE,0x1FE,0x1FE,0x1FE,Act_CONT_NORM,Act_THIS_WINDOW,Soc_MarkMyNotifAsSeen ,Soc_RequestRemSocialComGbl ,NULL},
/* ActRemSocComGbl */{1507,-1,TabUnk,ActSeeSocTmlGbl ,0x1FE,0x1FE,0x1FE,0x1FE,0x1FE,0x1FE,0x1FE,Act_CONT_NORM,Act_THIS_WINDOW,Soc_MarkMyNotifAsSeen ,Soc_RemoveSocialComGbl ,NULL},

/* ActReqPubPrf */{1401,-1,TabUnk,ActSeeSocPrf ,0x1FF,0x1FF,0x1FF,0x1FF,0x1FF,0x1FF,0x1FF,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Prf_RequestUserProfile ,NULL},
/* ActReqOthPubPrf */{1401,-1,TabUnk,ActSeeSocPrf ,0x1FF,0x1FF,0x1FF,0x1FF,0x1FF,0x1FF,0x1FF,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Prf_RequestUserProfile ,NULL},

/* ActRcvSocPstUsr */{1498,-1,TabUnk,ActSeeSocPrf ,0x1FE,0x1FE,0x1FE,0x1FE,0x1FE,0x1FE,0x1FE,Act_CONT_DATA,Act_THIS_WINDOW,NULL ,Soc_ReceiveSocialPostUsr ,NULL},
/* ActRcvSocComUsr */{1504,-1,TabUnk,ActSeeSocPrf ,0x1FE,0x1FE,0x1FE,0x1FE,0x1FE,0x1FE,0x1FE,Act_CONT_DATA,Act_THIS_WINDOW,NULL ,Soc_ReceiveCommentUsr ,NULL},
Expand All @@ -2621,7 +2621,8 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] =
/* ActReqRemSocComGbl*/{1506,-1,TabUnk,ActSeeSocPrf ,0x1FE,0x1FE,0x1FE,0x1FE,0x1FE,0x1FE,0x1FE,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Soc_RequestRemSocialComUsr ,NULL},
/* ActRemSocComGbl */{1508,-1,TabUnk,ActSeeSocPrf ,0x1FE,0x1FE,0x1FE,0x1FE,0x1FE,0x1FE,0x1FE,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Soc_RemoveSocialComUsr ,NULL},

/* ActSeePubPrf */{1402,-1,TabUnk,ActSeeSocPrf ,0x1FF,0x1FF,0x1FF,0x1FF,0x1FF,0x1FF,0x1FF,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Prf_GetUsrDatAndShowUserProfile,NULL},
/* ActSeeMyPubPrf */{1637,-1,TabUnk,ActSeeSocPrf ,0x1FE,0x1FE,0x1FE,0x1FE,0x1FE,0x1FE,0x1FE,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Prf_ShowMyProfile ,NULL},
/* ActSeeOthPubPrf */{1402,-1,TabUnk,ActSeeSocPrf ,0x1FF,0x1FF,0x1FF,0x1FF,0x1FF,0x1FF,0x1FF,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Prf_GetUsrDatAndShowUserProfile,NULL},
/* ActCal1stClkTim */{1405,-1,TabUnk,ActSeeSocPrf ,0x1FF,0x1FF,0x1FF,0x1FF,0x1FF,0x1FF,0x1FF,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Prf_CalculateFigures ,NULL},
/* ActCalNumClk */{1406,-1,TabUnk,ActSeeSocPrf ,0x1FF,0x1FF,0x1FF,0x1FF,0x1FF,0x1FF,0x1FF,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Prf_CalculateFigures ,NULL},
/* ActCalNumFilVie */{1409,-1,TabUnk,ActSeeSocPrf ,0x1FF,0x1FF,0x1FF,0x1FF,0x1FF,0x1FF,0x1FF,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Prf_CalculateFigures ,NULL},
Expand Down Expand Up @@ -4386,8 +4387,8 @@ Act_Action_t Act_FromActCodToAction[1 + Act_MAX_ACTION_COD] = // Do not reuse un
ActReqDatShaIns, // #1398
ActChgDatShaIns, // #1399
ActDowShaIns, // #1400
ActReqPubPrf, // #1401
ActSeePubPrf, // #1402
ActReqOthPubPrf, // #1401
ActSeeOthPubPrf, // #1402
ActEdiPri, // #1403
ActChgPriPrf, // #1404
ActCal1stClkTim, // #1405
Expand Down Expand Up @@ -4622,6 +4623,7 @@ Act_Action_t Act_FromActCodToAction[1 + Act_MAX_ACTION_COD] = // Do not reuse un
ActSeeCalDeg, // #1634
ActPrnCalDeg, // #1635
ActChgCalDeg1stDay, // #1636
ActSeeMyPubPrf, // #1637
};

/*****************************************************************************/
Expand Down
299 changes: 150 additions & 149 deletions swad_action.h
Expand Up @@ -55,9 +55,9 @@ typedef enum

typedef signed int Act_Action_t; // Must be a signed type, because -1 is used to indicate obsolete action

#define Act_NUM_ACTIONS (1 + 9 + 54 + 17 + 47 + 27 + 24 + 115 + 54 + 416 + 159 + 172 + 36 + 31 + 97)
#define Act_NUM_ACTIONS (1 + 9 + 54 + 17 + 47 + 27 + 24 + 115 + 54 + 416 + 159 + 173 + 36 + 31 + 97)

#define Act_MAX_ACTION_COD 1636
#define Act_MAX_ACTION_COD 1637

#define Act_MAX_OPTIONS_IN_MENU_PER_TAB 12

Expand Down Expand Up @@ -1150,7 +1150,7 @@ typedef signed int Act_Action_t; // Must be a signed type, because -1 is used to
#define ActReqRemSocComGbl (ActLstClk + 15)
#define ActRemSocComGbl (ActLstClk + 16)

#define ActReqPubPrf (ActLstClk + 17)
#define ActReqOthPubPrf (ActLstClk + 17)

#define ActRcvSocPstUsr (ActLstClk + 18)
#define ActRcvSocComUsr (ActLstClk + 19)
Expand All @@ -1165,152 +1165,153 @@ typedef signed int Act_Action_t; // Must be a signed type, because -1 is used to
#define ActReqRemSocComUsr (ActLstClk + 28)
#define ActRemSocComUsr (ActLstClk + 29)

#define ActSeePubPrf (ActLstClk + 30)
#define ActCal1stClkTim (ActLstClk + 31)
#define ActCalNumClk (ActLstClk + 32)
#define ActCalNumFilVie (ActLstClk + 33)
#define ActCalNumForPst (ActLstClk + 34)
#define ActCalNumMsgSnt (ActLstClk + 35)

#define ActFolUsr (ActLstClk + 36)
#define ActUnfUsr (ActLstClk + 37)
#define ActSeeFlg (ActLstClk + 38)
#define ActSeeFlr (ActLstClk + 39)

#define ActSeeForCrsUsr (ActLstClk + 40)
#define ActSeeForCrsTch (ActLstClk + 41)
#define ActSeeForDegUsr (ActLstClk + 42)
#define ActSeeForDegTch (ActLstClk + 43)
#define ActSeeForCtrUsr (ActLstClk + 44)
#define ActSeeForCtrTch (ActLstClk + 45)
#define ActSeeForInsUsr (ActLstClk + 46)
#define ActSeeForInsTch (ActLstClk + 47)
#define ActSeeForGenUsr (ActLstClk + 48)
#define ActSeeForGenTch (ActLstClk + 49)
#define ActSeeForSWAUsr (ActLstClk + 50)
#define ActSeeForSWATch (ActLstClk + 51)
#define ActSeePstForCrsUsr (ActLstClk + 52)
#define ActSeePstForCrsTch (ActLstClk + 53)
#define ActSeePstForDegUsr (ActLstClk + 54)
#define ActSeePstForDegTch (ActLstClk + 55)
#define ActSeePstForCtrUsr (ActLstClk + 56)
#define ActSeePstForCtrTch (ActLstClk + 57)
#define ActSeePstForInsUsr (ActLstClk + 58)
#define ActSeePstForInsTch (ActLstClk + 59)
#define ActSeePstForGenUsr (ActLstClk + 60)
#define ActSeePstForGenTch (ActLstClk + 61)
#define ActSeePstForSWAUsr (ActLstClk + 62)
#define ActSeePstForSWATch (ActLstClk + 63)
#define ActRcvThrForCrsUsr (ActLstClk + 64)
#define ActRcvThrForCrsTch (ActLstClk + 65)
#define ActRcvThrForDegUsr (ActLstClk + 66)
#define ActRcvThrForDegTch (ActLstClk + 67)
#define ActRcvThrForCtrUsr (ActLstClk + 68)
#define ActRcvThrForCtrTch (ActLstClk + 69)
#define ActRcvThrForInsUsr (ActLstClk + 70)
#define ActRcvThrForInsTch (ActLstClk + 71)
#define ActRcvThrForGenUsr (ActLstClk + 72)
#define ActRcvThrForGenTch (ActLstClk + 73)
#define ActRcvThrForSWAUsr (ActLstClk + 74)
#define ActRcvThrForSWATch (ActLstClk + 75)
#define ActRcvRepForCrsUsr (ActLstClk + 76)
#define ActRcvRepForCrsTch (ActLstClk + 77)
#define ActRcvRepForDegUsr (ActLstClk + 78)
#define ActRcvRepForDegTch (ActLstClk + 79)
#define ActRcvRepForCtrUsr (ActLstClk + 80)
#define ActRcvRepForCtrTch (ActLstClk + 81)
#define ActRcvRepForInsUsr (ActLstClk + 82)
#define ActRcvRepForInsTch (ActLstClk + 83)
#define ActRcvRepForGenUsr (ActLstClk + 84)
#define ActRcvRepForGenTch (ActLstClk + 85)
#define ActRcvRepForSWAUsr (ActLstClk + 86)
#define ActRcvRepForSWATch (ActLstClk + 87)
#define ActReqDelThrCrsUsr (ActLstClk + 88)
#define ActReqDelThrCrsTch (ActLstClk + 89)
#define ActReqDelThrDegUsr (ActLstClk + 90)
#define ActReqDelThrDegTch (ActLstClk + 91)
#define ActReqDelThrCtrUsr (ActLstClk + 92)
#define ActReqDelThrCtrTch (ActLstClk + 93)
#define ActReqDelThrInsUsr (ActLstClk + 94)
#define ActReqDelThrInsTch (ActLstClk + 95)
#define ActReqDelThrGenUsr (ActLstClk + 96)
#define ActReqDelThrGenTch (ActLstClk + 97)
#define ActReqDelThrSWAUsr (ActLstClk + 98)
#define ActReqDelThrSWATch (ActLstClk + 99)
#define ActDelThrForCrsUsr (ActLstClk + 100)
#define ActDelThrForCrsTch (ActLstClk + 101)
#define ActDelThrForDegUsr (ActLstClk + 102)
#define ActDelThrForDegTch (ActLstClk + 103)
#define ActDelThrForCtrUsr (ActLstClk + 104)
#define ActDelThrForCtrTch (ActLstClk + 105)
#define ActDelThrForInsUsr (ActLstClk + 106)
#define ActDelThrForInsTch (ActLstClk + 107)
#define ActDelThrForGenUsr (ActLstClk + 108)
#define ActDelThrForGenTch (ActLstClk + 109)
#define ActDelThrForSWAUsr (ActLstClk + 110)
#define ActDelThrForSWATch (ActLstClk + 111)
#define ActCutThrForCrsUsr (ActLstClk + 112)
#define ActCutThrForCrsTch (ActLstClk + 113)
#define ActCutThrForDegUsr (ActLstClk + 114)
#define ActCutThrForDegTch (ActLstClk + 115)
#define ActCutThrForCtrUsr (ActLstClk + 116)
#define ActCutThrForCtrTch (ActLstClk + 117)
#define ActCutThrForInsUsr (ActLstClk + 118)
#define ActCutThrForInsTch (ActLstClk + 119)
#define ActCutThrForGenUsr (ActLstClk + 120)
#define ActCutThrForGenTch (ActLstClk + 121)
#define ActCutThrForSWAUsr (ActLstClk + 122)
#define ActCutThrForSWATch (ActLstClk + 123)
#define ActPasThrForCrsUsr (ActLstClk + 124)
#define ActPasThrForCrsTch (ActLstClk + 125)
#define ActPasThrForDegUsr (ActLstClk + 126)
#define ActPasThrForDegTch (ActLstClk + 127)
#define ActPasThrForCtrUsr (ActLstClk + 128)
#define ActPasThrForCtrTch (ActLstClk + 129)
#define ActPasThrForInsUsr (ActLstClk + 130)
#define ActPasThrForInsTch (ActLstClk + 131)
#define ActPasThrForGenUsr (ActLstClk + 132)
#define ActPasThrForGenTch (ActLstClk + 133)
#define ActPasThrForSWAUsr (ActLstClk + 134)
#define ActPasThrForSWATch (ActLstClk + 135)
#define ActDelPstForCrsUsr (ActLstClk + 136)
#define ActDelPstForCrsTch (ActLstClk + 137)
#define ActDelPstForDegUsr (ActLstClk + 138)
#define ActDelPstForDegTch (ActLstClk + 139)
#define ActDelPstForCtrUsr (ActLstClk + 140)
#define ActDelPstForCtrTch (ActLstClk + 141)
#define ActDelPstForInsUsr (ActLstClk + 142)
#define ActDelPstForInsTch (ActLstClk + 143)
#define ActDelPstForGenUsr (ActLstClk + 144)
#define ActDelPstForGenTch (ActLstClk + 145)
#define ActDelPstForSWAUsr (ActLstClk + 146)
#define ActDelPstForSWATch (ActLstClk + 147)
#define ActEnbPstForCrsUsr (ActLstClk + 148)
#define ActEnbPstForCrsTch (ActLstClk + 149)
#define ActEnbPstForDegUsr (ActLstClk + 150)
#define ActEnbPstForDegTch (ActLstClk + 151)
#define ActEnbPstForCtrUsr (ActLstClk + 152)
#define ActEnbPstForCtrTch (ActLstClk + 153)
#define ActEnbPstForInsUsr (ActLstClk + 154)
#define ActEnbPstForInsTch (ActLstClk + 155)
#define ActEnbPstForGenUsr (ActLstClk + 156)
#define ActEnbPstForGenTch (ActLstClk + 157)
#define ActEnbPstForSWAUsr (ActLstClk + 158)
#define ActEnbPstForSWATch (ActLstClk + 159)
#define ActDisPstForCrsUsr (ActLstClk + 160)
#define ActDisPstForCrsTch (ActLstClk + 161)
#define ActDisPstForDegUsr (ActLstClk + 162)
#define ActDisPstForDegTch (ActLstClk + 163)
#define ActDisPstForCtrUsr (ActLstClk + 164)
#define ActDisPstForCtrTch (ActLstClk + 165)
#define ActDisPstForInsUsr (ActLstClk + 166)
#define ActDisPstForInsTch (ActLstClk + 167)
#define ActDisPstForGenUsr (ActLstClk + 168)
#define ActDisPstForGenTch (ActLstClk + 169)
#define ActDisPstForSWAUsr (ActLstClk + 170)
#define ActDisPstForSWATch (ActLstClk + 171)

#define ActCht (ActLstClk + 172)
#define ActSeeMyPubPrf (ActLstClk + 30)
#define ActSeeOthPubPrf (ActLstClk + 31)
#define ActCal1stClkTim (ActLstClk + 32)
#define ActCalNumClk (ActLstClk + 33)
#define ActCalNumFilVie (ActLstClk + 34)
#define ActCalNumForPst (ActLstClk + 35)
#define ActCalNumMsgSnt (ActLstClk + 36)

#define ActFolUsr (ActLstClk + 37)
#define ActUnfUsr (ActLstClk + 38)
#define ActSeeFlg (ActLstClk + 39)
#define ActSeeFlr (ActLstClk + 40)

#define ActSeeForCrsUsr (ActLstClk + 41)
#define ActSeeForCrsTch (ActLstClk + 42)
#define ActSeeForDegUsr (ActLstClk + 43)
#define ActSeeForDegTch (ActLstClk + 44)
#define ActSeeForCtrUsr (ActLstClk + 45)
#define ActSeeForCtrTch (ActLstClk + 46)
#define ActSeeForInsUsr (ActLstClk + 47)
#define ActSeeForInsTch (ActLstClk + 48)
#define ActSeeForGenUsr (ActLstClk + 49)
#define ActSeeForGenTch (ActLstClk + 50)
#define ActSeeForSWAUsr (ActLstClk + 51)
#define ActSeeForSWATch (ActLstClk + 52)
#define ActSeePstForCrsUsr (ActLstClk + 53)
#define ActSeePstForCrsTch (ActLstClk + 54)
#define ActSeePstForDegUsr (ActLstClk + 55)
#define ActSeePstForDegTch (ActLstClk + 56)
#define ActSeePstForCtrUsr (ActLstClk + 57)
#define ActSeePstForCtrTch (ActLstClk + 58)
#define ActSeePstForInsUsr (ActLstClk + 59)
#define ActSeePstForInsTch (ActLstClk + 60)
#define ActSeePstForGenUsr (ActLstClk + 61)
#define ActSeePstForGenTch (ActLstClk + 62)
#define ActSeePstForSWAUsr (ActLstClk + 63)
#define ActSeePstForSWATch (ActLstClk + 64)
#define ActRcvThrForCrsUsr (ActLstClk + 65)
#define ActRcvThrForCrsTch (ActLstClk + 66)
#define ActRcvThrForDegUsr (ActLstClk + 67)
#define ActRcvThrForDegTch (ActLstClk + 68)
#define ActRcvThrForCtrUsr (ActLstClk + 69)
#define ActRcvThrForCtrTch (ActLstClk + 70)
#define ActRcvThrForInsUsr (ActLstClk + 71)
#define ActRcvThrForInsTch (ActLstClk + 72)
#define ActRcvThrForGenUsr (ActLstClk + 73)
#define ActRcvThrForGenTch (ActLstClk + 74)
#define ActRcvThrForSWAUsr (ActLstClk + 75)
#define ActRcvThrForSWATch (ActLstClk + 76)
#define ActRcvRepForCrsUsr (ActLstClk + 77)
#define ActRcvRepForCrsTch (ActLstClk + 78)
#define ActRcvRepForDegUsr (ActLstClk + 79)
#define ActRcvRepForDegTch (ActLstClk + 80)
#define ActRcvRepForCtrUsr (ActLstClk + 81)
#define ActRcvRepForCtrTch (ActLstClk + 82)
#define ActRcvRepForInsUsr (ActLstClk + 83)
#define ActRcvRepForInsTch (ActLstClk + 84)
#define ActRcvRepForGenUsr (ActLstClk + 85)
#define ActRcvRepForGenTch (ActLstClk + 86)
#define ActRcvRepForSWAUsr (ActLstClk + 87)
#define ActRcvRepForSWATch (ActLstClk + 88)
#define ActReqDelThrCrsUsr (ActLstClk + 89)
#define ActReqDelThrCrsTch (ActLstClk + 90)
#define ActReqDelThrDegUsr (ActLstClk + 91)
#define ActReqDelThrDegTch (ActLstClk + 92)
#define ActReqDelThrCtrUsr (ActLstClk + 93)
#define ActReqDelThrCtrTch (ActLstClk + 94)
#define ActReqDelThrInsUsr (ActLstClk + 95)
#define ActReqDelThrInsTch (ActLstClk + 96)
#define ActReqDelThrGenUsr (ActLstClk + 97)
#define ActReqDelThrGenTch (ActLstClk + 98)
#define ActReqDelThrSWAUsr (ActLstClk + 99)
#define ActReqDelThrSWATch (ActLstClk + 100)
#define ActDelThrForCrsUsr (ActLstClk + 101)
#define ActDelThrForCrsTch (ActLstClk + 102)
#define ActDelThrForDegUsr (ActLstClk + 103)
#define ActDelThrForDegTch (ActLstClk + 104)
#define ActDelThrForCtrUsr (ActLstClk + 105)
#define ActDelThrForCtrTch (ActLstClk + 106)
#define ActDelThrForInsUsr (ActLstClk + 107)
#define ActDelThrForInsTch (ActLstClk + 108)
#define ActDelThrForGenUsr (ActLstClk + 109)
#define ActDelThrForGenTch (ActLstClk + 110)
#define ActDelThrForSWAUsr (ActLstClk + 111)
#define ActDelThrForSWATch (ActLstClk + 112)
#define ActCutThrForCrsUsr (ActLstClk + 113)
#define ActCutThrForCrsTch (ActLstClk + 114)
#define ActCutThrForDegUsr (ActLstClk + 115)
#define ActCutThrForDegTch (ActLstClk + 116)
#define ActCutThrForCtrUsr (ActLstClk + 117)
#define ActCutThrForCtrTch (ActLstClk + 118)
#define ActCutThrForInsUsr (ActLstClk + 119)
#define ActCutThrForInsTch (ActLstClk + 120)
#define ActCutThrForGenUsr (ActLstClk + 121)
#define ActCutThrForGenTch (ActLstClk + 122)
#define ActCutThrForSWAUsr (ActLstClk + 123)
#define ActCutThrForSWATch (ActLstClk + 124)
#define ActPasThrForCrsUsr (ActLstClk + 125)
#define ActPasThrForCrsTch (ActLstClk + 126)
#define ActPasThrForDegUsr (ActLstClk + 127)
#define ActPasThrForDegTch (ActLstClk + 128)
#define ActPasThrForCtrUsr (ActLstClk + 129)
#define ActPasThrForCtrTch (ActLstClk + 130)
#define ActPasThrForInsUsr (ActLstClk + 131)
#define ActPasThrForInsTch (ActLstClk + 132)
#define ActPasThrForGenUsr (ActLstClk + 133)
#define ActPasThrForGenTch (ActLstClk + 134)
#define ActPasThrForSWAUsr (ActLstClk + 135)
#define ActPasThrForSWATch (ActLstClk + 136)
#define ActDelPstForCrsUsr (ActLstClk + 137)
#define ActDelPstForCrsTch (ActLstClk + 138)
#define ActDelPstForDegUsr (ActLstClk + 139)
#define ActDelPstForDegTch (ActLstClk + 140)
#define ActDelPstForCtrUsr (ActLstClk + 141)
#define ActDelPstForCtrTch (ActLstClk + 142)
#define ActDelPstForInsUsr (ActLstClk + 143)
#define ActDelPstForInsTch (ActLstClk + 144)
#define ActDelPstForGenUsr (ActLstClk + 145)
#define ActDelPstForGenTch (ActLstClk + 146)
#define ActDelPstForSWAUsr (ActLstClk + 147)
#define ActDelPstForSWATch (ActLstClk + 148)
#define ActEnbPstForCrsUsr (ActLstClk + 149)
#define ActEnbPstForCrsTch (ActLstClk + 150)
#define ActEnbPstForDegUsr (ActLstClk + 151)
#define ActEnbPstForDegTch (ActLstClk + 152)
#define ActEnbPstForCtrUsr (ActLstClk + 153)
#define ActEnbPstForCtrTch (ActLstClk + 154)
#define ActEnbPstForInsUsr (ActLstClk + 155)
#define ActEnbPstForInsTch (ActLstClk + 156)
#define ActEnbPstForGenUsr (ActLstClk + 157)
#define ActEnbPstForGenTch (ActLstClk + 158)
#define ActEnbPstForSWAUsr (ActLstClk + 159)
#define ActEnbPstForSWATch (ActLstClk + 160)
#define ActDisPstForCrsUsr (ActLstClk + 161)
#define ActDisPstForCrsTch (ActLstClk + 162)
#define ActDisPstForDegUsr (ActLstClk + 163)
#define ActDisPstForDegTch (ActLstClk + 164)
#define ActDisPstForCtrUsr (ActLstClk + 165)
#define ActDisPstForCtrTch (ActLstClk + 166)
#define ActDisPstForInsUsr (ActLstClk + 167)
#define ActDisPstForInsTch (ActLstClk + 168)
#define ActDisPstForGenUsr (ActLstClk + 169)
#define ActDisPstForGenTch (ActLstClk + 170)
#define ActDisPstForSWAUsr (ActLstClk + 171)
#define ActDisPstForSWATch (ActLstClk + 172)

#define ActCht (ActLstClk + 173)

/*****************************************************************************/
/******************************* Messages tab ********************************/
Expand Down
8 changes: 4 additions & 4 deletions swad_agenda.c
Expand Up @@ -518,17 +518,17 @@ static void Agd_PutIconToShowQR (void)

static void Agd_PutIconsOtherPublicAgenda (void)
{
extern const char *Txt_View_public_profile;
extern const char *Txt_Another_user_s_profile;
extern const char *Txt_View_record_for_this_course;
extern const char *Txt_View_record_and_office_hours;

/***** Button to view user's public profile *****/
if (Pri_ShowingIsAllowed (Gbl.Usrs.Other.UsrDat.ProfileVisibility,
&Gbl.Usrs.Other.UsrDat))
Lay_PutContextualLink (ActSeePubPrf,
&Gbl.Usrs.Other.UsrDat))
Lay_PutContextualLink (ActSeeOthPubPrf,
Usr_PutParamOtherUsrCodEncrypted,
"usr64x64.gif",
Txt_View_public_profile,NULL,
Txt_Another_user_s_profile,NULL,
NULL);

/***** Button to view user's record card *****/
Expand Down

0 comments on commit 65d14b5

Please sign in to comment.