From 1e48956cfc79d86fc8edcf7e7a341cabdde34485 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Thu, 7 Jan 2016 21:21:33 +0100 Subject: [PATCH] Version 15.101.3 --- css/{swad15.101.2.css => swad15.101.3.css} | 16 ++++++++-------- swad_changelog.h | 5 +++-- swad_social.c | 8 +++----- 3 files changed, 14 insertions(+), 15 deletions(-) rename css/{swad15.101.2.css => swad15.101.3.css} (99%) diff --git a/css/swad15.101.2.css b/css/swad15.101.3.css similarity index 99% rename from css/swad15.101.2.css rename to css/swad15.101.3.css index 8deb59907..45e4d06ec 100644 --- a/css/swad15.101.2.css +++ b/css/swad15.101.3.css @@ -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; } diff --git a/swad_changelog.h b/swad_changelog.h index 200ce47a4..7ab7ffc3f 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -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) diff --git a/swad_social.c b/swad_social.c index 77995c85e..99023bee5 100644 --- a/swad_social.c +++ b/swad_social.c @@ -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,""); /***** Right: author's name, time, summary and buttons *****/ fprintf (Gbl.F.Out,"
"); /* Write author's full name and nickname */ - Str_LimitLengthHTMLStr (UsrDat.FullName,20); + Str_LimitLengthHTMLStr (UsrDat.FullName,16); fprintf (Gbl.F.Out,"
" "%s" " @%s" @@ -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,"
"); /***** 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); } /*****************************************************************************/