Version 15.101.3

This commit is contained in:
Antonio Cañas Vargas 2016-01-07 21:21:33 +01:00
parent acd7b5290e
commit 1e48956cfc
3 changed files with 14 additions and 15 deletions

View File

@ -1676,7 +1676,7 @@ a:hover img.CENTRE_PHOTO_SHOW
{
display:inline-block;
box-sizing:border-box;
width:70px;
width:56px;
height:100px;
padding:10px 0;
text-align:left;
@ -1686,14 +1686,14 @@ a:hover img.CENTRE_PHOTO_SHOW
{
display:inline-block;
box-sizing:border-box;
width:460px;
width:480px;
padding:10px 0;
}
.SOCIAL_RIGHT_AUTHOR
{
display:inline-block;
box-sizing:border-box;
width:280px;
width:310px;
text-align:left;
vertical-align:top;
}
@ -1701,7 +1701,7 @@ a:hover img.CENTRE_PHOTO_SHOW
{
display:inline-block;
box-sizing:border-box;
width:180px;
width:170px;
text-align:right;
vertical-align:top;
}
@ -1747,8 +1747,8 @@ a:hover img.CENTRE_PHOTO_SHOW
{
display:inline-block;
box-sizing:border-box;
width:50px;
height:80px;
width:40px;
height:60px;
padding:10px 0;
text-align:left;
vertical-align:top;
@ -1757,14 +1757,14 @@ a:hover img.CENTRE_PHOTO_SHOW
{
display:inline-block;
box-sizing:border-box;
width:410px;
width:440px;
padding:10px 0;
}
.SOCIAL_COMMENT_RIGHT_AUTHOR
{
display:inline-block;
box-sizing:border-box;
width:230px;
width:270px;
text-align:left;
vertical-align:top;
}

View File

@ -124,13 +124,14 @@ En definitiva, se estar
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.101.2 (2016-01-07)"
#define CSS_FILE "swad15.101.2.css"
#define Log_PLATFORM_VERSION "SWAD 15.101.3 (2016-01-07)"
#define CSS_FILE "swad15.101.3.css"
#define JS_FILE "swad15.100.2.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.101.3: Jan 07, 2016 Changes in CSS related to social timeline. (191229 lines)
Version 15.101.2: Jan 07, 2016 Show social comments in social notes. (191229 lines)
Version 15.101.1: Jan 07, 2016 Show social comments in social notes. Not finished. (191181 lines)
Version 15.101: Jan 07, 2016 Store social comment in database. (191091 lines)

View File

@ -428,14 +428,14 @@ static void Soc_WriteSocialNote (const struct SocialPublishing *SocPub,
ShowPhoto = Pho_ShowUsrPhotoIsAllowed (&UsrDat,PhotoURL);
Pho_ShowUsrPhoto (&UsrDat,ShowPhoto ? PhotoURL :
NULL,
"PHOTO60x80",Pho_ZOOM);
"PHOTO45x60",Pho_ZOOM);
fprintf (Gbl.F.Out,"</div>");
/***** Right: author's name, time, summary and buttons *****/
fprintf (Gbl.F.Out,"<div class=\"SOCIAL_RIGHT_CONTAINER\">");
/* Write author's full name and nickname */
Str_LimitLengthHTMLStr (UsrDat.FullName,20);
Str_LimitLengthHTMLStr (UsrDat.FullName,16);
fprintf (Gbl.F.Out,"<div class=\"SOCIAL_RIGHT_AUTHOR\">"
"<span class=\"DAT_N_BOLD\">%s</span>"
"<span class=\"DAT_LIGHT\"> @%s</span>"
@ -1244,7 +1244,7 @@ static void Soc_WriteCommentsInSocialNote (long NotCod)
ShowPhoto = Pho_ShowUsrPhotoIsAllowed (&UsrDat,PhotoURL);
Pho_ShowUsrPhoto (&UsrDat,ShowPhoto ? PhotoURL :
NULL,
"PHOTO45x60",Pho_ZOOM);
"PHOTO30x40",Pho_ZOOM);
fprintf (Gbl.F.Out,"</div>");
/***** Right: author's name, time, summary and buttons *****/
@ -1571,8 +1571,6 @@ static void Soc_ReceiveComment (void)
" VALUES ('%ld','%s')",
ComCod,Content);
DB_QueryINSERT (Query,"can not store comment content");
Lay_ShowAlert (Lay_INFO,Content);
}
/*****************************************************************************/