From 47bcbe0eeac2cf6da03fb3be17173fa50c66aa01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Sat, 20 Dec 2014 16:20:51 +0100 Subject: [PATCH] Version 14.39.1 --- css/swad_desktop.css | 10 ++++----- css/swad_mobile.css | 10 ++++----- swad_changelog.h | 3 ++- swad_date.c | 4 ++-- swad_degree.c | 2 +- swad_layout.c | 53 ++++++++++++++++++++++---------------------- swad_search.c | 2 +- swad_statistic.c | 5 ++--- 8 files changed, 45 insertions(+), 44 deletions(-) diff --git a/css/swad_desktop.css b/css/swad_desktop.css index 536b3aaa2..78aeff78d 100644 --- a/css/swad_desktop.css +++ b/css/swad_desktop.css @@ -146,11 +146,11 @@ hr.YELLOW_SEPARA {height:0px; border-top:0px; border-bottom:#BD4815 dotted 1px;} padding:8px; background-color:#FAF098; - background-image:linear-gradient(bottom, #FAF098 0%, #FEED95 85%, #EED86C 100%); - background-image:-o-linear-gradient(bottom, #FAF098 0%, #FEED95 85%, #EED86C 100%); - background-image:-moz-linear-gradient(bottom, #FAF098 0%, #FEED95 85%, #EED86C 100%); - background-image:-webkit-linear-gradient(bottom, #FAF098 0%, #FEED95 85%, #EED86C 100%); - background-image:-ms-linear-gradient(bottom, #FAF098 0%, #FEED95 85%, #EED86C 100%); + background-image:linear-gradient(#EED86C 0%, #FEED95 15%, #FAF098 100%); + background-image:-o-linear-gradient(#EED86C 0%, #FEED95 15%, #FAF098 100%); + background-image:-moz-linear-gradient(#EED86C 0%, #FEED95 15%, #FAF098 100%); + background-image:-webkit-linear-gradient(#EED86C 0%, #FEED95 15%, #FAF098 100%); + background-image:-ms-linear-gradient(#EED86C 0%, #FEED95 15%, #FAF098 100%); background-image:-webkit-gradient( linear, left bottom, diff --git a/css/swad_mobile.css b/css/swad_mobile.css index 531aa9438..1ac9b794c 100644 --- a/css/swad_mobile.css +++ b/css/swad_mobile.css @@ -96,11 +96,11 @@ p {margin:0px;} padding:8px; background-color:#FAF098; - background-image:linear-gradient(bottom, #FAF098 0%, #FEED95 85%, #EED86C 100%); - background-image:-o-linear-gradient(bottom, #FAF098 0%, #FEED95 85%, #EED86C 100%); - background-image:-moz-linear-gradient(bottom, #FAF098 0%, #FEED95 85%, #EED86C 100%); - background-image:-webkit-linear-gradient(bottom, #FAF098 0%, #FEED95 85%, #EED86C 100%); - background-image:-ms-linear-gradient(bottom, #FAF098 0%, #FEED95 85%, #EED86C 100%); + background-image:linear-gradient(#EED86C 0%, #FEED95 15%, #FAF098 100%); + background-image:-o-linear-gradient(#EED86C 0%, #FEED95 15%, #FAF098 100%); + background-image:-moz-linear-gradient(#EED86C 0%, #FEED95 15%, #FAF098 100%); + background-image:-webkit-linear-gradient(#EED86C 0%, #FEED95 15%, #FAF098 100%); + background-image:-ms-linear-gradient(#EED86C 0%, #FEED95 15%, #FAF098 100%); background-image:-webkit-gradient( linear, left bottom, diff --git a/swad_changelog.h b/swad_changelog.h index 98cb1cdfc..0e8cc73f9 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -35,11 +35,12 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 14.39 (2014/12/20)" +#define Log_PLATFORM_VERSION "SWAD 14.39.1 (2014/12/20)" // 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 | tail -1 /* + Version 14.39.1 :Dic 20, 2014 Change from XHTML 1.0 Transitional to HTML5. (? lines) Version 14.39 :Dic 20, 2014 iframes removed from course info. (170746 lines) Version 14.38.9 :Dic 20, 2014 The words "Course" and "Group" are removed from selection of course and groups in Documents and Shared files. (? lines) Version 14.38.8 :Dic 18, 2014 Fixed bug in banned users. (170793 lines) diff --git a/swad_date.c b/swad_date.c index 8e28ec6d0..fc1bf91c7 100644 --- a/swad_date.c +++ b/swad_date.c @@ -473,7 +473,7 @@ void Dat_DrawMonth (unsigned RealYear,unsigned RealMonth, } else { - fprintf (Gbl.F.Out,""); @@ -489,7 +489,7 @@ void Dat_DrawMonth (unsigned RealYear,unsigned RealMonth, "" ""); else - fprintf (Gbl.F.Out,""); + fprintf (Gbl.F.Out,""); fprintf (Gbl.F.Out,""); diff --git a/swad_degree.c b/swad_degree.c index 10e9c7f1f..e618cd85b 100644 --- a/swad_degree.c +++ b/swad_degree.c @@ -680,7 +680,7 @@ void Deg_WriteBigNameCtyInsCtrDegCrs (void) Deg_MAX_LENGTH_FULL_NAME); FullName[Deg_MAX_LENGTH_FULL_NAME] = '\0'; Str_LimitLengthHTMLStr (FullName,Deg_MAX_LENGTH_FULL_NAME_ON_PAGE_HEAD); - fprintf (Gbl.F.Out,"
%s
", + fprintf (Gbl.F.Out,"
%s
", The_ClassCourse[Gbl.Prefs.Theme],FullName); } } diff --git a/swad_layout.c b/swad_layout.c index 36e9c2b4d..b5a79fe5f 100644 --- a/swad_layout.c +++ b/swad_layout.c @@ -195,12 +195,11 @@ void Lay_WriteStartOfPage (void) /***** Write header to standard output to avoid timeout *****/ // Two \r\n are necessary fprintf (stdout,"Content-type: text/html; charset=ISO-8859-1\r\n\r\n" - "\n"); + "\n"); /***** Write start of XHTML code *****/ - // It is necessary to comment the line AddDefaultCharset UTF8 in httpd.conf to enable meta tag - fprintf (Gbl.F.Out,"\n" + // WARNING: It is necessary to comment the line AddDefaultCharset UTF8 in httpd.conf to enable meta tag + fprintf (Gbl.F.Out,"\n" "\n" "\n", Txt_STR_LANG_ID[Gbl.Prefs.Language]); @@ -270,7 +269,7 @@ void Lay_WriteStartOfPage (void) if (Act_Actions[Gbl.CurrentAct].BrowserWindow == Act_MAIN_WINDOW) fprintf (Gbl.F.Out,"
" - "\"\"
" + "\"\"" "
" "
", Gbl.Prefs.IconsURL); @@ -288,8 +287,8 @@ void Lay_WriteStartOfPage (void) ColspanCentralPart = 2; } fprintf (Gbl.F.Out,"" - "
" - "" + "
" + "
" "", ColspanCentralPart, The_TabOnBgColors[Gbl.Prefs.Theme]); @@ -349,11 +348,9 @@ void Lay_WriteStartOfPage (void) if (Gbl.Now.Date.Month == 1 && Gbl.Now.Date.Day == 1) { - fprintf (Gbl.F.Out,"
" - "


"); + fprintf (Gbl.F.Out,"
"); fprintf (Gbl.F.Out,Txt_NEW_YEAR_GREETING,Gbl.Now.Date.Year); - fprintf (Gbl.F.Out,"


" - "
"); + fprintf (Gbl.F.Out,"
"); } /* Write message indicating number of clicks allowed before sending my photo */ @@ -923,7 +920,7 @@ static void Lay_DrawTabsDeskTop (void) fprintf (Gbl.F.Out,"" - "
%s" + "
%s
" "" "", Gbl.Prefs.PathIconSet,Cfg_ICON_ACTION_32x32, @@ -937,7 +934,7 @@ static void Lay_DrawTabsDeskTop (void) "\"%s\"" - "
%s
", + "
%s
", Gbl.Prefs.PathIconSet,Cfg_ICON_ACTION_32x32, Lay_TabIcons[NumTab], Txt_TABS_FULL_TXT[NumTab], @@ -995,7 +992,7 @@ static void Lay_DrawTabsMobile (void) fprintf (Gbl.F.Out,"" - "
%s" + "
%s
" "" "" "", @@ -1010,7 +1007,7 @@ static void Lay_DrawTabsMobile (void) "\"%s\"" - "
%s
" + "
%s
" "", Gbl.Prefs.PathIconSet, Cfg_ICON_ACTION_64x64, @@ -1240,7 +1237,7 @@ static void Lay_WriteMenuThisTabMobile (void) fprintf (Gbl.F.Out,"" - "
%s" + "
%s
" "" "" "" @@ -1335,13 +1332,13 @@ static void Lay_WriteTitleAction (void) Act_Actions[Act_Actions[Gbl.CurrentAct].SuperAction].Icon); /***** Title *****/ - fprintf (Gbl.F.Out,"%s > %s", + fprintf (Gbl.F.Out,"
%s > %s
", The_ClassTitleAction[Gbl.Prefs.Theme], Txt_TABS_FULL_TXT[Act_Actions[Gbl.CurrentAct].Tab], Act_GetTitleAction (Gbl.CurrentAct)); /***** Subtitle *****/ - fprintf (Gbl.F.Out,"
%s
", + fprintf (Gbl.F.Out,"
%s
", The_ClassSubtitleAction[Gbl.Prefs.Theme], Act_GetSubtitleAction (Gbl.CurrentAct)); @@ -1738,26 +1735,29 @@ void Lay_WritePageFooter (void) case Lay_LAYOUT_DESKTOP: Lay_WriteFootFromHTMLFile (); - fprintf (Gbl.F.Out,"

"); + fprintf (Gbl.F.Out,"
"); /***** Institution and centre hosting the platform *****/ fprintf (Gbl.F.Out,"" - "\"%s\"
" - "%s" - "

", + "\"%s\"" + "
%s
" + "", Cfg_ABOUT_URL, Gbl.Prefs.IconsURL,Cfg_ABOUT_LOGO, Cfg_ABOUT_LOGO_WIDTH,Cfg_ABOUT_LOGO_HEIGHT, Cfg_ABOUT_NAME, Cfg_ABOUT_NAME); - fprintf (Gbl.F.Out,"%s: " - "%s
", + fprintf (Gbl.F.Out,"
" + "%s: " + "%s" + "
", Cfg_HELP_WEB,Txt_Questions_and_problems, Cfg_PLATFORM_RESPONSIBLE_E_MAIL,Cfg_PLATFORM_RESPONSIBLE_E_MAIL); /***** About *****/ - fprintf (Gbl.F.Out,"", + fprintf (Gbl.F.Out,"
" + "", Cfg_ABOUT_SWAD_URL); fprintf (Gbl.F.Out,Txt_About_X,Log_PLATFORM_VERSION); fprintf (Gbl.F.Out,"     "); @@ -1765,7 +1765,8 @@ void Lay_WritePageFooter (void) /***** Write time to generate and send page *****/ Sta_WriteTimeToGenerateAndSendPage (); - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
" + "
"); break; case Lay_LAYOUT_MOBILE: default: diff --git a/swad_search.c b/swad_search.c index 284d53bc4..014432810 100644 --- a/swad_search.c +++ b/swad_search.c @@ -326,7 +326,7 @@ void Sch_PutFormToSearch (const char *IconURL) /***** Send button *****/ fprintf (Gbl.F.Out,"", + " class=\"ICON16x16\" style=\"padding-top:3px;vertical-align:top;\" />", IconURL, Txt_Search, Txt_Search); diff --git a/swad_statistic.c b/swad_statistic.c index 95fe84c39..250da1ba1 100644 --- a/swad_statistic.c +++ b/swad_statistic.c @@ -222,9 +222,8 @@ void Sta_ExitIfTooFast (void) /***** Write header to standard output to avoid timeout *****/ // Two \r\n are necessary fprintf (stdout,"Content-type: text/html; charset=ISO-8859-1\r\n\r\n" - "\n" - "" + "\n" + "\n" "" "%s" ""