diff --git a/swad_ID.c b/swad_ID.c
index ac57abf54..cd6bc9ca1 100644
--- a/swad_ID.c
+++ b/swad_ID.c
@@ -551,8 +551,8 @@ void ID_ShowFormOthIDs (void)
{
/***** Start frame *****/
Box_StartBox (NULL,Txt_ID,NULL,
- NULL,
- false); // Not closable
+ NULL,
+ false); // Not closable
/***** Show user's record *****/
Rec_ShowSharedUsrRecord (Rec_SHA_RECORD_LIST,
diff --git a/swad_MFU.c b/swad_MFU.c
index 95fd43443..07b8b1df4 100644
--- a/swad_MFU.c
+++ b/swad_MFU.c
@@ -225,8 +225,8 @@ void MFU_WriteBigMFUActions (struct MFU_ListMFUActions *ListMFUActions)
/***** Start frame *****/
Box_StartBox (NULL,Txt_My_frequent_actions,NULL,
- Hlp_STATS_Frequent,
- false); // Not closable
+ Hlp_STATS_Frequent,
+ false); // Not closable
fprintf (Gbl.F.Out,"
");
/***** Write list of frequently used actions *****/
diff --git a/swad_account.c b/swad_account.c
index 8e3491dc6..6f3b0f0e7 100644
--- a/swad_account.c
+++ b/swad_account.c
@@ -145,8 +145,8 @@ static void Acc_ShowFormCheckIfIHaveAccount (const char *Title)
/***** Start frame *****/
Box_StartBox (NULL,Title,NULL,
- Hlp_PROFILE_SignUp,
- true); // Closable
+ Hlp_PROFILE_SignUp,
+ true); // Closable
/***** Help alert *****/
Ale_ShowAlert (Ale_INFO,Txt_If_you_think_you_may_have_been_registered_);
@@ -216,12 +216,12 @@ void Acc_CheckIfEmptyAccountExists (void)
{
/***** Start frame and write message with number of accounts found *****/
Box_StartBoxTable (NULL,
- (NumUsrs == 1) ? Txt_Do_you_think_you_are_this_user :
- Txt_Do_you_think_you_are_one_of_these_users,
- NULL,
- NULL,
- true, // Closable
- 5);
+ (NumUsrs == 1) ? Txt_Do_you_think_you_are_this_user :
+ Txt_Do_you_think_you_are_one_of_these_users,
+ NULL,
+ NULL,
+ true, // Closable
+ 5);
/***** Initialize structure with user's data *****/
Usr_UsrDataConstructor (&UsrDat);
@@ -348,9 +348,9 @@ static void Acc_ShowFormRequestNewAccountWithParams (const char *NewNicknameWith
/***** Form to enter some data of the new user *****/
Act_FormStart (ActCreUsrAcc);
Box_StartBoxTable (NULL,Txt_Create_account,NULL,
- Hlp_PROFILE_SignUp,
- false, // Not closable
- 2);
+ Hlp_PROFILE_SignUp,
+ false, // Not closable
+ 2);
/***** Nickname *****/
if (NewNicknameWithoutArroba[0])
@@ -413,8 +413,8 @@ void Acc_ShowFormGoToRequestNewAccount (void)
/***** Start frame *****/
sprintf (Gbl.Title,Txt_New_on_PLATFORM_Sign_up,Cfg_PLATFORM_SHORT_NAME);
Box_StartBox (NULL,Gbl.Title,NULL,
- Hlp_PROFILE_SignUp,
- false); // Not closable
+ Hlp_PROFILE_SignUp,
+ false); // Not closable
/***** Button to go to request the creation of a new account *****/
Act_FormStart (ActFrmMyAcc);
@@ -474,9 +474,9 @@ void Acc_ShowFormChangeMyAccount (void)
/***** Start table *****/
Box_StartBoxTable (NULL,Txt_User_account,NULL,
- Hlp_PROFILE_Account,
- false, // Not closable
- 2);
+ Hlp_PROFILE_Account,
+ false, // Not closable
+ 2);
/***** Nickname *****/
if (IMustFillNickname)
diff --git a/swad_agenda.c b/swad_agenda.c
index 06927af31..259f18c82 100644
--- a/swad_agenda.c
+++ b/swad_agenda.c
@@ -148,10 +148,9 @@ void Agd_ShowMyAgenda (void)
Agd_GetParams (Agd_MY_AGENDA);
/***** Start frame *****/
- Box_StartBox ("100%",Txt_My_agenda,
- Agd_PutIconsMyFullAgenda,
- Hlp_PROFILE_Agenda,
- false); // Not closable
+ Box_StartBox ("100%",Txt_My_agenda,Agd_PutIconsMyFullAgenda,
+ Hlp_PROFILE_Agenda,
+ false); // Not closable
/***** Put forms to choice which events to show *****/
Agd_ShowFormToSelPast__FutureEvents ();
@@ -369,10 +368,10 @@ void Agd_ShowUsrAgenda (void)
sprintf (Gbl.Title,Txt_Public_agenda_USER,Gbl.Usrs.Other.UsrDat.FullName);
ItsMe = (Gbl.Usrs.Me.UsrDat.UsrCod == Gbl.Usrs.Other.UsrDat.UsrCod);
Box_StartBox ("100%",Gbl.Title,
- ItsMe ? Agd_PutIconsMyPublicAgenda :
- Agd_PutIconsOtherPublicAgenda,
- Hlp_PROFILE_Agenda_public_agenda,
- false); // Not closable
+ ItsMe ? Agd_PutIconsMyPublicAgenda :
+ Agd_PutIconsOtherPublicAgenda,
+ Hlp_PROFILE_Agenda_public_agenda,
+ false); // Not closable
/***** Show the current events in the user's agenda *****/
Agd_ShowEventsToday (Agd_ANOTHER_AGENDA_TODAY);
@@ -413,10 +412,10 @@ void Agd_ShowOtherAgendaAfterLogIn (void)
sprintf (Gbl.Title,Txt_Public_agenda_USER,Gbl.Usrs.Other.UsrDat.FullName);
ItsMe = (Gbl.Usrs.Me.UsrDat.UsrCod == Gbl.Usrs.Other.UsrDat.UsrCod);
Box_StartBox ("100%",Gbl.Title,
- ItsMe ? Agd_PutIconToViewEditMyFullAgenda :
- Agd_PutIconsOtherPublicAgenda,
- Hlp_PROFILE_Agenda_public_agenda,
- false); // Not closable
+ ItsMe ? Agd_PutIconToViewEditMyFullAgenda :
+ Agd_PutIconsOtherPublicAgenda,
+ Hlp_PROFILE_Agenda_public_agenda,
+ false); // Not closable
/***** Show the current events in the user's agenda *****/
Agd_ShowEventsToday (Agd_ANOTHER_AGENDA_TODAY);
@@ -535,16 +534,14 @@ static void Agd_ShowEventsToday (Agd_AgendaType_t AgendaType)
switch (AgendaType)
{
case Agd_MY_AGENDA_TODAY:
- Box_StartBoxTableShadow (NULL,Txt_Today,
- NULL,
- Hlp_PROFILE_Agenda,
- 2);
+ Box_StartBoxTableShadow (NULL,Txt_Today,NULL,
+ Hlp_PROFILE_Agenda,
+ 2);
break;
case Agd_ANOTHER_AGENDA_TODAY:
- Box_StartBoxTableShadow (NULL,Txt_Today,
- NULL,
- Hlp_PROFILE_Agenda_public_agenda,
- 2);
+ Box_StartBoxTableShadow (NULL,Txt_Today,NULL,
+ Hlp_PROFILE_Agenda_public_agenda,
+ 2);
break;
default:
break;
@@ -1539,14 +1536,16 @@ void Agd_RequestCreatOrEditEvent (void)
Agd_PutCurrentParamsMyAgenda ();
/***** Table start *****/
- Box_StartBoxTable (NULL,
- ItsANewEvent ? Txt_New_event :
- Txt_Edit_event,
- NULL,
- ItsANewEvent ? Hlp_PROFILE_Agenda_new_event :
- Hlp_PROFILE_Agenda_edit_event,
- false, // Not closable
- 2);
+ if (ItsANewEvent)
+ Box_StartBoxTable (NULL,Txt_New_event,NULL,
+ Hlp_PROFILE_Agenda_new_event,
+ false, // Not closable
+ 2);
+ else
+ Box_StartBoxTable (NULL,Txt_Edit_event,NULL,
+ Hlp_PROFILE_Agenda_edit_event,
+ false, // Not closable
+ 2);
/***** Event *****/
fprintf (Gbl.F.Out,"
"
@@ -1948,8 +1947,8 @@ void Agd_PrintAgdQRCode (void)
/***** Start frame *****/
sprintf (Gbl.Title,Txt_Where_s_USER,Gbl.Usrs.Me.UsrDat.FullName);
Box_StartBox (NULL,Gbl.Title,NULL,
- NULL,
- false); // Not closable
+ NULL,
+ false); // Not closable
/***** Print QR code ****/
QR_PrintQRCode ();
diff --git a/swad_announcement.c b/swad_announcement.c
index eab5a8023..6daf16dea 100644
--- a/swad_announcement.c
+++ b/swad_announcement.c
@@ -121,10 +121,10 @@ void Ann_ShowAllAnnouncements (void)
/***** Start frame *****/
Box_StartBox ("550px",Txt_Announcements,
- ICanEdit ? Ann_PutIconToAddNewAnnouncement :
- NULL,
- Hlp_MESSAGES_Announcements,
- false); // Not closable
+ ICanEdit ? Ann_PutIconToAddNewAnnouncement :
+ NULL,
+ Hlp_MESSAGES_Announcements,
+ false); // Not closable
if (!NumAnnouncements)
Ale_ShowAlert (Ale_INFO,Txt_No_announcements);
@@ -413,9 +413,9 @@ void Ann_ShowFormAnnouncement (void)
/***** Start frame *****/
Box_StartBoxTable (NULL,Txt_New_announcement,NULL,
- Hlp_MESSAGES_Announcements,
- false, // Not closable
- 2);
+ Hlp_MESSAGES_Announcements,
+ false, // Not closable
+ 2);
/***** Announcement subject and body *****/
Ann_PutSubjectMessage ("Subject",Txt_MSG_Subject, 2);
diff --git a/swad_assignment.c b/swad_assignment.c
index 5a3987d37..d21495d54 100644
--- a/swad_assignment.c
+++ b/swad_assignment.c
@@ -138,8 +138,8 @@ static void Asg_ShowAllAssignments (void)
/***** Start frame *****/
Box_StartBox ("100%",Txt_Assignments,Asg_PutIconsListAssignments,
- Hlp_ASSESSMENT_Assignments,
- false); // Not closable
+ Hlp_ASSESSMENT_Assignments,
+ false); // Not closable
/***** Select whether show only my groups or all groups *****/
if (Gbl.CurrentCrs.Grps.NumGrps)
@@ -1173,14 +1173,16 @@ void Asg_RequestCreatOrEditAsg (void)
Asg_PutParams ();
/***** Table start *****/
- Box_StartBoxTable (NULL,
- ItsANewAssignment ? Txt_New_assignment :
- Txt_Edit_assignment,
- NULL,
- ItsANewAssignment ? Hlp_ASSESSMENT_Assignments_new_assignment :
- Hlp_ASSESSMENT_Assignments_edit_assignment,
- false, // Not closable
- 2);
+ if (ItsANewAssignment)
+ Box_StartBoxTable (NULL,Txt_New_assignment,NULL,
+ Hlp_ASSESSMENT_Assignments_new_assignment,
+ false, // Not closable
+ 2);
+ else
+ Box_StartBoxTable (NULL,Txt_Edit_assignment,NULL,
+ Hlp_ASSESSMENT_Assignments_edit_assignment,
+ false, // Not closable
+ 2);
/***** Assignment title *****/
fprintf (Gbl.F.Out,"
"
@@ -1271,9 +1273,9 @@ static void Asg_ShowLstGrpsToEditAssignment (long AsgCod)
The_ClassForm[Gbl.Prefs.Theme],
Txt_Groups);
Box_StartBoxTable ("100%",NULL,NULL,
- Hlp_USERS_Groups,
- false, // Not closable
- 0);
+ Hlp_USERS_Groups,
+ false, // Not closable
+ 0);
/***** First row: checkbox to select the whole course *****/
fprintf (Gbl.F.Out,"
"
diff --git a/swad_attendance.c b/swad_attendance.c
index 2cf507365..f8c133dbd 100644
--- a/swad_attendance.c
+++ b/swad_attendance.c
@@ -224,11 +224,10 @@ static void Att_ShowAllAttEvents (void)
&Pagination);
/***** Start frame *****/
- Box_StartBox ("100%",Txt_Events,
- ICanEdit ? Att_PutIconToCreateNewAttEvent :
- NULL,
- Hlp_USERS_Attendance,
- false); // Not closable
+ Box_StartBox ("100%",Txt_Events,ICanEdit ? Att_PutIconToCreateNewAttEvent :
+ NULL,
+ Hlp_USERS_Attendance,
+ false); // Not closable
/***** Select whether show only my groups or all groups *****/
if (Gbl.CurrentCrs.Grps.NumGrps)
@@ -1089,14 +1088,16 @@ void Att_RequestCreatOrEditAttEvent (void)
Pag_PutHiddenParamPagNum (Pag_ATT_EVENTS,Gbl.AttEvents.CurrentPage);
/***** Table start *****/
- Box_StartBoxTable (NULL,
- ItsANewAttEvent ? Txt_New_event :
- Txt_Edit_event,
- NULL,
- ItsANewAttEvent ? Hlp_USERS_Attendance_new_event :
- Hlp_USERS_Attendance_edit_event,
- false, // Not closable
- 2);
+ if (ItsANewAttEvent)
+ Box_StartBoxTable (NULL,Txt_New_event,NULL,
+ Hlp_USERS_Attendance_new_event,
+ false, // Not closable
+ 2);
+ else
+ Box_StartBoxTable (NULL,Txt_Edit_event,NULL,
+ Hlp_USERS_Attendance_edit_event,
+ false, // Not closable
+ 2);
/***** Attendance event title *****/
fprintf (Gbl.F.Out,"
"
@@ -1196,9 +1197,9 @@ static void Att_ShowLstGrpsToEditAttEvent (long AttCod)
"",
The_ClassForm[Gbl.Prefs.Theme],Txt_Groups);
Box_StartBoxTable ("100%",NULL,NULL,
- NULL,
- false, // Not closable
- 0);
+ NULL,
+ false, // Not closable
+ 0);
/***** First row: checkbox to select the whole course *****/
fprintf (Gbl.F.Out," |
"
@@ -1829,9 +1830,9 @@ void Att_SeeOneAttEvent (void)
/***** Show attendance *****/
Box_StartBoxTable (NULL,Txt_Event,NULL,
- Hlp_USERS_Attendance,
- false, // Not closable
- 2);
+ Hlp_USERS_Attendance,
+ false, // Not closable
+ 2);
Att.AttCod = Gbl.AttEvents.AttCod;
Att_ShowOneAttEvent (&Att,true);
Box_EndBoxTable ();
@@ -1878,9 +1879,9 @@ static void Att_ListAttOnlyMeAsStudent (struct AttendanceEvent *Att)
/***** List students' data *****/
/* Header */
Box_StartBoxTable (NULL,NULL,NULL,
- Hlp_USERS_Attendance,
- false, // Not closable
- 2);
+ Hlp_USERS_Attendance,
+ false, // Not closable
+ 2);
fprintf (Gbl.F.Out,"
"
" | "
" | "
@@ -1939,8 +1940,8 @@ static void Att_ListAttStudents (struct AttendanceEvent *Att)
/***** Start frame *****/
Box_StartBox (NULL,Txt_Attendance,NULL,
- Hlp_USERS_Attendance,
- false); // Not closable
+ Hlp_USERS_Attendance,
+ false); // Not closable
/***** Form to select groups *****/
Grp_ShowFormToSelectSeveralGroups (ActSeeOneAtt);
@@ -2676,10 +2677,9 @@ void Usr_ReqListStdsAttendanceCrs (void)
Usr_GetListUsrs (Sco_SCOPE_CRS,Rol_STD);
/***** Start frame *****/
- Box_StartBox (NULL,Txt_ROLES_PLURAL_Abc[Rol_STD][Usr_SEX_UNKNOWN],
- NULL,
- Hlp_USERS_Attendance_attendance_list,
- false); // Not closable
+ Box_StartBox (NULL,Txt_ROLES_PLURAL_Abc[Rol_STD][Usr_SEX_UNKNOWN],NULL,
+ Hlp_USERS_Attendance_attendance_list,
+ false); // Not closable
/***** Form to select groups *****/
Grp_ShowFormToSelectSeveralGroups (ActReqLstStdAtt);
@@ -3109,10 +3109,10 @@ static void Att_ListEventsToSelect (Att_TypeOfView_t TypeOfView)
/***** Start frame *****/
Box_StartBoxTable (NULL,Txt_Events,NULL,
- TypeOfView == Att_PRINT_VIEW ? NULL :
- Hlp_USERS_Attendance_attendance_list,
- false, // Not closable
- 2);
+ TypeOfView == Att_PRINT_VIEW ? NULL :
+ Hlp_USERS_Attendance_attendance_list,
+ false, // Not closable
+ 2);
/***** Heading row *****/
fprintf (Gbl.F.Out,"
"
@@ -3221,12 +3221,12 @@ static void Att_ListStdsAttendanceTable (Att_TypeOfView_t TypeOfView,
/***** Start frame *****/
Box_StartBox (NULL,Txt_Attendance,
- (TypeOfView == Att_NORMAL_VIEW_ONLY_ME) ? Att_PutIconToPrintMyList :
- ((TypeOfView == Att_NORMAL_VIEW_STUDENTS) ? Att_PutIconToPrintStdsList :
- NULL),
- TypeOfView == Att_PRINT_VIEW ? NULL :
- Hlp_USERS_Attendance_attendance_list,
- false); // Not closable
+ (TypeOfView == Att_NORMAL_VIEW_ONLY_ME) ? Att_PutIconToPrintMyList :
+ ((TypeOfView == Att_NORMAL_VIEW_STUDENTS) ? Att_PutIconToPrintStdsList :
+ NULL),
+ TypeOfView == Att_PRINT_VIEW ? NULL :
+ Hlp_USERS_Attendance_attendance_list,
+ false); // Not closable
if (PutButtonShowDetails)
Tbl_StartTableWideMargin (2);
else
@@ -3444,10 +3444,10 @@ static void Att_ListStdsWithAttEventsDetails (Att_TypeOfView_t TypeOfView,
/***** Start frame *****/
Box_StartBoxTable (NULL,Txt_Details,NULL,
- TypeOfView == Att_PRINT_VIEW ? NULL :
- Hlp_USERS_Attendance_attendance_list,
- false, // Not closable
- 2);
+ TypeOfView == Att_PRINT_VIEW ? NULL :
+ Hlp_USERS_Attendance_attendance_list,
+ false, // Not closable
+ 2);
/***** List students with attendance details *****/
for (NumStd = 0, Gbl.RowEvenOdd = 0;
diff --git a/swad_banner.c b/swad_banner.c
index 2c4072f64..1a599ed24 100644
--- a/swad_banner.c
+++ b/swad_banner.c
@@ -118,8 +118,8 @@ void Ban_SeeBanners (void)
/***** Start frame *****/
Box_StartBox (NULL,Txt_Banners,Ban_PutFormToEditBanners,
- Hlp_SYSTEM_Banners,
- false); // Not closable
+ Hlp_SYSTEM_Banners,
+ false); // Not closable
/***** Write all frames *****/
if (Gbl.Banners.Num) // There are banners
@@ -209,8 +209,8 @@ void Ban_EditBanners (void)
/***** Start frame *****/
Box_StartBox (NULL,Txt_Banners,Ban_PutIconToViewBanners,
- Hlp_SYSTEM_Banners_edit,
- false); // Not closable
+ Hlp_SYSTEM_Banners_edit,
+ false); // Not closable
/***** Put a form to create a new banner *****/
Ban_PutFormToCreateBanner ();
@@ -834,9 +834,9 @@ static void Ban_PutFormToCreateBanner (void)
/***** Start of frame *****/
Box_StartBoxTable (NULL,Txt_New_banner,NULL,
- Hlp_SYSTEM_Banners_edit,
- false, // Not closable
- 2);
+ Hlp_SYSTEM_Banners_edit,
+ false, // Not closable
+ 2);
/***** Write heading *****/
Ban_PutHeadBanners ();
diff --git a/swad_box.c b/swad_box.c
index 4f3cc02b7..373dadbef 100644
--- a/swad_box.c
+++ b/swad_box.c
@@ -83,8 +83,8 @@ void Box_StartBoxTableShadow (const char *Width,const char *Title,
unsigned CellPadding) // CellPadding must be 0, 1, 2, 5 or 10
{
Box_StartBoxShadow (Width,Title,
- FunctionToDrawContextualIcons,
- HelpLink);
+ FunctionToDrawContextualIcons,
+ HelpLink);
Tbl_StartTableWide (CellPadding);
}
diff --git a/swad_calendar.c b/swad_calendar.c
index bc04ec2ab..0652c4583 100644
--- a/swad_calendar.c
+++ b/swad_calendar.c
@@ -85,8 +85,8 @@ void Cal_PutIconsToSelectFirstDayOfWeek (void)
extern const char *Txt_Calendar;
Box_StartBox (NULL,Txt_Calendar,Cal_PutIconsFirstDayOfWeek,
- Hlp_PROFILE_Preferences_calendar,
- false); // Not closable
+ Hlp_PROFILE_Preferences_calendar,
+ false); // Not closable
Cal_ShowFormToSelFirstDayOfWeek (ActChg1stDay,NULL,"ICO25x25B");
Box_EndBox ();
}
@@ -316,9 +316,9 @@ static void Cal_DrawCalendar (Act_Action_t ActionSeeCalendar,
/***** Start frame *****/
Box_StartBox (NULL,NULL,FunctionToDrawContextualIcons,
- PrintView ? NULL :
- Hlp_Calendar,
- false); // Not closable
+ PrintView ? NULL :
+ Hlp_Calendar,
+ false); // Not closable
Lay_WriteHeaderClassPhoto (PrintView,false,
Gbl.CurrentIns.Ins.InsCod,
Gbl.CurrentDeg.Deg.DegCod,
diff --git a/swad_centre.c b/swad_centre.c
index fc68ffd0a..8c3006367 100644
--- a/swad_centre.c
+++ b/swad_centre.c
@@ -168,9 +168,9 @@ void Ctr_SeeCtrWithPendingDegs (void)
{
/***** Write heading *****/
Box_StartBoxTable (NULL,Txt_Centres_with_pending_degrees,NULL,
- Hlp_SYSTEM_Hierarchy_pending,
- false, // Not closable
- 2);
+ Hlp_SYSTEM_Hierarchy_pending,
+ false, // Not closable
+ 2);
fprintf (Gbl.F.Out,"
"
""
"%s"
@@ -311,12 +311,14 @@ static void Ctr_Configuration (bool PrintView)
PhotoExists = Fil_CheckIfPathExists (PathPhoto);
/***** Start frame *****/
- Box_StartBox (NULL,NULL,
- PrintView ? NULL :
- Ctr_PutIconsToPrintAndUpload,
- PrintView ? NULL :
- Hlp_CENTRE_Information,
- false); // Not closable
+ if (PrintView)
+ Box_StartBox (NULL,NULL,NULL,
+ NULL,
+ false); // Not closable
+ else
+ Box_StartBox (NULL,NULL,Ctr_PutIconsToPrintAndUpload,
+ Hlp_CENTRE_Information,
+ false); // Not closable
/***** Title *****/
fprintf (Gbl.F.Out,"");
@@ -749,8 +751,8 @@ static void Ctr_ListCentres (void)
/***** Start frame *****/
sprintf (Gbl.Title,Txt_Centres_of_INSTITUTION_X,Gbl.CurrentIns.Ins.FullName);
Box_StartBox (NULL,Gbl.Title,Ctr_PutIconsListCentres,
- Hlp_INSTITUTION_Centres,
- false); // Not closable
+ Hlp_INSTITUTION_Centres,
+ false); // Not closable
if (Gbl.Ctrs.Num) // There are centres in the current institution
{
@@ -942,8 +944,8 @@ void Ctr_EditCentres (void)
sprintf (Gbl.Title,Txt_Centres_of_INSTITUTION_X,
Gbl.CurrentIns.Ins.FullName);
Box_StartBox (NULL,Gbl.Title,Ctr_PutIconsEditingCentres,
- Hlp_INSTITUTION_Centres,
- false); // Not closable
+ Hlp_INSTITUTION_Centres,
+ false); // Not closable
/***** Put a form to create a new centre *****/
Ctr_PutFormToCreateCentre ();
@@ -2224,8 +2226,8 @@ void Ctr_RequestPhoto (void)
/***** Start frame *****/
Box_StartBox (NULL,Txt_Photo,NULL,
- NULL,
- false); // Not closable
+ NULL,
+ false); // Not closable
/***** Write help message *****/
sprintf (Gbl.Alert.Txt,"%s: %s "
@@ -2420,9 +2422,9 @@ static void Ctr_PutFormToCreateCentre (void)
/***** Start frame *****/
Box_StartBoxTable (NULL,Txt_New_centre,NULL,
- NULL,
- false, // Not closable
- 2);
+ NULL,
+ false, // Not closable
+ 2);
/***** Write heading *****/
Ctr_PutHeadCentresForEdition ();
@@ -2898,9 +2900,9 @@ unsigned Ctr_ListCtrsFound (const char *Query)
NumCtrs,(NumCtrs == 1) ? Txt_centre :
Txt_centres);
Box_StartBoxTable (NULL,Gbl.Title,NULL,
- NULL,
- false, // Not closable
- 2);
+ NULL,
+ false, // Not closable
+ 2);
Ctr_PutHeadCentresForSeeing (false); // Order not selectable
/***** List the centres (one row per centre) *****/
diff --git a/swad_changelog.h b/swad_changelog.h
index 5a233835e..602752830 100644
--- a/swad_changelog.h
+++ b/swad_changelog.h
@@ -239,13 +239,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
-#define Log_PLATFORM_VERSION "SWAD 16.241.1 (2017-06-11)"
+#define Log_PLATFORM_VERSION "SWAD 16.242 (2017-06-11)"
#define CSS_FILE "swad16.235.1.css"
#define JS_FILE "swad16.206.3.js"
// 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 16.242: Jun 11, 2017 Code refactoring related with boxes. (222128 lines)
Version 16.241.2: Jun 11, 2017 Changes in alignment of dates in statistics. (222131 lines)
Version 16.241.1: Jun 11, 2017 Fix bug confirming another user's ID. (222132 lines)
Version 16.241: Jun 11, 2017 New module swad_table to draw tables. (222132 lines)
diff --git a/swad_chat.c b/swad_chat.c
index 6da4692cd..2c5f23dd1 100644
--- a/swad_chat.c
+++ b/swad_chat.c
@@ -125,8 +125,8 @@ void Cht_ShowListOfAvailableChatRooms (void)
/***** Table start *****/
Box_StartBox (NULL,Txt_Chat_rooms,NULL,
- NULL,
- false); // Not closable
+ NULL,
+ false); // Not closable
fprintf (Gbl.F.Out," ");
/***** Title of top level *****/
@@ -265,9 +265,9 @@ void Cht_ShowListOfChatRoomsWithUsrs (void)
{
/***** Table start *****/
Box_StartBoxTable (NULL,Txt_Rooms_with_users,NULL,
- NULL,
- false, // Not closable
- 2);
+ NULL,
+ false, // Not closable
+ 2);
fprintf (Gbl.F.Out,""
""
"%s"
diff --git a/swad_connected.c b/swad_connected.c
index 0734902fe..8c3721a65 100644
--- a/swad_connected.c
+++ b/swad_connected.c
@@ -100,8 +100,8 @@ void Con_ShowConnectedUsrs (void)
sprintf (Gbl.Title,"%s",
Txt_Connected_users);
Box_StartBox (NULL,Gbl.Title,Con_PutIconToUpdateConnected,
- Hlp_USERS_Connected,
- false); // Not closable
+ Hlp_USERS_Connected,
+ false); // Not closable
fprintf (Gbl.F.Out," | |