From 17594c993b63ffc270af31efe11f196b8a85fdde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Thu, 28 Mar 2019 08:51:39 +0100 Subject: [PATCH] Version18.89.5 --- css/swad18.89.5.css | 12 ------------ swad_changelog.h | 5 ++++- swad_timeline.c | 12 ++++-------- 3 files changed, 8 insertions(+), 21 deletions(-) diff --git a/css/swad18.89.5.css b/css/swad18.89.5.css index 6f11816c0..557faf1a8 100644 --- a/css/swad18.89.5.css +++ b/css/swad18.89.5.css @@ -2900,7 +2900,6 @@ a:hover img.CENTRE_PHOTO_SHOW .TL_WIDTH {width:316px;} /* 556-240 */ .TL_RIGHT_WIDTH {width:260px;} /* 500-240 */ .TL_RIGHT_AUTHOR_WIDTH {width:100px;} /* 340-240 */ - .TL_POST_MED_WIDTH {width:220px;} /* 460-240 */ .TL_COMMENT_WIDTH {width:220px;} /* 460-240 */ .TL_COMMENT_AUTHOR_WIDTH {width: 60px;} /* 300-240 */ .TL_MED_INPUT_WIDTH {width:160px;} /* 400-240 */ @@ -2910,8 +2909,6 @@ a:hover img.CENTRE_PHOTO_SHOW .TL_WIDTH {width:556px;} .TL_RIGHT_WIDTH {width:500px;} .TL_RIGHT_AUTHOR_WIDTH {width:340px;} - .TL_POST_MED_WIDTH {width:460px;} - .TL_POST_MED_INPUT_WIDTH {width:440px;} .TL_COMMENT_WIDTH {width:460px;} .TL_COMMENT_AUTHOR_WIDTH {width:300px;} .TL_MED_INPUT_WIDTH {width:400px;} @@ -2989,11 +2986,6 @@ a:hover img.CENTRE_PHOTO_SHOW margin:0; resize:none; } -.TL_POST_MED_INPUT - { - box-sizing:border-box; - margin:0 auto; - } .TL_POST_MED_CONTAINER { box-sizing:border-box; @@ -3044,10 +3036,6 @@ a:hover img.CENTRE_PHOTO_SHOW margin:0; resize:none; } -.TL_COMMENT_IMG_TIT_URL - { - box-sizing:border-box; - } .TL_BOTTOM_LEFT /* Container for button used to toggle new comment form */ { display:inline-block; diff --git a/swad_changelog.h b/swad_changelog.h index 2dad74ef4..70c9d90b7 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -469,7 +469,10 @@ ps2pdf source.ps destination.pdf #define JS_FILE "swad18.89.5.js" /* Version 18.89.5: Mar 28, 2019 Code refactoring in media uploader. - Changes in design of media uploader. (241160 lines) + Changes in design of media uploader. (241146 lines) + Copy the following icon to icon public directory: +sudo cp icon/paperclip.svg /var/www/html/swad/icon/ + Version 18.89.4: Mar 27, 2019 Code refactoring in media uploader. (241144 lines) Version 18.89.3: Mar 27, 2019 Changes in media attachment form. (241139 lines) Version 18.89.2: Mar 27, 2019 Help link when writing a test question. diff --git a/swad_timeline.c b/swad_timeline.c index e1212ad8e..948dde381 100644 --- a/swad_timeline.c +++ b/swad_timeline.c @@ -182,8 +182,7 @@ static void TL_GetNoteSummary (const struct TL_Note *SocNot, static void TL_PublishNoteInTimeline (struct TL_Publication *SocPub); static void TL_PutFormToWriteNewPost (void); -static void TL_PutTextarea (const char *Placeholder, - const char *ClassTextArea,const char *ClassMediaInput); +static void TL_PutTextarea (const char *Placeholder,const char *ClassTextArea); static long TL_ReceivePost (void); @@ -2359,8 +2358,7 @@ static void TL_PutFormToWriteNewPost (void) /* Textarea and button */ TL_PutTextarea (Txt_New_TIMELINE_post, - "TL_POST_TEXTAREA TL_RIGHT_WIDTH", - "TL_POST_MED_INPUT TL_POST_MED_WIDTH"); + "TL_POST_TEXTAREA TL_RIGHT_WIDTH"); /* End form */ Frm_EndForm (); @@ -2377,8 +2375,7 @@ static void TL_PutFormToWriteNewPost (void) /*** Put textarea and button inside a form to submit a new post or comment ***/ /*****************************************************************************/ -static void TL_PutTextarea (const char *Placeholder, - const char *ClassTextArea,const char *ClassMediaInput) +static void TL_PutTextarea (const char *Placeholder,const char *ClassTextArea) { extern const char *Txt_Post; char IdDivImgButton[Frm_MAX_BYTES_ID + 1]; @@ -2584,8 +2581,7 @@ static void TL_PutHiddenFormToWriteNewCommentToNote (long NotCod, /* Textarea and button */ TL_PutTextarea (Txt_New_TIMELINE_comment, - "TL_COMMENT_TEXTAREA TL_COMMENT_WIDTH", - "TL_COMMENT_IMG_TIT_URL TL_COMMENT_WIDTH"); + "TL_COMMENT_TEXTAREA TL_COMMENT_WIDTH"); /* End form */ Frm_EndForm ();