diff --git a/swad_changelog.h b/swad_changelog.h index 48fcfc3a2..a86903796 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -103,11 +103,12 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 14.123.1 (2015/07/27)" +#define Log_PLATFORM_VERSION "SWAD 14.123.2 (2015/07/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 sql/swad*.sql | tail -1 /* + Version 14.123.2: Jul 28, 2015 Changes in CSS of forms. (184953 lines) Version 14.123.1: Jul 28, 2015 Changes in CSS of forms. (184984 lines) Version 14.123: Jul 28, 2015 Changes in CSS of forms. (184877 lines) Version 14.122: Jul 27, 2015 Changes in CSS of forms. (184892 lines) diff --git a/swad_chat.c b/swad_chat.c index 41ce52908..b96654709 100644 --- a/swad_chat.c +++ b/swad_chat.c @@ -256,12 +256,12 @@ void Cht_ShowListOfChatRoomsWithUsrs (void) /***** Table start *****/ Lay_StartRoundFrameTable (NULL,2,Txt_Rooms_with_users); fprintf (Gbl.F.Out,"" - "" + "" "%s" "" - "" + "" "%s" "" "", @@ -276,10 +276,10 @@ void Cht_ShowListOfChatRoomsWithUsrs (void) /* Get next chat room */ row = mysql_fetch_row (mysql_res); fprintf (Gbl.F.Out,"" - "" + "" "%s" "" - "" + "" "%s" "" "", diff --git a/swad_connected.c b/swad_connected.c index ebdb5e15a..e97c975b2 100644 --- a/swad_connected.c +++ b/swad_connected.c @@ -90,7 +90,8 @@ void Con_ShowConnectedUsrs (void) /***** Put form to update connected users *****/ fprintf (Gbl.F.Out,"" - ""); + ""); Act_FormStart (ActLstCon); Gbl.Scope.Current = Sco_SCOPE_CRS; if (Gbl.Usrs.Me.LoggedRole == Rol_SYS_ADM) @@ -108,7 +109,7 @@ void Con_ShowConnectedUsrs (void) fprintf (Gbl.F.Out,"" "" "" - ""); + ""); /* Number of connected users in the whole platform */ Con_ShowGlobalConnectedUsrs (); @@ -134,7 +135,7 @@ void Con_ShowLastClicks (void) Lay_StartRoundFrame (NULL,Txt_Last_clicks_in_real_time); fprintf (Gbl.F.Out,"
"); + " class=\"CENTER_MIDDLE\">"); Con_GetAndShowLastClicks (); fprintf (Gbl.F.Out,"
"); // Used for AJAX based refresh @@ -177,24 +178,24 @@ void Con_GetAndShowLastClicks (void) /***** Write list of connected users *****/ fprintf (Gbl.F.Out,"" "" - "" - "" - "" - "" - "" "", @@ -272,7 +273,6 @@ void Con_ShowGlobalConnectedUsrs (void) unsigned WithoutCoursesTotal = Con_GetConnectedGuestsTotal (); unsigned UsrsTotal = StdsTotal + TchsTotal + WithoutCoursesTotal; - /***** Start table *****/ fprintf (Gbl.F.Out,"
" - "
" "", @@ -292,8 +291,7 @@ void Con_ShowGlobalConnectedUsrs (void) /***** Write total number of users *****/ fprintf (Gbl.F.Out,"" - "" "", @@ -303,8 +301,7 @@ void Con_ShowGlobalConnectedUsrs (void) /***** Write total number of students *****/ fprintf (Gbl.F.Out,"" - "" "", @@ -314,8 +311,7 @@ void Con_ShowGlobalConnectedUsrs (void) /***** Write total number of teachers *****/ fprintf (Gbl.F.Out,"" - "" "", @@ -326,8 +322,7 @@ void Con_ShowGlobalConnectedUsrs (void) /***** Write total number of users who do not belong to any course *****/ if (WithoutCoursesTotal) fprintf (Gbl.F.Out,"" - "" "", @@ -511,8 +506,7 @@ static void Con_ShowConnectedUsrsWithARoleBelongingToCurrentLocationOnMainZone ( /***** Write number of connected users who belong to current course *****/ NumUsrsThisRole = Con_GetNumConnectedUsrsWithARoleBelongingCurrentLocation (Role,&UsrSex); fprintf (Gbl.F.Out,"" - "" "", @@ -589,8 +583,8 @@ static void Con_ShowConnectedUsrsWithARoleBelongingToCurrentLocationOnRightColum if (Gbl.Usrs.Connected.NumUsrsToList > Cfg_MAX_CONNECTED_SHOWN) Gbl.Usrs.Connected.NumUsrsToList = Cfg_MAX_CONNECTED_SHOWN; fprintf (Gbl.F.Out,"" - "" "", @@ -641,7 +635,7 @@ static void Con_ShowConnectedUsrsWithARoleBelongingToCurrentLocationOnRightColum { sprintf (Gbl.FormId,"form_con_%d",++Gbl.NumFormConnectedUsrs); fprintf (Gbl.F.Out,"" - "" - ""); /***** Write full name and link *****/ - fprintf (Gbl.F.Out,""); /***** Write time from last access *****/ - fprintf (Gbl.F.Out,"" - ""); /***** Write full name and link *****/ - fprintf (Gbl.F.Out,""); /***** Write time from last access *****/ - fprintf (Gbl.F.Out,"" "" - "" - "" "", @@ -147,8 +147,8 @@ void Cty_SeeCtyWithPendingInss (void) /* Country map */ fprintf (Gbl.F.Out,"" - ""); /* Country name */ - fprintf (Gbl.F.Out,""); /* Number of pending institutions (row[1]) */ - fprintf (Gbl.F.Out,"" "", @@ -269,8 +269,8 @@ static void Cty_Configuration (bool PrintView) /* Map image */ fprintf (Gbl.F.Out,"" - "" - "
" + "" "%s" "" + "" "%s" "" + "" "%s" "" + "" "%s" "" + "" "%s" "
" + "" "%u %s" "
" + "" "%u %s:" "
" + "" "%u %s" "
" + "" "%u %s" "
" + "" "%u %s" "
" + "" "%u %s" "
" + "" "%u %s" "
"); + ""); Act_FormStartId (ActLstCon,Gbl.FormId); Sco_PutParamScope (Sco_SCOPE_CRS); Act_LinkFormSubmitId (Txt_Connected_users,The_ClassConnected[Gbl.Prefs.Theme],Gbl.FormId); @@ -1008,8 +1002,8 @@ static void Con_WriteRowConnectedUsrOnRightColumn (Rol_Role_t Role) /***** Show photo *****/ fprintf (Gbl.F.Out,"
", + "", Color); sprintf (Gbl.FormId,"form_con_%d",++Gbl.NumFormConnectedUsrs); Act_FormStartId (ActSeePubPrf,Gbl.FormId); @@ -1024,8 +1018,8 @@ static void Con_WriteRowConnectedUsrOnRightColumn (Rol_Role_t Role) fprintf (Gbl.F.Out,"", + fprintf (Gbl.F.Out,"", Font,Color); sprintf (Gbl.FormId,"form_con_%d",++Gbl.NumFormConnectedUsrs); Act_FormStartId ((Role == Rol_STUDENT) ? ActSeeRecOneStd : @@ -1039,8 +1033,8 @@ static void Con_WriteRowConnectedUsrOnRightColumn (Rol_Role_t Role) fprintf (Gbl.F.Out,"", + fprintf (Gbl.F.Out,"", Font,Color); fprintf (Gbl.F.Out,"
", @@ -1205,8 +1199,8 @@ static void Con_ShowConnectedUsrsCurrentLocationOneByOneOnMainZone (Rol_Role_t R /***** Show photo *****/ fprintf (Gbl.F.Out,"
", + "", Gbl.ColorRows[Gbl.RowEvenOdd]); ShowPhoto = Pho_ShowUsrPhotoIsAllowed (&UsrDat,PhotoURL); Pho_ShowUsrPhoto (&UsrDat,ShowPhoto ? PhotoURL : @@ -1215,9 +1209,8 @@ static void Con_ShowConnectedUsrsCurrentLocationOneByOneOnMainZone (Rol_Role_t R fprintf (Gbl.F.Out,"", + fprintf (Gbl.F.Out,"", Font,Gbl.ColorRows[Gbl.RowEvenOdd]); if (PutLinkToRecord) { @@ -1235,9 +1228,8 @@ static void Con_ShowConnectedUsrsCurrentLocationOneByOneOnMainZone (Rol_Role_t R fprintf (Gbl.F.Out,"", + fprintf (Gbl.F.Out,"", Font,Gbl.ColorRows[Gbl.RowEvenOdd]); Hours = Seconds / (60 * 60); Minutes = (Seconds / 60) % 60; diff --git a/swad_country.c b/swad_country.c index c36b75085..a595b0f44 100644 --- a/swad_country.c +++ b/swad_country.c @@ -119,10 +119,10 @@ void Cty_SeeCtyWithPendingInss (void) Lay_StartRoundFrameTable (NULL,2,Txt_Countries_with_pending_institutions); fprintf (Gbl.F.Out,"
" + "" "%s" "" + "" "%s" "
", + "", BgColor); if (Cty_CheckIfCountryMapExists (&Cty)) { @@ -160,8 +160,8 @@ void Cty_SeeCtyWithPendingInss (void) fprintf (Gbl.F.Out,"", + fprintf (Gbl.F.Out,"", BgColor); Act_FormGoToStart (ActSeeIns); Cty_PutParamCtyCod (Cty.CtyCod); @@ -173,8 +173,8 @@ void Cty_SeeCtyWithPendingInss (void) fprintf (Gbl.F.Out,"" + fprintf (Gbl.F.Out,"" "%s" "
"); + ""); if (PutLink) fprintf (Gbl.F.Out,"", Gbl.CurrentCty.Cty.WWW[Gbl.Prefs.Language]); @@ -285,8 +285,7 @@ static void Cty_Configuration (bool PrintView) if (Gbl.Usrs.Me.LoggedRole == Rol_SYS_ADM && !PrintView) { fprintf (Gbl.F.Out,"
"); + ""); Act_FormStart (ActChgCtyMapAtt); fprintf (Gbl.F.Out,"