diff --git a/css/swad_desktop.css b/css/swad_desktop.css index 1a0e5d4fc..60906c1f6 100644 --- a/css/swad_desktop.css +++ b/css/swad_desktop.css @@ -4,12 +4,12 @@ SWAD (Shared Workspace At a Distance), is a web platform developed at the University of Granada (Spain), and used to support university teaching. - Copyright (C) 1999-2012 Antonio Cañas-Vargas - & Daniel J. Calandria-Hernández, - University of Granada (SPAIN) (acanas@ugr.es) - This program is free software:you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as + This file is part of SWAD core. + Copyright (C) 1999-2014 Antonio Cañas Vargas + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General 3 License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. @@ -375,7 +375,6 @@ hr.YELLOW_SEPARA {height:0; border-top:0; border-bottom:#BD4815 dotted 1px;} text-align:center; overflow:hidden; vertical-align:top; - valign:top; position:relative; display:inline-block; } @@ -618,19 +617,16 @@ a:hover img.CENTRE_PHOTO_SHOW /**************************** Icon highlighting ******************************/ .ICON_HIDDEN { - filter:progid:DXImageTransform.Microsoft.Alpha(opacity=20); -moz-opacity:0.2; opacity:0.2; } .ICON_HIGHLIGHT { - filter:progid:DXImageTransform.Microsoft.Alpha(opacity=80); -moz-opacity:0.8; opacity:0.8; } .ICON_HIGHLIGHT:hover { - filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100); -moz-opacity:1; opacity:1; } @@ -657,22 +653,8 @@ a:hover img.CENTRE_PHOTO_SHOW .MENU_TEXT { height:32px; - - /* Internet Explorer 10 */ - display:-ms-flexbox; - -ms-flex-align:center; - - /* Firefox */ - display:-moz-box; - -moz-box-align:center; - - /* Safari, Opera, and Chrome */ - display:-webkit-box; - -webkit-box-align:center; - - /* W3C */ - display:box; - box-align:center; + display:table-cell; + vertical-align:middle; } .WHITE_MENU_OFF {font-family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#707070; font-size:11pt; font-weight:bold; line-height:110%;} .GREY_MENU_OFF {font-family:Arial, Nimbus Sans L, DejaVu LGC Sans, Bitstream Vera Sans, sans-serif; color:#707070; font-size:11pt; font-weight:bold; line-height:110%;} diff --git a/css/swad_mobile.css b/css/swad_mobile.css index ee609eda0..d86796273 100644 --- a/css/swad_mobile.css +++ b/css/swad_mobile.css @@ -4,12 +4,12 @@ SWAD (Shared Workspace At a Distance), is a web platform developed at the University of Granada (Spain), and used to support university teaching. - Copyright (C) 1999-2012 Antonio Cañas-Vargas - & Daniel J. Calandria-Hernández, - University of Granada (SPAIN) (acanas@ugr.es) - This program is free software:you can redistribute it and/or modify - it under the terms of the GNU Affero General Public License as + This file is part of SWAD core. + Copyright (C) 1999-2014 Antonio Cañas Vargas + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General 3 License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. @@ -455,19 +455,16 @@ a:hover img.CENTRE_PHOTO_SHOW /**************************** Icon highlighting ******************************/ .ICON_HIDDEN { - filter:progid:DXImageTransform.Microsoft.Alpha(opacity=20); -moz-opacity:0.2; opacity:0.2; } .ICON_HIGHLIGHT { - filter:progid:DXImageTransform.Microsoft.Alpha(opacity=80); -moz-opacity:0.8; opacity:0.8; } .ICON_HIGHLIGHT:hover { - filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100); -moz-opacity:1; opacity:1; } diff --git a/swad_changelog.h b/swad_changelog.h index 4716cf16b..534b36c87 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -35,11 +35,12 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 14.42.1 (2014/12/26)" +#define Log_PLATFORM_VERSION "SWAD 14.43 (2014/12/27)" // 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.43 :Dic 27, 2014 Changes in HTML and CSS to validate HTML5 in W3C validator. (174314 lines) Version 14.42.1 :Dic 26, 2014 Fixed bug in HTML of tabs. Changes in foot.html to validate HTML5 in W3C validator. Changes in HTML and CSS to validate HTML5 in W3C validator. (173987 lines) diff --git a/swad_institution.c b/swad_institution.c index 58af25ce0..b5b492107 100644 --- a/swad_institution.c +++ b/swad_institution.c @@ -129,9 +129,13 @@ void Ins_SeeInsWithPendingCtrs (void) /***** Write heading *****/ Lay_StartRoundFrameTable10 (NULL,2,Txt_Institutions_with_pending_centres); fprintf (Gbl.F.Out,"" - "" - "%s" - "%s" + "" + "" + "%s" + "" + "" + "%s" + "" "", Txt_Institution, Txt_Centres_ABBREVIATION); @@ -639,12 +643,12 @@ static void Ins_PutHeadInstitutionsForSeeing (bool OrderSelectable) fprintf (Gbl.F.Out,"" "" - " "); + ""); for (Order = Ins_ORDER_BY_INSTITUTION; Order <= Ins_ORDER_BY_NUM_USRS; Order++) { - fprintf (Gbl.F.Out,""); + fprintf (Gbl.F.Out,""); if (OrderSelectable) { Act_FormStart (ActSeeIns); @@ -663,12 +667,24 @@ static void Ins_PutHeadInstitutionsForSeeing (bool OrderSelectable) } fprintf (Gbl.F.Out,""); } - fprintf (Gbl.F.Out,"%s" - "%s" - "%s" - "%s" - "%s" - "%s" + fprintf (Gbl.F.Out,"" + "%s" + "" + "" + "%s" + "" + "" + "%s" + "" + "" + "%s" + "" + "" + "%s" + "" + "" + "%s" + "" "", Txt_Students_ABBREVIATION, Txt_Teachers_ABBREVIATION, @@ -1856,17 +1872,35 @@ static void Ins_PutHeadInstitutionsForEdition (void) extern const char *Txt_Requester; fprintf (Gbl.F.Out,"" - " " - "%s" - " " - "%s" - "%s" - "%s" - "%s" - "%s" - "%s" - "%s" - "%s" + "" + "" + "%s" + "" + "" + "" + "%s" + "" + "" + "%s" + "" + "" + "%s" + "" + "" + "%s" + "" + "" + "%s" + "" + "" + "%s" + "" + "" + "%s" + "" + "" + "%s" + "" "", Txt_Code, Txt_Country, diff --git a/swad_network.c b/swad_network.c index ded6105d5..9f9ccff94 100644 --- a/swad_network.c +++ b/swad_network.c @@ -390,9 +390,15 @@ void Net_ShowWebAndSocialNetworksStats (void) Lay_StartRoundFrameTable10 (NULL,2,NULL); fprintf (Gbl.F.Out,"" - "%s" - "%s" - "%s" + "" + "%s" + "" + "" + "%s" + "" + "" + "%s" + "" "", Txt_Web_social_network, Txt_No_of_users, diff --git a/swad_notification.c b/swad_notification.c index 4f30d61a2..2522c567b 100644 --- a/swad_notification.c +++ b/swad_notification.c @@ -301,11 +301,23 @@ void Ntf_ShowMyNotifications (void) /***** Table start *****/ Lay_StartRoundFrameTable10 (NULL,2,Txt_Notifications); fprintf (Gbl.F.Out,"" - "%s" \ - "%s" \ - "%s" \ - "%s" \ - "%s" \ + "" + "%s" + "" + "" + "%s" + "" + "" + "%s" + "" + "" + "%s" + "" + "" + "%s" + "" "", Txt_Event, Txt_MSG_From, @@ -1654,8 +1666,12 @@ void Ntf_PutFormChangeNotifSentByEMail (void) "" "" "" - "" - "" + "" + "" "", Txt_Notifications, Txt_Create_BR_notification, diff --git a/swad_plugin.c b/swad_plugin.c index cb8311b4a..90fac762f 100644 --- a/swad_plugin.c +++ b/swad_plugin.c @@ -391,7 +391,8 @@ static void Plg_ListPluginsForEdition (void) Gbl.Prefs.IconsURL,Cfg_ICON_FOLDER_PLUGINS,Gbl.Plugins.Lst[NumPlg].Logo,Gbl.Plugins.Lst[NumPlg].Name); /* Plugin name */ - fprintf (Gbl.F.Out,"" - "" - "" - "" - "" - "" + "" + "" + "" + "" + "" + "" "", Txt_Name, Txt_Description, @@ -923,15 +936,29 @@ static void Plg_PutHeadPlugins (void) extern const char *Txt_IP; fprintf (Gbl.F.Out,"" - "" - "" - "" - "" - "" - "" - "" - "" - "" + "" + "" + "" + "" + "" + "" + "" + "" + "" "", Txt_Code, Txt_Name, diff --git a/swad_record.c b/swad_record.c index 3610d7bd0..f7952c4f9 100644 --- a/swad_record.c +++ b/swad_record.c @@ -351,10 +351,16 @@ static void Rec_WriteHeadingRecordFields (void) extern const char *Txt_Visible_by_BR_the_student; fprintf (Gbl.F.Out,"" - "" - "" - "" - "" + "" + "" + "" + "" "", Txt_Field_BR_name, Txt_No_of_BR_lines, diff --git a/swad_statistic.c b/swad_statistic.c index 1ed1767cb..ed8f342d7 100644 --- a/swad_statistic.c +++ b/swad_statistic.c @@ -1532,13 +1532,34 @@ static void Sta_ShowDetailedAccessesList (unsigned long NumRows,MYSQL_RES *mysql /***** Write heading *****/ fprintf (Gbl.F.Out,"" - "" - "" - "" - "" - "" - "" - "" + "" + "" + "" + "" + "" + "" + "" "", Txt_No_INDEX, Txt_User_ID, @@ -3726,14 +3747,28 @@ static void Sta_WriteHeadDegsCrssInSWAD (void) extern const char *Txt_With_students; fprintf (Gbl.F.Out,"" - "" - "" - "" - "" - "" - "" - "" - "" + "" + "" + "" + "" + "" + "" + "" + "" "", Txt_Total, Txt_With_institutions, @@ -4332,10 +4367,18 @@ static void Sta_ShowUsersStats (void) Lay_StartRoundFrameTable10 (NULL,2,NULL); fprintf (Gbl.F.Out,"" - "" - "" - "" - "" + "" + "" + "" + "" "", Txt_Users, Txt_No_of_users, @@ -4410,19 +4453,45 @@ static void Sta_WriteStatsExpTreesTableHead (void) extern const char *Txt_usr; fprintf (Gbl.F.Out,"" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" "", Txt_File_zones, Txt_Number_of_courses, @@ -4795,9 +4864,15 @@ static void Sta_ShowOERs (void) /***** Write table heading *****/ fprintf (Gbl.F.Out,"" - "" - "" - "" + "" + "" + "" "", Txt_License, Txt_No_of_private_files, @@ -4948,10 +5023,18 @@ static void Sta_ShowAssignmentsStats (void) /***** Write table heading *****/ fprintf (Gbl.F.Out,"" - "" - "" - "" - "" + "" + "" + "" + "" "", Txt_Number_of_BR_assignments, Txt_Number_of_BR_courses_with_BR_assignments, @@ -5009,15 +5092,33 @@ static void Sta_ShowTestsStats (void) /***** Write table heading *****/ fprintf (Gbl.F.Out,"" - "" - "" - "" - "" - "" - "" - "" - "" - "" + "" + "" + "" + "" + "" + "" + "" + "" + "" "", Txt_Type_of_BR_answers, Txt_Number_of_BR_courses_BR_with_test_BR_questions, @@ -5169,11 +5270,21 @@ static void Sta_ShowNoticesStats (void) /***** Write table heading *****/ fprintf (Gbl.F.Out,"" - "" - "" - "" - "" - "" + "" + "" + "" + "" + "" "", Txt_NOTICE_Active_BR_notices, Txt_NOTICE_Obsolete_BR_notices, @@ -5239,11 +5350,21 @@ static void Sta_ShowMsgsStats (void) /***** Write table heading *****/ fprintf (Gbl.F.Out,"" - "" - "" - "" - "" - "" + "" + "" + "" + "" + "" "", Txt_Messages, Txt_MSGS_Not_deleted, @@ -5327,18 +5448,43 @@ static void Sta_ShowForumStats (void) /***** Write table heading *****/ fprintf (Gbl.F.Out,"" - "" - "" - "" - "" - "" - "" - "" - "" - "" + "" + "" + "" + "" + "" + "" + "" + "" "", Gbl.Prefs.IconsURL, Txt_Forums, @@ -5659,11 +5805,21 @@ static void Sta_ShowSurveysStats (void) /***** Write table heading *****/ fprintf (Gbl.F.Out,"" - "" - "" - "" - "" - "" + "" + "" + "" + "" + "" "", Txt_Number_of_BR_surveys, Txt_Number_of_BR_courses_with_BR_surveys, @@ -5719,9 +5875,15 @@ static void Sta_GetAndShowNumUsrsPerLanguage (void) /***** Heading row *****/ fprintf (Gbl.F.Out,"" - "" - "" - "" + "" + "" + "" "", Txt_Language, Txt_No_of_users, @@ -5835,9 +5997,15 @@ static void Sta_GetAndShowNumUsrsPerLayout (void) /***** Heading row *****/ fprintf (Gbl.F.Out,"" - "" - "" - "" + "" + "" + "" "", Txt_Layout, Txt_No_of_users, @@ -5948,9 +6116,15 @@ static void Sta_GetAndShowNumUsrsPerTheme (void) /***** Heading row *****/ fprintf (Gbl.F.Out,"" - "" - "" - "" + "" + "" + "" "", Txt_Theme_SKIN, Txt_No_of_users, @@ -6061,9 +6235,15 @@ static void Sta_GetAndShowNumUsrsPerColumns (void) /***** Heading row *****/ fprintf (Gbl.F.Out,"" - "" - "" - "" + "" + "" + "" "", Txt_Columns, Txt_No_of_users, @@ -6173,9 +6353,15 @@ static void Sta_GetAndShowNumUsrsPerIconSet (void) /***** Heading row *****/ fprintf (Gbl.F.Out,"" - "" - "" - "" + "" + "" + "" "", Txt_Icons, Txt_No_of_users, @@ -6301,11 +6487,21 @@ static void Sta_GetAndShowNumUsrsPerNotifyEvent (void) /***** Heading row *****/ fprintf (Gbl.F.Out,"" - "" - "" - "" - "" - "" + "" + "" + "" + "" + "" "", Txt_Event, Txt_No_of_users, diff --git a/swad_survey.c b/swad_survey.c index 17d0ce12d..f170f13d4 100644 --- a/swad_survey.c +++ b/swad_survey.c @@ -207,7 +207,7 @@ static void Svy_ListAllSurveys (struct SurveyQuestion *SvyQst) Order <= Svy_ORDER_BY_END_DATE; Order++) { - fprintf (Gbl.F.Out,""); } - fprintf (Gbl.F.Out,"" - "" + fprintf (Gbl.F.Out,"" + "" "", Txt_Survey, Txt_Status); diff --git a/swad_test.c b/swad_test.c index bd31c531f..103a9e426 100644 --- a/swad_test.c +++ b/swad_test.c @@ -2408,13 +2408,31 @@ static void Tst_ListOneOrMoreQuestionsToEdit (unsigned long NumRows,MYSQL_RES *m /***** Write the heading *****/ fprintf (Gbl.F.Out,"" - "" - "" - "" - "" - "" - "" - "", + "" + "" + "" + "" + "" + "" + "", Txt_No_INDEX, Txt_Code, Txt_Date, @@ -2429,7 +2447,8 @@ static void Tst_ListOneOrMoreQuestionsToEdit (unsigned long NumRows,MYSQL_RES *m Order < (Tst_QuestionsOrder_t) Tst_NUM_TYPES_ORDER_QST; Order++) { - fprintf (Gbl.F.Out,"" - "" - "" - "" - "" - "" - "" - "" + "" + "" + "" + "" + "" + "" + "" "" "", Txt_User, diff --git a/swad_test_import.c b/swad_test_import.c index 69dfe5d95..733db1ad8 100644 --- a/swad_test_import.c +++ b/swad_test_import.c @@ -947,12 +947,27 @@ static void TsI_WriteHeadingListImportedQst (void) /***** Write the heading *****/ fprintf (Gbl.F.Out,"" - "" - "" - "" - "" - "" - "" + "" + "" + "" + "" + "" + "" "", Txt_No_INDEX, Txt_Tags, diff --git a/swad_zip.c b/swad_zip.c index 5e0beb4ac..2e94ed752 100644 --- a/swad_zip.c +++ b/swad_zip.c @@ -536,7 +536,8 @@ static void ZIP_ShowLinkToDownloadZIP (const char *FileName,const char *URL, /***** Link to download the file *****/ fprintf (Gbl.F.Out,"" - "
%s%s" + "%s" + "" + "%s" + "
"); + fprintf (Gbl.F.Out,""); Act_FormStart (ActRenPlg); Plg_PutParamPlgCod (Plg->PlgCod); fprintf (Gbl.F.Out,"" - "%s%s%s%s%s%s" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "
 %s %s%s%s%s%s%s" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "
%s%s%s" + "%s" + "" + "%s" + "" + "%s" + "
%s%s%s%s%s%s%s" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "
%s%s%s%s%s%s%s" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "
%s%s%s%s" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "
%s%s%s%s%s%s%s%s/
%s
%s/
%s
%s/
%s
%s/
%s
%s/
%s
%s/
%s
" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s/
%s" + "
" + "%s/
%s" + "
" + "%s/
%s" + "
" + "%s/
%s" + "
" + "%s/
%s" + "
" + "%s/
%s" + "
%s%s%s" + "%s" + "" + "%s" + "" + "%s" + "
%s%s%s%s" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "
%s%s%s%s%s%s%s%s%s" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "
%s%s%s%s%s" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "
%s%s%s%s%s" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "
" + "" "" "%s%s%s%s%s%s%s%s" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "
%s%s%s%s%s" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "
%s%s%s" + "%s" + "" + "%s" + "" + "%s" + "
%s%s%s" + "%s" + "" + "%s" + "" + "%s" + "
%s%s%s" + "%s" + "" + "%s" + "" + "%s" + "
%s%s%s" + "%s" + "" + "%s" + "" + "%s" + "
%s%s%s" + "%s" + "" + "%s" + "" + "%s" + "
%s%s%s%s%s" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "
"); + fprintf (Gbl.F.Out,""); Act_FormStart (ActSeeAllSvy); Grp_PutParamWhichGrps (); Pag_PutHiddenParamPagNum (Gbl.Pag.CurrentPage); @@ -222,8 +222,12 @@ static void Svy_ListAllSurveys (struct SurveyQuestion *SvyQst) "" "%s%s" + "%s" + "" + "%s" + "
%s%s%s%s%s%s" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + ""); + fprintf (Gbl.F.Out,""); if (NumRows > 1) { Act_FormStart (ActLstTstQst); @@ -6029,13 +6048,34 @@ static void Tst_ShowHeaderTestResults (void) extern const char *Txt_out_of_PART_OF_A_SCORE; fprintf (Gbl.F.Out,"
%s%s%s%s%s%s%s
%s
%u
" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s
%s
%u" + "
%s%s%s%s%s" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "" + "%s" + "
" + "" "" "\"%s\"""