mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-17 05:55:43 +02:00
Version 15.82.4
This commit is contained in:
parent
b5bab4ff23
commit
bfe6c22caf
|
@ -997,11 +997,11 @@ Users:
|
||||||
|
|
||||||
834. ActLstClk List last clicks in real time
|
834. ActLstClk List last clicks in real time
|
||||||
Social:
|
Social:
|
||||||
xxx. ActReqSocPst Write a public social post to be displayed in the timeline
|
|
||||||
xxx. ActSeeSocAct Show social activity (timeline)
|
xxx. ActSeeSocAct Show social activity (timeline)
|
||||||
699. ActReqPubPrf Request @nickname to show a public user's profile
|
699. ActReqPubPrf Request @nickname to show a public user's profile
|
||||||
845. ActSeeChtRms Show the chat rooms
|
845. ActSeeChtRms Show the chat rooms
|
||||||
|
|
||||||
|
xxx. ActReqSocPst Write a public social post to be displayed in the timeline
|
||||||
xxx. ActRcvSocPst Receive a public social post to be displayed in the timeline
|
xxx. ActRcvSocPst Receive a public social post to be displayed in the timeline
|
||||||
835. ActSeePubPrf Show a public user's profile
|
835. ActSeePubPrf Show a public user's profile
|
||||||
836. ActCal1stClkTim Calculate first click time from log and store into user's figures
|
836. ActCal1stClkTim Calculate first click time from log and store into user's figures
|
||||||
|
@ -2305,12 +2305,12 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] =
|
||||||
/* ActLstClk */{ 989,-1,TabUsr,ActLstCon ,0x1FE,0x1FE,0x1FE,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Con_ShowLastClicks ,NULL},
|
/* ActLstClk */{ 989,-1,TabUsr,ActLstCon ,0x1FE,0x1FE,0x1FE,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Con_ShowLastClicks ,NULL},
|
||||||
|
|
||||||
// TabSoc ******************************************************************
|
// TabSoc ******************************************************************
|
||||||
/* ActReqSocPst */{1491, 0,TabSoc,ActReqSocPst ,0x1FE,0x1FE,0x1FE,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Soc_FormSocialPost ,"editnewmsg64x64.gif" },
|
/* ActSeeSocAct */{1490, 0,TabSoc,ActSeeSocAct ,0x1FE,0x1FE,0x1FE,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Soc_ShowFollowingTimeline ,"soc64x64.png" },
|
||||||
/* ActSeeSocAct */{1490, 1,TabSoc,ActSeeSocAct ,0x1FE,0x1FE,0x1FE,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Soc_ShowFollowingTimeline ,"soc64x64.png" },
|
/* ActReqPubPrf */{1401, 1,TabSoc,ActReqPubPrf ,0x1FF,0x1FF,0x1FF,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Prf_RequestUserProfile ,"prf64x64.gif" },
|
||||||
/* ActReqPubPrf */{1401, 2,TabSoc,ActReqPubPrf ,0x1FF,0x1FF,0x1FF,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Prf_RequestUserProfile ,"prf64x64.gif" },
|
/* ActSeeChtRms */{ 51, 2,TabSoc,ActSeeChtRms ,0x1FC,0x1FC,0x1FC,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Cht_ShowChatRooms ,"chat64x64.gif" },
|
||||||
/* ActSeeChtRms */{ 51, 3,TabSoc,ActSeeChtRms ,0x1FC,0x1FC,0x1FC,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Cht_ShowChatRooms ,"chat64x64.gif" },
|
|
||||||
|
|
||||||
/* ActRcvSocPst */{1492,-1,TabSoc,ActReqSocPst ,0x1FE,0x1FE,0x1FE,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Soc_ReceiveSocialPost ,NULL},
|
/* 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},
|
||||||
|
|
||||||
/* ActSeePubPrf */{1402,-1,TabSoc,ActReqPubPrf ,0x1FF,0x1FF,0x1FF,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Prf_GetUsrCodAndShowUserProfile,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},
|
/* ActCal1stClkTim */{1405,-1,TabSoc,ActReqPubPrf ,0x1FF,0x1FF,0x1FF,Act_CONTENT_NORM,Act_MAIN_WINDOW,NULL ,Prf_CalculateFirstClickTime ,NULL},
|
||||||
|
|
|
@ -1036,11 +1036,11 @@ typedef int Act_Action_t; // Must be a signed type, because -1 is used to indica
|
||||||
/******************************** Social tab *********************************/
|
/******************************** Social tab *********************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
// Actions in menu
|
// Actions in menu
|
||||||
#define ActReqSocPst (ActLstClk+ 1)
|
#define ActSeeSocAct (ActLstClk+ 1)
|
||||||
#define ActSeeSocAct (ActLstClk+ 2)
|
#define ActReqPubPrf (ActLstClk+ 2)
|
||||||
#define ActReqPubPrf (ActLstClk+ 3)
|
#define ActSeeChtRms (ActLstClk+ 3)
|
||||||
#define ActSeeChtRms (ActLstClk+ 4)
|
|
||||||
// Secondary actions
|
// Secondary actions
|
||||||
|
#define ActReqSocPst (ActLstClk+ 4)
|
||||||
#define ActRcvSocPst (ActLstClk+ 5)
|
#define ActRcvSocPst (ActLstClk+ 5)
|
||||||
|
|
||||||
#define ActSeePubPrf (ActLstClk+ 6)
|
#define ActSeePubPrf (ActLstClk+ 6)
|
||||||
|
|
|
@ -116,13 +116,14 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 15.82.3 (2015-12-30)"
|
#define Log_PLATFORM_VERSION "SWAD 15.82.4 (2015-12-30)"
|
||||||
#define CSS_FILE "swad15.80.css"
|
#define CSS_FILE "swad15.80.css"
|
||||||
#define JS_FILE "swad15.77.7.js"
|
#define JS_FILE "swad15.77.7.js"
|
||||||
|
|
||||||
// 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.82.4: Dec 30, 2015 Action to write a new social post is removed form menu. (189159 lines)
|
||||||
Version 15.82.3: Dec 30, 2015 Contextual link to write a new social post. (189199 lines)
|
Version 15.82.3: Dec 30, 2015 Contextual link to write a new social post. (189199 lines)
|
||||||
Version 15.82.2: Dec 30, 2015 Current timeline is displayed below the form to write a new social post. (189183 lines)
|
Version 15.82.2: Dec 30, 2015 Current timeline is displayed below the form to write a new social post. (189183 lines)
|
||||||
Version 15.82.1: Dec 29, 2015 Public social posts are displayed in timeline. (189176 lines)
|
Version 15.82.1: Dec 29, 2015 Public social posts are displayed in timeline. (189176 lines)
|
||||||
|
|
|
@ -155,7 +155,6 @@ const Act_Action_t Mnu_MenuActions[Tab_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB
|
||||||
},
|
},
|
||||||
// TabSoc **********
|
// TabSoc **********
|
||||||
{
|
{
|
||||||
ActReqSocPst,
|
|
||||||
ActSeeSocAct,
|
ActSeeSocAct,
|
||||||
ActReqPubPrf,
|
ActReqPubPrf,
|
||||||
ActSeeChtRms,
|
ActSeeChtRms,
|
||||||
|
|
|
@ -148,7 +148,7 @@ void Soc_FormSocialPost (void)
|
||||||
Act_FormStart (ActRcvSocPst);
|
Act_FormStart (ActRcvSocPst);
|
||||||
|
|
||||||
/* Content of new post */
|
/* Content of new post */
|
||||||
fprintf (Gbl.F.Out,"<textarea name=\"Content\" cols=\"50\" rows=\"10\">"
|
fprintf (Gbl.F.Out,"<textarea name=\"Content\" cols=\"50\" rows=\"5\">"
|
||||||
"</textarea>");
|
"</textarea>");
|
||||||
|
|
||||||
/* Send button */
|
/* Send button */
|
||||||
|
@ -177,7 +177,7 @@ void Soc_ReceiveSocialPost (void)
|
||||||
/***** Get and store new post *****/
|
/***** Get and store new post *****/
|
||||||
/* Get the content of the post */
|
/* Get the content of the post */
|
||||||
Par_GetParAndChangeFormat ("Content",Content,Cns_MAX_BYTES_LONG_TEXT,
|
Par_GetParAndChangeFormat ("Content",Content,Cns_MAX_BYTES_LONG_TEXT,
|
||||||
Str_TO_RIGOROUS_HTML,false);
|
Str_TO_RIGOROUS_HTML,true);
|
||||||
|
|
||||||
/* Insert post content in the database */
|
/* Insert post content in the database */
|
||||||
sprintf (Query,"INSERT INTO social_post (Content) VALUES ('%s')",
|
sprintf (Query,"INSERT INTO social_post (Content) VALUES ('%s')",
|
||||||
|
|
44
swad_text.c
44
swad_text.c
|
@ -17880,27 +17880,6 @@ const char *Txt_MENU_TITLE[Tab_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB] =
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// TabSoc *****************************************************
|
// TabSoc *****************************************************
|
||||||
// ActReqSocPst
|
|
||||||
#if L==1
|
|
||||||
"Redactar"
|
|
||||||
#elif L==2
|
|
||||||
"Schreiben"
|
|
||||||
#elif L==3
|
|
||||||
"Write"
|
|
||||||
#elif L==4
|
|
||||||
"Redactar"
|
|
||||||
#elif L==5
|
|
||||||
"Ecrire"
|
|
||||||
#elif L==6
|
|
||||||
"Redactar" // Okoteve traducción
|
|
||||||
#elif L==7
|
|
||||||
"Scrivi"
|
|
||||||
#elif L==8
|
|
||||||
"Napisz"
|
|
||||||
#elif L==9
|
|
||||||
"Escrever"
|
|
||||||
#endif
|
|
||||||
,
|
|
||||||
// ActSeeSocAct
|
// ActSeeSocAct
|
||||||
#if L==1
|
#if L==1
|
||||||
"Activitat"
|
"Activitat"
|
||||||
|
@ -17980,6 +17959,7 @@ const char *Txt_MENU_TITLE[Tab_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB] =
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
|
NULL,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// TabMsg *****************************************************
|
// TabMsg *****************************************************
|
||||||
|
@ -19856,27 +19836,6 @@ const char *Txt_MENU_SUBTITLE[Tab_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB] =
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// TabSoc *****************************************************
|
// TabSoc *****************************************************
|
||||||
// ActReqSocPst
|
|
||||||
#if L==1
|
|
||||||
"Nou comentari públic"
|
|
||||||
#elif L==2
|
|
||||||
"Neue öffentlichen Kommentar"
|
|
||||||
#elif L==3
|
|
||||||
"New public comment"
|
|
||||||
#elif L==4
|
|
||||||
"Nuevo comentario público"
|
|
||||||
#elif L==5
|
|
||||||
"Nouvelle commentaire public"
|
|
||||||
#elif L==6
|
|
||||||
"Nuevo comentario público" // Okoteve traducción
|
|
||||||
#elif L==7
|
|
||||||
"Nuovo commento pubblico"
|
|
||||||
#elif L==8
|
|
||||||
"Nowy komentarz publicznego"
|
|
||||||
#elif L==9
|
|
||||||
"Novo comentário público"
|
|
||||||
#endif
|
|
||||||
,
|
|
||||||
// ActSeeSocAct
|
// ActSeeSocAct
|
||||||
#if L==1
|
#if L==1
|
||||||
"Activitat social (línia de temps)"
|
"Activitat social (línia de temps)"
|
||||||
|
@ -19956,6 +19915,7 @@ const char *Txt_MENU_SUBTITLE[Tab_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB] =
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
NULL,
|
NULL,
|
||||||
|
NULL,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// TabMsg *****************************************************
|
// TabMsg *****************************************************
|
||||||
|
|
Loading…
Reference in New Issue
Block a user