Version 16.139.5

This commit is contained in:
Antonio Cañas Vargas 2017-02-22 23:48:44 +01:00
parent 2e1b70a2a4
commit 9560e561da
2 changed files with 13 additions and 12 deletions

View File

@ -195,17 +195,20 @@
// TODO: Bajo la foto de cada usuario el país
// TODO: Permitir elegir entre "Ver actividad de quienes sigo" o "Ver actividad de todos"
// TODO: Un administrador de institución, ¿debería poder cambiar la contraseña de un usuario de esa institución? No lo tengo claro.
/*****************************************************************************/
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.139.4 (2017-02-17)"
#define Log_PLATFORM_VERSION "SWAD 16.139.5 (2017-02-22)"
#define CSS_FILE "swad16.136.css"
#define JS_FILE "swad16.123.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 16.139.5: Feb 22, 2017 Changed contextual links in my profile. (212832 lines)
Version 16.139.4: Feb 17, 2017 Fixed bug in social timeline. (212835 lines)
Version 16.139.3: Feb 17, 2017 Fixed bug in social timeline. (212835 lines)
Version 16.139.2: Feb 17, 2017 Code refactoring in actions. (212836 lines)

View File

@ -285,19 +285,17 @@ bool Prf_ShowUserProfile (struct UsrData *UsrDat)
if (Gbl.Usrs.Me.Logged)
{
fprintf (Gbl.F.Out,"<div class=\"CONTEXT_MENU\">");
if (ItsMe) // It's me
{
Rec_PutLinkToChangeMyInsCtrDpt (); // Put link (form) to change my institution, centre, department...
Net_PutLinkToChangeMySocialNetworks (); // Put link (form) to change my social networks
Pho_PutLinkToChangeMyPhoto (); // Put link (form) to change my photo
Pri_PutLinkToChangeMyPrivacy (); // Put link (form) to change my privacy
}
else
{
/***** Put link to show my public profile and users to follow *****/
/* Put link to show another user's profile */
Prf_PutLinkRequestAnotherUserProfile ();
else // Not me
/* Put link to show my public profile */
Prf_PutLinkMyPublicProfile ();
Fol_PutLinkWhoToFollow ();
}
/* Put link to show users to follow */
Fol_PutLinkWhoToFollow ();
fprintf (Gbl.F.Out,"</div>");
}