");
ShowPhoto = Pho_ShowUsrPhotoIsAllowed (&UsrDat,PhotoURL);
Pho_ShowUsrPhoto (&UsrDat,ShowPhoto ? PhotoURL :
NULL,
"PHOTO60x80",Pho_ZOOM);
fprintf (Gbl.F.Out,"
");
/* Right: author's name, time and summary */
fprintf (Gbl.F.Out,"");
/* Write author's full name and nickname */
Str_LimitLengthHTMLStr (UsrDat.FullName,20);
fprintf (Gbl.F.Out,"
"
"%s"
" @%s"
"
",
UsrDat.FullName,UsrDat.Nickname);
/* Write date and time */
Soc_WriteEventDate (DateTimeUTC);
/* Write event type and location */
if (SocialEvent != Soc_EVENT_SOCIAL_POST)
{
fprintf (Gbl.F.Out,"
");
Soc_StartFormGoToAction (SocialEvent,Crs.CrsCod,Cod);
Act_LinkFormSubmit (Txt_SOCIAL_EVENT[SocialEvent],
The_ClassForm[Gbl.Prefs.Theme]);
fprintf (Gbl.F.Out,"%s",
Txt_SOCIAL_EVENT[SocialEvent]);
Act_FormEnd ();
fprintf (Gbl.F.Out,"
");
if (SocialEvent == Soc_EVENT_FORUM_POST)
fprintf (Gbl.F.Out,"
%s: %s
",
Txt_Forum,ForumName);
else if (Crs.CrsCod > 0)
fprintf (Gbl.F.Out,"
%s: %s
",
Txt_Course,Crs.ShortName);
else if (Deg.DegCod > 0)
fprintf (Gbl.F.Out,"
%s: %s
",
Txt_Degree,Deg.ShortName);
else if (Ctr.CtrCod > 0)
fprintf (Gbl.F.Out,"
%s: %s
",
Txt_Centre,Ctr.ShortName);
else if (Ins.InsCod > 0)
fprintf (Gbl.F.Out,"
%s: %s
",
Txt_Institution,Ins.ShortName);
else if (Cty.CtyCod > 0)
fprintf (Gbl.F.Out,"
%s: %s
",
Txt_Country,Cty.Name[Gbl.Prefs.Language]);
}
/* Write content of the event */
Soc_GetEventSummary (SocialEvent,Cod,
SummaryStr,Soc_MAX_BYTES_SUMMARY);
fprintf (Gbl.F.Out,"
%s
",SummaryStr);
/* End of right part */
fprintf (Gbl.F.Out,"
");
/* End of list element */
fprintf (Gbl.F.Out,"