Version 14.47.6

This commit is contained in:
Antonio Cañas Vargas 2014-12-30 00:27:22 +01:00
parent 49ca2cf689
commit 3190d41d0a
7 changed files with 12 additions and 11 deletions

View File

@ -685,7 +685,7 @@ a:hover img.CENTRE_PHOTO_SHOW
.MSJ_AVISO {font-family:Arial, "Nimbus Sans L", "DejaVu LGC Sans", "Bitstream Vera Sans", sans-serif; color:#632921; font-size:10pt;} .MSJ_AVISO {font-family:Arial, "Nimbus Sans L", "DejaVu LGC Sans", "Bitstream Vera Sans", sans-serif; color:#632921; font-size:10pt;}
.TIT_TBL {font-family:Arial, "Nimbus Sans L", "DejaVu LGC Sans", "Bitstream Vera Sans", sans-serif; color:#4D88A1; font-size:10pt;} .TIT_TBL {font-family:Arial, "Nimbus Sans L", "DejaVu LGC Sans", "Bitstream Vera Sans", sans-serif; color:#4D88A1; font-size:10pt;}
.TIT_CLASSPHOTO {font-family:Georgia, "DejaVu LGC Serif", "Bitstream Vera Serif", serif; color:#606060; font-size:11pt;} .TIT_CLASSPHOTO {font-family:Georgia, "DejaVu LGC Serif", "Bitstream Vera Serif", serif; color:#606060; font-size:11pt;}
.CLASSPHOTO {font-family:Arial, "Nimbus Sans L", "DejaVu LGC Sans", "Bitstream Vera Sans", sans-serif; color:#606060; font-size:8pt; line-height:100%; letter-spacing:0; white-space:nowrap;} .CLASSPHOTO {font-family:Arial, "Nimbus Sans L", "DejaVu LGC Sans", "Bitstream Vera Sans", sans-serif; color:#606060; font-size:8pt; line-height:100%; white-space:nowrap;}
.GRP_TITLE {font-family:Arial, "Nimbus Sans L", "DejaVu LGC Sans", "Bitstream Vera Sans", sans-serif; color:#4D88A1; font-size:12pt; font-weight:bold;} .GRP_TITLE {font-family:Arial, "Nimbus Sans L", "DejaVu LGC Sans", "Bitstream Vera Sans", sans-serif; color:#4D88A1; font-size:12pt; font-weight:bold;}

View File

@ -535,7 +535,7 @@ a:hover img.CENTRE_PHOTO_SHOW
.MSJ_AVISO {font-Family:Arial, "Nimbus Sans L", "DejaVu LGC Sans", "Bitstream Vera Sans", sans-serif; color:#632921; font-size:12pt;} .MSJ_AVISO {font-Family:Arial, "Nimbus Sans L", "DejaVu LGC Sans", "Bitstream Vera Sans", sans-serif; color:#632921; font-size:12pt;}
.TIT_TBL {font-Family:Arial, "Nimbus Sans L", "DejaVu LGC Sans", "Bitstream Vera Sans", sans-serif; color:#4D88A1; font-size:14pt;} .TIT_TBL {font-Family:Arial, "Nimbus Sans L", "DejaVu LGC Sans", "Bitstream Vera Sans", sans-serif; color:#4D88A1; font-size:14pt;}
.TIT_CLASSPHOTO {font-Family:Georgia, "DejaVu LGC Serif", "Bitstream Vera Serif", serif; color:#606060; font-size:11pt;} .TIT_CLASSPHOTO {font-Family:Georgia, "DejaVu LGC Serif", "Bitstream Vera Serif", serif; color:#606060; font-size:11pt;}
.CLASSPHOTO {font-Family:Arial, "Nimbus Sans L", "DejaVu LGC Sans", "Bitstream Vera Sans", sans-serif; color:#606060; font-size:11pt; line-height:100%; letter-spacing:0; white-space:nowrap;} .CLASSPHOTO {font-Family:Arial, "Nimbus Sans L", "DejaVu LGC Sans", "Bitstream Vera Sans", sans-serif; color:#606060; font-size:11pt; line-height:100%; white-space:nowrap;}
.GRP_TITLE {font-Family:Arial, "Nimbus Sans L", "DejaVu LGC Sans", "Bitstream Vera Sans", sans-serif; color:#4D88A1; font-size:16pt; font-weight:bold;} .GRP_TITLE {font-Family:Arial, "Nimbus Sans L", "DejaVu LGC Sans", "Bitstream Vera Sans", sans-serif; color:#4D88A1; font-size:16pt; font-weight:bold;}

View File

@ -35,11 +35,12 @@
/****************************** Public constants *****************************/ /****************************** Public constants *****************************/
/*****************************************************************************/ /*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 14.47.5 (2014/12/29)" #define Log_PLATFORM_VERSION "SWAD 14.47.6 (2014/12/30)"
// Number of lines (includes comments but not blank lines) has been got with the following command: // 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 // nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h | tail -1
/* /*
Version 14.47.6 :Dic 30, 2014 Changes in HTML and CSS. (174551 lines)
Version 14.47.5 :Dic 29, 2014 Restricted length of links in user's courses. (174549 lines) Version 14.47.5 :Dic 29, 2014 Restricted length of links in user's courses. (174549 lines)
Version 14.47.4 :Dic 29, 2014 Changes in HTML and CSS. (174535 lines) Version 14.47.4 :Dic 29, 2014 Changes in HTML and CSS. (174535 lines)
Version 14.47.3 :Dic 29, 2014 Removed old code not used. (174499 lines) Version 14.47.3 :Dic 29, 2014 Removed old code not used. (174499 lines)

View File

@ -266,7 +266,7 @@ void Dat_DrawCalendar (void)
/***** Draw several months *****/ /***** Draw several months *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
"<td style=\"text-align:center;\">" "<td style=\"text-align:center;\">"
"<table style=\"border-spacing:5px;\">"); "<table style=\"margin:0 auto; border-spacing:5px;\">");
for (Row = 0; for (Row = 0;
Row < 4; Row < 4;
Row++) Row++)

View File

@ -185,7 +185,7 @@ void Pag_WriteLinksToPages (Pag_WhatPaginate_t WhatPaginate,long ThrCod,struct P
if (Pagination->MoreThanOnePage) if (Pagination->MoreThanOnePage)
{ {
/***** Links to several pages start here *****/ /***** Links to several pages start here *****/
fprintf (Gbl.F.Out,"<table style=\"border-spacing:5px;\">" fprintf (Gbl.F.Out,"<table style=\"margin:0 auto; border-spacing:5px;\">"
"<tr>" "<tr>"
"<td class=\"%s\" style=\"text-align:left;\">" "<td class=\"%s\" style=\"text-align:left;\">"
"[" "["

View File

@ -1732,7 +1732,9 @@ static void Pho_PutLinkToCalculateDegreeStats (void)
} }
/***** End selector, form, table and div *****/ /***** End selector, form, table and div *****/
fprintf (Gbl.F.Out,"</select></form></div>"); fprintf (Gbl.F.Out,"</select>"
"</form>"
"</div>");
/***** Free list of all the degrees *****/ /***** Free list of all the degrees *****/
Deg_FreeListAllDegs (); Deg_FreeListAllDegs ();
@ -1805,9 +1807,6 @@ static void Pho_ShowOrPrintClassPhotoDegrees (Pho_AvgPhotoSeeOrPrint_t SeeOrPrin
/***** Start frame *****/ /***** Start frame *****/
Lay_StartRoundFrameTable10 (NULL,0,Txt_Degrees); Lay_StartRoundFrameTable10 (NULL,0,Txt_Degrees);
/***** Class photo start *****/
Lay_WriteHeaderClassPhoto (Gbl.Usrs.ClassPhoto.Cols,SeeOrPrint == Pho_DEGREES_PRINT,true,-1L,-1L,-1L);
/***** Get degrees from database *****/ /***** Get degrees from database *****/
Pho_BuildQueryOfDegrees (Query); Pho_BuildQueryOfDegrees (Query);
NumRows = DB_QuerySELECT (Query,&mysql_res,"can not get degrees"); NumRows = DB_QuerySELECT (Query,&mysql_res,"can not get degrees");
@ -1843,7 +1842,8 @@ static void Pho_ShowOrPrintClassPhotoDegrees (Pho_AvgPhotoSeeOrPrint_t SeeOrPrin
} }
/***** Show average photo of students belonging to this degree *****/ /***** Show average photo of students belonging to this degree *****/
fprintf (Gbl.F.Out,"<td style=\"text-align:center;\">"); fprintf (Gbl.F.Out,"<td class=\"CLASSPHOTO\""
" style=\"text-align:center;\">");
Pho_ShowDegreeAvgPhotoAndStat (&Deg,SeeOrPrint,Usr_SEX_ALL,NumStds,NumStdsWithPhoto,&DateAvgPhoto); Pho_ShowDegreeAvgPhotoAndStat (&Deg,SeeOrPrint,Usr_SEX_ALL,NumStds,NumStdsWithPhoto,&DateAvgPhoto);
fprintf (Gbl.F.Out,"</td>"); fprintf (Gbl.F.Out,"</td>");

View File

@ -5886,7 +5886,7 @@ void Tst_SelUsrsToSeeUsrsTstExams (void)
Act_FormStart (ActSeeUsrTstExa); Act_FormStart (ActSeeUsrTstExa);
Grp_PutParamsCodGrps (); Grp_PutParamsCodGrps ();
fprintf (Gbl.F.Out,"<div style=\"text-align:center;\">" fprintf (Gbl.F.Out,"<div style=\"text-align:center;\">"
"<table style=\"border-spacing:4px;\">" "<table style=\"margin:0 auto; border-spacing:4px;\">"
"<tr>" "<tr>"
"<td colspan=\"2\" style=\"text-align:left;\">"); "<td colspan=\"2\" style=\"text-align:left;\">");