Version 14.127.2

This commit is contained in:
Antonio Cañas Vargas 2015-09-06 13:19:12 +02:00
parent 5843c57acf
commit 39c57144ee
6 changed files with 20 additions and 35 deletions

View File

@ -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
{

View File

@ -1146,7 +1146,7 @@ void Asg_RequestCreatOrEditAsg (void)
"<td class=\"LEFT_MIDDLE\">"
"<table class=\"CELLS_PAD_2\">"
"<tr>"
"<td style=\"LEFT_TOP\">",
"<td class=\"LEFT_TOP\">",
The_ClassForm[Gbl.Prefs.Theme],
Dates[StartOrEndTime]);

View File

@ -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,"<div style=\"text-align:center;\">");
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\">");
Act_FormStart (ActSeeLstAttStd);
Par_PutHiddenParamChar ("ShowDetails",'Y');
Grp_PutParamsCodGrps ();

View File

@ -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)

View File

@ -2492,7 +2492,6 @@ void For_ShowForumThrs (void)
"</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\""
" style=\"width:18px;\">"
"&nbsp;"
"</th>"
"<th class=\"TIT_TBL LEFT_MIDDLE\">"
"%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,"<tr>"
"<td class=\"RIGHT_TOP %s\" style=\"width:14px;>",
"<td class=\"RIGHT_TOP %s\" style=\"width:14px;\">",
BgColor);
if (Thr.NumMyPosts)
{
fprintf (Gbl.F.Out,"<span title=\"");
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,"\">"
"<img src=\"");
fprintf (Gbl.F.Out,"<img src=\"");
if (Gbl.Usrs.Me.PhotoURL[0]) // If I have photo
fprintf (Gbl.F.Out,"%s",
Gbl.Usrs.Me.PhotoURL);
else
fprintf (Gbl.F.Out,"%s/usr_bl.jpg",
Gbl.Prefs.IconsURL);
fprintf (Gbl.F.Out,"\" alt=\"%s\" title=\"%s\""
" class=\"PHOTO12x16\" />"
"</span>",
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,"</td>");

View File

@ -2601,15 +2601,9 @@ static void Msg_ShowASentOrReceivedMessage (Msg_TypeOfMessages_t TypeOfMessages,
Txt_MSG_Sent;
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"%s CENTER_TOP\" style=\"width:16px;\">"
"<table style=\"width:16px;\">"
"<tr>"
"<td class=\"CENTER_TOP\""
" style=\"width:16px; padding:0;\">"
"<img src=\"%s/msg-%s16x16.gif\""
" alt=\"%s\" title=\"%s\""
" class=\"ICON16x16B\" />"
"</td>"
"</tr>",
" 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,"<tr>");
fprintf (Gbl.F.Out,"<br />");
Msg_PutFormToDeleteMessage (MsgCod,TypeOfMessages);
fprintf (Gbl.F.Out,"</tr>"
"</table>"
"</td>");
fprintf (Gbl.F.Out,"</td>");
/***** 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,"<td class=\"CENTER_TOP\" style=\"width:18px; padding:0;\">");
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,"</td>");
}
/*****************************************************************************/
@ -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,"<span class=\"MSG_AUT\">&nbsp;</span>"
"<input type=\"image\" src=\"%s/open_on16x16.gif\""
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/open_on16x16.gif\""
" alt=\"%s\" title=\"%s\""
" class=\"ICON16x16\" />",
" class=\"ICON16x16\" style=\"margin-left:10px;\" />",
Gbl.Prefs.IconsURL,
Txt_Sender_permitted_click_to_ban_him,
Txt_Sender_permitted_click_to_ban_him);