From 39c57144ee10cad4cc78d4c83312279b27913592 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Sun, 6 Sep 2015 13:19:12 +0200 Subject: [PATCH] Version 14.127.2 --- css/swad_desktop.css | 2 +- swad_assignment.c | 2 +- swad_attendance.c | 2 +- swad_changelog.h | 3 ++- swad_forum.c | 23 +++++++++-------------- swad_message.c | 23 ++++++----------------- 6 files changed, 20 insertions(+), 35 deletions(-) diff --git a/css/swad_desktop.css b/css/swad_desktop.css index c26331335..544357244 100644 --- a/css/swad_desktop.css +++ b/css/swad_desktop.css @@ -451,7 +451,7 @@ hr.YELLOW_SEPARA {height:0; border-top:0; border-bottom:#BD4815 dotted 1px;} .CELLS_PAD_4 td {padding:4px;} .CELLS_PAD_8 th {padding:8px;} .CELLS_PAD_8 td {padding:8px;} - + /*********************************** Title ***********************************/ .TIT { diff --git a/swad_assignment.c b/swad_assignment.c index 143dd24ce..2a71514d6 100644 --- a/swad_assignment.c +++ b/swad_assignment.c @@ -1146,7 +1146,7 @@ void Asg_RequestCreatOrEditAsg (void) "" "" "" - "" "" - ""); diff --git a/swad_message.c b/swad_message.c index 99509169a..c6beb8a0e 100644 --- a/swad_message.c +++ b/swad_message.c @@ -2601,15 +2601,9 @@ static void Msg_ShowASentOrReceivedMessage (Msg_TypeOfMessages_t TypeOfMessages, Txt_MSG_Sent; fprintf (Gbl.F.Out,"" ""); + fprintf (Gbl.F.Out,""); /***** Write message number *****/ Msg_WriteMsgNumber (MsgNum,!Open); @@ -3237,15 +3229,13 @@ void Msg_WriteMsgDate (const char *DateTime,const char *ClassBackground) static void Msg_PutFormToDeleteMessage (long MsgCod,Msg_TypeOfMessages_t TypeOfMessages) { - fprintf (Gbl.F.Out,""); } /*****************************************************************************/ @@ -3317,10 +3307,9 @@ static void Msg_PutFormToBanSender (struct UsrData *UsrDat) Pag_PutHiddenParamPagNum (Gbl.Pag.CurrentPage); Usr_PutParamUsrCodEncrypted (UsrDat->EncryptedUsrCod); Msg_PutHiddenParamsMsgsFilters (); - fprintf (Gbl.F.Out," " - "", + " class=\"ICON16x16\" style=\"margin-left:10px;\" />", Gbl.Prefs.IconsURL, Txt_Sender_permitted_click_to_ban_him, Txt_Sender_permitted_click_to_ban_him);
", + "", The_ClassForm[Gbl.Prefs.Theme], Dates[StartOrEndTime]); diff --git a/swad_attendance.c b/swad_attendance.c index d45dc9334..a4ec23935 100644 --- a/swad_attendance.c +++ b/swad_attendance.c @@ -2897,7 +2897,7 @@ static void Att_PutButtonToShowDetails (void) extern const char *Txt_Show_more_details; /***** Button to show more details *****/ - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,"
"); Act_FormStart (ActSeeLstAttStd); Par_PutHiddenParamChar ("ShowDetails",'Y'); Grp_PutParamsCodGrps (); diff --git a/swad_changelog.h b/swad_changelog.h index 2a4560c54..7c138b030 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -103,11 +103,12 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 14.127.1 (2015/09/06)" +#define Log_PLATFORM_VERSION "SWAD 14.127.2 (2015/09/06)" // 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.127.2: Sep 06, 2015 Changes in styles. (184244 lines) Version 14.127.1: Sep 06, 2015 Justify alignment is no longer used. (184259 lines) Version 14.127: Sep 05, 2015 Changes in styles. (184273 lines) Version 14.126.2: Sep 05, 2015 Changes in styles. (184250 lines) diff --git a/swad_forum.c b/swad_forum.c index e94590419..37fbcf373 100644 --- a/swad_forum.c +++ b/swad_forum.c @@ -2492,7 +2492,6 @@ void For_ShowForumThrs (void) "" "
" - " " "" "%s" @@ -3244,29 +3243,25 @@ void For_ListForumThrs (long ThrCods[Pag_ITEMS_PER_PAGE],struct Pagination *Pagi /***** Show my photo if I have any posts in this thread *****/ fprintf (Gbl.F.Out,"
", + "", BgColor); if (Thr.NumMyPosts) { - fprintf (Gbl.F.Out,"" - "\"%s\"" - "", - Txt_Thread_with_posts_from_you, + fprintf (Gbl.F.Out,"\" alt=\"%s\" title=\"", Txt_Thread_with_posts_from_you); + if (Thr.NumMyPosts == 1) + fprintf (Gbl.F.Out,"%s",Txt_You_have_written_1_post_in_this_thread); + else + fprintf (Gbl.F.Out,Txt_You_have_written_X_posts_in_this_thread, + Thr.NumMyPosts); + fprintf (Gbl.F.Out,"\" class=\"PHOTO12x16\" />"); } fprintf (Gbl.F.Out,"
" - "" - "" - "" - "", + " class=\"ICON16x16\" />", TypeOfMessages == Msg_MESSAGES_RECEIVED ? (Open ? "BG_MSG_BLUE" : "BG_MSG_GREEN") : "BG_MSG_BLUE", @@ -2622,11 +2616,9 @@ static void Msg_ShowASentOrReceivedMessage (Msg_TypeOfMessages_t TypeOfMessages, Title,Title); /***** Form to delete message *****/ - fprintf (Gbl.F.Out,""); + fprintf (Gbl.F.Out,"
"); Msg_PutFormToDeleteMessage (MsgCod,TypeOfMessages); - fprintf (Gbl.F.Out,"" - "
" "\"%s\"" - "
" - "
"); Act_FormStart (TypeOfMessages == Msg_MESSAGES_RECEIVED ? ActDelRcvMsg : ActDelSntMsg); Pag_PutHiddenParamPagNum (Gbl.Pag.CurrentPage); Msg_PutHiddenParamMsgCod (MsgCod); Msg_PutHiddenParamsMsgsFilters (); - Lay_PutIconBRemove (); + Lay_PutIconRemove (); Act_FormEnd (); - fprintf (Gbl.F.Out,"