From ca8d9b0f8b68a08e137fd8e82df2076a915c29ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Mon, 19 Dec 2016 00:55:24 +0100 Subject: [PATCH] Version 16.104 --- css/{swad16.103.1.css => swad16.104.css} | 10 +---- swad_changelog.h | 6 ++- swad_chat.c | 6 +-- swad_course.c | 6 +-- swad_enrollment.c | 14 ++---- swad_file_browser.c | 8 +--- swad_forum.c | 25 ++++------- swad_info.c | 55 +++++++++++------------- swad_syllabus.c | 4 +- swad_tab.c | 2 +- swad_text.c | 50 +++++++++++++-------- 11 files changed, 82 insertions(+), 104 deletions(-) rename css/{swad16.103.1.css => swad16.104.css} (99%) diff --git a/css/swad16.103.1.css b/css/swad16.104.css similarity index 99% rename from css/swad16.103.1.css rename to css/swad16.104.css index ebd2c21a5..4f935cd4a 100644 --- a/css/swad16.103.1.css +++ b/css/swad16.104.css @@ -33,7 +33,6 @@ body input { font-size:12pt; - vertical-align:middle; } select { @@ -1758,20 +1757,13 @@ a:hover img.CENTRE_PHOTO_SHOW /*********************************** Lists ***********************************/ .LIST_LEFT { + display:inline-block; list-style-type:none; padding:0; margin:0; text-align:left; vertical-align:middle; } -.LIST_CENTER - { - list-style-type:none; - padding:0; - margin:0 auto; - text-align:center; - vertical-align:middle; - } /*****************************************************************************/ diff --git a/swad_changelog.h b/swad_changelog.h index 1a1a080b7..f08337416 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -187,13 +187,15 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.103.7 (2016-12-18)" -#define CSS_FILE "swad16.103.1.css" +#define Log_PLATFORM_VERSION "SWAD 16.104 (2016-12-19)" +#define CSS_FILE "swad16.104.css" #define JS_FILE "swad16.101.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.104: Dec 19, 2016 Change in checkbox to confirm that I have read a course info. + Changes in layout of lists. (211183 lines) Version 16.103.7: Dec 18, 2016 Change in checkbox to force students to read couse info. (211206 lines) Version 16.103.6: Dec 18, 2016 Some div elements changed to header, footer, aside and nav elements. (211212 lines) Version 16.103.5: Dec 17, 2016 Code refactoring in user enrollment. (211207 lines) diff --git a/swad_chat.c b/swad_chat.c index 7e55127aa..52b36bf3b 100644 --- a/swad_chat.c +++ b/swad_chat.c @@ -117,8 +117,7 @@ void Cht_ShowListOfAvailableChatRooms (void) /***** Table start *****/ Lay_StartRoundFrame (NULL,Txt_Chat_rooms,NULL,NULL); - fprintf (Gbl.F.Out,"
" - "
"); + fprintf (Gbl.F.Out,""); Lay_EndRoundFrame (); } diff --git a/swad_course.c b/swad_course.c index a0d45fc14..c46ff0d45 100644 --- a/swad_course.c +++ b/swad_course.c @@ -545,8 +545,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void) /***** Table start *****/ Lay_StartRoundFrame (NULL,Txt_My_courses,NULL,Hlp_PROFILE_Courses); - fprintf (Gbl.F.Out,"
" - "
"); + fprintf (Gbl.F.Out,""); Lay_EndRoundFrame (); } diff --git a/swad_enrollment.c b/swad_enrollment.c index 8d817437c..ac3044b8c 100644 --- a/swad_enrollment.c +++ b/swad_enrollment.c @@ -871,9 +871,7 @@ bool Enr_PutActionsRegRemOneUsr (bool ItsMe) } /***** Start list of options *****/ - fprintf (Gbl.F.Out,"
" - "
"); + fprintf (Gbl.F.Out,""); return (NumOptionsShown ? true : false); @@ -1105,9 +1102,7 @@ static void Enr_PutActionsRegRemSeveralUsrs (void) extern const char *Txt_Eliminate_from_the_platform_the_users_indicated_in_step_1; /***** Start list of options *****/ - fprintf (Gbl.F.Out,"
" - "
"); + fprintf (Gbl.F.Out,""); } /*****************************************************************************/ diff --git a/swad_file_browser.c b/swad_file_browser.c index 1173eb767..37994505f 100644 --- a/swad_file_browser.c +++ b/swad_file_browser.c @@ -3861,9 +3861,6 @@ static void Brw_WriteSubtitleOfFileBrowser (void) extern const char *Txt_nobody_else_can_access_this_content; char Subtitle[1024]; - /***** Container start *****/ - fprintf (Gbl.F.Out,"
"); - /***** Form to change zone (course and group browsers) *****/ switch (Gbl.FileBrowser.Type) { @@ -3981,11 +3978,8 @@ static void Brw_WriteSubtitleOfFileBrowser (void) return; } if (Subtitle[0]) - fprintf (Gbl.F.Out,"%s", + fprintf (Gbl.F.Out,"
%s
", Subtitle); - - /***** Container end *****/ - fprintf (Gbl.F.Out,"
"); } /*****************************************************************************/ diff --git a/swad_forum.c b/swad_forum.c index 28034f9ee..f59945632 100644 --- a/swad_forum.c +++ b/swad_forum.c @@ -981,9 +981,7 @@ static void For_ShowThreadPosts (long ThrCod,char *LastSubject) For_PutFormWhichForums (); /* Write a link to top level of forums */ - fprintf (Gbl.F.Out,"
" - "
"); + ""); Lay_EndRoundFrame (); LastSubject[0] = '\0'; @@ -1751,9 +1748,7 @@ void For_ShowForumList (void) For_PutFormWhichForums (); /***** Write a link to top level of forums *****/ - fprintf (Gbl.F.Out,"
" - "
"); + fprintf (Gbl.F.Out,""); Lay_EndRoundFrame (); } @@ -1889,8 +1883,8 @@ static void For_PutFormWhichForums (void) Act_FormStart (ActSeeFor); For_PutParamForumOrder (); For_PutParamsForumInsDegCrs (); - fprintf (Gbl.F.Out,"
" - "