mirror of
https://github.com/acanas/swad-core.git
synced 2024-05-31 22:05:23 +02:00
Version 15.88.3
This commit is contained in:
parent
faf94c6a94
commit
385b79c010
|
@ -4438,12 +4438,12 @@ void Act_PutLinkToUpdateAction (Act_Action_t Action)
|
|||
extern const char *The_ClassFormBold[The_NUM_THEMES];
|
||||
extern const char *Txt_Update;
|
||||
|
||||
Act_FormStart (Action);
|
||||
fprintf (Gbl.F.Out,"<div class=\"CONTEXT_MENU\">");
|
||||
Act_FormStart (Action);
|
||||
Act_LinkFormSubmitAnimated (Txt_Update,The_ClassFormBold[Gbl.Prefs.Theme]);
|
||||
Lay_PutCalculateIconWithText (Txt_Update,Txt_Update);
|
||||
fprintf (Gbl.F.Out,"</div>");
|
||||
Act_FormEnd ();
|
||||
fprintf (Gbl.F.Out,"</div>");
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
|
@ -117,13 +117,14 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.88.2 (2016-01-01)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.88.3 (2016-01-01)"
|
||||
#define CSS_FILE "swad15.88.1.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.3: Jan 01, 2016 Changes in contextual options in social timeline. (189907 lines)
|
||||
Version 15.88.2: Jan 01, 2016 Messages translated. (189902 lines)
|
||||
Version 15.88.1: Jan 01, 2016 Changes in layout of social timeline. (189854 lines)
|
||||
Version 15.88: Jan 01, 2016 New buttons in social timeline to share/unshare a social publishing. (189841 lines)
|
||||
|
|
|
@ -170,6 +170,11 @@ void Soc_ShowUsrTimeline (long UsrCod)
|
|||
{
|
||||
char Query[512];
|
||||
|
||||
/***** Link to write a new social post (public comment) *****/
|
||||
if (UsrCod == Gbl.Usrs.Me.UsrDat.UsrCod && // It's me
|
||||
Gbl.CurrentAct != ActReqSocPst) // Not writing a new post
|
||||
Soc_PutLinkToWriteANewPost ();
|
||||
|
||||
/***** Build query to show timeline with publishing of a unique user *****/
|
||||
sprintf (Query,"SELECT PubCod,AuthorCod,PublisherCod,NotCod,UNIX_TIMESTAMP(TimePublish)"
|
||||
" FROM social_timeline"
|
||||
|
@ -179,7 +184,7 @@ void Soc_ShowUsrTimeline (long UsrCod)
|
|||
Soc_NUM_PUBS_IN_TIMELINE);
|
||||
|
||||
/***** Show timeline *****/
|
||||
Soc_ShowTimeline (Query,ActUnk);
|
||||
Soc_ShowTimeline (Query,ActSeeSocAct);
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
@ -192,7 +197,7 @@ void Soc_ShowFollowingTimeline (void)
|
|||
char Query[512];
|
||||
|
||||
/***** Link to write a new social post (public comment) *****/
|
||||
if (Gbl.CurrentAct != ActReqSocPst)
|
||||
if (Gbl.CurrentAct != ActReqSocPst) // Not writing a new post
|
||||
Soc_PutLinkToWriteANewPost ();
|
||||
|
||||
/***** If I follow someone... *****/
|
||||
|
|
Loading…
Reference in New Issue
Block a user