Version 15.121.4

This commit is contained in:
Antonio Cañas Vargas 2016-01-20 09:33:45 +01:00
parent 56492e647f
commit f88fc03a60
3 changed files with 10 additions and 6 deletions

View File

@ -1704,6 +1704,7 @@ a:hover img.CENTRE_PHOTO_SHOW
{ {
to {background-color:white;} to {background-color:white;}
} }
.SOCIAL_FORM_NEW_POST .SOCIAL_FORM_NEW_POST
{ {
padding:10px 0; padding:10px 0;
@ -1751,6 +1752,7 @@ a:hover img.CENTRE_PHOTO_SHOW
display:inline-block; display:inline-block;
box-sizing:border-box; box-sizing:border-box;
width:160px; width:160px;
text-align:right;
vertical-align:top; vertical-align:top;
} }
.SOCIAL_BOTTOM_LEFT /* Container for button used to toggle new comment form */ .SOCIAL_BOTTOM_LEFT /* Container for button used to toggle new comment form */
@ -1780,7 +1782,7 @@ a:hover img.CENTRE_PHOTO_SHOW
} }
.SOCIAL_TXT .SOCIAL_TXT
{ {
padding:8px 0; padding:5px 0;
color:#404040; color:#404040;
font-size:13pt; font-size:13pt;
} }

View File

@ -119,6 +119,7 @@
// TODO: Increment one second after each refresh in social timeline? // TODO: Increment one second after each refresh in social timeline?
// TODO: Notifications of new followers should go to follower's profile // TODO: Notifications of new followers should go to follower's profile
// TODO: Textarea in comments smaller and with my photo at left
// TODO: Fav comments (remove favs when comment is removed) // TODO: Fav comments (remove favs when comment is removed)
// TODO: Fix bugs on comment favourites // TODO: Fix bugs on comment favourites
@ -126,13 +127,14 @@
/****************************** Public constants *****************************/ /****************************** Public constants *****************************/
/*****************************************************************************/ /*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.121.3 (2016-01-19)" #define Log_PLATFORM_VERSION "SWAD 15.121.4 (2016-01-20)"
#define CSS_FILE "swad15.121.3.css" #define CSS_FILE "swad15.121.3.css"
#define JS_FILE "swad15.118.4.js" #define JS_FILE "swad15.118.4.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.121.4: Jan 20, 2016 Fixed bug related to favs in social comments. (193904 lines)
Version 15.121.3: Jan 20, 2016 Favs in social comments. Not finished. Version 15.121.3: Jan 20, 2016 Favs in social comments. Not finished.
Changes in layout of social timeline. (193901 lines) Changes in layout of social timeline. (193901 lines)
Version 15.121.2: Jan 19, 2016 Favs in social comments. Not finished. (193868 lines) Version 15.121.2: Jan 19, 2016 Favs in social comments. Not finished. (193868 lines)

View File

@ -1425,8 +1425,8 @@ static void Soc_WriteDateTime (time_t TimeUTC)
Soc_SetUniqueId (IdDateTime); Soc_SetUniqueId (IdDateTime);
/***** Container where the date-time is written *****/ /***** Container where the date-time is written *****/
fprintf (Gbl.F.Out,"<div id=\"%s\" class=\"SOCIAL_RIGHT_TIME DAT_LIGHT\"" fprintf (Gbl.F.Out,"<div id=\"%s\" class=\"SOCIAL_RIGHT_TIME DAT_LIGHT\">"
" style=\"display:inline-block;\"></div>", "</div>",
IdDateTime); IdDateTime);
/***** Script to write date and time in browser local time *****/ /***** Script to write date and time in browser local time *****/
@ -2529,7 +2529,7 @@ static void Soc_PutFormToUnfavSocialComment (long ComCod)
} }
else else
Act_FormStartUnique (ActUnfSocComGbl); Act_FormStartUnique (ActUnfSocComGbl);
Soc_PutHiddenParamNotCod (ComCod); Soc_PutHiddenParamComCod (ComCod);
fprintf (Gbl.F.Out,"<div class=\"SOCIAL_ICON_FAV ICON_HIGHLIGHT\">" fprintf (Gbl.F.Out,"<div class=\"SOCIAL_ICON_FAV ICON_HIGHLIGHT\">"
"<input type=\"image\"" "<input type=\"image\""
" src=\"%s/faved64x64.png\"" " src=\"%s/faved64x64.png\""
@ -3833,7 +3833,7 @@ static void Soc_ShowSharersOrFavers (unsigned NumUsrs,const char *Query)
ShowPhoto = Pho_ShowUsrPhotoIsAllowed (&UsrDat,PhotoURL); ShowPhoto = Pho_ShowUsrPhotoIsAllowed (&UsrDat,PhotoURL);
Pho_ShowUsrPhoto (&UsrDat,ShowPhoto ? PhotoURL : Pho_ShowUsrPhoto (&UsrDat,ShowPhoto ? PhotoURL :
NULL, NULL,
"PHOTO18x24",Pho_ZOOM,true); // Use unique id "PHOTO15x20",Pho_ZOOM,true); // Use unique id
fprintf (Gbl.F.Out,"</div>"); fprintf (Gbl.F.Out,"</div>");
NumUsrsShown++; NumUsrsShown++;