Version 16.181

This commit is contained in:
Antonio Cañas Vargas 2017-04-17 14:18:57 +02:00
parent a895afca0a
commit c1f49c36a8
35 changed files with 101 additions and 99 deletions

View File

@ -1548,7 +1548,7 @@ a:hover /* Default ==> underlined */
.FRAME_CONTAINER .FRAME_CONTAINER
{ {
box-sizing:border-box; box-sizing:border-box;
width:100%%; width:100%;
text-align:center; text-align:center;
vertical-align:middle; vertical-align:middle;
} }
@ -1594,17 +1594,26 @@ a:hover /* Default ==> underlined */
display:inline-block; display:inline-block;
float:right; float:right;
} }
.FRAME_TBL .FRAME_TBL_WIDE
{ {
box-sizing:border-box; box-sizing:border-box;
width:100%; width:100%;
} }
.FRAME_TBL_MARGIN .FRAME_TBL_WIDE_MARGIN
{ {
box-sizing:border-box; box-sizing:border-box;
width:100%; width:100%;
margin-bottom:20px; margin-bottom:20px;
} }
.FRAME_TBL_CENTER
{
margin:0 auto;
}
.FRAME_TBL_CENTER_MARGIN
{
margin:0 auto;
margin-bottom:20px;
}
.FRAME_TITLE .FRAME_TITLE
{ {
display:table; display:table;
@ -1853,10 +1862,10 @@ a:hover img.CENTRE_PHOTO_SHOW
.NO_BR {white-space:nowrap;} .NO_BR {white-space:nowrap;}
/********************************* Messages **********************************/ /********************************* Messages **********************************/
.MSG_SUBJECT, .MSG_CONTENT .MSG_RECIPIENTS, .MSG_SUBJECT, .MSG_CONTENT
{ {
box-sizing:border-box; box-sizing:border-box;
width:480px; width:640px;
} }
.BG_MSG_BLUE .BG_MSG_BLUE
{ {

View File

@ -125,10 +125,9 @@ function writeLocalDateHMSFromUTC (id,TimeUTC,Separator,StrToday,
if (WriteWeekDay) { if (WriteWeekDay) {
DayOfWeek = d.getDay(); DayOfWeek = d.getDay();
DayOfWeek = (DayOfWeek == 0) ? 6 : DayOfWeek - 1; DayOfWeek = (DayOfWeek == 0) ? 6 : DayOfWeek - 1;
StrDate = StrDate + Separator + DAYS[DayOfWeek] + Separator; StrDate = StrDate + Separator + DAYS[DayOfWeek];
} }
else StrDate = StrDate + Separator;
StrDate = StrDate + Separator;
} }
else else
StrDate = ''; StrDate = '';
@ -138,15 +137,12 @@ function writeLocalDateHMSFromUTC (id,TimeUTC,Separator,StrToday,
Min = d.getMinutes(); Min = d.getMinutes();
StrHou = ((Hou < 10) ? '0' : '') + Hou; StrHou = ((Hou < 10) ? '0' : '') + Hou;
StrMin = ((Min < 10) ? ':0' : ':') + Min; StrMin = ((Min < 10) ? ':0' : ':') + Min;
StrSec = '';
if (WriteSeconds) { if (WriteSeconds) {
Sec = d.getSeconds(); Sec = d.getSeconds();
if (Sec) if (Sec)
StrSec = ((Sec < 10) ? ':0' : ':') + Sec; StrSec = ((Sec < 10) ? ':0' : ':') + Sec;
else
StrSec = '';
} }
else
StrSec = '';
/* Write date and time */ /* Write date and time */
document.getElementById(id).innerHTML = StrDate + StrHou + StrMin + StrSec; document.getElementById(id).innerHTML = StrDate + StrHou + StrMin + StrSec;

View File

@ -529,7 +529,7 @@ void ID_ShowFormOthIDs (void)
Rec_ShowSharedUsrRecord (Rec_SHA_RECORD_LIST,&Gbl.Usrs.Other.UsrDat); Rec_ShowSharedUsrRecord (Rec_SHA_RECORD_LIST,&Gbl.Usrs.Other.UsrDat);
/***** Form with the user's ID *****/ /***** Form with the user's ID *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL CELLS_PAD_2\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE CELLS_PAD_2\">");
ID_ShowFormChangeUsrID (&Gbl.Usrs.Other.UsrDat, ID_ShowFormChangeUsrID (&Gbl.Usrs.Other.UsrDat,
(Gbl.Usrs.Other.UsrDat.UsrCod == Gbl.Usrs.Me.UsrDat.UsrCod)); // It's me? (Gbl.Usrs.Other.UsrDat.UsrCod == Gbl.Usrs.Me.UsrDat.UsrCod)); // It's me?
fprintf (Gbl.F.Out,"</table>"); fprintf (Gbl.F.Out,"</table>");

View File

@ -472,7 +472,7 @@ static void Agd_ShowEvents (Agd_AgendaType_t AgendaType)
if (Gbl.Agenda.Num) if (Gbl.Agenda.Num)
{ {
/***** Start table *****/ /***** Start table *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_MARGIN CELLS_PAD_2\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE_MARGIN CELLS_PAD_2\">");
/***** Table head *****/ /***** Table head *****/
Agd_WriteHeaderListEvents (AgendaType); Agd_WriteHeaderListEvents (AgendaType);

View File

@ -151,7 +151,7 @@ static void Asg_ShowAllAssignments (void)
if (Gbl.Asgs.Num) if (Gbl.Asgs.Num)
{ {
/***** Table head *****/ /***** Table head *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_MARGIN CELLS_PAD_2\">" fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE_MARGIN CELLS_PAD_2\">"
"<tr>"); "<tr>");
for (Order = Dat_START_TIME; for (Order = Dat_START_TIME;
Order <= Dat_END_TIME; Order <= Dat_END_TIME;

View File

@ -231,7 +231,7 @@ static void Att_ShowAllAttEvents (void)
if (Gbl.AttEvents.Num) if (Gbl.AttEvents.Num)
{ {
/***** Table head *****/ /***** Table head *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_MARGIN CELLS_PAD_2\">" fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE_MARGIN CELLS_PAD_2\">"
"<tr>"); "<tr>");
for (Order = Dat_START_TIME; for (Order = Dat_START_TIME;
Order <= Dat_END_TIME; Order <= Dat_END_TIME;
@ -1946,7 +1946,7 @@ static void Att_ListAttStudents (struct AttendanceEvent *Att)
Grp_PutParamsCodGrps (); Grp_PutParamsCodGrps ();
/***** List students' data *****/ /***** List students' data *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL CELLS_PAD_2\">" fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE CELLS_PAD_2\">"
"<tr>" "<tr>"
"<th></th>" "<th></th>"
"<th></th>" "<th></th>"
@ -2644,7 +2644,7 @@ void Usr_ReqListStdsAttendanceCrs (void)
Grp_PutParamsCodGrps (); Grp_PutParamsCodGrps ();
/* Write list of students to select some of them */ /* Write list of students to select some of them */
fprintf (Gbl.F.Out,"<table style=\"margin:0 auto;\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_CENTER\">");
Usr_ListUsersToSelect (Rol_STUDENT); Usr_ListUsersToSelect (Rol_STUDENT);
fprintf (Gbl.F.Out,"</table>"); fprintf (Gbl.F.Out,"</table>");
@ -3175,8 +3175,8 @@ static void Att_ListStdsAttendanceTable (Att_TypeOfView_t TypeOfView,
TypeOfView == Att_PRINT_VIEW ? NULL : TypeOfView == Att_PRINT_VIEW ? NULL :
Hlp_USERS_Attendance_attendance_list); Hlp_USERS_Attendance_attendance_list);
fprintf (Gbl.F.Out,"<table class=\"%s CELLS_PAD_2\">", fprintf (Gbl.F.Out,"<table class=\"%s CELLS_PAD_2\">",
PutButtonShowDetails ? "FRAME_TBL_MARGIN" : PutButtonShowDetails ? "FRAME_TBL_WIDE_MARGIN" :
"FRAME_TBL"); "FRAME_TBL_WIDE");
/***** Heading row *****/ /***** Heading row *****/
Att_WriteTableHeadSeveralAttEvents (); Att_WriteTableHeadSeveralAttEvents ();

View File

@ -377,7 +377,7 @@ static void Ctr_Configuration (bool PrintView)
} }
/***** Start table *****/ /***** Start table *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL CELLS_PAD_2\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE CELLS_PAD_2\">");
/***** Institution *****/ /***** Institution *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -759,7 +759,7 @@ static void Ctr_ListCentres (void)
if (Gbl.Ctrs.Num) // There are centres in the current institution if (Gbl.Ctrs.Num) // There are centres in the current institution
{ {
/***** Start table *****/ /***** Start table *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_MARGIN CELLS_PAD_2\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE_MARGIN CELLS_PAD_2\">");
Ctr_PutHeadCentresForSeeing (true); // Order selectable Ctr_PutHeadCentresForSeeing (true); // Order selectable
/***** Write all the centres and their nuber of teachers *****/ /***** Write all the centres and their nuber of teachers *****/
@ -2425,7 +2425,7 @@ static void Ctr_PutFormToCreateCentre (void)
Lay_ShowErrorAndExit ("You can not edit centres."); Lay_ShowErrorAndExit ("You can not edit centres.");
/***** Start table *****/ /***** Start table *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_MARGIN CELLS_PAD_2\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE_MARGIN CELLS_PAD_2\">");
/***** Table head *****/ /***** Table head *****/
Ctr_PutHeadCentresForEdition (); Ctr_PutHeadCentresForEdition ();

View File

@ -214,13 +214,16 @@
/****************************** Public constants *****************************/ /****************************** Public constants *****************************/
/*****************************************************************************/ /*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.180.1 (2017-04-17)" #define Log_PLATFORM_VERSION "SWAD 16.181 (2017-04-17)"
#define CSS_FILE "swad16.177.css" #define CSS_FILE "swad16.181.css"
#define JS_FILE "swad16.144.js" #define JS_FILE "swad16.181.js"
// 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 sql/swad*.sql | tail -1 // nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*?.h sql/swad*.sql | tail -1
/* /*
Version 16.181: Apr 17, 2017 Changes in layout of messages.
Changes in layout of some tables.
Fixed bug in forums. (217560 lines)
Version 16.180.1: Apr 17, 2017 New '+' icon in list of thread posts to add a new post. (217558 lines) Version 16.180.1: Apr 17, 2017 New '+' icon in list of thread posts to add a new post. (217558 lines)
Version 16.180: Apr 17, 2017 Code refactoring in forums. (217521 lines) Version 16.180: Apr 17, 2017 Code refactoring in forums. (217521 lines)
Version 16.179: Apr 16, 2017 Code refactoring in forums. (217444 lines) Version 16.179: Apr 16, 2017 Code refactoring in forums. (217444 lines)

View File

@ -297,7 +297,7 @@ static void Cty_Configuration (bool PrintView)
} }
/***** Start table *****/ /***** Start table *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL CELLS_PAD_2\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE CELLS_PAD_2\">");
/***** Country name (an link to WWW if exists) *****/ /***** Country name (an link to WWW if exists) *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"

View File

@ -216,7 +216,7 @@ static void Crs_Configuration (bool PrintView)
Gbl.CurrentCrs.Crs.FullName); Gbl.CurrentCrs.Crs.FullName);
/***** Start table *****/ /***** Start table *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL CELLS_PAD_2\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE CELLS_PAD_2\">");
/***** Degree *****/ /***** Degree *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -1161,7 +1161,7 @@ static void Crs_ListCourses (void)
if (Gbl.CurrentDeg.NumCrss) // There are courses in the current degree if (Gbl.CurrentDeg.NumCrss) // There are courses in the current degree
{ {
/***** Start table *****/ /***** Start table *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_MARGIN CELLS_PAD_2\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE_MARGIN CELLS_PAD_2\">");
Crs_PutHeadCoursesForSeeing (); Crs_PutHeadCoursesForSeeing ();
/***** List the courses *****/ /***** List the courses *****/

View File

@ -312,7 +312,7 @@ static void Deg_Configuration (bool PrintView)
fprintf (Gbl.F.Out,"</div>"); fprintf (Gbl.F.Out,"</div>");
/***** Start table *****/ /***** Start table *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL CELLS_PAD_2\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE CELLS_PAD_2\">");
/***** Centre *****/ /***** Centre *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -949,7 +949,7 @@ static void Deg_PutFormToCreateDegree (void)
Lay_ShowErrorAndExit ("You can not edit degrees."); Lay_ShowErrorAndExit ("You can not edit degrees.");
/***** Start table *****/ /***** Start table *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_MARGIN CELLS_PAD_2\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE_MARGIN CELLS_PAD_2\">");
/***** Table head *****/ /***** Table head *****/
Deg_PutHeadDegreesForEdition (); Deg_PutHeadDegreesForEdition ();
@ -1192,7 +1192,7 @@ static void Deg_ListDegrees (void)
if (Gbl.CurrentCtr.Ctr.Degs.Num) // There are degrees in the current centre if (Gbl.CurrentCtr.Ctr.Degs.Num) // There are degrees in the current centre
{ {
/***** Start table *****/ /***** Start table *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_MARGIN CELLS_PAD_2\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE_MARGIN CELLS_PAD_2\">");
Deg_PutHeadDegreesForSeeing (); Deg_PutHeadDegreesForSeeing ();
/***** List the degrees *****/ /***** List the degrees *****/

View File

@ -822,7 +822,7 @@ static void Enr_PutAreaToEnterUsrsIDs (void)
extern const char *Txt_List_of_nicks_emails_or_IDs; extern const char *Txt_List_of_nicks_emails_or_IDs;
/***** Text area for users' IDs *****/ /***** Text area for users' IDs *****/
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\" style=\"margin:0 auto;\">" fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_CENTER CELLS_PAD_2\">"
"<tr>" "<tr>"
"<td class=\"RIGHT_TOP\">" "<td class=\"RIGHT_TOP\">"
"<label for=\"UsrsIDs\" class=\"%s\">%s:</label>" "<label for=\"UsrsIDs\" class=\"%s\">%s:</label>"
@ -2207,7 +2207,7 @@ static void Enr_ShowEnrolmentRequestsGivenRoles (unsigned RolesSelected)
/***** Selection of scope and roles *****/ /***** Selection of scope and roles *****/
/* Start form */ /* Start form */
Act_FormStart (ActUpdSignUpReq); Act_FormStart (ActUpdSignUpReq);
fprintf (Gbl.F.Out,"<table style=\"margin:0 auto; border-spacing:5px;\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_MARGIN CELLS_PAD_5\">");
/* Scope (whole platform, current centre, current degree or current course) */ /* Scope (whole platform, current centre, current degree or current course) */
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -2678,8 +2678,7 @@ static void Enr_ShowEnrolmentRequestsGivenRoles (unsigned RolesSelected)
Usr_UsrDataConstructor (&UsrDat); Usr_UsrDataConstructor (&UsrDat);
/* Start table */ /* Start table */
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\"" fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_CENTER CELLS_PAD_2\">"
" style=\"margin:0 auto;\">"
"<th></th>" "<th></th>"
"<th class=\"LEFT_TOP\">" "<th class=\"LEFT_TOP\">"
"%s" "%s"

View File

@ -3120,7 +3120,7 @@ void Brw_AskEditWorksCrs (void)
Brw_PutHiddenParamFullTreeIfSelected (); Brw_PutHiddenParamFullTreeIfSelected ();
/* Put list of users to select some of them */ /* Put list of users to select some of them */
fprintf (Gbl.F.Out,"<table style=\"margin:0 auto;\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_CENTER\">");
Usr_ListUsersToSelect (Rol_TEACHER); Usr_ListUsersToSelect (Rol_TEACHER);
Usr_ListUsersToSelect (Rol_STUDENT); Usr_ListUsersToSelect (Rol_STUDENT);
fprintf (Gbl.F.Out,"</table>"); fprintf (Gbl.F.Out,"</table>");

View File

@ -1061,7 +1061,7 @@ static void For_ShowThreadPosts (long ThrCod)
&PaginationPsts); &PaginationPsts);
/***** Start table *****/ /***** Start table *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL CELLS_PAD_2\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE CELLS_PAD_2\">");
/***** Show posts from this page, the author and the date of last reply *****/ /***** Show posts from this page, the author and the date of last reply *****/
mysql_data_seek (mysql_res,(my_ulonglong) (PaginationPsts.FirstItemVisible - 1)); mysql_data_seek (mysql_res,(my_ulonglong) (PaginationPsts.FirstItemVisible - 1));
@ -2542,7 +2542,7 @@ static void For_ShowForumThreadsHighlightingOneThread (long ThrCodHighlighted)
&PaginationThrs); &PaginationThrs);
/***** Heading row *****/ /***** Heading row *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL CELLS_PAD_2\">" fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE CELLS_PAD_2\">"
"<tr>" "<tr>"
"<th class=\"LEFT_MIDDLE\"" "<th class=\"LEFT_MIDDLE\""
" style=\"width:18px;\">" " style=\"width:18px;\">"
@ -3342,9 +3342,9 @@ static void For_ListForumThrs (long ThrCods[Pag_ITEMS_PER_PAGE],
/* Write the date of first or last message (it's in YYYYMMDDHHMMSS format) */ /* Write the date of first or last message (it's in YYYYMMDDHHMMSS format) */
TimeUTC = Thr.WriteTime[Order]; TimeUTC = Thr.WriteTime[Order];
UniqueId++; UniqueId++;
fprintf (Gbl.F.Out,"<td id=\"date_%u\" class=\"%s LEFT_TOP %s\">" fprintf (Gbl.F.Out,"<td id=\"thr_date_%u\" class=\"%s LEFT_TOP %s\">"
"<script type=\"text/javascript\">" "<script type=\"text/javascript\">"
"writeLocalDateHMSFromUTC('date_%u'," "writeLocalDateHMSFromUTC('thr_date_%u',"
"%ld,'<br />','%s',true,false,false);" "%ld,'<br />','%s',true,false,false);"
"</script>" "</script>"
"</td>", "</td>",
@ -3779,15 +3779,15 @@ static void For_WriteFormForumPst (bool IsReply,long ThrCod,const char *Subject)
{ {
extern const char *Hlp_SOCIAL_Forums; extern const char *Hlp_SOCIAL_Forums;
extern const char *The_ClassForm[The_NUM_THEMES]; extern const char *The_ClassForm[The_NUM_THEMES];
extern const char *Txt_New_message; extern const char *Txt_New_post;
extern const char *Txt_New_thread; extern const char *Txt_New_thread;
extern const char *Txt_MSG_Subject; extern const char *Txt_MSG_Subject;
extern const char *Txt_MSG_Message; extern const char *Txt_MSG_Message;
extern const char *Txt_Send_message; extern const char *Txt_Send;
/***** Start frame *****/ /***** Start frame *****/
Lay_StartRoundFrame (NULL, Lay_StartRoundFrame (NULL,
IsReply ? Txt_New_message : IsReply ? Txt_New_post :
Txt_New_thread, Txt_New_thread,
NULL,Hlp_SOCIAL_Forums); NULL,Hlp_SOCIAL_Forums);
@ -3848,7 +3848,7 @@ static void For_WriteFormForumPst (bool IsReply,long ThrCod,const char *Subject)
Img_PutImageUploader (-1,"FOR_IMG_TIT_URL"); Img_PutImageUploader (-1,"FOR_IMG_TIT_URL");
/***** Send button *****/ /***** Send button *****/
Lay_PutCreateButton (Txt_Send_message); Lay_PutCreateButton (Txt_Send);
/***** End form *****/ /***** End form *****/
Act_FormEnd (); Act_FormEnd ();

View File

@ -274,7 +274,7 @@ void Grp_ShowFormToSelectSeveralGroups (Act_Action_t NextAction)
Grp_GetListGrpTypesAndGrpsInThisCrs (Grp_ONLY_GROUP_TYPES_WITH_GROUPS); Grp_GetListGrpTypesAndGrpsInThisCrs (Grp_ONLY_GROUP_TYPES_WITH_GROUPS);
/***** List the groups for each group type *****/ /***** List the groups for each group type *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL CELLS_PAD_2\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE CELLS_PAD_2\">");
for (NumGrpTyp = 0; for (NumGrpTyp = 0;
NumGrpTyp < Gbl.CurrentCrs.Grps.GrpTypes.Num; NumGrpTyp < Gbl.CurrentCrs.Grps.GrpTypes.Num;
NumGrpTyp++) NumGrpTyp++)
@ -1548,7 +1548,7 @@ void Grp_ShowLstGrpsToChgMyGrps (bool ShowWarningsToStudents)
Act_FormStart (ActChgGrp); Act_FormStart (ActChgGrp);
/***** List the groups the user belongs to for change *****/ /***** List the groups the user belongs to for change *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL CELLS_PAD_2\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE CELLS_PAD_2\">");
for (NumGrpTyp = 0; for (NumGrpTyp = 0;
NumGrpTyp < Gbl.CurrentCrs.Grps.GrpTypes.Num; NumGrpTyp < Gbl.CurrentCrs.Grps.GrpTypes.Num;
NumGrpTyp++) NumGrpTyp++)

View File

@ -97,8 +97,7 @@ void Hie_WriteMenuHierarchy (void)
extern const char *Txt_Course; extern const char *Txt_Course;
/***** Start of table *****/ /***** Start of table *****/
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\"" fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_CENTER_MARGIN CELLS_PAD_2\">");
" style=\"margin:0 auto 12px auto;\">");
/***** Write a 1st selector /***** Write a 1st selector
with all the countries *****/ with all the countries *****/

View File

@ -104,7 +104,7 @@ void Hld_SeeHolidays (void)
Hlp_INSTITUTION_Holidays); Hlp_INSTITUTION_Holidays);
if (Gbl.Hlds.Num) if (Gbl.Hlds.Num)
{ {
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_MARGIN CELLS_PAD_2\">" fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE_MARGIN CELLS_PAD_2\">"
"<tr>"); "<tr>");
for (Order = Hld_ORDER_BY_PLACE; for (Order = Hld_ORDER_BY_PLACE;
Order <= Hld_ORDER_BY_START_DATE; Order <= Hld_ORDER_BY_START_DATE;

View File

@ -110,7 +110,7 @@ void Ind_ReqIndicatorsCourses (void)
/***** Form to update indicators *****/ /***** Form to update indicators *****/
/* Start form */ /* Start form */
Act_FormStart (ActReqStaCrs); Act_FormStart (ActReqStaCrs);
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL CELLS_PAD_2\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE CELLS_PAD_2\">");
/* Scope */ /* Scope */
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"

View File

@ -323,7 +323,7 @@ static void Ins_Configuration (bool PrintView)
fprintf (Gbl.F.Out,"</div>"); fprintf (Gbl.F.Out,"</div>");
/***** Start table *****/ /***** Start table *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL CELLS_PAD_2\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE CELLS_PAD_2\">");
/***** Country *****/ /***** Country *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -684,7 +684,7 @@ static void Ins_ListInstitutions (void)
if (Gbl.Inss.Num) // There are institutions in the current country if (Gbl.Inss.Num) // There are institutions in the current country
{ {
/***** Start table *****/ /***** Start table *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_MARGIN CELLS_PAD_2\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE_MARGIN CELLS_PAD_2\">");
Ins_PutHeadInstitutionsForSeeing (true); // Order selectable Ins_PutHeadInstitutionsForSeeing (true); // Order selectable
/***** Write all the institutions and their nuber of users *****/ /***** Write all the institutions and their nuber of users *****/

View File

@ -1357,7 +1357,7 @@ void Lay_StartRoundFrameTable (const char *Width,const char *Title,
{ {
Lay_StartRoundFrame (Width,Title,FunctionToDrawContextualIcons,HelpLink); Lay_StartRoundFrame (Width,Title,FunctionToDrawContextualIcons,HelpLink);
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE");
if (CellPadding) if (CellPadding)
fprintf (Gbl.F.Out," CELLS_PAD_%u",CellPadding); // CellPadding must be 0, 1, 2, 4 or 8 fprintf (Gbl.F.Out," CELLS_PAD_%u",CellPadding); // CellPadding must be 0, 1, 2, 4 or 8
fprintf (Gbl.F.Out,"\">"); fprintf (Gbl.F.Out,"\">");
@ -1370,7 +1370,7 @@ void Lay_StartRoundFrameTableShadow (const char *Width,const char *Title,
{ {
Lay_StartRoundFrameShadow (Width,Title,FunctionToDrawContextualIcons,HelpLink); Lay_StartRoundFrameShadow (Width,Title,FunctionToDrawContextualIcons,HelpLink);
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE");
if (CellPadding) if (CellPadding)
fprintf (Gbl.F.Out," CELLS_PAD_%u",CellPadding); // CellPadding must be 0, 1, 2, 4 or 8 fprintf (Gbl.F.Out," CELLS_PAD_%u",CellPadding); // CellPadding must be 0, 1, 2, 4 or 8
fprintf (Gbl.F.Out,"\">"); fprintf (Gbl.F.Out,"\">");

View File

@ -1170,7 +1170,7 @@ void Mai_ShowFormOthEmail (void)
Rec_ShowSharedUsrRecord (Rec_SHA_RECORD_LIST,&Gbl.Usrs.Other.UsrDat); Rec_ShowSharedUsrRecord (Rec_SHA_RECORD_LIST,&Gbl.Usrs.Other.UsrDat);
/***** Form with the user's email *****/ /***** Form with the user's email *****/
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\" style=\"margin:0 auto;\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_CENTER CELLS_PAD_2\">");
Mai_ShowFormChangeUsrEmail (&Gbl.Usrs.Other.UsrDat, Mai_ShowFormChangeUsrEmail (&Gbl.Usrs.Other.UsrDat,
(Gbl.Usrs.Other.UsrDat.UsrCod == Gbl.Usrs.Me.UsrDat.UsrCod)); // It's me? (Gbl.Usrs.Other.UsrDat.UsrCod == Gbl.Usrs.Me.UsrDat.UsrCod)); // It's me?
fprintf (Gbl.F.Out,"</table>"); fprintf (Gbl.F.Out,"</table>");

View File

@ -272,7 +272,7 @@ static void Msg_PutFormMsgUsrs (char Content[Cns_MAX_BYTES_LONG_TEXT + 1])
} }
/***** Start table *****/ /***** Start table *****/
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_CENTER CELLS_PAD_2\">");
/***** "To:" section (recipients) *****/ /***** "To:" section (recipients) *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -457,7 +457,7 @@ static void Msg_WriteFormUsrsIDsOrNicksOtherRecipients (void)
fprintf (Gbl.F.Out," colspan=\"%u\"",Colspan); fprintf (Gbl.F.Out," colspan=\"%u\"",Colspan);
fprintf (Gbl.F.Out," class=\"LEFT_MIDDLE\">" fprintf (Gbl.F.Out," class=\"LEFT_MIDDLE\">"
"<textarea id=\"OtherRecipients\" name=\"OtherRecipients\"" "<textarea id=\"OtherRecipients\" name=\"OtherRecipients\""
" cols=\"72\" rows=\"2\"" " class=\"MSG_RECIPIENTS\" rows=\"2\""
" placeholder=\"%s\">", " placeholder=\"%s\">",
Txt_nicks_emails_or_IDs_separated_by_commas); Txt_nicks_emails_or_IDs_separated_by_commas);
if (Gbl.Usrs.ListOtherRecipients[0]) if (Gbl.Usrs.ListOtherRecipients[0])
@ -501,7 +501,7 @@ static void Msg_WriteFormSubjectAndContentMsgToUsrs (char Content[Cns_MAX_BYTES_
"</td>" "</td>"
"<td class=\"LEFT_MIDDLE\">" "<td class=\"LEFT_MIDDLE\">"
"<textarea id=\"MsgSubject\" name=\"Subject\"" "<textarea id=\"MsgSubject\" name=\"Subject\""
" cols=\"72\" rows=\"2\">", " class=\"MSG_SUBJECT\" rows=\"2\">",
The_ClassForm[Gbl.Prefs.Theme], The_ClassForm[Gbl.Prefs.Theme],
Txt_MSG_Subject); Txt_MSG_Subject);
@ -551,7 +551,7 @@ static void Msg_WriteFormSubjectAndContentMsgToUsrs (char Content[Cns_MAX_BYTES_
"</td>" "</td>"
"<td class=\"LEFT_MIDDLE\">" "<td class=\"LEFT_MIDDLE\">"
"<textarea id=\"MsgContent\" name=\"Content\"" "<textarea id=\"MsgContent\" name=\"Content\""
" cols=\"72\" rows=\"20\">", " class=\"MSG_CONTENT\" rows=\"20\">",
The_ClassForm[Gbl.Prefs.Theme],Txt_MSG_Message); The_ClassForm[Gbl.Prefs.Theme],Txt_MSG_Message);
/* Start textarea with a '\n', that will be not visible in textarea. /* Start textarea with a '\n', that will be not visible in textarea.
@ -583,7 +583,7 @@ static void Msg_WriteFormSubjectAndContentMsgToUsrs (char Content[Cns_MAX_BYTES_
"</td>" "</td>"
"<td class=\"LEFT_MIDDLE\">" "<td class=\"LEFT_MIDDLE\">"
"<textarea id=\"MsgContent\" name=\"Content\"" "<textarea id=\"MsgContent\" name=\"Content\""
" cols=\"72\" rows=\"20\">", " class=\"MSG_CONTENT\" rows=\"20\">",
The_ClassForm[Gbl.Prefs.Theme], The_ClassForm[Gbl.Prefs.Theme],
Txt_MSG_Message); Txt_MSG_Message);
@ -2588,7 +2588,7 @@ void Msg_ShowFormToFilterMsgs (void)
}; };
/***** Table start *****/ /***** Table start *****/
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\" style=\"margin:0 auto;\">" fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_CENTER CELLS_PAD_2\">"
"<tr>"); "<tr>");
/***** Filter authors/recipients *****/ /***** Filter authors/recipients *****/
@ -3529,13 +3529,13 @@ void Msg_WriteMsgDate (time_t TimeUTC,const char *ClassBackground)
UniqueId++; UniqueId++;
/***** Start cell *****/ /***** Start cell *****/
fprintf (Gbl.F.Out,"<td id=\"date_%u\" class=\"%s RIGHT_TOP\"" fprintf (Gbl.F.Out,"<td id=\"msg_date_%u\" class=\"%s RIGHT_TOP\""
" style=\"width:106px;\">", " style=\"width:106px;\">",
UniqueId,ClassBackground); UniqueId,ClassBackground);
/***** Write date and time *****/ /***** Write date and time *****/
fprintf (Gbl.F.Out,"<script type=\"text/javascript\">" fprintf (Gbl.F.Out,"<script type=\"text/javascript\">"
"writeLocalDateHMSFromUTC('date_%u'," "writeLocalDateHMSFromUTC('msg_date_%u',"
"%ld,',&nbsp;','%s',true,false,false);" "%ld,',&nbsp;','%s',true,false,false);"
"</script>", "</script>",
UniqueId,(long) TimeUTC,Txt_Today); UniqueId,(long) TimeUTC,Txt_Today);

View File

@ -699,7 +699,7 @@ static void Not_DrawANotice (Not_Listing_t TypeNoticesListing,
Not_PutHiddenParamNotCod (NotCod); Not_PutHiddenParamNotCod (NotCod);
Act_LinkFormSubmit (Txt_See_full_notice,DateClass[Status],NULL); Act_LinkFormSubmit (Txt_See_full_notice,DateClass[Status],NULL);
} }
fprintf (Gbl.F.Out,"<span id=\"notice_date_%u\"></span>", fprintf (Gbl.F.Out,"<span id=\"not_date_%u\"></span>",
UniqueId); UniqueId);
if (TypeNoticesListing == Not_LIST_BRIEF_NOTICES) if (TypeNoticesListing == Not_LIST_BRIEF_NOTICES)
{ {
@ -707,7 +707,7 @@ static void Not_DrawANotice (Not_Listing_t TypeNoticesListing,
Act_FormEnd (); Act_FormEnd ();
} }
fprintf (Gbl.F.Out,"<script type=\"text/javascript\">" fprintf (Gbl.F.Out,"<script type=\"text/javascript\">"
"writeLocalDateHMSFromUTC('notice_date_%u'," "writeLocalDateHMSFromUTC('not_date_%u',"
"%ld,'<br />','%s',true,false,false);" "%ld,'<br />','%s',true,false,false);"
"</script>" "</script>"
"</div>", "</div>",

View File

@ -388,7 +388,7 @@ void Ntf_ShowMyNotifications (void)
Usr_UsrDataConstructor (&UsrDat); Usr_UsrDataConstructor (&UsrDat);
/***** Start table *****/ /***** Start table *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL CELLS_PAD_2\">" fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE CELLS_PAD_2\">"
"<tr>" "<tr>"
"<th colspan=\"2\" class=\"LEFT_MIDDLE\">" "<th colspan=\"2\" class=\"LEFT_MIDDLE\">"
"%s" "%s"
@ -1899,7 +1899,7 @@ void Ntf_PutFormChangeNotifSentByEMail (void)
Mai_WriteWarningEmailNotifications (); Mai_WriteWarningEmailNotifications ();
/***** List of notifications *****/ /***** List of notifications *****/
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\" style=\"margin:0 auto;\">" fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_CENTER CELLS_PAD_2\">"
"<tr>" "<tr>"
"<th></th>" "<th></th>"
"<th class=\"CENTER_MIDDLE\">" "<th class=\"CENTER_MIDDLE\">"

View File

@ -226,7 +226,7 @@ void Pag_WriteLinksToPages (Pag_WhatPaginate_t WhatPaginate,
if (Pagination->MoreThanOnePage) if (Pagination->MoreThanOnePage)
{ {
/***** Links to several pages start here *****/ /***** Links to several pages start here *****/
fprintf (Gbl.F.Out,"<table style=\"margin:0 auto; border-spacing:6px;\">" fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_CENTER CELLS_PAD_5\">"
"<tr>" "<tr>"
"<td class=\"%s LEFT_MIDDLE\">" "<td class=\"%s LEFT_MIDDLE\">"
"%s" "%s"

View File

@ -832,7 +832,7 @@ void Pwd_ShowFormOthPwd (void)
Usr_PutParamOtherUsrCodEncrypted (); Usr_PutParamOtherUsrCodEncrypted ();
/* New password */ /* New password */
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\" style=\"margin:0 auto;\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_CENTER CELLS_PAD_2\">");
Pwd_PutFormToGetNewPasswordTwice (); Pwd_PutFormToGetNewPasswordTwice ();
fprintf (Gbl.F.Out,"</table>"); fprintf (Gbl.F.Out,"</table>");

View File

@ -1637,8 +1637,7 @@ void Pho_ShowOrPrintPhotoDegree (Pho_AvgPhotoSeeOrPrint_t SeeOrPrint)
Pho_PutIconToPrintDegreeStats, Pho_PutIconToPrintDegreeStats,
Hlp_STATS_Degrees); Hlp_STATS_Degrees);
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\"" fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_CENTER CELLS_PAD_2\">");
" style=\"margin:0 auto;\">");
/***** Put a selector for the type of average *****/ /***** Put a selector for the type of average *****/
Pho_PutSelectorForTypeOfAvg (); Pho_PutSelectorForTypeOfAvg ();
@ -2036,7 +2035,7 @@ static void Pho_ShowOrPrintClassPhotoDegrees (Pho_AvgPhotoSeeOrPrint_t SeeOrPrin
/***** Form to select type of list used to display degree photos *****/ /***** Form to select type of list used to display degree photos *****/
if (SeeOrPrint == Pho_DEGREES_SEE) if (SeeOrPrint == Pho_DEGREES_SEE)
Usr_ShowFormsToSelectUsrListType (ActSeePhoDeg); Usr_ShowFormsToSelectUsrListType (ActSeePhoDeg);
fprintf (Gbl.F.Out,"<table style=\"margin:0 auto;\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_CENTER\">");
/***** Get and print degrees *****/ /***** Get and print degrees *****/
for (NumRow = 0, NumDegsNotEmpty = 0; for (NumRow = 0, NumDegsNotEmpty = 0;
@ -2121,8 +2120,7 @@ static void Pho_ShowOrPrintListDegrees (Pho_AvgPhotoSeeOrPrint_t SeeOrPrint)
Usr_ShowFormsToSelectUsrListType (ActSeePhoDeg); Usr_ShowFormsToSelectUsrListType (ActSeePhoDeg);
/***** Write heading *****/ /***** Write heading *****/
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\"" fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_CENTER CELLS_PAD_2\">"
" style=\"margin:0 auto;\">"
"<tr>" "<tr>"
"<th class=\"RIGHT_TOP\">" "<th class=\"RIGHT_TOP\">"
"%s" "%s"

View File

@ -119,7 +119,7 @@ void Plc_SeePlaces (void)
ICanEdit ? Plc_PutIconToEditPlaces : ICanEdit ? Plc_PutIconToEditPlaces :
NULL, NULL,
Hlp_INSTITUTION_Places); Hlp_INSTITUTION_Places);
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL CELLS_PAD_2\">" fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE CELLS_PAD_2\">"
"<tr>"); "<tr>");
for (Order = Plc_ORDER_BY_PLACE; for (Order = Plc_ORDER_BY_PLACE;
Order <= Plc_ORDER_BY_NUM_CTRS; Order <= Plc_ORDER_BY_NUM_CTRS;

View File

@ -104,7 +104,7 @@ void Pri_EditMyPrivacy (void)
/***** Start table *****/ /***** Start table *****/
Lay_StartRoundFrame (NULL,Txt_Privacy, Lay_StartRoundFrame (NULL,Txt_Privacy,
Pri_PutIconsPrivacy,Hlp_PROFILE_Preferences_privacy); Pri_PutIconsPrivacy,Hlp_PROFILE_Preferences_privacy);
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\" style=\"margin:0 auto;\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_CENTER CELLS_PAD_2\">");
/***** Edit photo visibility *****/ /***** Edit photo visibility *****/
Pri_PutFormVisibility (Txt_Photo, Pri_PutFormVisibility (Txt_Photo,

View File

@ -2216,7 +2216,7 @@ void Rec_ShowSharedUsrRecord (Rec_SharedRecordViewType_t TypeOfView,
/***** Show email and user's ID *****/ /***** Show email and user's ID *****/
if (ShowIDRows) if (ShowIDRows)
{ {
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL CELLS_PAD_2\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE CELLS_PAD_2\">");
Rec_ShowEmail (UsrDat,ClassForm); Rec_ShowEmail (UsrDat,ClassForm);
Rec_ShowUsrIDs (UsrDat,ClassForm); Rec_ShowUsrIDs (UsrDat,ClassForm);
fprintf (Gbl.F.Out,"</table>"); fprintf (Gbl.F.Out,"</table>");
@ -2244,7 +2244,7 @@ void Rec_ShowSharedUsrRecord (Rec_SharedRecordViewType_t TypeOfView,
break; break;
} }
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL CELLS_PAD_2\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE CELLS_PAD_2\">");
if (ShowIDRows) if (ShowIDRows)
{ {

View File

@ -493,8 +493,7 @@ void Sta_AskShowCrsHits (void)
Par_PutHiddenParamLong ("LastRow",0); Par_PutHiddenParamLong ("LastRow",0);
/***** Put list of users to select some of them *****/ /***** Put list of users to select some of them *****/
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\"" fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_CENTER CELLS_PAD_2\">"
" style=\"margin:0 auto;\">"
"<tr>" "<tr>"
"<td class=\"RIGHT_TOP %s\">%s:" "<td class=\"RIGHT_TOP %s\">%s:"
"</td>" "</td>"
@ -1770,9 +1769,9 @@ static void Sta_ShowDetailedAccessesList (unsigned long NumRows,MYSQL_RES *mysql
"?"); "?");
/* Write the date-time (row[3]) */ /* Write the date-time (row[3]) */
fprintf (Gbl.F.Out,"<td id=\"date_%u\" class=\"LOG CENTER_TOP COLOR%u\">" fprintf (Gbl.F.Out,"<td id=\"log_date_%u\" class=\"LOG CENTER_TOP COLOR%u\">"
"<script type=\"text/javascript\">" "<script type=\"text/javascript\">"
"writeLocalDateHMSFromUTC('date_%u'," "writeLocalDateHMSFromUTC('log_date_%u',"
"%ld,',&nbsp;','%s',true,false,true);" "%ld,',&nbsp;','%s',true,false,true);"
"</script>" "</script>"
"</td>", "</td>",

View File

@ -222,7 +222,7 @@ static void Svy_ListAllSurveys (struct SurveyQuestion *SvyQst)
if (Gbl.Svys.Num) if (Gbl.Svys.Num)
{ {
/***** Table head *****/ /***** Table head *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_MARGIN CELLS_PAD_2\">" fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE_MARGIN CELLS_PAD_2\">"
"<tr>"); "<tr>");
for (Order = Svy_ORDER_BY_START_DATE; for (Order = Svy_ORDER_BY_START_DATE;
Order <= Svy_ORDER_BY_END_DATE; Order <= Svy_ORDER_BY_END_DATE;
@ -438,7 +438,7 @@ static void Svy_ShowOneSurvey (long SvyCod,struct SurveyQuestion *SvyQst,
/***** Start table *****/ /***** Start table *****/
if (ShowOnlyThisSvyComplete) if (ShowOnlyThisSvyComplete)
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL CELLS_PAD_2\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE CELLS_PAD_2\">");
/***** Start date/time *****/ /***** Start date/time *****/
UniqueId++; UniqueId++;
@ -2666,7 +2666,7 @@ static void Svy_ShowFormEditOneQst (long SvyCod,struct SurveyQuestion *SvyQst,
Svy_PutParamQstCod (SvyQst->QstCod); Svy_PutParamQstCod (SvyQst->QstCod);
/***** Start table *****/ /***** Start table *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL CELLS_PAD_2\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE CELLS_PAD_2\">");
/***** Stem *****/ /***** Stem *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -3188,7 +3188,7 @@ static void Svy_ListSvyQuestions (struct Survey *Svy,struct SurveyQuestion *SvyQ
} }
/***** Write the heading *****/ /***** Write the heading *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL CELLS_PAD_2\">" fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE CELLS_PAD_2\">"
"<tr>"); "<tr>");
if (Svy->Status.ICanEdit) if (Svy->Status.ICanEdit)
fprintf (Gbl.F.Out,"<th colspan=\"2\"></th>"); fprintf (Gbl.F.Out,"<th colspan=\"2\"></th>");

View File

@ -440,7 +440,7 @@ void Tst_ShowNewTest (void)
Par_PutHiddenParamUnsigned ("NumQst",Gbl.Test.NumQsts); Par_PutHiddenParamUnsigned ("NumQst",Gbl.Test.NumQsts);
/***** List the questions *****/ /***** List the questions *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL CELLS_PAD_10\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE CELLS_PAD_10\">");
Tst_ShowTestQuestionsWhenSeeing (mysql_res); Tst_ShowTestQuestionsWhenSeeing (mysql_res);
fprintf (Gbl.F.Out,"</table>"); fprintf (Gbl.F.Out,"</table>");
@ -540,7 +540,7 @@ void Tst_AssessTest (void)
} }
/***** Write answers and solutions *****/ /***** Write answers and solutions *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL CELLS_PAD_10\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE CELLS_PAD_10\">");
Tst_ShowTestResultAfterAssess (TstCod,&NumQstsNotBlank,&TotalScore); Tst_ShowTestResultAfterAssess (TstCod,&NumQstsNotBlank,&TotalScore);
fprintf (Gbl.F.Out,"</table>"); fprintf (Gbl.F.Out,"</table>");
@ -2722,7 +2722,7 @@ static void Tst_ListOneOrMoreQuestionsToEdit (unsigned long NumRows,MYSQL_RES *m
Tst_PutIconsTests,Hlp_ASSESSMENT_Tests); Tst_PutIconsTests,Hlp_ASSESSMENT_Tests);
/***** Write the heading *****/ /***** Write the heading *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_MARGIN CELLS_PAD_2\">" fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE_MARGIN CELLS_PAD_2\">"
"<tr>" "<tr>"
"<th colspan=\"2\"></th>" "<th colspan=\"2\"></th>"
"<th class=\"CENTER_TOP\">" "<th class=\"CENTER_TOP\">"
@ -6968,8 +6968,7 @@ void Tst_SelUsrsToSeeUsrsTestResults (void)
Grp_PutParamsCodGrps (); Grp_PutParamsCodGrps ();
/***** Put list of users to select some of them *****/ /***** Put list of users to select some of them *****/
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_2\"" fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_CENTER CELLS_PAD_2\">"
" style=\"margin:0 auto;\">"
"<tr>" "<tr>"
"<td class=\"%s RIGHT_TOP\">" "<td class=\"%s RIGHT_TOP\">"
"%s:" "%s:"
@ -7652,7 +7651,7 @@ void Tst_ShowOneTestResult (void)
Gbl.CurrentCrs.Crs.CrsCod); Gbl.CurrentCrs.Crs.CrsCod);
/***** Start table *****/ /***** Start table *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL CELLS_PAD_10\">"); fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE CELLS_PAD_10\">");
/***** Header row *****/ /***** Header row *****/
/* Get data of the user who made the test */ /* Get data of the user who made the test */

View File

@ -959,7 +959,7 @@ static void TsI_WriteHeadingListImportedQst (void)
extern const char *Txt_Question; extern const char *Txt_Question;
/***** Write the heading *****/ /***** Write the heading *****/
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL CELLS_PAD_2\">" fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL_WIDE CELLS_PAD_2\">"
"<tr>" "<tr>"
"<th></th>" "<th></th>"
"<th class=\"CENTER_TOP\">" "<th class=\"CENTER_TOP\">"

View File

@ -24329,17 +24329,17 @@ const char *Txt_New_plugin =
const char *Txt_New_post = const char *Txt_New_post =
#if L==1 #if L==1
"Novo missatge"; "Nou comentari";
#elif L==2 #elif L==2
"Neue Nachricht"; "Neue Kommentar";
#elif L==3 #elif L==3
"New post"; "New post";
#elif L==4 #elif L==4
"Nuevo mensaje"; "Nuevo comentario";
#elif L==5 #elif L==5
"Nouveau message"; "Nouveau commentaire";
#elif L==6 #elif L==6
"Nuevo mensaje"; // Okoteve traducción "Nuevo comentario"; // Okoteve traducción
#elif L==7 #elif L==7
"Nuovo post"; "Nuovo post";
#elif L==8 #elif L==8