Version 16.244

This commit is contained in:
Antonio Cañas Vargas 2017-06-12 15:03:29 +02:00
parent ea27d14911
commit 44853999c0
62 changed files with 278 additions and 636 deletions

View File

@ -551,8 +551,7 @@ void ID_ShowFormOthIDs (void)
{ {
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_ID,NULL, Box_StartBox (NULL,Txt_ID,NULL,
NULL, NULL,Box_NOT_CLOSABLE);
false); // Not closable
/***** Show user's record *****/ /***** Show user's record *****/
Rec_ShowSharedUsrRecord (Rec_SHA_RECORD_LIST, Rec_ShowSharedUsrRecord (Rec_SHA_RECORD_LIST,

View File

@ -225,8 +225,7 @@ void MFU_WriteBigMFUActions (struct MFU_ListMFUActions *ListMFUActions)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_My_frequent_actions,NULL, Box_StartBox (NULL,Txt_My_frequent_actions,NULL,
Hlp_STATS_Frequent, Hlp_STATS_Frequent,Box_NOT_CLOSABLE);
false); // Not closable
fprintf (Gbl.F.Out,"<div id=\"MFU_actions_big\">"); fprintf (Gbl.F.Out,"<div id=\"MFU_actions_big\">");
/***** Write list of frequently used actions *****/ /***** Write list of frequently used actions *****/

View File

@ -145,8 +145,7 @@ static void Acc_ShowFormCheckIfIHaveAccount (const char *Title)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Title,NULL, Box_StartBox (NULL,Title,NULL,
Hlp_PROFILE_SignUp, Hlp_PROFILE_SignUp,Box_CLOSABLE);
true); // Closable
/***** Help alert *****/ /***** Help alert *****/
Ale_ShowAlert (Ale_INFO,Txt_If_you_think_you_may_have_been_registered_); Ale_ShowAlert (Ale_INFO,Txt_If_you_think_you_may_have_been_registered_);
@ -219,9 +218,7 @@ void Acc_CheckIfEmptyAccountExists (void)
(NumUsrs == 1) ? Txt_Do_you_think_you_are_this_user : (NumUsrs == 1) ? Txt_Do_you_think_you_are_this_user :
Txt_Do_you_think_you_are_one_of_these_users, Txt_Do_you_think_you_are_one_of_these_users,
NULL, NULL,
NULL, NULL,Box_CLOSABLE,5);
true, // Closable
5);
/***** Initialize structure with user's data *****/ /***** Initialize structure with user's data *****/
Usr_UsrDataConstructor (&UsrDat); Usr_UsrDataConstructor (&UsrDat);
@ -350,9 +347,7 @@ static void Acc_ShowFormRequestNewAccountWithParams (const char *NewNicknameWith
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_Create_account,NULL, Box_StartBoxTable (NULL,Txt_Create_account,NULL,
Hlp_PROFILE_SignUp, Hlp_PROFILE_SignUp,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Nickname *****/ /***** Nickname *****/
if (NewNicknameWithoutArroba[0]) if (NewNicknameWithoutArroba[0])
@ -417,8 +412,7 @@ void Acc_ShowFormGoToRequestNewAccount (void)
/***** Start box *****/ /***** Start box *****/
sprintf (Gbl.Title,Txt_New_on_PLATFORM_Sign_up,Cfg_PLATFORM_SHORT_NAME); sprintf (Gbl.Title,Txt_New_on_PLATFORM_Sign_up,Cfg_PLATFORM_SHORT_NAME);
Box_StartBox (NULL,Gbl.Title,NULL, Box_StartBox (NULL,Gbl.Title,NULL,
Hlp_PROFILE_SignUp, Hlp_PROFILE_SignUp,Box_NOT_CLOSABLE);
false); // Not closable
/***** Button to go to request the creation of a new account *****/ /***** Button to go to request the creation of a new account *****/
Act_FormStart (ActFrmMyAcc); Act_FormStart (ActFrmMyAcc);
@ -478,9 +472,7 @@ void Acc_ShowFormChangeMyAccount (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_User_account,NULL, Box_StartBoxTable (NULL,Txt_User_account,NULL,
Hlp_PROFILE_Account, Hlp_PROFILE_Account,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Nickname *****/ /***** Nickname *****/
if (IMustFillNickname) if (IMustFillNickname)

View File

@ -149,8 +149,7 @@ void Agd_ShowMyAgenda (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox ("100%",Txt_My_agenda,Agd_PutIconsMyFullAgenda, Box_StartBox ("100%",Txt_My_agenda,Agd_PutIconsMyFullAgenda,
Hlp_PROFILE_Agenda, Hlp_PROFILE_Agenda,Box_NOT_CLOSABLE);
false); // Not closable
/***** Put forms to choice which events to show *****/ /***** Put forms to choice which events to show *****/
Agd_ShowFormToSelPast__FutureEvents (); Agd_ShowFormToSelPast__FutureEvents ();
@ -370,8 +369,7 @@ void Agd_ShowUsrAgenda (void)
Box_StartBox ("100%",Gbl.Title, Box_StartBox ("100%",Gbl.Title,
ItsMe ? Agd_PutIconsMyPublicAgenda : ItsMe ? Agd_PutIconsMyPublicAgenda :
Agd_PutIconsOtherPublicAgenda, Agd_PutIconsOtherPublicAgenda,
Hlp_PROFILE_Agenda_public_agenda, Hlp_PROFILE_Agenda_public_agenda,Box_NOT_CLOSABLE);
false); // Not closable
/***** Show the current events in the user's agenda *****/ /***** Show the current events in the user's agenda *****/
Agd_ShowEventsToday (Agd_ANOTHER_AGENDA_TODAY); Agd_ShowEventsToday (Agd_ANOTHER_AGENDA_TODAY);
@ -414,8 +412,7 @@ void Agd_ShowOtherAgendaAfterLogIn (void)
Box_StartBox ("100%",Gbl.Title, Box_StartBox ("100%",Gbl.Title,
ItsMe ? Agd_PutIconToViewEditMyFullAgenda : ItsMe ? Agd_PutIconToViewEditMyFullAgenda :
Agd_PutIconsOtherPublicAgenda, Agd_PutIconsOtherPublicAgenda,
Hlp_PROFILE_Agenda_public_agenda, Hlp_PROFILE_Agenda_public_agenda,Box_NOT_CLOSABLE);
false); // Not closable
/***** Show the current events in the user's agenda *****/ /***** Show the current events in the user's agenda *****/
Agd_ShowEventsToday (Agd_ANOTHER_AGENDA_TODAY); Agd_ShowEventsToday (Agd_ANOTHER_AGENDA_TODAY);
@ -1538,14 +1535,10 @@ void Agd_RequestCreatOrEditEvent (void)
/***** Start box and table *****/ /***** Start box and table *****/
if (ItsANewEvent) if (ItsANewEvent)
Box_StartBoxTable (NULL,Txt_New_event,NULL, Box_StartBoxTable (NULL,Txt_New_event,NULL,
Hlp_PROFILE_Agenda_new_event, Hlp_PROFILE_Agenda_new_event,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
else else
Box_StartBoxTable (NULL,Txt_Edit_event,NULL, Box_StartBoxTable (NULL,Txt_Edit_event,NULL,
Hlp_PROFILE_Agenda_edit_event, Hlp_PROFILE_Agenda_edit_event,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Event *****/ /***** Event *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -1949,8 +1942,7 @@ void Agd_PrintAgdQRCode (void)
/***** Start box *****/ /***** Start box *****/
sprintf (Gbl.Title,Txt_Where_s_USER,Gbl.Usrs.Me.UsrDat.FullName); sprintf (Gbl.Title,Txt_Where_s_USER,Gbl.Usrs.Me.UsrDat.FullName);
Box_StartBox (NULL,Gbl.Title,NULL, Box_StartBox (NULL,Gbl.Title,NULL,
NULL, NULL,Box_NOT_CLOSABLE);
false); // Not closable
/***** Print QR code ****/ /***** Print QR code ****/
QR_PrintQRCode (); QR_PrintQRCode ();

View File

@ -123,9 +123,7 @@ void Ann_ShowAllAnnouncements (void)
Box_StartBox ("550px",Txt_Announcements, Box_StartBox ("550px",Txt_Announcements,
ICanEdit ? Ann_PutIconToAddNewAnnouncement : ICanEdit ? Ann_PutIconToAddNewAnnouncement :
NULL, NULL,
Hlp_MESSAGES_Announcements, Hlp_MESSAGES_Announcements,Box_NOT_CLOSABLE);
false); // Not closable
if (!NumAnnouncements) if (!NumAnnouncements)
Ale_ShowAlert (Ale_INFO,Txt_No_announcements); Ale_ShowAlert (Ale_INFO,Txt_No_announcements);
@ -413,9 +411,7 @@ void Ann_ShowFormAnnouncement (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_New_announcement,NULL, Box_StartBoxTable (NULL,Txt_New_announcement,NULL,
Hlp_MESSAGES_Announcements, Hlp_MESSAGES_Announcements,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Announcement subject and body *****/ /***** Announcement subject and body *****/
Ann_PutSubjectMessage ("Subject",Txt_MSG_Subject, 2); Ann_PutSubjectMessage ("Subject",Txt_MSG_Subject, 2);

View File

@ -138,8 +138,7 @@ static void Asg_ShowAllAssignments (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox ("100%",Txt_Assignments,Asg_PutIconsListAssignments, Box_StartBox ("100%",Txt_Assignments,Asg_PutIconsListAssignments,
Hlp_ASSESSMENT_Assignments, Hlp_ASSESSMENT_Assignments,Box_NOT_CLOSABLE);
false); // Not closable
/***** Select whether show only my groups or all groups *****/ /***** Select whether show only my groups or all groups *****/
if (Gbl.CurrentCrs.Grps.NumGrps) if (Gbl.CurrentCrs.Grps.NumGrps)
@ -1175,14 +1174,10 @@ void Asg_RequestCreatOrEditAsg (void)
/***** Start box and table *****/ /***** Start box and table *****/
if (ItsANewAssignment) if (ItsANewAssignment)
Box_StartBoxTable (NULL,Txt_New_assignment,NULL, Box_StartBoxTable (NULL,Txt_New_assignment,NULL,
Hlp_ASSESSMENT_Assignments_new_assignment, Hlp_ASSESSMENT_Assignments_new_assignment,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
else else
Box_StartBoxTable (NULL,Txt_Edit_assignment,NULL, Box_StartBoxTable (NULL,Txt_Edit_assignment,NULL,
Hlp_ASSESSMENT_Assignments_edit_assignment, Hlp_ASSESSMENT_Assignments_edit_assignment,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Assignment title *****/ /***** Assignment title *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -1275,9 +1270,7 @@ static void Asg_ShowLstGrpsToEditAssignment (long AsgCod)
The_ClassForm[Gbl.Prefs.Theme], The_ClassForm[Gbl.Prefs.Theme],
Txt_Groups); Txt_Groups);
Box_StartBoxTable ("100%",NULL,NULL, Box_StartBoxTable ("100%",NULL,NULL,
Hlp_USERS_Groups, Hlp_USERS_Groups,Box_NOT_CLOSABLE,0);
false, // Not closable
0);
/***** First row: checkbox to select the whole course *****/ /***** First row: checkbox to select the whole course *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"

View File

@ -226,8 +226,7 @@ static void Att_ShowAllAttEvents (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox ("100%",Txt_Events,ICanEdit ? Att_PutIconToCreateNewAttEvent : Box_StartBox ("100%",Txt_Events,ICanEdit ? Att_PutIconToCreateNewAttEvent :
NULL, NULL,
Hlp_USERS_Attendance, Hlp_USERS_Attendance,Box_NOT_CLOSABLE);
false); // Not closable
/***** Select whether show only my groups or all groups *****/ /***** Select whether show only my groups or all groups *****/
if (Gbl.CurrentCrs.Grps.NumGrps) if (Gbl.CurrentCrs.Grps.NumGrps)
@ -1090,14 +1089,10 @@ void Att_RequestCreatOrEditAttEvent (void)
/***** Start box and table *****/ /***** Start box and table *****/
if (ItsANewAttEvent) if (ItsANewAttEvent)
Box_StartBoxTable (NULL,Txt_New_event,NULL, Box_StartBoxTable (NULL,Txt_New_event,NULL,
Hlp_USERS_Attendance_new_event, Hlp_USERS_Attendance_new_event,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
else else
Box_StartBoxTable (NULL,Txt_Edit_event,NULL, Box_StartBoxTable (NULL,Txt_Edit_event,NULL,
Hlp_USERS_Attendance_edit_event, Hlp_USERS_Attendance_edit_event,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Attendance event title *****/ /***** Attendance event title *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -1197,9 +1192,7 @@ static void Att_ShowLstGrpsToEditAttEvent (long AttCod)
"<td class=\"LEFT_TOP\">", "<td class=\"LEFT_TOP\">",
The_ClassForm[Gbl.Prefs.Theme],Txt_Groups); The_ClassForm[Gbl.Prefs.Theme],Txt_Groups);
Box_StartBoxTable ("100%",NULL,NULL, Box_StartBoxTable ("100%",NULL,NULL,
NULL, NULL,Box_NOT_CLOSABLE,0);
false, // Not closable
0);
/***** First row: checkbox to select the whole course *****/ /***** First row: checkbox to select the whole course *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -1830,9 +1823,7 @@ void Att_SeeOneAttEvent (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_Event,NULL, Box_StartBoxTable (NULL,Txt_Event,NULL,
Hlp_USERS_Attendance, Hlp_USERS_Attendance,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
Att.AttCod = Gbl.AttEvents.AttCod; Att.AttCod = Gbl.AttEvents.AttCod;
Att_ShowOneAttEvent (&Att,true); Att_ShowOneAttEvent (&Att,true);
@ -1882,9 +1873,7 @@ static void Att_ListAttOnlyMeAsStudent (struct AttendanceEvent *Att)
/***** List students' data *****/ /***** List students' data *****/
/* Start box and table */ /* Start box and table */
Box_StartBoxTable (NULL,NULL,NULL, Box_StartBoxTable (NULL,NULL,NULL,
Hlp_USERS_Attendance, Hlp_USERS_Attendance,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
"<th></th>" "<th></th>"
"<th></th>" "<th></th>"
@ -1943,8 +1932,7 @@ static void Att_ListAttStudents (struct AttendanceEvent *Att)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Attendance,NULL, Box_StartBox (NULL,Txt_Attendance,NULL,
Hlp_USERS_Attendance, Hlp_USERS_Attendance,Box_NOT_CLOSABLE);
false); // Not closable
/***** Form to select groups *****/ /***** Form to select groups *****/
Grp_ShowFormToSelectSeveralGroups (ActSeeOneAtt); Grp_ShowFormToSelectSeveralGroups (ActSeeOneAtt);
@ -2681,8 +2669,7 @@ void Usr_ReqListStdsAttendanceCrs (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_ROLES_PLURAL_Abc[Rol_STD][Usr_SEX_UNKNOWN],NULL, Box_StartBox (NULL,Txt_ROLES_PLURAL_Abc[Rol_STD][Usr_SEX_UNKNOWN],NULL,
Hlp_USERS_Attendance_attendance_list, Hlp_USERS_Attendance_attendance_list,Box_NOT_CLOSABLE);
false); // Not closable
/***** Form to select groups *****/ /***** Form to select groups *****/
Grp_ShowFormToSelectSeveralGroups (ActReqLstStdAtt); Grp_ShowFormToSelectSeveralGroups (ActReqLstStdAtt);
@ -3114,8 +3101,7 @@ static void Att_ListEventsToSelect (Att_TypeOfView_t TypeOfView)
Box_StartBoxTable (NULL,Txt_Events,NULL, Box_StartBoxTable (NULL,Txt_Events,NULL,
TypeOfView == Att_PRINT_VIEW ? NULL : TypeOfView == Att_PRINT_VIEW ? NULL :
Hlp_USERS_Attendance_attendance_list, Hlp_USERS_Attendance_attendance_list,
false, // Not closable Box_NOT_CLOSABLE,2);
2);
/***** Heading row *****/ /***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -3229,7 +3215,7 @@ static void Att_ListStdsAttendanceTable (Att_TypeOfView_t TypeOfView,
NULL), NULL),
TypeOfView == Att_PRINT_VIEW ? NULL : TypeOfView == Att_PRINT_VIEW ? NULL :
Hlp_USERS_Attendance_attendance_list, Hlp_USERS_Attendance_attendance_list,
false); // Not closable Box_NOT_CLOSABLE);
if (PutButtonShowDetails) if (PutButtonShowDetails)
Tbl_StartTableWideMargin (2); Tbl_StartTableWideMargin (2);
else else
@ -3449,8 +3435,7 @@ static void Att_ListStdsWithAttEventsDetails (Att_TypeOfView_t TypeOfView,
Box_StartBoxTable (NULL,Txt_Details,NULL, Box_StartBoxTable (NULL,Txt_Details,NULL,
TypeOfView == Att_PRINT_VIEW ? NULL : TypeOfView == Att_PRINT_VIEW ? NULL :
Hlp_USERS_Attendance_attendance_list, Hlp_USERS_Attendance_attendance_list,
false, // Not closable Box_NOT_CLOSABLE,2);
2);
/***** List students with attendance details *****/ /***** List students with attendance details *****/
for (NumStd = 0, Gbl.RowEvenOdd = 0; for (NumStd = 0, Gbl.RowEvenOdd = 0;

View File

@ -118,8 +118,7 @@ void Ban_SeeBanners (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Banners,Ban_PutFormToEditBanners, Box_StartBox (NULL,Txt_Banners,Ban_PutFormToEditBanners,
Hlp_SYSTEM_Banners, Hlp_SYSTEM_Banners,Box_NOT_CLOSABLE);
false); // Not closable
/***** Write all banners *****/ /***** Write all banners *****/
if (Gbl.Banners.Num) // There are banners if (Gbl.Banners.Num) // There are banners
@ -209,8 +208,7 @@ void Ban_EditBanners (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Banners,Ban_PutIconToViewBanners, Box_StartBox (NULL,Txt_Banners,Ban_PutIconToViewBanners,
Hlp_SYSTEM_Banners_edit, Hlp_SYSTEM_Banners_edit,Box_NOT_CLOSABLE);
false); // Not closable
/***** Put a form to create a new banner *****/ /***** Put a form to create a new banner *****/
Ban_PutFormToCreateBanner (); Ban_PutFormToCreateBanner ();
@ -834,9 +832,7 @@ static void Ban_PutFormToCreateBanner (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_New_banner,NULL, Box_StartBoxTable (NULL,Txt_New_banner,NULL,
Hlp_SYSTEM_Banners_edit, Hlp_SYSTEM_Banners_edit,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
Ban_PutHeadBanners (); Ban_PutHeadBanners ();

View File

@ -58,7 +58,7 @@ extern struct Globals Gbl;
static void Box_StartBoxInternal (const char *Width,const char *Title, static void Box_StartBoxInternal (const char *Width,const char *Title,
void (*FunctionToDrawContextualIcons) (void), void (*FunctionToDrawContextualIcons) (void),
const char *HelpLink,bool Closable, const char *HelpLink,Box_Closable_t Closable,
const char *ClassFrame); const char *ClassFrame);
/*****************************************************************************/ /*****************************************************************************/
@ -68,12 +68,11 @@ static void Box_StartBoxInternal (const char *Width,const char *Title,
void Box_StartBoxTable (const char *Width,const char *Title, void Box_StartBoxTable (const char *Width,const char *Title,
void (*FunctionToDrawContextualIcons) (void), void (*FunctionToDrawContextualIcons) (void),
const char *HelpLink,bool Closable, const char *HelpLink,Box_Closable_t Closable,
unsigned CellPadding) // CellPadding must be 0, 1, 2, 5 or 10 unsigned CellPadding) // CellPadding must be 0, 1, 2, 5 or 10
{ {
Box_StartBox (Width,Title,FunctionToDrawContextualIcons, Box_StartBox (Width,Title,FunctionToDrawContextualIcons,
HelpLink, HelpLink,Closable);
Closable);
Tbl_StartTableWide (CellPadding); Tbl_StartTableWide (CellPadding);
} }
@ -90,12 +89,11 @@ void Box_StartBoxTableShadow (const char *Width,const char *Title,
void Box_StartBox (const char *Width,const char *Title, void Box_StartBox (const char *Width,const char *Title,
void (*FunctionToDrawContextualIcons) (void), void (*FunctionToDrawContextualIcons) (void),
const char *HelpLink,bool Closable) const char *HelpLink,Box_Closable_t Closable)
{ {
Box_StartBoxInternal (Width,Title, Box_StartBoxInternal (Width,Title,
FunctionToDrawContextualIcons, FunctionToDrawContextualIcons,
HelpLink, HelpLink,Closable,
Closable,
"FRAME"); "FRAME");
} }
@ -105,14 +103,13 @@ void Box_StartBoxShadow (const char *Width,const char *Title,
{ {
Box_StartBoxInternal (Width,Title, Box_StartBoxInternal (Width,Title,
FunctionToDrawContextualIcons, FunctionToDrawContextualIcons,
HelpLink, HelpLink,Box_NOT_CLOSABLE,
false, // Not closable
"FRAME_SHADOW"); "FRAME_SHADOW");
} }
static void Box_StartBoxInternal (const char *Width,const char *Title, static void Box_StartBoxInternal (const char *Width,const char *Title,
void (*FunctionToDrawContextualIcons) (void), void (*FunctionToDrawContextualIcons) (void),
const char *HelpLink,bool Closable, const char *HelpLink,Box_Closable_t Closable,
const char *ClassFrame) const char *ClassFrame)
{ {
extern const char *Txt_Help; extern const char *Txt_Help;
@ -121,7 +118,7 @@ static void Box_StartBoxInternal (const char *Width,const char *Title,
/***** Start box container *****/ /***** Start box container *****/
fprintf (Gbl.F.Out,"<div class=\"FRAME_CONTAINER\""); fprintf (Gbl.F.Out,"<div class=\"FRAME_CONTAINER\"");
if (Closable) if (Closable == Box_CLOSABLE)
{ {
/* Create unique id for alert */ /* Create unique id for alert */
Act_SetUniqueId (IdFrame); Act_SetUniqueId (IdFrame);
@ -161,7 +158,7 @@ static void Box_StartBoxInternal (const char *Width,const char *Title,
Gbl.Prefs.IconsURL, Gbl.Prefs.IconsURL,
Txt_Help,Txt_Help); Txt_Help,Txt_Help);
if (Closable) // Icon to close the box if (Closable == Box_CLOSABLE) // Icon to close the box
fprintf (Gbl.F.Out,"<a href=\"\"" fprintf (Gbl.F.Out,"<a href=\"\""
" onclick=\"toggleDisplay('%s');return false;\" />" " onclick=\"toggleDisplay('%s');return false;\" />"
"<div class=\"CONTEXT_OPT HLP_HIGHLIGHT\">" "<div class=\"CONTEXT_OPT HLP_HIGHLIGHT\">"

View File

@ -39,17 +39,23 @@
/********************************* Public types ******************************/ /********************************* Public types ******************************/
/*****************************************************************************/ /*****************************************************************************/
typedef enum
{
Box_NOT_CLOSABLE,
Box_CLOSABLE,
} Box_Closable_t;
/*****************************************************************************/ /*****************************************************************************/
/****************************** Public prototypes ****************************/ /****************************** Public prototypes ****************************/
/*****************************************************************************/ /*****************************************************************************/
void Box_StartBoxTable (const char *Width,const char *Title, void Box_StartBoxTable (const char *Width,const char *Title,
void (*FunctionToDrawContextualIcons) (void), void (*FunctionToDrawContextualIcons) (void),
const char *HelpLink,bool Closable, const char *HelpLink,Box_Closable_t Closable,
unsigned CellPadding); unsigned CellPadding);
void Box_StartBox (const char *Width,const char *Title, void Box_StartBox (const char *Width,const char *Title,
void (*FunctionToDrawContextualIcons) (void), void (*FunctionToDrawContextualIcons) (void),
const char *HelpLink,bool Closable); const char *HelpLink,Box_Closable_t Closable);
void Box_StartBoxShadow (const char *Width,const char *Title, void Box_StartBoxShadow (const char *Width,const char *Title,
void (*FunctionToDrawContextualIcons) (void), void (*FunctionToDrawContextualIcons) (void),
const char *HelpLink); const char *HelpLink);

View File

@ -85,8 +85,7 @@ void Cal_PutIconsToSelectFirstDayOfWeek (void)
extern const char *Txt_Calendar; extern const char *Txt_Calendar;
Box_StartBox (NULL,Txt_Calendar,Cal_PutIconsFirstDayOfWeek, Box_StartBox (NULL,Txt_Calendar,Cal_PutIconsFirstDayOfWeek,
Hlp_PROFILE_Preferences_calendar, Hlp_PROFILE_Preferences_calendar,Box_NOT_CLOSABLE);
false); // Not closable
Cal_ShowFormToSelFirstDayOfWeek (ActChg1stDay,NULL,"ICO25x25B"); Cal_ShowFormToSelFirstDayOfWeek (ActChg1stDay,NULL,"ICO25x25B");
Box_EndBox (); Box_EndBox ();
} }
@ -317,8 +316,7 @@ static void Cal_DrawCalendar (Act_Action_t ActionSeeCalendar,
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,NULL,FunctionToDrawContextualIcons, Box_StartBox (NULL,NULL,FunctionToDrawContextualIcons,
PrintView ? NULL : PrintView ? NULL :
Hlp_Calendar, Hlp_Calendar,Box_NOT_CLOSABLE);
false); // Not closable
Lay_WriteHeaderClassPhoto (PrintView,false, Lay_WriteHeaderClassPhoto (PrintView,false,
Gbl.CurrentIns.Ins.InsCod, Gbl.CurrentIns.Ins.InsCod,
Gbl.CurrentDeg.Deg.DegCod, Gbl.CurrentDeg.Deg.DegCod,

View File

@ -168,9 +168,7 @@ void Ctr_SeeCtrWithPendingDegs (void)
{ {
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_Centres_with_pending_degrees,NULL, Box_StartBoxTable (NULL,Txt_Centres_with_pending_degrees,NULL,
Hlp_SYSTEM_Hierarchy_pending, Hlp_SYSTEM_Hierarchy_pending,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Wrtie heading *****/ /***** Wrtie heading *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -316,12 +314,10 @@ static void Ctr_Configuration (bool PrintView)
/***** Start box *****/ /***** Start box *****/
if (PrintView) if (PrintView)
Box_StartBox (NULL,NULL,NULL, Box_StartBox (NULL,NULL,NULL,
NULL, NULL,Box_NOT_CLOSABLE);
false); // Not closable
else else
Box_StartBox (NULL,NULL,Ctr_PutIconsToPrintAndUpload, Box_StartBox (NULL,NULL,Ctr_PutIconsToPrintAndUpload,
Hlp_CENTRE_Information, Hlp_CENTRE_Information,Box_NOT_CLOSABLE);
false); // Not closable
/***** Title *****/ /***** Title *****/
fprintf (Gbl.F.Out,"<div class=\"FRAME_TITLE FRAME_TITLE_BIG\">"); fprintf (Gbl.F.Out,"<div class=\"FRAME_TITLE FRAME_TITLE_BIG\">");
@ -754,8 +750,7 @@ static void Ctr_ListCentres (void)
/***** Start box *****/ /***** Start box *****/
sprintf (Gbl.Title,Txt_Centres_of_INSTITUTION_X,Gbl.CurrentIns.Ins.FullName); sprintf (Gbl.Title,Txt_Centres_of_INSTITUTION_X,Gbl.CurrentIns.Ins.FullName);
Box_StartBox (NULL,Gbl.Title,Ctr_PutIconsListCentres, Box_StartBox (NULL,Gbl.Title,Ctr_PutIconsListCentres,
Hlp_INSTITUTION_Centres, Hlp_INSTITUTION_Centres,Box_NOT_CLOSABLE);
false); // Not closable
if (Gbl.Ctrs.Num) // There are centres in the current institution if (Gbl.Ctrs.Num) // There are centres in the current institution
{ {
@ -947,8 +942,7 @@ void Ctr_EditCentres (void)
sprintf (Gbl.Title,Txt_Centres_of_INSTITUTION_X, sprintf (Gbl.Title,Txt_Centres_of_INSTITUTION_X,
Gbl.CurrentIns.Ins.FullName); Gbl.CurrentIns.Ins.FullName);
Box_StartBox (NULL,Gbl.Title,Ctr_PutIconsEditingCentres, Box_StartBox (NULL,Gbl.Title,Ctr_PutIconsEditingCentres,
Hlp_INSTITUTION_Centres, Hlp_INSTITUTION_Centres,Box_NOT_CLOSABLE);
false); // Not closable
/***** Put a form to create a new centre *****/ /***** Put a form to create a new centre *****/
Ctr_PutFormToCreateCentre (); Ctr_PutFormToCreateCentre ();
@ -2229,8 +2223,7 @@ void Ctr_RequestPhoto (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Photo,NULL, Box_StartBox (NULL,Txt_Photo,NULL,
NULL, NULL,Box_NOT_CLOSABLE);
false); // Not closable
/***** Write help message *****/ /***** Write help message *****/
sprintf (Gbl.Alert.Txt,"%s: %s<br />" sprintf (Gbl.Alert.Txt,"%s: %s<br />"
@ -2425,9 +2418,7 @@ static void Ctr_PutFormToCreateCentre (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_New_centre,NULL, Box_StartBoxTable (NULL,Txt_New_centre,NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
Ctr_PutHeadCentresForEdition (); Ctr_PutHeadCentresForEdition ();
@ -2903,9 +2894,7 @@ unsigned Ctr_ListCtrsFound (const char *Query)
NumCtrs,(NumCtrs == 1) ? Txt_centre : NumCtrs,(NumCtrs == 1) ? Txt_centre :
Txt_centres); Txt_centres);
Box_StartBoxTable (NULL,Gbl.Title,NULL, Box_StartBoxTable (NULL,Gbl.Title,NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
Ctr_PutHeadCentresForSeeing (false); // Order not selectable Ctr_PutHeadCentresForSeeing (false); // Order not selectable

View File

@ -239,13 +239,14 @@
/****************************** Public constants *****************************/ /****************************** Public constants *****************************/
/*****************************************************************************/ /*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.243 (2017-06-11)" #define Log_PLATFORM_VERSION "SWAD 16.244 (2017-06-11)"
#define CSS_FILE "swad16.235.1.css" #define CSS_FILE "swad16.235.1.css"
#define JS_FILE "swad16.206.3.js" #define JS_FILE "swad16.206.3.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.244: Jun 12, 2017 Code refactoring related with boxes. (221815 lines)
Version 16.243: Jun 12, 2017 Code refactoring related with boxes. (222174 lines) Version 16.243: Jun 12, 2017 Code refactoring related with boxes. (222174 lines)
Version 16.242: Jun 11, 2017 Code refactoring related with boxes. (222128 lines) 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.2: Jun 11, 2017 Changes in alignment of dates in statistics. (222131 lines)

View File

@ -125,8 +125,7 @@ void Cht_ShowListOfAvailableChatRooms (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Chat_rooms,NULL, Box_StartBox (NULL,Txt_Chat_rooms,NULL,
NULL, NULL,Box_NOT_CLOSABLE);
false); // Not closable
fprintf (Gbl.F.Out,"<ul class=\"LIST_LEFT\">"); fprintf (Gbl.F.Out,"<ul class=\"LIST_LEFT\">");
/***** Title of top level *****/ /***** Title of top level *****/
@ -265,9 +264,7 @@ void Cht_ShowListOfChatRoomsWithUsrs (void)
{ {
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_Rooms_with_users,NULL, Box_StartBoxTable (NULL,Txt_Rooms_with_users,NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"

View File

@ -100,8 +100,7 @@ void Con_ShowConnectedUsrs (void)
sprintf (Gbl.Title,"%s<div id=\"connected_current_time\"></div>", sprintf (Gbl.Title,"%s<div id=\"connected_current_time\"></div>",
Txt_Connected_users); Txt_Connected_users);
Box_StartBox (NULL,Gbl.Title,Con_PutIconToUpdateConnected, Box_StartBox (NULL,Gbl.Title,Con_PutIconToUpdateConnected,
Hlp_USERS_Connected, Hlp_USERS_Connected,Box_NOT_CLOSABLE);
false); // Not closable
fprintf (Gbl.F.Out,"<script type=\"text/javascript\">" fprintf (Gbl.F.Out,"<script type=\"text/javascript\">"
"writeLocalDateHMSFromUTC('connected_current_time',%ld," "writeLocalDateHMSFromUTC('connected_current_time',%ld,"
"%u,',&nbsp;',null,false,true,0x7);" "%u,',&nbsp;',null,false,true,0x7);"
@ -163,8 +162,7 @@ void Con_ShowLastClicks (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Last_clicks_in_real_time,NULL, Box_StartBox (NULL,Txt_Last_clicks_in_real_time,NULL,
Hlp_USERS_Connected_last_clicks, Hlp_USERS_Connected_last_clicks,Box_NOT_CLOSABLE);
false); // Not closable
/***** Get and show last clicks *****/ /***** Get and show last clicks *****/
fprintf (Gbl.F.Out,"<div id=\"lastclicks\"" // Used for AJAX based refresh fprintf (Gbl.F.Out,"<div id=\"lastclicks\"" // Used for AJAX based refresh

View File

@ -139,9 +139,7 @@ void Cty_SeeCtyWithPendingInss (void)
{ {
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_Countries_with_pending_institutions,NULL, Box_StartBoxTable (NULL,Txt_Countries_with_pending_institutions,NULL,
Hlp_SYSTEM_Hierarchy_pending, Hlp_SYSTEM_Hierarchy_pending,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -248,12 +246,10 @@ static void Cty_Configuration (bool PrintView)
/***** Start box *****/ /***** Start box *****/
if (PrintView) if (PrintView)
Box_StartBox (NULL,NULL,NULL, Box_StartBox (NULL,NULL,NULL,
NULL, NULL,Box_NOT_CLOSABLE);
false); // Not closable
else else
Box_StartBox (NULL,NULL,Cty_PutIconToPrint, Box_StartBox (NULL,NULL,Cty_PutIconToPrint,
Hlp_COUNTRY_Information, Hlp_COUNTRY_Information,Box_NOT_CLOSABLE);
false); // Not closable
/***** Title *****/ /***** Title *****/
fprintf (Gbl.F.Out,"<div class=\"FRAME_TITLE FRAME_TITLE_BIG\">"); fprintf (Gbl.F.Out,"<div class=\"FRAME_TITLE FRAME_TITLE_BIG\">");
@ -519,9 +515,7 @@ void Cty_ListCountries2 (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_Countries,Cty_PutIconsListCountries, Box_StartBoxTable (NULL,Txt_Countries,Cty_PutIconsListCountries,
Hlp_SYSTEM_Countries, Hlp_SYSTEM_Countries,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
Cty_PutHeadCountriesForSeeing (true); // Order selectable Cty_PutHeadCountriesForSeeing (true); // Order selectable
@ -955,8 +949,7 @@ void Cty_EditCountries (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Countries,Cty_PutIconToViewCountries, Box_StartBox (NULL,Txt_Countries,Cty_PutIconToViewCountries,
Hlp_SYSTEM_Countries, Hlp_SYSTEM_Countries,Box_NOT_CLOSABLE);
false); // Not closable
/***** Put a form to create a new country *****/ /***** Put a form to create a new country *****/
Cty_PutFormToCreateCountry (); Cty_PutFormToCreateCountry ();
@ -1942,9 +1935,7 @@ static void Cty_PutFormToCreateCountry (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_New_country,NULL, Box_StartBoxTable (NULL,Txt_New_country,NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
Cty_PutHeadCountriesForEdition (); Cty_PutHeadCountriesForEdition ();
@ -2372,9 +2363,7 @@ unsigned Cty_ListCtysFound (const char *Query)
NumCtys,NumCtys == 1 ? Txt_country : NumCtys,NumCtys == 1 ? Txt_country :
Txt_countries); Txt_countries);
Box_StartBoxTable (NULL,Gbl.Title,NULL, Box_StartBoxTable (NULL,Gbl.Title,NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
Cty_PutHeadCountriesForSeeing (false); // Order not selectable Cty_PutHeadCountriesForSeeing (false); // Order not selectable

View File

@ -199,12 +199,10 @@ static void Crs_Configuration (bool PrintView)
/***** Start box *****/ /***** Start box *****/
if (PrintView) if (PrintView)
Box_StartBox (NULL,NULL,NULL, Box_StartBox (NULL,NULL,NULL,
NULL, NULL,Box_NOT_CLOSABLE);
false); // Not closable
else else
Box_StartBox (NULL,NULL,Crs_PutIconToPrint, Box_StartBox (NULL,NULL,Crs_PutIconToPrint,
Hlp_COURSE_Information, Hlp_COURSE_Information,Box_NOT_CLOSABLE);
false); // Not closable
/***** Title *****/ /***** Title *****/
fprintf (Gbl.F.Out,"<div class=\"FRAME_TITLE FRAME_TITLE_BIG\">"); fprintf (Gbl.F.Out,"<div class=\"FRAME_TITLE FRAME_TITLE_BIG\">");
@ -551,8 +549,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_My_courses,NULL, Box_StartBox (NULL,Txt_My_courses,NULL,
Hlp_PROFILE_Courses, Hlp_PROFILE_Courses,Box_NOT_CLOSABLE);
false); // Not closable
fprintf (Gbl.F.Out,"<ul class=\"LIST_LEFT\">"); fprintf (Gbl.F.Out,"<ul class=\"LIST_LEFT\">");
/***** Write link to platform *****/ /***** Write link to platform *****/
@ -1141,8 +1138,7 @@ static void Crs_ListCourses (void)
/***** Start box *****/ /***** Start box *****/
sprintf (Gbl.Title,Txt_Courses_of_DEGREE_X,Gbl.CurrentDeg.Deg.ShrtName); sprintf (Gbl.Title,Txt_Courses_of_DEGREE_X,Gbl.CurrentDeg.Deg.ShrtName);
Box_StartBox (NULL,Gbl.Title,Crs_PutIconsListCourses, Box_StartBox (NULL,Gbl.Title,Crs_PutIconsListCourses,
Hlp_DEGREE_Courses, Hlp_DEGREE_Courses,Box_NOT_CLOSABLE);
false); // Not closable
if (Gbl.CurrentDeg.NumCrss) // There are courses in the current degree if (Gbl.CurrentDeg.NumCrss) // There are courses in the current degree
{ {
@ -1341,8 +1337,7 @@ void Crs_EditCourses (void)
/***** Start box *****/ /***** Start box *****/
sprintf (Gbl.Alert.Txt,Txt_Courses_of_DEGREE_X,Gbl.CurrentDeg.Deg.ShrtName); sprintf (Gbl.Alert.Txt,Txt_Courses_of_DEGREE_X,Gbl.CurrentDeg.Deg.ShrtName);
Box_StartBox (NULL,Gbl.Alert.Txt,Crs_PutIconToViewCourses, Box_StartBox (NULL,Gbl.Alert.Txt,Crs_PutIconToViewCourses,
Hlp_DEGREE_Courses, Hlp_DEGREE_Courses,Box_NOT_CLOSABLE);
false); // Not closable
/***** Put a form to create or request a new course *****/ /***** Put a form to create or request a new course *****/
Crs_PutFormToCreateCourse (); Crs_PutFormToCreateCourse ();
@ -1647,9 +1642,7 @@ static void Crs_PutFormToCreateCourse (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_New_course,NULL, Box_StartBoxTable (NULL,Txt_New_course,NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
Crs_PutHeadCoursesForEdition (); Crs_PutHeadCoursesForEdition ();
@ -3009,9 +3002,7 @@ void Crs_GetAndWriteCrssOfAUsr (const struct UsrData *UsrDat,Rol_Role_t Role)
{ {
/* Start box and table */ /* Start box and table */
Box_StartBoxTable ("100%",NULL,NULL, Box_StartBoxTable ("100%",NULL,NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/* Heading row */ /* Heading row */
sprintf (Gbl.Title,Txt_USER_in_COURSE, sprintf (Gbl.Title,Txt_USER_in_COURSE,
@ -3096,9 +3087,7 @@ unsigned Crs_ListCrssFound (const char *Query)
NumCrss,(NumCrss == 1) ? Txt_course : NumCrss,(NumCrss == 1) ? Txt_course :
Txt_courses); Txt_courses);
Box_StartBoxTable (NULL,Gbl.Title,NULL, Box_StartBoxTable (NULL,Gbl.Title,NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Heading row *****/ /***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -3335,8 +3324,7 @@ void Crs_AskRemoveOldCrss (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Eliminate_old_courses,NULL, Box_StartBox (NULL,Txt_Eliminate_old_courses,NULL,
Hlp_SYSTEM_Hierarchy_eliminate_old_courses, Hlp_SYSTEM_Hierarchy_eliminate_old_courses,Box_NOT_CLOSABLE);
false); // Not closable
/***** Form to request number of months without clicks *****/ /***** Form to request number of months without clicks *****/
fprintf (Gbl.F.Out,"<label class=\"%s\">%s&nbsp;" fprintf (Gbl.F.Out,"<label class=\"%s\">%s&nbsp;"

View File

@ -104,8 +104,7 @@ void Dat_PutBoxToSelectDateFormat (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Dates,Dat_PutIconsDateFormat, Box_StartBox (NULL,Txt_Dates,Dat_PutIconsDateFormat,
Hlp_PROFILE_Preferences_dates, Hlp_PROFILE_Preferences_dates,Box_NOT_CLOSABLE);
false); // Not closable
/***** Form with list of options *****/ /***** Form with list of options *****/
Act_FormStart (ActChgDatFmt); Act_FormStart (ActChgDatFmt);

View File

@ -171,9 +171,7 @@ void Deg_SeeDegWithPendingCrss (void)
{ {
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_Degrees_with_pending_courses,NULL, Box_StartBoxTable (NULL,Txt_Degrees_with_pending_courses,NULL,
Hlp_SYSTEM_Hierarchy_pending, Hlp_SYSTEM_Hierarchy_pending,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -304,12 +302,10 @@ static void Deg_Configuration (bool PrintView)
/***** Start box *****/ /***** Start box *****/
if (PrintView) if (PrintView)
Box_StartBox (NULL,NULL,NULL, Box_StartBox (NULL,NULL,NULL,
NULL, NULL,Box_NOT_CLOSABLE);
false); // Not closable
else else
Box_StartBox (NULL,NULL,Deg_PutIconsToPrintAndUpload, Box_StartBox (NULL,NULL,Deg_PutIconsToPrintAndUpload,
Hlp_DEGREE_Information, Hlp_DEGREE_Information,Box_NOT_CLOSABLE);
false); // Not closable
/***** Title *****/ /***** Title *****/
fprintf (Gbl.F.Out,"<div class=\"FRAME_TITLE FRAME_TITLE_BIG\">"); fprintf (Gbl.F.Out,"<div class=\"FRAME_TITLE FRAME_TITLE_BIG\">");
@ -948,9 +944,7 @@ static void Deg_PutFormToCreateDegree (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_New_degree,NULL, Box_StartBoxTable (NULL,Txt_New_degree,NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
Deg_PutHeadDegreesForEdition (); Deg_PutHeadDegreesForEdition ();
@ -1180,8 +1174,7 @@ static void Deg_ListDegrees (void)
/***** Start box *****/ /***** Start box *****/
sprintf (Gbl.Title,Txt_Degrees_of_CENTRE_X,Gbl.CurrentCtr.Ctr.ShrtName); sprintf (Gbl.Title,Txt_Degrees_of_CENTRE_X,Gbl.CurrentCtr.Ctr.ShrtName);
Box_StartBox (NULL,Gbl.Title,Deg_PutIconsListDegrees, Box_StartBox (NULL,Gbl.Title,Deg_PutIconsListDegrees,
Hlp_CENTRE_Degrees, Hlp_CENTRE_Degrees,Box_NOT_CLOSABLE);
false); // Not closable
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
{ {
@ -1360,8 +1353,7 @@ void Deg_EditDegrees (void)
sprintf (Gbl.Title,Txt_Degrees_of_CENTRE_X, sprintf (Gbl.Title,Txt_Degrees_of_CENTRE_X,
Gbl.CurrentCtr.Ctr.FullName); Gbl.CurrentCtr.Ctr.FullName);
Box_StartBox (NULL,Gbl.Title,Deg_PutIconsEditingDegrees, Box_StartBox (NULL,Gbl.Title,Deg_PutIconsEditingDegrees,
Hlp_CENTRE_Degrees, Hlp_CENTRE_Degrees,Box_NOT_CLOSABLE);
false); // Not closable
if (Gbl.Degs.DegTypes.Num) if (Gbl.Degs.DegTypes.Num)
{ {
@ -2581,9 +2573,7 @@ unsigned Deg_ListDegsFound (const char *Query)
NumDegs,(NumDegs == 1) ? Txt_degree : NumDegs,(NumDegs == 1) ? Txt_degree :
Txt_degrees); Txt_degrees);
Box_StartBoxTable (NULL,Gbl.Title,NULL, Box_StartBoxTable (NULL,Gbl.Title,NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
Deg_PutHeadDegreesForSeeing (); Deg_PutHeadDegreesForSeeing ();

View File

@ -211,13 +211,11 @@ static void DT_ListDegreeTypes (Act_Action_t NextAction,DT_Order_t SelectedOrder
{ {
case ActSeeDegTyp: case ActSeeDegTyp:
Box_StartBox (NULL,Txt_Types_of_degree,DT_PutIconsListDegTypes, Box_StartBox (NULL,Txt_Types_of_degree,DT_PutIconsListDegTypes,
Hlp_CENTRE_DegreeTypes, Hlp_CENTRE_DegreeTypes,Box_NOT_CLOSABLE);
false); // Not closable
break; break;
case ActSeeUseGbl: case ActSeeUseGbl:
Box_StartBox (NULL,Txt_Types_of_degree,DT_PutIconToEditDegTypes, Box_StartBox (NULL,Txt_Types_of_degree,DT_PutIconToEditDegTypes,
Hlp_STATS_Figures_types_of_degree, Hlp_STATS_Figures_types_of_degree,Box_NOT_CLOSABLE);
false); // Not closable
break; break;
default: // Bad call default: // Bad call
return; return;
@ -265,8 +263,7 @@ void DT_EditDegreeTypes (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Types_of_degree,DT_PutIconToViewDegreeTypesWhenEditing, Box_StartBox (NULL,Txt_Types_of_degree,DT_PutIconToViewDegreeTypesWhenEditing,
Hlp_CENTRE_DegreeTypes_edit, Hlp_CENTRE_DegreeTypes_edit,Box_NOT_CLOSABLE);
false); // Not closable
/***** Put a form to create a new degree type *****/ /***** Put a form to create a new degree type *****/
DT_PutFormToCreateDegreeType (); DT_PutFormToCreateDegreeType ();
@ -437,9 +434,7 @@ void DT_PutFormToCreateDegreeType (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_New_type_of_degree,NULL, Box_StartBoxTable (NULL,Txt_New_type_of_degree,NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
DT_PutHeadDegreeTypesForEdition (); DT_PutHeadDegreeTypesForEdition ();

View File

@ -104,9 +104,7 @@ void Dpt_SeeDepts (void)
Box_StartBoxTable (NULL,Txt_Departments, Box_StartBoxTable (NULL,Txt_Departments,
Gbl.Usrs.Me.Role.Logged == Rol_SYS_ADM ? Dpt_PutIconToEditDpts : Gbl.Usrs.Me.Role.Logged == Rol_SYS_ADM ? Dpt_PutIconToEditDpts :
NULL, NULL,
Hlp_INSTITUTION_Departments, Hlp_INSTITUTION_Departments,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"); fprintf (Gbl.F.Out,"<tr>");
@ -491,9 +489,7 @@ static void Dpt_ListDepartmentsForEdition (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_Departments,NULL, Box_StartBoxTable (NULL,Txt_Departments,NULL,
Hlp_INSTITUTION_Departments_edit, Hlp_INSTITUTION_Departments_edit,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
Dpt_PutHeadDepartments (); Dpt_PutHeadDepartments ();
@ -896,9 +892,7 @@ static void Dpt_PutFormToCreateDepartment (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_New_department,NULL, Box_StartBoxTable (NULL,Txt_New_department,NULL,
Hlp_INSTITUTION_Departments_edit, Hlp_INSTITUTION_Departments_edit,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"

View File

@ -142,8 +142,7 @@ void Dup_ListDuplicateUsrs (void)
/***** Start box with list of possible duplicate users *****/ /***** Start box with list of possible duplicate users *****/
Box_StartBox (NULL,Txt_Possibly_duplicate_users,NULL, Box_StartBox (NULL,Txt_Possibly_duplicate_users,NULL,
Hlp_USERS_Duplicates_possibly_duplicate_users, Hlp_USERS_Duplicates_possibly_duplicate_users,Box_NOT_CLOSABLE);
false); // Not closable
/***** Build query *****/ /***** Build query *****/
sprintf (Query,"SELECT UsrCod,COUNT(*) AS N,MIN(UNIX_TIMESTAMP(InformTime)) AS T" sprintf (Query,"SELECT UsrCod,COUNT(*) AS N,MIN(UNIX_TIMESTAMP(InformTime)) AS T"
@ -262,8 +261,7 @@ static void Dup_ListSimilarUsrs (void)
/***** Start box with list of possible duplicate users *****/ /***** Start box with list of possible duplicate users *****/
Box_StartBox (NULL,Txt_Similar_users,NULL, Box_StartBox (NULL,Txt_Similar_users,NULL,
Hlp_USERS_Duplicates_similar_users, Hlp_USERS_Duplicates_similar_users,Box_NOT_CLOSABLE);
false); // Not closable
/***** Build query *****/ /***** Build query *****/
if (Gbl.Usrs.Other.UsrDat.Surname1[0] && if (Gbl.Usrs.Other.UsrDat.Surname1[0] &&

View File

@ -379,8 +379,7 @@ void Enr_ReqAcceptRegisterInCrs (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Enrolment,NULL, Box_StartBox (NULL,Txt_Enrolment,NULL,
Hlp_USERS_SignUp_confirm_enrolment, Hlp_USERS_SignUp_confirm_enrolment,Box_NOT_CLOSABLE);
false); // Not closable
/***** Show message *****/ /***** Show message *****/
sprintf (Gbl.Alert.Txt,Txt_A_teacher_or_administrator_has_enroled_you_as_X_into_the_course_Y, sprintf (Gbl.Alert.Txt,Txt_A_teacher_or_administrator_has_enroled_you_as_X_into_the_course_Y,
@ -708,8 +707,7 @@ static void Enr_ShowFormRegRemSeveralUsrs (Rol_Role_t Role)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Title,NULL, Box_StartBox (NULL,Title,NULL,
Hlp_USERS_Administration_administer_multiple_users, Hlp_USERS_Administration_administer_multiple_users,Box_NOT_CLOSABLE);
false); // Not closable
/***** Step 1: List of students to be enroled / removed *****/ /***** Step 1: List of students to be enroled / removed *****/
fprintf (Gbl.F.Out,"<div class=\"%s LEFT_MIDDLE\">" fprintf (Gbl.F.Out,"<div class=\"%s LEFT_MIDDLE\">"
@ -799,8 +797,7 @@ void Enr_AskRemoveOldUsrs (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Eliminate_old_users,NULL, Box_StartBox (NULL,Txt_Eliminate_old_users,NULL,
NULL, NULL,Box_NOT_CLOSABLE);
false); // Not closable
/***** Form to request number of months without clicks *****/ /***** Form to request number of months without clicks *****/
fprintf (Gbl.F.Out,"<label class=\"%s\">%s&nbsp;", fprintf (Gbl.F.Out,"<label class=\"%s\">%s&nbsp;",
@ -1856,8 +1853,7 @@ void Enr_AskRemAllStdsThisCrs (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Remove_all_students,NULL, Box_StartBox (NULL,Txt_Remove_all_students,NULL,
Hlp_USERS_Administration_remove_all_students, Hlp_USERS_Administration_remove_all_students,Box_NOT_CLOSABLE);
false); // Not closable
if (Gbl.CurrentCrs.Crs.NumUsrs[Rol_STD]) if (Gbl.CurrentCrs.Crs.NumUsrs[Rol_STD])
{ {
@ -2309,8 +2305,7 @@ static void Enr_ShowEnrolmentRequestsGivenRoles (unsigned RolesSelected)
/***** Start box *****/ /***** Start box *****/
Box_StartBox ("100%",Txt_Enrolment_requests,NULL, Box_StartBox ("100%",Txt_Enrolment_requests,NULL,
Hlp_USERS_Requests, Hlp_USERS_Requests,Box_NOT_CLOSABLE);
false); // Not closable
/***** Selection of scope and roles *****/ /***** Selection of scope and roles *****/
/* Start form and table */ /* Start form and table */
@ -3128,8 +3123,7 @@ static void Enr_ReqAnotherUsrIDToRegisterRemove (Rol_Role_t Role)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Administer_one_user,NULL, Box_StartBox (NULL,Txt_Administer_one_user,NULL,
Hlp_USERS_Administration_administer_one_user, Hlp_USERS_Administration_administer_one_user,Box_NOT_CLOSABLE);
false); // Not closable
/***** Write form to request another user's ID *****/ /***** Write form to request another user's ID *****/
switch (Role) switch (Role)

View File

@ -653,8 +653,7 @@ static void Exa_ListExamAnnouncements (Exa_TypeViewExamAnnouncement_t TypeViewEx
Txt_Announcements_of_exams, Txt_Announcements_of_exams,
ICanEdit ? Exa_PutIconToCreateNewExamAnnouncement : ICanEdit ? Exa_PutIconToCreateNewExamAnnouncement :
NULL, NULL,
Hlp_ASSESSMENT_Announcements, Hlp_ASSESSMENT_Announcements,Box_NOT_CLOSABLE);
false); // Not closable
/***** The result of the query may be empty *****/ /***** The result of the query may be empty *****/
if (!NumExaAnns) if (!NumExaAnns)
@ -1077,7 +1076,7 @@ static void Exa_ShowExamAnnouncement (Exa_TypeViewExamAnnouncement_t TypeViewExa
TypeViewExamAnnouncement == Exa_FORM_VIEW ? ((Gbl.ExamAnns.ExaDat.ExaCod > 0) ? Hlp_ASSESSMENT_Announcements_edit_announcement : TypeViewExamAnnouncement == Exa_FORM_VIEW ? ((Gbl.ExamAnns.ExaDat.ExaCod > 0) ? Hlp_ASSESSMENT_Announcements_edit_announcement :
Hlp_ASSESSMENT_Announcements_new_announcement) : Hlp_ASSESSMENT_Announcements_new_announcement) :
NULL, NULL,
false); // Not closable Box_NOT_CLOSABLE);
if (TypeViewExamAnnouncement == Exa_FORM_VIEW) if (TypeViewExamAnnouncement == Exa_FORM_VIEW)
{ {

View File

@ -3121,8 +3121,7 @@ void Brw_AskEditWorksCrs (void)
/***** Draw class photos to select users *****/ /***** Draw class photos to select users *****/
Box_StartBox (NULL,Txt_Users,NULL, Box_StartBox (NULL,Txt_Users,NULL,
Hlp_FILES_Homework_for_teachers, Hlp_FILES_Homework_for_teachers,Box_NOT_CLOSABLE);
false); // Not closable
/***** Show form to select the groups *****/ /***** Show form to select the groups *****/
Grp_ShowFormToSelectSeveralGroups (ActReqAsgWrkCrs); Grp_ShowFormToSelectSeveralGroups (ActReqAsgWrkCrs);
@ -3219,9 +3218,7 @@ static void Brw_ShowFileBrowsersAsgWrkCrs (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable ("100%",Txt_Assignments_and_other_works, Box_StartBoxTable ("100%",Txt_Assignments_and_other_works,
Brw_PutIconShowFigure, Brw_PutIconShowFigure,
Hlp_FILES_Homework_for_teachers, Hlp_FILES_Homework_for_teachers,Box_NOT_CLOSABLE,0);
false, // Not closable
0);
/***** List the assignments and works of the selected users *****/ /***** List the assignments and works of the selected users *****/
Ptr = Gbl.Usrs.Select[Rol_UNK]; Ptr = Gbl.Usrs.Select[Rol_UNK];
@ -3691,8 +3688,7 @@ static void Brw_ShowFileBrowser (void)
Lay_StartSection (FileBrowserSectionId); Lay_StartSection (FileBrowserSectionId);
Box_StartBox ("100%",Brw_TitleOfFileBrowser[Gbl.FileBrowser.Type], Box_StartBox ("100%",Brw_TitleOfFileBrowser[Gbl.FileBrowser.Type],
Brw_PutIconsFileBrowser, Brw_PutIconsFileBrowser,
Brw_HelpOfFileBrowser[Gbl.FileBrowser.Type], Brw_HelpOfFileBrowser[Gbl.FileBrowser.Type],Box_NOT_CLOSABLE);
false); // Not closable
/***** Subtitle *****/ /***** Subtitle *****/
Brw_WriteSubtitleOfFileBrowser (); Brw_WriteSubtitleOfFileBrowser ();
@ -7986,8 +7982,7 @@ static void Brw_PutFormToCreateAFolder (const char FileNameToShow[NAME_MAX + 1])
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Create_folder,NULL, Box_StartBox (NULL,Txt_Create_folder,NULL,
NULL, NULL,Box_NOT_CLOSABLE);
false); // Not closable
sprintf (Gbl.Alert.Txt,Txt_You_can_create_a_new_folder_inside_the_folder_X, sprintf (Gbl.Alert.Txt,Txt_You_can_create_a_new_folder_inside_the_folder_X,
FileNameToShow); FileNameToShow);
Ale_ShowAlert (Ale_INFO,Gbl.Alert.Txt); Ale_ShowAlert (Ale_INFO,Gbl.Alert.Txt);
@ -8025,8 +8020,7 @@ static void Brw_PutFormToUploadFilesUsingDropzone (const char *FileNameToShow)
/***** Start box *****/ /***** Start box *****/
fprintf (Gbl.F.Out,"<div id=\"dropzone-upload\">"); fprintf (Gbl.F.Out,"<div id=\"dropzone-upload\">");
Box_StartBox ("95%",Txt_Upload_files,NULL, Box_StartBox ("95%",Txt_Upload_files,NULL,
NULL, NULL,Box_NOT_CLOSABLE);
false); // Not closable
/***** Help message *****/ /***** Help message *****/
sprintf (Gbl.Alert.Txt,Txt_or_you_can_upload_new_files_to_the_folder_X, sprintf (Gbl.Alert.Txt,Txt_or_you_can_upload_new_files_to_the_folder_X,
@ -8088,8 +8082,7 @@ static void Brw_PutFormToUploadOneFileClassic (const char *FileNameToShow)
/***** Start box *****/ /***** Start box *****/
fprintf (Gbl.F.Out,"<div id=\"classic-upload\" style=\"display:none;\">"); fprintf (Gbl.F.Out,"<div id=\"classic-upload\" style=\"display:none;\">");
Box_StartBox (NULL,Txt_Upload_file,NULL, Box_StartBox (NULL,Txt_Upload_file,NULL,
NULL, NULL,Box_NOT_CLOSABLE);
false); // Not closable
/***** Help message *****/ /***** Help message *****/
sprintf (Gbl.Alert.Txt,Txt_or_you_can_upload_a_new_file_to_the_folder_X, sprintf (Gbl.Alert.Txt,Txt_or_you_can_upload_a_new_file_to_the_folder_X,
@ -8132,8 +8125,7 @@ static void Brw_PutFormToPasteAFileOrFolder (const char *FileNameToShow)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Paste,NULL, Box_StartBox (NULL,Txt_Paste,NULL,
NULL, NULL,Box_NOT_CLOSABLE);
false); // Not closable
/***** Help message *****/ /***** Help message *****/
sprintf (Gbl.Alert.Txt,Txt_or_you_can_make_a_file_copy_to_the_folder_X, sprintf (Gbl.Alert.Txt,Txt_or_you_can_make_a_file_copy_to_the_folder_X,
@ -8169,8 +8161,7 @@ static void Brw_PutFormToCreateALink (const char *FileNameToShow)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Create_link,NULL, Box_StartBox (NULL,Txt_Create_link,NULL,
NULL, NULL,Box_NOT_CLOSABLE);
false); // Not closable
/***** Help message *****/ /***** Help message *****/
sprintf (Gbl.Alert.Txt,Txt_or_you_can_create_a_new_link_inside_the_folder_X, sprintf (Gbl.Alert.Txt,Txt_or_you_can_create_a_new_link_inside_the_folder_X,
@ -11345,9 +11336,7 @@ unsigned Brw_ListDocsFound (const char *Query,
NumDocs,(NumDocs == 1) ? TitleSingular : NumDocs,(NumDocs == 1) ? TitleSingular :
TitlePlural); TitlePlural);
Box_StartBoxTable (NULL,Gbl.Title,NULL, Box_StartBoxTable (NULL,Gbl.Title,NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -11705,8 +11694,7 @@ void Brw_AskRemoveOldFiles (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Remove_old_files,NULL, Box_StartBox (NULL,Txt_Remove_old_files,NULL,
NULL, NULL,Box_NOT_CLOSABLE);
false); // Not closable
/***** Form to request number of months (to remove files older) *****/ /***** Form to request number of months (to remove files older) *****/
fprintf (Gbl.F.Out,"<label class=\"%s\">%s&nbsp;", fprintf (Gbl.F.Out,"<label class=\"%s\">%s&nbsp;",

View File

@ -133,9 +133,7 @@ void Fol_SuggestUsrsToFollowMainZone (void)
{ {
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable ("560px",Txt_Who_to_follow,Fol_PutIconsWhoToFollow, Box_StartBoxTable ("560px",Txt_Who_to_follow,Fol_PutIconsWhoToFollow,
Hlp_SOCIAL_Profiles_who_to_follow, Hlp_SOCIAL_Profiles_who_to_follow,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Initialize structure with user's data *****/ /***** Initialize structure with user's data *****/
Usr_UsrDataConstructor (&UsrDat); Usr_UsrDataConstructor (&UsrDat);
@ -689,9 +687,7 @@ static void Fol_ListFollowingUsr (struct UsrData *UsrDat)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable ("560px",Txt_Following,NULL, Box_StartBoxTable ("560px",Txt_Following,NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
for (NumUsr = 0; for (NumUsr = 0;
NumUsr < NumUsrs; NumUsr < NumUsrs;
@ -775,9 +771,7 @@ static void Fol_ListFollowersUsr (struct UsrData *UsrDat)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable ("560px",Txt_Followers,NULL, Box_StartBoxTable ("560px",Txt_Followers,NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
for (NumUsr = 0; for (NumUsr = 0;
NumUsr < NumUsrs; NumUsr < NumUsrs;

View File

@ -1011,8 +1011,7 @@ static void For_ShowPostsOfAThread (Ale_AlertType_t AlertType,const char *Messag
/***** Start box *****/ /***** Start box *****/
sprintf (FrameTitle,"%s: %s",Txt_Thread,Thr.Subject); sprintf (FrameTitle,"%s: %s",Txt_Thread,Thr.Subject);
Box_StartBox (NULL,FrameTitle,For_PutIconNewPost, Box_StartBox (NULL,FrameTitle,For_PutIconNewPost,
Hlp_SOCIAL_Forums_posts, Hlp_SOCIAL_Forums_posts,Box_NOT_CLOSABLE);
false); // Not closable
/***** Get posts of a thread from database *****/ /***** Get posts of a thread from database *****/
sprintf (Query,"SELECT PstCod,UNIX_TIMESTAMP(CreatTime)" sprintf (Query,"SELECT PstCod,UNIX_TIMESTAMP(CreatTime)"
@ -1608,8 +1607,7 @@ static void For_ShowForumList (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Forums,For_PutIconsForums, Box_StartBox (NULL,Txt_Forums,For_PutIconsForums,
Hlp_SOCIAL_Forums, Hlp_SOCIAL_Forums,Box_NOT_CLOSABLE);
false); // Not closable
/***** Put a form to select which forums *****/ /***** Put a form to select which forums *****/
For_PutFormWhichForums (); For_PutFormWhichForums ();
@ -2575,8 +2573,7 @@ static void For_ShowForumThreadsHighlightingOneThread (long ThrCodHighlighted,
/***** Start box for threads of this forum *****/ /***** Start box for threads of this forum *****/
sprintf (FrameTitle,"%s: %s",Txt_Forum,ForumName); sprintf (FrameTitle,"%s: %s",Txt_Forum,ForumName);
Box_StartBox (NULL,FrameTitle,For_PutIconNewThread, Box_StartBox (NULL,FrameTitle,For_PutIconNewThread,
Hlp_SOCIAL_Forums_threads, Hlp_SOCIAL_Forums_threads,Box_NOT_CLOSABLE);
false); // Not closable
/***** List the threads *****/ /***** List the threads *****/
if (NumThrs) if (NumThrs)
@ -3861,12 +3858,10 @@ static void For_WriteFormForumPst (bool IsReply,const char *Subject)
/***** Start box *****/ /***** Start box *****/
if (IsReply) if (IsReply)
Box_StartBox (NULL,Txt_New_post,NULL, Box_StartBox (NULL,Txt_New_post,NULL,
Hlp_SOCIAL_Forums_new_post, Hlp_SOCIAL_Forums_new_post,Box_NOT_CLOSABLE);
false); // Not closable
else else
Box_StartBox (NULL,Txt_New_thread,NULL, Box_StartBox (NULL,Txt_New_thread,NULL,
Hlp_SOCIAL_Forums_new_thread, Hlp_SOCIAL_Forums_new_thread,Box_NOT_CLOSABLE);
false); // Not closable
/***** Start form *****/ /***** Start form *****/
if (IsReply) // Form to write a reply to a post of an existing thread if (IsReply) // Form to write a reply to a post of an existing thread

View File

@ -268,8 +268,7 @@ static void Grp_EditGroupTypes (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Types_of_group,Grp_PutIconsEditingGroupTypes, Box_StartBox (NULL,Txt_Types_of_group,Grp_PutIconsEditingGroupTypes,
Hlp_USERS_Groups, Hlp_USERS_Groups,Box_NOT_CLOSABLE);
false); // Not closable
/***** Put a form to create a new group type *****/ /***** Put a form to create a new group type *****/
Grp_PutFormToCreateGroupType (); Grp_PutFormToCreateGroupType ();
@ -300,8 +299,7 @@ static void Grp_EditGroups (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Groups,Grp_PutIconsEditingGroups, Box_StartBox (NULL,Txt_Groups,Grp_PutIconsEditingGroups,
Hlp_USERS_Groups, Hlp_USERS_Groups,Box_NOT_CLOSABLE);
false); // Not closable
/***** Put a form to create a new group *****/ /***** Put a form to create a new group *****/
Grp_PutFormToCreateGroup (); Grp_PutFormToCreateGroup ();
@ -367,8 +365,7 @@ void Grp_ShowFormToSelectSeveralGroups (Act_Action_t NextAction)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Groups,ICanEdit ? Grp_PutIconToEditGroups : Box_StartBox (NULL,Txt_Groups,ICanEdit ? Grp_PutIconToEditGroups :
NULL, NULL,
Hlp_USERS_Groups, Hlp_USERS_Groups,Box_CLOSABLE);
true); // Closable
/***** Start form to update the students listed /***** Start form to update the students listed
depending on the groups selected *****/ depending on the groups selected *****/
@ -1727,8 +1724,7 @@ void Grp_ShowLstGrpsToChgMyGrps (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_My_groups,ICanEdit ? Grp_PutIconToEditGroups : Box_StartBox (NULL,Txt_My_groups,ICanEdit ? Grp_PutIconToEditGroups :
NULL, NULL,
Hlp_USERS_Groups, Hlp_USERS_Groups,Box_NOT_CLOSABLE);
false); // Not closable
if (Gbl.CurrentCrs.Grps.NumGrps) // This course has groups if (Gbl.CurrentCrs.Grps.NumGrps) // This course has groups
{ {
@ -1944,9 +1940,7 @@ void Grp_ShowLstGrpsToChgOtherUsrsGrps (long UsrCod)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_Groups,NULL, Box_StartBoxTable (NULL,Txt_Groups,NULL,
Hlp_USERS_Groups, Hlp_USERS_Groups,Box_NOT_CLOSABLE,0);
false, // Not closable
0);
/***** List to select the groups the user belongs to *****/ /***** List to select the groups the user belongs to *****/
for (NumGrpTyp = 0; for (NumGrpTyp = 0;
@ -2348,9 +2342,7 @@ static void Grp_PutFormToCreateGroupType (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBoxTable (NULL,Txt_New_type_of_group,NULL, Box_StartBoxTable (NULL,Txt_New_type_of_group,NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
Grp_WriteHeadingGroupTypes (); Grp_WriteHeadingGroupTypes ();
@ -2464,9 +2456,7 @@ static void Grp_PutFormToCreateGroup (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_New_group,NULL, Box_StartBoxTable (NULL,Txt_New_group,NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
Grp_WriteHeadingGroups (); Grp_WriteHeadingGroups ();

View File

@ -130,9 +130,7 @@ void Hlp_ShowHelpWhatWouldYouLikeToDo (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_What_would_you_like_to_do,NULL, Box_StartBoxTable (NULL,Txt_What_would_you_like_to_do,NULL,
NULL, NULL,Box_CLOSABLE,2);
true, // Closable
2);
if (Gbl.Usrs.Me.Logged) // I am logged if (Gbl.Usrs.Me.Logged) // I am logged
{ {

View File

@ -104,8 +104,7 @@ void Hld_SeeHolidays (void)
Box_StartBox (NULL,Txt_Holidays, Box_StartBox (NULL,Txt_Holidays,
Gbl.Usrs.Me.Role.Logged >= Rol_INS_ADM ? Hld_PutIconToEditHlds : Gbl.Usrs.Me.Role.Logged >= Rol_INS_ADM ? Hld_PutIconToEditHlds :
NULL, NULL,
Hlp_INSTITUTION_Holidays, Hlp_INSTITUTION_Holidays,Box_NOT_CLOSABLE);
false); // Not closable
if (Gbl.Hlds.Num) if (Gbl.Hlds.Num)
{ {
Tbl_StartTableWideMargin (2); Tbl_StartTableWideMargin (2);
@ -504,9 +503,7 @@ static void Hld_ListHolidaysForEdition (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_Holidays,NULL, Box_StartBoxTable (NULL,Txt_Holidays,NULL,
Hlp_INSTITUTION_Holidays_edit, Hlp_INSTITUTION_Holidays_edit,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
Hld_PutHeadHolidays (); Hld_PutHeadHolidays ();
@ -965,9 +962,7 @@ static void Hld_PutFormToCreateHoliday (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_New_holiday,NULL, Box_StartBoxTable (NULL,Txt_New_holiday,NULL,
Hlp_INSTITUTION_Holidays_edit, Hlp_INSTITUTION_Holidays_edit,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"

View File

@ -78,8 +78,7 @@ void Ico_PutIconsToSelectIconSet (void)
Ico_IconSet_t IconSet; Ico_IconSet_t IconSet;
Box_StartBox (NULL,Txt_Icons,Ico_PutIconsIconSet, Box_StartBox (NULL,Txt_Icons,Ico_PutIconsIconSet,
Hlp_PROFILE_Preferences_icons, Hlp_PROFILE_Preferences_icons,Box_NOT_CLOSABLE);
false); // Not closable
fprintf (Gbl.F.Out,"<div class=\"PREF_CONTAINER\">"); fprintf (Gbl.F.Out,"<div class=\"PREF_CONTAINER\">");
for (IconSet = (Ico_IconSet_t) 0; for (IconSet = (Ico_IconSet_t) 0;
IconSet < Ico_NUM_ICON_SETS; IconSet < Ico_NUM_ICON_SETS;

View File

@ -108,8 +108,7 @@ void Ind_ReqIndicatorsCourses (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Indicators_of_courses,NULL, Box_StartBox (NULL,Txt_Indicators_of_courses,NULL,
Hlp_STATS_Indicators, Hlp_STATS_Indicators,Box_NOT_CLOSABLE);
false); // Not closable
/***** Form to update indicators *****/ /***** Form to update indicators *****/
/* Start form and table */ /* Start form and table */

View File

@ -445,8 +445,7 @@ void Inf_ShowInfo (void)
Box_StartBox ("100%",Txt_INFO_TITLE[Gbl.CurrentCrs.Info.Type], Box_StartBox ("100%",Txt_INFO_TITLE[Gbl.CurrentCrs.Info.Type],
ICanEdit ? Inf_PutIconToEditInfo : ICanEdit ? Inf_PutIconToEditInfo :
NULL, NULL,
Help[Gbl.CurrentCrs.Info.Type], Help[Gbl.CurrentCrs.Info.Type],Box_NOT_CLOSABLE);
false); // Not closable
Ale_ShowAlert (Ale_INFO,Txt_No_information); Ale_ShowAlert (Ale_INFO,Txt_No_information);
if (ICanEdit) if (ICanEdit)
Inf_PutButtonToEditInfo (); Inf_PutButtonToEditInfo ();
@ -591,8 +590,7 @@ void Inf_WriteMsgYouMustReadInfo (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Required_reading,NULL, Box_StartBox (NULL,Txt_Required_reading,NULL,
NULL, NULL,Box_NOT_CLOSABLE);
false); // Not closable
/***** Write message *****/ /***** Write message *****/
Ale_ShowAlert (Ale_WARNING,Txt_You_should_read_the_following_information); Ale_ShowAlert (Ale_WARNING,Txt_You_should_read_the_following_information);
@ -1035,8 +1033,7 @@ static void Inf_ShowPage (const char *URL)
Box_StartBox (NULL,Txt_INFO_TITLE[Gbl.CurrentCrs.Info.Type], Box_StartBox (NULL,Txt_INFO_TITLE[Gbl.CurrentCrs.Info.Type],
ICanEdit ? Inf_PutIconToEditInfo : ICanEdit ? Inf_PutIconToEditInfo :
NULL, NULL,
Help[Gbl.CurrentCrs.Info.Type], Help[Gbl.CurrentCrs.Info.Type],Box_NOT_CLOSABLE);
false); // Not closable
/***** Link to view in a new window *****/ /***** Link to view in a new window *****/
fprintf (Gbl.F.Out,"<a href=\"%s\" target=\"_blank\" class=\"%s\">", fprintf (Gbl.F.Out,"<a href=\"%s\" target=\"_blank\" class=\"%s\">",
@ -1120,9 +1117,7 @@ void Inf_FormsToSelSendInfo (void)
/***** Form to choice between alternatives *****/ /***** Form to choice between alternatives *****/
/* Start box and table */ /* Start box and table */
Box_StartBoxTable (NULL,Txt_Source_of_information,Inf_PutIconToViewInfo, Box_StartBoxTable (NULL,Txt_Source_of_information,Inf_PutIconToViewInfo,
HelpEdit[Gbl.CurrentCrs.Info.Type], HelpEdit[Gbl.CurrentCrs.Info.Type],Box_NOT_CLOSABLE,4);
false, // Not closable
4);
/* Options */ /* Options */
for (InfoSrc = (Inf_InfoSrc_t) 0; for (InfoSrc = (Inf_InfoSrc_t) 0;
@ -1792,8 +1787,7 @@ static bool Inf_CheckAndShowPlainTxt (void)
Box_StartBox (NULL,Txt_INFO_TITLE[Gbl.CurrentCrs.Info.Type], Box_StartBox (NULL,Txt_INFO_TITLE[Gbl.CurrentCrs.Info.Type],
ICanEdit ? Inf_PutIconToEditInfo : ICanEdit ? Inf_PutIconToEditInfo :
NULL, NULL,
Help[Gbl.CurrentCrs.Info.Type], Help[Gbl.CurrentCrs.Info.Type],Box_NOT_CLOSABLE);
false); // Not closable
if (Gbl.CurrentCrs.Info.Type == Inf_INTRODUCTION || if (Gbl.CurrentCrs.Info.Type == Inf_INTRODUCTION ||
Gbl.CurrentCrs.Info.Type == Inf_TEACHING_GUIDE) Gbl.CurrentCrs.Info.Type == Inf_TEACHING_GUIDE)
@ -1877,8 +1871,7 @@ static bool Inf_CheckAndShowRichTxt (void)
Box_StartBox (NULL,Txt_INFO_TITLE[Gbl.CurrentCrs.Info.Type], Box_StartBox (NULL,Txt_INFO_TITLE[Gbl.CurrentCrs.Info.Type],
ICanEdit ? Inf_PutIconToEditInfo : ICanEdit ? Inf_PutIconToEditInfo :
NULL, NULL,
Help[Gbl.CurrentCrs.Info.Type], Help[Gbl.CurrentCrs.Info.Type],Box_NOT_CLOSABLE);
false); // Not closable
if (Gbl.CurrentCrs.Info.Type == Inf_INTRODUCTION || if (Gbl.CurrentCrs.Info.Type == Inf_INTRODUCTION ||
Gbl.CurrentCrs.Info.Type == Inf_TEACHING_GUIDE) Gbl.CurrentCrs.Info.Type == Inf_TEACHING_GUIDE)
@ -2064,8 +2057,7 @@ void Inf_EditPlainTxtInfo (void)
/***** Start form and box *****/ /***** Start form and box *****/
Act_FormStart (Inf_ActionsRcvPlaTxtInfo[Gbl.CurrentCrs.Info.Type]); Act_FormStart (Inf_ActionsRcvPlaTxtInfo[Gbl.CurrentCrs.Info.Type]);
Box_StartBox (NULL,Txt_INFO_TITLE[Gbl.CurrentCrs.Info.Type],NULL, Box_StartBox (NULL,Txt_INFO_TITLE[Gbl.CurrentCrs.Info.Type],NULL,
HelpEdit[Gbl.CurrentCrs.Info.Type], HelpEdit[Gbl.CurrentCrs.Info.Type],Box_NOT_CLOSABLE);
false); // Not closable
if (Gbl.CurrentCrs.Info.Type == Inf_INTRODUCTION || if (Gbl.CurrentCrs.Info.Type == Inf_INTRODUCTION ||
Gbl.CurrentCrs.Info.Type == Inf_TEACHING_GUIDE) Gbl.CurrentCrs.Info.Type == Inf_TEACHING_GUIDE)
@ -2116,8 +2108,7 @@ void Inf_EditRichTxtInfo (void)
/***** Start form and box *****/ /***** Start form and box *****/
Act_FormStart (Inf_ActionsRcvRchTxtInfo[Gbl.CurrentCrs.Info.Type]); Act_FormStart (Inf_ActionsRcvRchTxtInfo[Gbl.CurrentCrs.Info.Type]);
Box_StartBox (NULL,Txt_INFO_TITLE[Gbl.CurrentCrs.Info.Type],NULL, Box_StartBox (NULL,Txt_INFO_TITLE[Gbl.CurrentCrs.Info.Type],NULL,
HelpEdit[Gbl.CurrentCrs.Info.Type], HelpEdit[Gbl.CurrentCrs.Info.Type],Box_NOT_CLOSABLE);
false); // Not closable
if (Gbl.CurrentCrs.Info.Type == Inf_INTRODUCTION || if (Gbl.CurrentCrs.Info.Type == Inf_INTRODUCTION ||
Gbl.CurrentCrs.Info.Type == Inf_TEACHING_GUIDE) Gbl.CurrentCrs.Info.Type == Inf_TEACHING_GUIDE)

View File

@ -153,9 +153,7 @@ void Ins_SeeInsWithPendingCtrs (void)
{ {
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_Institutions_with_pending_centres,NULL, Box_StartBoxTable (NULL,Txt_Institutions_with_pending_centres,NULL,
Hlp_SYSTEM_Hierarchy_pending, Hlp_SYSTEM_Hierarchy_pending,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -313,12 +311,10 @@ static void Ins_Configuration (bool PrintView)
/***** Start box *****/ /***** Start box *****/
if (PrintView) if (PrintView)
Box_StartBox (NULL,NULL,NULL, Box_StartBox (NULL,NULL,NULL,
NULL, NULL,Box_NOT_CLOSABLE);
false); // Not closable
else else
Box_StartBox (NULL,NULL,Ins_PutIconsToPrintAndUpload, Box_StartBox (NULL,NULL,Ins_PutIconsToPrintAndUpload,
Hlp_INSTITUTION_Information, Hlp_INSTITUTION_Information,Box_NOT_CLOSABLE);
false); // Not closable
/***** Title *****/ /***** Title *****/
fprintf (Gbl.F.Out,"<div class=\"FRAME_TITLE FRAME_TITLE_BIG\">"); fprintf (Gbl.F.Out,"<div class=\"FRAME_TITLE FRAME_TITLE_BIG\">");
@ -676,8 +672,7 @@ static void Ins_ListInstitutions (void)
/***** Start box *****/ /***** Start box *****/
sprintf (Gbl.Title,Txt_Institutions_of_COUNTRY_X,Gbl.CurrentCty.Cty.Name[Gbl.Prefs.Language]); sprintf (Gbl.Title,Txt_Institutions_of_COUNTRY_X,Gbl.CurrentCty.Cty.Name[Gbl.Prefs.Language]);
Box_StartBox (NULL,Gbl.Title,Ins_PutIconsListInstitutions, Box_StartBox (NULL,Gbl.Title,Ins_PutIconsListInstitutions,
Hlp_COUNTRY_Institutions, Hlp_COUNTRY_Institutions,Box_NOT_CLOSABLE);
false); // Not closable
if (Gbl.Inss.Num) // There are institutions in the current country if (Gbl.Inss.Num) // There are institutions in the current country
{ {
@ -927,8 +922,7 @@ void Ins_EditInstitutions (void)
sprintf (Gbl.Title,Txt_Institutions_of_COUNTRY_X, sprintf (Gbl.Title,Txt_Institutions_of_COUNTRY_X,
Gbl.CurrentCty.Cty.Name[Gbl.Prefs.Language]); Gbl.CurrentCty.Cty.Name[Gbl.Prefs.Language]);
Box_StartBox (NULL,Gbl.Title,Ins_PutIconToViewInstitutions, Box_StartBox (NULL,Gbl.Title,Ins_PutIconToViewInstitutions,
Hlp_COUNTRY_Institutions, Hlp_COUNTRY_Institutions,Box_NOT_CLOSABLE);
false); // Not closable
/***** Put a form to create a new institution *****/ /***** Put a form to create a new institution *****/
Ins_PutFormToCreateInstitution (); Ins_PutFormToCreateInstitution ();
@ -2164,9 +2158,7 @@ static void Ins_PutFormToCreateInstitution (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_New_institution,NULL, Box_StartBoxTable (NULL,Txt_New_institution,NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
Ins_PutHeadInstitutionsForEdition (); Ins_PutHeadInstitutionsForEdition ();
@ -2526,9 +2518,7 @@ unsigned Ins_ListInssFound (const char *Query)
NumInss,NumInss == 1 ? Txt_institution : NumInss,NumInss == 1 ? Txt_institution :
Txt_institutions); Txt_institutions);
Box_StartBoxTable (NULL,Gbl.Title,NULL, Box_StartBoxTable (NULL,Gbl.Title,NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
Ins_PutHeadInstitutionsForSeeing (false); // Order not selectable Ins_PutHeadInstitutionsForSeeing (false); // Order not selectable

View File

@ -1499,9 +1499,7 @@ void Lay_AdvertisementMobile (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,NULL,NULL, Box_StartBoxTable (NULL,NULL,NULL,
NULL, NULL,Box_NOT_CLOSABLE,8);
false, // Not closable
8);
/***** Show advertisement *****/ /***** Show advertisement *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"

View File

@ -115,8 +115,7 @@ void Lnk_SeeLinks (void)
Box_StartBox (NULL,Txt_Links, Box_StartBox (NULL,Txt_Links,
Gbl.Usrs.Me.Role.Logged == Rol_SYS_ADM ? Lnk_PutIconToEditLinks : Gbl.Usrs.Me.Role.Logged == Rol_SYS_ADM ? Lnk_PutIconToEditLinks :
NULL, NULL,
Hlp_SYSTEM_Links, Hlp_SYSTEM_Links,Box_NOT_CLOSABLE);
false); // Not closable
/***** Write all links *****/ /***** Write all links *****/
if (Gbl.Links.Num) // There are links if (Gbl.Links.Num) // There are links
@ -231,8 +230,7 @@ void Lnk_EditLinks (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Links,Lnk_PutIconToViewLinks, Box_StartBox (NULL,Txt_Links,Lnk_PutIconToViewLinks,
Hlp_SYSTEM_Links_edit, Hlp_SYSTEM_Links_edit,Box_NOT_CLOSABLE);
false); // Not closable
/***** Put a form to create a new link *****/ /***** Put a form to create a new link *****/
Lnk_PutFormToCreateLink (); Lnk_PutFormToCreateLink ();
@ -710,9 +708,7 @@ static void Lnk_PutFormToCreateLink (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_New_link,NULL, Box_StartBoxTable (NULL,Txt_New_link,NULL,
Hlp_SYSTEM_Links_edit, Hlp_SYSTEM_Links_edit,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
Lnk_PutHeadLinks (); Lnk_PutHeadLinks ();

View File

@ -285,8 +285,7 @@ void Log_RequestLogo (Sco_Scope_t Scope)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Logo,NULL, Box_StartBox (NULL,Txt_Logo,NULL,
NULL, NULL,Box_NOT_CLOSABLE);
false); // Not closable
/***** Write help message *****/ /***** Write help message *****/
sprintf (Gbl.Alert.Txt,Txt_You_can_send_a_file_with_an_image_in_PNG_format_transparent_background_and_size_X_Y, sprintf (Gbl.Alert.Txt,Txt_You_can_send_a_file_with_an_image_in_PNG_format_transparent_background_and_size_X_Y,

View File

@ -112,9 +112,7 @@ void Mai_SeeMailDomains (void)
Box_StartBoxTable (NULL,Txt_Email_domains_allowed_for_notifications, Box_StartBoxTable (NULL,Txt_Email_domains_allowed_for_notifications,
Gbl.Usrs.Me.Role.Logged == Rol_SYS_ADM ? Mai_PutIconToEditMailDomains : Gbl.Usrs.Me.Role.Logged == Rol_SYS_ADM ? Mai_PutIconToEditMailDomains :
NULL, NULL,
Hlp_MESSAGES_Domains, Hlp_MESSAGES_Domains,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"); fprintf (Gbl.F.Out,"<tr>");
@ -454,9 +452,7 @@ static void Mai_ListMailDomainsForEdition (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_Email_domains_allowed_for_notifications,NULL, Box_StartBoxTable (NULL,Txt_Email_domains_allowed_for_notifications,NULL,
Hlp_MESSAGES_Domains_edit, Hlp_MESSAGES_Domains_edit,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
Mai_PutHeadMailDomains (); Mai_PutHeadMailDomains ();
@ -724,9 +720,7 @@ static void Mai_PutFormToCreateMailDomain (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_New_email_domain,NULL, Box_StartBoxTable (NULL,Txt_New_email_domain,NULL,
Hlp_MESSAGES_Domains_edit, Hlp_MESSAGES_Domains_edit,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -894,10 +888,8 @@ void Mai_ListEmails (void)
Usr_GetListUsrs (Sco_SCOPE_CRS,Rol_STD); Usr_GetListUsrs (Sco_SCOPE_CRS,Rol_STD);
/***** Start the box used to list the emails *****/ /***** Start the box used to list the emails *****/
Box_StartBox (NULL,Txt_Students_who_have_accepted_and_who_have_email, Box_StartBox (NULL,Txt_Students_who_have_accepted_and_who_have_email,NULL,
NULL, Hlp_MESSAGES_Email,Box_NOT_CLOSABLE);
Hlp_MESSAGES_Email,
false); // Not closable
/***** Form to select groups *****/ /***** Form to select groups *****/
Grp_ShowFormToSelectSeveralGroups (ActMaiStd); Grp_ShowFormToSelectSeveralGroups (ActMaiStd);
@ -1194,8 +1186,7 @@ void Mai_ShowFormOthEmail (void)
{ {
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Email,NULL, Box_StartBox (NULL,Txt_Email,NULL,
NULL, NULL,Box_NOT_CLOSABLE);
false); // Not closable
/***** Show user's record *****/ /***** Show user's record *****/
Rec_ShowSharedUsrRecord (Rec_SHA_RECORD_LIST, Rec_ShowSharedUsrRecord (Rec_SHA_RECORD_LIST,
@ -1635,8 +1626,7 @@ void Mai_PutButtonToCheckEmailAddress (void)
/***** Box with button to check email address *****/ /***** Box with button to check email address *****/
Box_StartBox (NULL,Txt_Email_unconfirmed,NULL, Box_StartBox (NULL,Txt_Email_unconfirmed,NULL,
Hlp_PROFILE_Account_email, Hlp_PROFILE_Account_email,Box_CLOSABLE);
true); // Closable
Ale_ShowAlertAndButton (Ale_WARNING,Txt_Please_check_and_confirm_your_email_address, Ale_ShowAlertAndButton (Ale_WARNING,Txt_Please_check_and_confirm_your_email_address,
ActFrmMyAcc,NULL,NULL,NULL, ActFrmMyAcc,NULL,NULL,NULL,
Btn_CONFIRM_BUTTON,Txt_Check); Btn_CONFIRM_BUTTON,Txt_Check);

View File

@ -400,8 +400,7 @@ void Mnu_PutIconsToSelectMenu (void)
Mnu_Menu_t Menu; Mnu_Menu_t Menu;
Box_StartBox (NULL,Txt_Menu,Mnu_PutIconsMenu, Box_StartBox (NULL,Txt_Menu,Mnu_PutIconsMenu,
Hlp_PROFILE_Preferences_menu, Hlp_PROFILE_Preferences_menu,Box_NOT_CLOSABLE);
false); // Not closable
fprintf (Gbl.F.Out,"<div class=\"PREF_CONTAINER\">"); fprintf (Gbl.F.Out,"<div class=\"PREF_CONTAINER\">");
for (Menu = (Mnu_Menu_t) 0; for (Menu = (Mnu_Menu_t) 0;
Menu < Mnu_NUM_MENUS; Menu < Mnu_NUM_MENUS;

View File

@ -226,10 +226,8 @@ static void Msg_PutFormMsgUsrs (char Content[Cns_MAX_BYTES_LONG_TEXT + 1])
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Gbl.Msg.Reply.IsReply ? Txt_Reply_message : Box_StartBox (NULL,Gbl.Msg.Reply.IsReply ? Txt_Reply_message :
Txt_New_message, Txt_New_message,NULL,
NULL, Hlp_MESSAGES_Write,Box_NOT_CLOSABLE);
Hlp_MESSAGES_Write,
false); // Not closable
if (Gbl.Msg.ShowOnlyOneRecipient) if (Gbl.Msg.ShowOnlyOneRecipient)
/***** Form to show several potential recipients *****/ /***** Form to show several potential recipients *****/
@ -1756,14 +1754,12 @@ static void Msg_ShowSentOrReceivedMessages (void)
/***** Start box with messages *****/ /***** Start box with messages *****/
Box_StartBox ("97%",Msg_WriteNumMsgs (NumUnreadMsgs),Msg_PutIconsListMsgs, Box_StartBox ("97%",Msg_WriteNumMsgs (NumUnreadMsgs),Msg_PutIconsListMsgs,
Help[Gbl.Msg.TypeOfMessages], Help[Gbl.Msg.TypeOfMessages],Box_NOT_CLOSABLE);
false); // Not closable
/***** Filter messages *****/ /***** Filter messages *****/
/* Start box with filter */ /* Start box with filter */
Box_StartBox (NULL,Txt_Filter,NULL, Box_StartBox (NULL,Txt_Filter,NULL,
HelpFilter[Gbl.Msg.TypeOfMessages], HelpFilter[Gbl.Msg.TypeOfMessages],Box_CLOSABLE);
true); // Closable
/* Form to see messages again */ /* Form to see messages again */
Act_FormStart (ActionSee[Gbl.Msg.TypeOfMessages]); Act_FormStart (ActionSee[Gbl.Msg.TypeOfMessages]);
@ -3780,9 +3776,7 @@ void Msg_ListBannedUsrs (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_Banned_users,NULL, Box_StartBoxTable (NULL,Txt_Banned_users,NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** List users *****/ /***** List users *****/
for (NumUsr = 1; for (NumUsr = 1;

View File

@ -301,9 +301,7 @@ void Net_ShowFormMyWebsAndSocialNets (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_Webs_social_networks,Net_PutIconsWebsSocialNetworks, Box_StartBoxTable (NULL,Txt_Webs_social_networks,Net_PutIconsWebsSocialNetworks,
Hlp_PROFILE_Webs, Hlp_PROFILE_Webs,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
for (NumURL = (Net_WebsAndSocialNetworks_t) 0; for (NumURL = (Net_WebsAndSocialNetworks_t) 0;
NumURL < Net_NUM_WEBS_AND_SOCIAL_NETWORKS; NumURL < Net_NUM_WEBS_AND_SOCIAL_NETWORKS;
@ -537,9 +535,7 @@ void Net_ShowWebAndSocialNetworksStats (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_SOCIAL_NETWORKS],NULL, Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_SOCIAL_NETWORKS],NULL,
Hlp_STATS_Figures_webs_social_networks, Hlp_STATS_Figures_webs_social_networks,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"

View File

@ -104,8 +104,7 @@ void Not_ShowFormNotice (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_New_notice,NULL, Box_StartBox (NULL,Txt_New_notice,NULL,
Hlp_MESSAGES_Notices, Hlp_MESSAGES_Notices,Box_NOT_CLOSABLE);
false); // Not closable
/***** Message body *****/ /***** Message body *****/
fprintf (Gbl.F.Out,"<textarea name=\"Content\" cols=\"30\" rows=\"10\"" fprintf (Gbl.F.Out,"<textarea name=\"Content\" cols=\"30\" rows=\"10\""
@ -395,8 +394,7 @@ void Not_ShowNotices (Not_Listing_t TypeNoticesListing)
Gbl.CurrentCrs.Notices.HighlightNotCod > 0 ? Txt_All_notices : Gbl.CurrentCrs.Notices.HighlightNotCod > 0 ? Txt_All_notices :
Txt_Notices, Txt_Notices,
Not_PutIconsListNotices, Not_PutIconsListNotices,
Hlp_MESSAGES_Notices, Hlp_MESSAGES_Notices,Box_NOT_CLOSABLE);
false); // Not closable
if (!NumNotices) if (!NumNotices)
Ale_ShowAlert (Ale_INFO,Txt_No_notices); Ale_ShowAlert (Ale_INFO,Txt_No_notices);
} }

View File

@ -391,8 +391,7 @@ void Ntf_ShowMyNotifications (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Notifications,Ntf_PutIconsNotif, Box_StartBox (NULL,Txt_Notifications,Ntf_PutIconsNotif,
Hlp_MESSAGES_Notifications, Hlp_MESSAGES_Notifications,Box_NOT_CLOSABLE);
false); // Not closable
/***** List my notifications *****/ /***** List my notifications *****/
if (NumNotifications) // Notifications found if (NumNotifications) // Notifications found
@ -1900,8 +1899,7 @@ void Ntf_PutFormChangeNotifSentByEMail (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Notifications,Ntf_PutIconsNotif, Box_StartBox (NULL,Txt_Notifications,Ntf_PutIconsNotif,
Hlp_PROFILE_Preferences_notifications, Hlp_PROFILE_Preferences_notifications,Box_NOT_CLOSABLE);
false); // Not closable
/***** Start form *****/ /***** Start form *****/
Act_FormStart (ActChgNtfPrf); Act_FormStart (ActChgNtfPrf);

View File

@ -254,8 +254,7 @@ void Pwd_ShowFormSendNewPwd (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Forgotten_password,NULL, Box_StartBox (NULL,Txt_Forgotten_password,NULL,
Hlp_PROFILE_Password, Hlp_PROFILE_Password,Box_NOT_CLOSABLE);
false); // Not closable
/***** Help text *****/ /***** Help text *****/
Ale_ShowAlert (Ale_INFO,Txt_If_you_have_forgotten_your_password_); Ale_ShowAlert (Ale_INFO,Txt_If_you_have_forgotten_your_password_);
@ -700,9 +699,7 @@ void Pwd_ShowFormChgPwd (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_Password,NULL, Box_StartBoxTable (NULL,Txt_Password,NULL,
Hlp_PROFILE_Password, Hlp_PROFILE_Password,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/* Current password */ /* Current password */
if (IHaveAPasswordInDB) // If I have a password in database... if (IHaveAPasswordInDB) // If I have a password in database...
@ -829,8 +826,7 @@ void Pwd_ShowFormOthPwd (void)
{ {
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Password,NULL, Box_StartBox (NULL,Txt_Password,NULL,
NULL, NULL,Box_NOT_CLOSABLE);
false); // Not closable
/***** Show user's record *****/ /***** Show user's record *****/
Rec_ShowSharedUsrRecord (Rec_SHA_RECORD_LIST, Rec_ShowSharedUsrRecord (Rec_SHA_RECORD_LIST,

View File

@ -329,8 +329,7 @@ static void Pho_ReqPhoto (const struct UsrData *UsrDat,const char *PhotoURL)
Box_StartBox (NULL,Txt_Photo, Box_StartBox (NULL,Txt_Photo,
ItsMe ? Pho_PutIconToRequestRemoveMyPhoto : ItsMe ? Pho_PutIconToRequestRemoveMyPhoto :
Pho_PutIconToRequestRemoveOtherUsrPhoto, Pho_PutIconToRequestRemoveOtherUsrPhoto,
Hlp_PROFILE_Photo, Hlp_PROFILE_Photo,Box_NOT_CLOSABLE);
false); // Not closable
/***** Start form *****/ /***** Start form *****/
if (ItsMe) if (ItsMe)
@ -1694,8 +1693,7 @@ void Pho_ShowOrPrintPhotoDegree (Pho_AvgPhotoSeeOrPrint_t SeeOrPrint)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Degrees,Pho_PutIconToPrintDegreeStats, Box_StartBox (NULL,Txt_Degrees,Pho_PutIconToPrintDegreeStats,
Hlp_STATS_Degrees, Hlp_STATS_Degrees,Box_NOT_CLOSABLE);
false); // Not closable
Tbl_StartTableCenter (2); Tbl_StartTableCenter (2);
/***** Put a selector for the type of average *****/ /***** Put a selector for the type of average *****/
@ -1712,8 +1710,7 @@ void Pho_ShowOrPrintPhotoDegree (Pho_AvgPhotoSeeOrPrint_t SeeOrPrint)
case Pho_DEGREES_PRINT: case Pho_DEGREES_PRINT:
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Degrees,NULL, Box_StartBox (NULL,Txt_Degrees,NULL,
NULL, NULL,Box_NOT_CLOSABLE);
false); // Not closable
break; break;
} }

View File

@ -120,8 +120,7 @@ void Plc_SeePlaces (void)
/***** Table head *****/ /***** Table head *****/
Box_StartBox (NULL,Txt_Places,ICanEdit ? Plc_PutIconToEditPlaces : Box_StartBox (NULL,Txt_Places,ICanEdit ? Plc_PutIconToEditPlaces :
NULL, NULL,
Hlp_INSTITUTION_Places, Hlp_INSTITUTION_Places,Box_NOT_CLOSABLE);
false); // Not closable
Tbl_StartTableWideMargin (2); Tbl_StartTableWideMargin (2);
fprintf (Gbl.F.Out,"<tr>"); fprintf (Gbl.F.Out,"<tr>");
for (Order = Plc_ORDER_BY_PLACE; for (Order = Plc_ORDER_BY_PLACE;
@ -250,8 +249,7 @@ void Plc_EditPlaces (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Places,Plc_PutIconToViewPlacesWhenEditing, Box_StartBox (NULL,Txt_Places,Plc_PutIconToViewPlacesWhenEditing,
Hlp_INSTITUTION_Places_edit, Hlp_INSTITUTION_Places_edit,Box_NOT_CLOSABLE);
false); // Not closable
/***** Put a form to create a new place *****/ /***** Put a form to create a new place *****/
Plc_PutFormToCreatePlace (); Plc_PutFormToCreatePlace ();
@ -742,9 +740,7 @@ static void Plc_PutFormToCreatePlace (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_New_place,NULL, Box_StartBoxTable (NULL,Txt_New_place,NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
Plc_PutHeadPlaces (); Plc_PutHeadPlaces ();

View File

@ -95,9 +95,7 @@ void Plg_ListPlugins (void)
Box_StartBoxTable (NULL,Txt_Plugins, Box_StartBoxTable (NULL,Txt_Plugins,
Gbl.Usrs.Me.Role.Logged == Rol_SYS_ADM ? Plg_PutIconToEditPlugins : Gbl.Usrs.Me.Role.Logged == Rol_SYS_ADM ? Plg_PutIconToEditPlugins :
NULL, NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write table heading *****/ /***** Write table heading *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -349,9 +347,7 @@ static void Plg_ListPluginsForEdition (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_Plugins,NULL, Box_StartBoxTable (NULL,Txt_Plugins,NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
Plg_PutHeadPlugins (); Plg_PutHeadPlugins ();
@ -847,9 +843,7 @@ static void Plg_PutFormToCreatePlugin (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_New_plugin,NULL, Box_StartBoxTable (NULL,Txt_New_plugin,NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"

View File

@ -76,8 +76,7 @@ void Pre_EditPrefs (void)
/***** Internationalization: language, first day of week, date format *****/ /***** Internationalization: language, first day of week, date format *****/
Box_StartBox (NULL,Txt_Internationalization,NULL, Box_StartBox (NULL,Txt_Internationalization,NULL,
Hlp_PROFILE_Preferences_internationalization, Hlp_PROFILE_Preferences_internationalization,Box_NOT_CLOSABLE);
false); // Not closable
fprintf (Gbl.F.Out,"<div class=\"FRAME_INLINE\">"); fprintf (Gbl.F.Out,"<div class=\"FRAME_INLINE\">");
Lan_PutBoxToSelectLanguage (); // 1. Language Lan_PutBoxToSelectLanguage (); // 1. Language
fprintf (Gbl.F.Out,"</div>" fprintf (Gbl.F.Out,"</div>"
@ -91,8 +90,7 @@ void Pre_EditPrefs (void)
/***** Design: icon set, menu, theme, side columns *****/ /***** Design: icon set, menu, theme, side columns *****/
Box_StartBox (NULL,Txt_Design,NULL, Box_StartBox (NULL,Txt_Design,NULL,
Hlp_PROFILE_Preferences_design, Hlp_PROFILE_Preferences_design,Box_NOT_CLOSABLE);
false); // Not closable
fprintf (Gbl.F.Out,"<div class=\"FRAME_INLINE\">"); fprintf (Gbl.F.Out,"<div class=\"FRAME_INLINE\">");
Ico_PutIconsToSelectIconSet (); // 4. Icon set Ico_PutIconsToSelectIconSet (); // 4. Icon set
fprintf (Gbl.F.Out,"</div>" fprintf (Gbl.F.Out,"</div>"
@ -240,8 +238,7 @@ static void Pre_PutIconsToSelectSideCols (void)
unsigned SideCols; unsigned SideCols;
Box_StartBox (NULL,Txt_Columns,Pre_PutIconsSideColumns, Box_StartBox (NULL,Txt_Columns,Pre_PutIconsSideColumns,
Hlp_PROFILE_Preferences_columns, Hlp_PROFILE_Preferences_columns,Box_NOT_CLOSABLE);
false); // Not closable
fprintf (Gbl.F.Out,"<div class=\"PREF_CONTAINER\">"); fprintf (Gbl.F.Out,"<div class=\"PREF_CONTAINER\">");
for (SideCols = 0; for (SideCols = 0;
SideCols <= Lay_SHOW_BOTH_COLUMNS; SideCols <= Lay_SHOW_BOTH_COLUMNS;

View File

@ -104,9 +104,7 @@ void Pri_EditMyPrivacy (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_Privacy,Pri_PutIconsPrivacy, Box_StartBoxTable (NULL,Txt_Privacy,Pri_PutIconsPrivacy,
Hlp_PROFILE_Preferences_privacy, Hlp_PROFILE_Preferences_privacy,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Edit photo visibility *****/ /***** Edit photo visibility *****/
Pri_PutFormVisibility (Txt_Photo, Pri_PutFormVisibility (Txt_Photo,

View File

@ -176,8 +176,7 @@ void Prf_RequestUserProfile (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Another_user_s_profile,NULL, Box_StartBox (NULL,Txt_Another_user_s_profile,NULL,
Hlp_SOCIAL_Profiles_view_public_profile, Hlp_SOCIAL_Profiles_view_public_profile,Box_NOT_CLOSABLE);
false); // Not closable
/***** Form to request user's @nickname *****/ /***** Form to request user's @nickname *****/
/* By default, the nickname is filled with my nickname /* By default, the nickname is filled with my nickname

View File

@ -186,9 +186,7 @@ void Rec_ReqEditRecordFields (void)
{ {
/* Start box and table */ /* Start box and table */
Box_StartBoxTable (NULL,Txt_Record_fields,NULL, Box_StartBoxTable (NULL,Txt_Record_fields,NULL,
Hlp_USERS_Students_course_record_card, Hlp_USERS_Students_course_record_card,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
Rec_ListFieldsRecordsForEdition (); Rec_ListFieldsRecordsForEdition ();
@ -365,9 +363,7 @@ void Rec_ShowFormCreateRecordField (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_New_record_field,NULL, Box_StartBoxTable (NULL,Txt_New_record_field,NULL,
Hlp_USERS_Students_course_record_card, Hlp_USERS_Students_course_record_card,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
Rec_WriteHeadingRecordFields (); Rec_WriteHeadingRecordFields ();
@ -1368,8 +1364,7 @@ static void Rec_ShowRecordOneTchCrs (void)
fprintf (Gbl.F.Out,"<div class=\"REC_TT\">"); fprintf (Gbl.F.Out,"<div class=\"REC_TT\">");
Gbl.TimeTable.Type = TT_TUTORING_TIMETABLE; Gbl.TimeTable.Type = TT_TUTORING_TIMETABLE;
Box_StartBox (Width,Txt_TIMETABLE_TYPES[Gbl.TimeTable.Type],NULL, Box_StartBox (Width,Txt_TIMETABLE_TYPES[Gbl.TimeTable.Type],NULL,
Hlp_USERS_Teachers_timetable, Hlp_USERS_Teachers_timetable,Box_NOT_CLOSABLE);
false); // Not closable
TT_ShowTimeTable (Gbl.Usrs.Other.UsrDat.UsrCod); TT_ShowTimeTable (Gbl.Usrs.Other.UsrDat.UsrCod);
Box_EndBox (); Box_EndBox ();
fprintf (Gbl.F.Out,"</div>"); fprintf (Gbl.F.Out,"</div>");
@ -1492,10 +1487,8 @@ static void Rec_ListRecordsTchs (Rec_SharedRecordViewType_t TypeOfView)
{ {
fprintf (Gbl.F.Out,"<div class=\"REC_TT\">"); fprintf (Gbl.F.Out,"<div class=\"REC_TT\">");
Gbl.TimeTable.Type = TT_TUTORING_TIMETABLE; Gbl.TimeTable.Type = TT_TUTORING_TIMETABLE;
Box_StartBox (Width,Txt_TIMETABLE_TYPES[Gbl.TimeTable.Type], Box_StartBox (Width,Txt_TIMETABLE_TYPES[Gbl.TimeTable.Type],NULL,
NULL, Hlp_USERS_Teachers_timetable,Box_NOT_CLOSABLE);
Hlp_USERS_Teachers_timetable,
false); // Not closable
TT_ShowTimeTable (UsrDat.UsrCod); TT_ShowTimeTable (UsrDat.UsrCod);
Box_EndBox (); Box_EndBox ();
fprintf (Gbl.F.Out,"</div>"); fprintf (Gbl.F.Out,"</div>");
@ -1784,9 +1777,7 @@ static void Rec_ShowCrsRecord (Rec_CourseRecordViewType_t TypeOfView,
/***** Start box and table *****/ /***** Start box and table *****/
sprintf (StrRecordWidth,"%upx",Rec_RECORD_WIDTH); sprintf (StrRecordWidth,"%upx",Rec_RECORD_WIDTH);
Box_StartBoxTable (StrRecordWidth,NULL,NULL, Box_StartBoxTable (StrRecordWidth,NULL,NULL,
Rec_RecordHelp[TypeOfView], Rec_RecordHelp[TypeOfView],Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -2328,9 +2319,7 @@ void Rec_ShowSharedUsrRecord (Rec_SharedRecordViewType_t TypeOfView,
Box_StartBoxTable (StrRecordWidth,NULL, Box_StartBoxTable (StrRecordWidth,NULL,
TypeOfView == Rec_SHA_OTHER_NEW_USR_FORM ? NULL : // New user ==> don't put icons TypeOfView == Rec_SHA_OTHER_NEW_USR_FORM ? NULL : // New user ==> don't put icons
Rec_PutIconsCommands, Rec_PutIconsCommands,
Rec_RecordHelp[TypeOfView], Rec_RecordHelp[TypeOfView],Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Institution and user's photo *****/ /***** Institution and user's photo *****/
fprintf (Gbl.F.Out,"<tr>"); fprintf (Gbl.F.Out,"<tr>");
@ -4005,9 +3994,7 @@ void Rec_ShowFormMyInsCtrDpt (void)
Box_StartBoxTable ("800px",IAmATeacher ? Txt_Institution_centre_and_department : Box_StartBoxTable ("800px",IAmATeacher ? Txt_Institution_centre_and_department :
Txt_Institution, Txt_Institution,
NULL, NULL,
Hlp_PROFILE_Institution, Hlp_PROFILE_Institution,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Country *****/ /***** Country *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"

View File

@ -157,8 +157,7 @@ void Rep_ReqMyUsageReport (void)
/***** Start box *****/ /***** Start box *****/
sprintf (Gbl.Title,Txt_Report_of_use_of_PLATFORM,Cfg_PLATFORM_SHORT_NAME); sprintf (Gbl.Title,Txt_Report_of_use_of_PLATFORM,Cfg_PLATFORM_SHORT_NAME);
Box_StartBox (NULL,Gbl.Title,NULL, Box_StartBox (NULL,Gbl.Title,NULL,
Hlp_STATS_Report, Hlp_STATS_Report,Box_NOT_CLOSABLE);
false); // Not closable
/***** Header *****/ /***** Header *****/
Req_TitleReport (NULL); // NULL means do not write date Req_TitleReport (NULL); // NULL means do not write date
@ -263,8 +262,7 @@ static void Rep_PutLinkToMyUsageReport (struct Rep_Report *Report)
/***** Start box *****/ /***** Start box *****/
sprintf (Gbl.Title,Txt_Report_of_use_of_PLATFORM,Cfg_PLATFORM_SHORT_NAME); sprintf (Gbl.Title,Txt_Report_of_use_of_PLATFORM,Cfg_PLATFORM_SHORT_NAME);
Box_StartBox (NULL,Gbl.Title,NULL, Box_StartBox (NULL,Gbl.Title,NULL,
Hlp_STATS_Report, Hlp_STATS_Report,Box_NOT_CLOSABLE);
false); // Not closable
/***** Header *****/ /***** Header *****/
Req_TitleReport (&Report->CurrentTimeUTC); Req_TitleReport (&Report->CurrentTimeUTC);

View File

@ -238,8 +238,7 @@ static void Sch_PutFormToSearchWithWhatToSearchAndScope (Act_Action_t Action,Sco
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\">"); fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\">");
Act_FormStart (Action); Act_FormStart (Action);
Box_StartBox (NULL,Txt_Search,NULL, Box_StartBox (NULL,Txt_Search,NULL,
Hlp_Search, Hlp_Search,Box_NOT_CLOSABLE);
false); // Not closable
/***** Scope (whole platform, current country, current institution, /***** Scope (whole platform, current country, current institution,
current centre, current degree or current course) *****/ current centre, current degree or current course) *****/

View File

@ -923,8 +923,7 @@ static void Soc_ShowTimeline (const char *Query,const char *Title,
/***** Start box *****/ /***** Start box *****/
Box_StartBox (Soc_WIDTH_TIMELINE,Title,Soc_PutIconsTimeline, Box_StartBox (Soc_WIDTH_TIMELINE,Title,Soc_PutIconsTimeline,
Hlp_SOCIAL_Timeline, Hlp_SOCIAL_Timeline,Box_NOT_CLOSABLE);
false); // Not closable
/***** Put form to select users whom public activity is displayed *****/ /***** Put form to select users whom public activity is displayed *****/
if (GlobalTimeline) if (GlobalTimeline)
@ -1277,8 +1276,7 @@ static void Soc_WriteSocialNote (const struct SocialNote *SocNot,
if (ShowNoteAlone) if (ShowNoteAlone)
{ {
Box_StartBox (Soc_WIDTH_TIMELINE,NULL,NULL, Box_StartBox (Soc_WIDTH_TIMELINE,NULL,NULL,
NULL, NULL,Box_CLOSABLE);
true); // Closable
fprintf (Gbl.F.Out,"<ul class=\"LIST_LEFT\">"); fprintf (Gbl.F.Out,"<ul class=\"LIST_LEFT\">");
} }
@ -2533,8 +2531,7 @@ static void Soc_WriteSocialComment (struct SocialComment *SocCom,
if (ShowCommentAlone) if (ShowCommentAlone)
{ {
Box_StartBox (Soc_WIDTH_TIMELINE,NULL,NULL, Box_StartBox (Soc_WIDTH_TIMELINE,NULL,NULL,
NULL, NULL,Box_NOT_CLOSABLE);
false); // Not closable
/***** Write sharer/commenter if distinct to author *****/ /***** Write sharer/commenter if distinct to author *****/
Soc_WriteTopMessage (TopMessage,UsrCod); Soc_WriteTopMessage (TopMessage,UsrCod);

View File

@ -477,8 +477,7 @@ void Sta_AskShowCrsHits (void)
sprintf (Gbl.Title,Txt_Statistics_of_visits_to_the_course_X, sprintf (Gbl.Title,Txt_Statistics_of_visits_to_the_course_X,
Gbl.CurrentCrs.Crs.ShrtName); Gbl.CurrentCrs.Crs.ShrtName);
Box_StartBox (NULL,Gbl.Title,NULL, Box_StartBox (NULL,Gbl.Title,NULL,
Hlp_STATS_Visits_visits_to_course, Hlp_STATS_Visits_visits_to_course,Box_NOT_CLOSABLE);
false); // Not closable
/***** Show form to select the groups *****/ /***** Show form to select the groups *****/
Grp_ShowFormToSelectSeveralGroups (ActReqAccCrs); Grp_ShowFormToSelectSeveralGroups (ActReqAccCrs);
@ -675,9 +674,7 @@ void Sta_AskShowGblHits (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_Statistics_of_all_visits,NULL, Box_StartBoxTable (NULL,Txt_Statistics_of_all_visits,NULL,
Hlp_STATS_Visits_global_visits, Hlp_STATS_Visits_global_visits,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Start and end dates for the search *****/ /***** Start and end dates for the search *****/
Dat_PutFormStartEndClientLocalDateTimesWithYesterdayToday (Gbl.Action.Act == ActReqAccGbl); Dat_PutFormStartEndClientLocalDateTimesWithYesterdayToday (Gbl.Action.Act == ActReqAccGbl);
@ -1471,12 +1468,10 @@ static void Sta_ShowHits (Sta_GlobalOrCourseAccesses_t GlobalOrCourse)
/***** Put the table with the clicks *****/ /***** Put the table with the clicks *****/
if (Gbl.Stat.ClicksGroupedBy == Sta_CLICKS_CRS_DETAILED_LIST) if (Gbl.Stat.ClicksGroupedBy == Sta_CLICKS_CRS_DETAILED_LIST)
Box_StartBox ("100%",Txt_List_of_detailed_clicks,NULL, Box_StartBox ("100%",Txt_List_of_detailed_clicks,NULL,
NULL, NULL,Box_NOT_CLOSABLE);
false); // Not closable
else else
Box_StartBox (NULL,Txt_STAT_TYPE_COUNT_CAPS[Gbl.Stat.CountType],NULL, Box_StartBox (NULL,Txt_STAT_TYPE_COUNT_CAPS[Gbl.Stat.CountType],NULL,
NULL, NULL,Box_NOT_CLOSABLE);
false); // Not closable
fprintf (Gbl.F.Out,"<table"); fprintf (Gbl.F.Out,"<table");
if (Sta_CellPadding[Gbl.Stat.ClicksGroupedBy]) if (Sta_CellPadding[Gbl.Stat.ClicksGroupedBy])
@ -3919,8 +3914,7 @@ void Sta_ReqShowFigures (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Figures,NULL, Box_StartBox (NULL,Txt_Figures,NULL,
Hlp_STATS_Figures, Hlp_STATS_Figures,Box_NOT_CLOSABLE);
false); // Not closable
/***** Compute stats for anywhere, degree or course? *****/ /***** Compute stats for anywhere, degree or course? *****/
fprintf (Gbl.F.Out,"<label class=\"%s\">%s:&nbsp;", fprintf (Gbl.F.Out,"<label class=\"%s\">%s:&nbsp;",
@ -4084,9 +4078,7 @@ static void Sta_GetAndShowUsersStats (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_USERS],NULL, Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_USERS],NULL,
Hlp_STATS_Figures_users, Hlp_STATS_Figures_users,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -4219,9 +4211,7 @@ static void Sta_GetAndShowUsersRanking (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_USERS_RANKING],NULL, Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_USERS_RANKING],NULL,
Hlp_STATS_Figures_ranking, Hlp_STATS_Figures_ranking,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write heading *****/ /***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -4289,9 +4279,7 @@ static void Sta_GetAndShowHierarchyStats (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_HIERARCHY],NULL, Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_HIERARCHY],NULL,
Hlp_STATS_Figures_hierarchy, Hlp_STATS_Figures_hierarchy,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
Sta_WriteHeadDegsCrssInSWAD (); Sta_WriteHeadDegsCrssInSWAD ();
Sta_GetAndShowNumCtysInSWAD (); Sta_GetAndShowNumCtysInSWAD ();
@ -4982,8 +4970,7 @@ static void Sta_GetAndShowInstitutionsStats (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Institutions,NULL, Box_StartBox (NULL,Txt_Institutions,NULL,
Hlp_STATS_Figures_institutions, Hlp_STATS_Figures_institutions,Box_NOT_CLOSABLE);
false); // Not closable
/***** Form to select type of list used to display degree photos *****/ /***** Form to select type of list used to display degree photos *****/
Usr_GetAndUpdatePrefsAboutUsrList (); Usr_GetAndUpdatePrefsAboutUsrList ();
@ -5020,9 +5007,7 @@ static void Sta_GetAndShowInssOrderedByNumCtrs (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable ("100%",Txt_Institutions_by_number_of_centres,NULL, Box_StartBoxTable ("100%",Txt_Institutions_by_number_of_centres,NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Get institutions ordered by number of centres *****/ /***** Get institutions ordered by number of centres *****/
switch (Gbl.Scope.Current) switch (Gbl.Scope.Current)
@ -5075,9 +5060,7 @@ static void Sta_GetAndShowInssOrderedByNumDegs (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable ("100%",Txt_Institutions_by_number_of_degrees,NULL, Box_StartBoxTable ("100%",Txt_Institutions_by_number_of_degrees,NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Get institutions ordered by number of degrees *****/ /***** Get institutions ordered by number of degrees *****/
switch (Gbl.Scope.Current) switch (Gbl.Scope.Current)
@ -5133,9 +5116,7 @@ static void Sta_GetAndShowInssOrderedByNumCrss (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable ("100%",Txt_Institutions_by_number_of_courses,NULL, Box_StartBoxTable ("100%",Txt_Institutions_by_number_of_courses,NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Get institutions ordered by number of courses *****/ /***** Get institutions ordered by number of courses *****/
switch (Gbl.Scope.Current) switch (Gbl.Scope.Current)
@ -5194,9 +5175,7 @@ static void Sta_GetAndShowInssOrderedByNumUsrsInCrss (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable ("100%",Txt_Institutions_by_number_of_users_in_courses,NULL, Box_StartBoxTable ("100%",Txt_Institutions_by_number_of_users_in_courses,NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Get institutions ordered by number of users in courses *****/ /***** Get institutions ordered by number of users in courses *****/
switch (Gbl.Scope.Current) switch (Gbl.Scope.Current)
@ -5260,9 +5239,7 @@ static void Sta_GetAndShowInssOrderedByNumUsrsWhoClaimToBelongToThem (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable ("100%",Txt_Institutions_by_number_of_users_who_claim_to_belong_to_them, Box_StartBoxTable ("100%",Txt_Institutions_by_number_of_users_who_claim_to_belong_to_them,
NULL, NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Get institutions ordered by number of users who claim to belong to them *****/ /***** Get institutions ordered by number of users who claim to belong to them *****/
switch (Gbl.Scope.Current) switch (Gbl.Scope.Current)
@ -5492,9 +5469,7 @@ static void Sta_GetAndShowFileBrowsersStats (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_FOLDERS_AND_FILES],NULL, Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_FOLDERS_AND_FILES],NULL,
Hlp_STATS_Figures_folders_and_files, Hlp_STATS_Figures_folders_and_files,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write table heading *****/ /***** Write table heading *****/
Sta_WriteStatsExpTreesTableHead (); Sta_WriteStatsExpTreesTableHead ();
@ -6570,9 +6545,7 @@ static void Sta_GetAndShowOERsStats (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_OER],NULL, Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_OER],NULL,
Hlp_STATS_Figures_open_educational_resources_oer, Hlp_STATS_Figures_open_educational_resources_oer,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write table heading *****/ /***** Write table heading *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -6762,9 +6735,7 @@ static void Sta_GetAndShowAssignmentsStats (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_ASSIGNMENTS],NULL, Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_ASSIGNMENTS],NULL,
Hlp_STATS_Figures_assignments, Hlp_STATS_Figures_assignments,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write table heading *****/ /***** Write table heading *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -6834,9 +6805,7 @@ static void Sta_GetAndShowTestsStats (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_TESTS],NULL, Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_TESTS],NULL,
Hlp_STATS_Figures_tests, Hlp_STATS_Figures_tests,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write table heading *****/ /***** Write table heading *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -7006,9 +6975,7 @@ static void Sta_GetAndShowSocialActivityStats (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_SOCIAL_ACTIVITY],NULL, Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_SOCIAL_ACTIVITY],NULL,
Hlp_STATS_Figures_timeline, Hlp_STATS_Figures_timeline,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Heading row *****/ /***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -7296,9 +7263,7 @@ static void Sta_GetAndShowFollowStats (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_FOLLOW],NULL, Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_FOLLOW],NULL,
Hlp_STATS_Figures_followed_followers, Hlp_STATS_Figures_followed_followers,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Heading row *****/ /***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -7559,9 +7524,7 @@ static void Sta_GetAndShowForumStats (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_FORUMS],NULL, Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_FORUMS],NULL,
Hlp_STATS_Figures_forums, Hlp_STATS_Figures_forums,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write table heading *****/ /***** Write table heading *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -7918,9 +7881,7 @@ static void Sta_GetAndShowNumUsrsPerNotifyEvent (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_NOTIFY_EVENTS],NULL, Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_NOTIFY_EVENTS],NULL,
Hlp_STATS_Figures_notifications, Hlp_STATS_Figures_notifications,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Heading row *****/ /***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -8265,9 +8226,7 @@ static void Sta_GetAndShowNoticesStats (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_NOTICES],NULL, Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_NOTICES],NULL,
Hlp_STATS_Figures_notices, Hlp_STATS_Figures_notices,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write table heading *****/ /***** Write table heading *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -8350,9 +8309,7 @@ static void Sta_GetAndShowMsgsStats (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_MESSAGES],NULL, Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_MESSAGES],NULL,
Hlp_STATS_Figures_messages, Hlp_STATS_Figures_messages,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write table heading *****/ /***** Write table heading *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -8457,9 +8414,7 @@ static void Sta_GetAndShowSurveysStats (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_SURVEYS],NULL, Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_SURVEYS],NULL,
Hlp_STATS_Figures_surveys, Hlp_STATS_Figures_surveys,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Write table heading *****/ /***** Write table heading *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -8526,9 +8481,7 @@ static void Sta_GetAndShowNumUsrsPerPrivacy (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_PRIVACY],NULL, Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_PRIVACY],NULL,
Hlp_STATS_Figures_privacy, Hlp_STATS_Figures_privacy,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Privacy for photo *****/ /***** Privacy for photo *****/
Sta_GetAndShowNumUsrsPerPrivacyForAnObject (Txt_Photo,"PhotoVisibility"); Sta_GetAndShowNumUsrsPerPrivacyForAnObject (Txt_Photo,"PhotoVisibility");
@ -8696,9 +8649,7 @@ static void Sta_GetAndShowNumUsrsPerLanguage (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_LANGUAGES],NULL, Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_LANGUAGES],NULL,
Hlp_STATS_Figures_language, Hlp_STATS_Figures_language,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Heading row *****/ /***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -8839,9 +8790,7 @@ static void Sta_GetAndShowNumUsrsPerFirstDayOfWeek (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_FIRST_DAY_OF_WEEK],NULL, Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_FIRST_DAY_OF_WEEK],NULL,
Hlp_STATS_Figures_calendar, Hlp_STATS_Figures_calendar,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Heading row *****/ /***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -8981,9 +8930,7 @@ static void Sta_GetAndShowNumUsrsPerDateFormat (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_DATE_FORMAT],NULL, Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_DATE_FORMAT],NULL,
Hlp_STATS_Figures_dates, Hlp_STATS_Figures_dates,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Heading row *****/ /***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -9121,9 +9068,7 @@ static void Sta_GetAndShowNumUsrsPerIconSet (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_ICON_SETS],NULL, Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_ICON_SETS],NULL,
Hlp_STATS_Figures_icons, Hlp_STATS_Figures_icons,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Heading row *****/ /***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -9266,9 +9211,7 @@ static void Sta_GetAndShowNumUsrsPerMenu (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_MENUS],NULL, Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_MENUS],NULL,
Hlp_STATS_Figures_menu, Hlp_STATS_Figures_menu,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Heading row *****/ /***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -9408,9 +9351,7 @@ static void Sta_GetAndShowNumUsrsPerTheme (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_THEMES],NULL, Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_THEMES],NULL,
Hlp_STATS_Figures_theme, Hlp_STATS_Figures_theme,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Heading row *****/ /***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -9549,9 +9490,7 @@ static void Sta_GetAndShowNumUsrsPerSideColumns (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_SIDE_COLUMNS],NULL, Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_SIDE_COLUMNS],NULL,
Hlp_STATS_Figures_columns, Hlp_STATS_Figures_columns,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Heading row *****/ /***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"

View File

@ -215,8 +215,7 @@ static void Svy_ListAllSurveys (struct SurveyQuestion *SvyQst)
/***** Start box *****/ /***** Start box *****/
Box_StartBox ("100%",Txt_Surveys,Svy_PutIconsListSurveys, Box_StartBox ("100%",Txt_Surveys,Svy_PutIconsListSurveys,
Hlp_ASSESSMENT_Surveys, Hlp_ASSESSMENT_Surveys,Box_NOT_CLOSABLE);
false); // Not closable
/***** Select whether show only my groups or all groups *****/ /***** Select whether show only my groups or all groups *****/
if (Gbl.CurrentCrs.Grps.NumGrps) if (Gbl.CurrentCrs.Grps.NumGrps)
@ -435,8 +434,7 @@ static void Svy_ShowOneSurvey (long SvyCod,struct SurveyQuestion *SvyQst,
/***** Start box *****/ /***** Start box *****/
if (ShowOnlyThisSvyComplete) if (ShowOnlyThisSvyComplete)
Box_StartBox (NULL,Txt_Survey,NULL, Box_StartBox (NULL,Txt_Survey,NULL,
Hlp_ASSESSMENT_Surveys, Hlp_ASSESSMENT_Surveys,Box_NOT_CLOSABLE);
false); // Not closable
/***** Get data of this survey *****/ /***** Get data of this survey *****/
Svy.SvyCod = SvyCod; Svy.SvyCod = SvyCod;
@ -1820,14 +1818,10 @@ void Svy_RequestCreatOrEditSvy (void)
/***** Start box and table *****/ /***** Start box and table *****/
if (ItsANewSurvey) if (ItsANewSurvey)
Box_StartBoxTable (NULL,Txt_New_survey,NULL, Box_StartBoxTable (NULL,Txt_New_survey,NULL,
Hlp_ASSESSMENT_Surveys_new_survey, Hlp_ASSESSMENT_Surveys_new_survey,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
else else
Box_StartBoxTable (NULL,Txt_Edit_survey,NULL, Box_StartBoxTable (NULL,Txt_Edit_survey,NULL,
Hlp_ASSESSMENT_Surveys_edit_survey, Hlp_ASSESSMENT_Surveys_edit_survey,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Scope of the survey *****/ /***** Scope of the survey *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -2024,9 +2018,7 @@ static void Svy_ShowLstGrpsToEditSurvey (long SvyCod)
The_ClassForm[Gbl.Prefs.Theme], The_ClassForm[Gbl.Prefs.Theme],
Txt_Groups); Txt_Groups);
Box_StartBoxTable ("95%",NULL,NULL, Box_StartBoxTable ("95%",NULL,NULL,
NULL, NULL,Box_NOT_CLOSABLE,0);
false, // Not closable
0);
/***** First row: checkbox to select the whole course *****/ /***** First row: checkbox to select the whole course *****/
fprintf (Gbl.F.Out,"<tr>" fprintf (Gbl.F.Out,"<tr>"
@ -2663,13 +2655,11 @@ static void Svy_ShowFormEditOneQst (long SvyCod,struct SurveyQuestion *SvyQst,
sprintf (Gbl.Title,"%s %u", sprintf (Gbl.Title,"%s %u",
Txt_Question,SvyQst->QstInd + 1); // Question index may be 0, 1, 2, 3,... Txt_Question,SvyQst->QstInd + 1); // Question index may be 0, 1, 2, 3,...
Box_StartBox (NULL,Gbl.Title,Svy_PutIconToRemoveOneQst, Box_StartBox (NULL,Gbl.Title,Svy_PutIconToRemoveOneQst,
NULL, NULL,Box_NOT_CLOSABLE);
false); // Not closable
} }
else else
Box_StartBox (NULL,Txt_New_question,NULL, Box_StartBox (NULL,Txt_New_question,NULL,
Hlp_ASSESSMENT_Surveys_questions, Hlp_ASSESSMENT_Surveys_questions,Box_NOT_CLOSABLE);
false); // Not closable
/***** Start form *****/ /***** Start form *****/
Act_FormStart (ActRcvSvyQst); Act_FormStart (ActRcvSvyQst);
@ -3186,8 +3176,7 @@ static void Svy_ListSvyQuestions (struct Survey *Svy,struct SurveyQuestion *SvyQ
Gbl.Svys.SvyCodToEdit = Svy->SvyCod; Gbl.Svys.SvyCodToEdit = Svy->SvyCod;
Box_StartBox (NULL,Txt_Questions,Svy->Status.ICanEdit ? Svy_PutIconToAddNewQuestion : Box_StartBox (NULL,Txt_Questions,Svy->Status.ICanEdit ? Svy_PutIconToAddNewQuestion :
NULL, NULL,
Hlp_ASSESSMENT_Surveys_questions, Hlp_ASSESSMENT_Surveys_questions,Box_NOT_CLOSABLE);
false); // Not closable
if (NumQsts) if (NumQsts)
{ {

View File

@ -249,8 +249,7 @@ bool Syl_CheckAndEditSyllabus (void)
NULL, NULL,
Gbl.Syllabus.EditionIsActive ? Hlp_COURSE_Syllabus_edit : Gbl.Syllabus.EditionIsActive ? Hlp_COURSE_Syllabus_edit :
Hlp_COURSE_Syllabus, Hlp_COURSE_Syllabus,
false, // Not closable Box_NOT_CLOSABLE,1);
1);
/***** Write the current syllabus *****/ /***** Write the current syllabus *****/
Syl_ShowSyllabus (); Syl_ShowSyllabus ();

View File

@ -318,8 +318,7 @@ void Tst_ShowFormAskTst (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Take_a_test,Tst_PutIconsTests, Box_StartBox (NULL,Txt_Take_a_test,Tst_PutIconsTests,
Hlp_ASSESSMENT_Tests, Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
false); // Not closable
/***** Get tags *****/ /***** Get tags *****/
if ((NumRows = Tst_GetEnabledTagsFromThisCrs (&mysql_res)) != 0) if ((NumRows = Tst_GetEnabledTagsFromThisCrs (&mysql_res)) != 0)
@ -437,8 +436,7 @@ void Tst_ShowNewTest (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Test,NULL, Box_StartBox (NULL,Txt_Test,NULL,
Hlp_ASSESSMENT_Tests, Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
false); // Not closable
Lay_WriteHeaderClassPhoto (false,false, Lay_WriteHeaderClassPhoto (false,false,
Gbl.CurrentIns.Ins.InsCod, Gbl.CurrentIns.Ins.InsCod,
Gbl.CurrentDeg.Deg.DegCod, Gbl.CurrentDeg.Deg.DegCod,
@ -537,8 +535,7 @@ void Tst_AssessTest (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Test_result,NULL, Box_StartBox (NULL,Txt_Test_result,NULL,
Hlp_ASSESSMENT_Tests, Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
false); // Not closable
Lay_WriteHeaderClassPhoto (false,false, Lay_WriteHeaderClassPhoto (false,false,
Gbl.CurrentIns.Ins.InsCod, Gbl.CurrentIns.Ins.InsCod,
Gbl.CurrentDeg.Deg.DegCod, Gbl.CurrentDeg.Deg.DegCod,
@ -1282,8 +1279,7 @@ void Tst_ShowFormAskEditTsts (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_List_edit_questions,Tst_PutIconsTests, Box_StartBox (NULL,Txt_List_edit_questions,Tst_PutIconsTests,
Hlp_ASSESSMENT_Tests, Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
false); // Not closable
/***** Get tags already present in the table of questions *****/ /***** Get tags already present in the table of questions *****/
if ((NumRows = Tst_GetAllTagsFromCurrentCrs (&mysql_res))) if ((NumRows = Tst_GetAllTagsFromCurrentCrs (&mysql_res)))
@ -1739,9 +1735,7 @@ static void Tst_ShowFormEditTags (void)
{ {
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_Tags,NULL, Box_StartBoxTable (NULL,Txt_Tags,NULL,
Hlp_ASSESSMENT_Tests, Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Show tags *****/ /***** Show tags *****/
for (NumRow = 0; for (NumRow = 0;
@ -1854,8 +1848,7 @@ static void Tst_ShowFormConfigTst (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Configure_tests,Tst_PutIconsTests, Box_StartBox (NULL,Txt_Configure_tests,Tst_PutIconsTests,
Hlp_ASSESSMENT_Tests, Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
false); // Not closable
/***** Start form *****/ /***** Start form *****/
Act_FormStart (ActRcvCfgTst); Act_FormStart (ActRcvCfgTst);
@ -2735,8 +2728,7 @@ static void Tst_ListOneOrMoreQuestionsToEdit (unsigned long NumRows,MYSQL_RES *m
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Questions,Tst_PutIconsTests, Box_StartBox (NULL,Txt_Questions,Tst_PutIconsTests,
Hlp_ASSESSMENT_Tests, Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
false); // Not closable
/***** Write the heading *****/ /***** Write the heading *****/
Tbl_StartTableWideMargin (2); Tbl_StartTableWideMargin (2);
@ -4527,13 +4519,11 @@ static void Tst_PutFormEditOneQst (char Stem[Cns_MAX_BYTES_TEXT + 1],
{ {
sprintf (Title,Txt_Question_code_X,Gbl.Test.QstCod); sprintf (Title,Txt_Question_code_X,Gbl.Test.QstCod);
Box_StartBox (NULL,Title,Tst_PutIconToRemoveOneQst, Box_StartBox (NULL,Title,Tst_PutIconToRemoveOneQst,
Hlp_ASSESSMENT_Tests, Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
false); // Not closable
} }
else else
Box_StartBox (NULL,Txt_New_question,NULL, Box_StartBox (NULL,Txt_New_question,NULL,
Hlp_ASSESSMENT_Tests, Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
false); // Not closable
/***** Start form *****/ /***** Start form *****/
Act_FormStart (ActRcvTstQst); Act_FormStart (ActRcvTstQst);
@ -6993,8 +6983,7 @@ void Tst_SelUsrsToSeeUsrsTestResults (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Test_results,NULL, Box_StartBox (NULL,Txt_Test_results,NULL,
Hlp_ASSESSMENT_Tests_test_results, Hlp_ASSESSMENT_Tests_test_results,Box_NOT_CLOSABLE);
false); // Not closable
/***** Show form to select the groups *****/ /***** Show form to select the groups *****/
Grp_ShowFormToSelectSeveralGroups (ActReqSeeUsrTstRes); Grp_ShowFormToSelectSeveralGroups (ActReqSeeUsrTstRes);
@ -7079,9 +7068,7 @@ void Tst_SelDatesToSeeMyTestResults (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_Test_results,NULL, Box_StartBoxTable (NULL,Txt_Test_results,NULL,
Hlp_ASSESSMENT_Tests_test_results, Hlp_ASSESSMENT_Tests_test_results,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
Dat_PutFormStartEndClientLocalDateTimesWithYesterdayToday (false); Dat_PutFormStartEndClientLocalDateTimesWithYesterdayToday (false);
/***** End table, send button and end box *****/ /***** End table, send button and end box *****/
@ -7154,9 +7141,7 @@ void Tst_ShowUsrsTestResults (void)
{ {
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_Test_results,NULL, Box_StartBoxTable (NULL,Txt_Test_results,NULL,
Hlp_ASSESSMENT_Tests_test_results, Hlp_ASSESSMENT_Tests_test_results,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Header of the table with the list of users *****/ /***** Header of the table with the list of users *****/
Tst_ShowHeaderTestResults (); Tst_ShowHeaderTestResults ();
@ -7251,9 +7236,7 @@ void Tst_ShowMyTestResults (void)
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_Test_results,NULL, Box_StartBoxTable (NULL,Txt_Test_results,NULL,
Hlp_ASSESSMENT_Tests_test_results, Hlp_ASSESSMENT_Tests_test_results,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Header of the table with the list of users *****/ /***** Header of the table with the list of users *****/
Tst_ShowHeaderTestResults (); Tst_ShowHeaderTestResults ();
@ -7721,8 +7704,7 @@ void Tst_ShowOneTestResult (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Test_result,NULL, Box_StartBox (NULL,Txt_Test_result,NULL,
Hlp_ASSESSMENT_Tests_test_results, Hlp_ASSESSMENT_Tests_test_results,Box_NOT_CLOSABLE);
false); // Not closable
Lay_WriteHeaderClassPhoto (false,false, Lay_WriteHeaderClassPhoto (false,false,
Gbl.CurrentIns.Ins.InsCod, Gbl.CurrentIns.Ins.InsCod,
Gbl.CurrentDeg.Deg.DegCod, Gbl.CurrentDeg.Deg.DegCod,

View File

@ -138,8 +138,7 @@ void TsI_ShowFormImportQstsFromXML (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Import_questions,NULL, Box_StartBox (NULL,Txt_Import_questions,NULL,
Hlp_ASSESSMENT_Tests, Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
false); // Not closable
/***** Write help message *****/ /***** Write help message *****/
Ale_ShowAlert (Ale_INFO,Txt_You_need_an_XML_file_containing_a_list_of_questions); Ale_ShowAlert (Ale_INFO,Txt_You_need_an_XML_file_containing_a_list_of_questions);
@ -511,8 +510,7 @@ static void TsI_ImportQuestionsFromXMLBuffer (const char *XMLBuffer)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Imported_questions,NULL, Box_StartBox (NULL,Txt_Imported_questions,NULL,
Hlp_ASSESSMENT_Tests, Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
false); // Not closable
/***** Print XML tree *****/ /***** Print XML tree *****/
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\"" fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\""

View File

@ -241,8 +241,7 @@ void The_PutIconsToSelectTheme (void)
The_Theme_t Theme; The_Theme_t Theme;
Box_StartBox (NULL,Txt_Theme_SKIN,The_PutIconsTheme, Box_StartBox (NULL,Txt_Theme_SKIN,The_PutIconsTheme,
Hlp_PROFILE_Preferences_theme, Hlp_PROFILE_Preferences_theme,Box_NOT_CLOSABLE);
false); // Not closable
fprintf (Gbl.F.Out,"<div class=\"PREF_CONTAINER\">"); fprintf (Gbl.F.Out,"<div class=\"PREF_CONTAINER\">");
for (Theme = (The_Theme_t) 0; for (Theme = (The_Theme_t) 0;
Theme < The_NUM_THEMES; Theme < The_NUM_THEMES;

View File

@ -356,8 +356,7 @@ void TT_ShowClassTimeTable (void)
Gbl.TimeTable.ContextualIcons.PutIconEditOfficeHours || Gbl.TimeTable.ContextualIcons.PutIconEditOfficeHours ||
Gbl.TimeTable.ContextualIcons.PutIconPrint) ? TT_PutContextualIcons : Gbl.TimeTable.ContextualIcons.PutIconPrint) ? TT_PutContextualIcons :
NULL, NULL,
Help[Gbl.TimeTable.Type], Help[Gbl.TimeTable.Type],Box_NOT_CLOSABLE);
false); // Not closable
/***** Start time table drawing *****/ /***** Start time table drawing *****/
if (Gbl.TimeTable.Type == TT_COURSE_TIMETABLE) if (Gbl.TimeTable.Type == TT_COURSE_TIMETABLE)
@ -434,8 +433,7 @@ void TT_EditCrsTimeTable (void)
/***** Editable time table *****/ /***** Editable time table *****/
Gbl.TimeTable.Type = TT_COURSE_TIMETABLE; Gbl.TimeTable.Type = TT_COURSE_TIMETABLE;
Box_StartBox ("100%",Txt_TIMETABLE_TYPES[Gbl.TimeTable.Type],TT_PutIconToViewCrsTT, Box_StartBox ("100%",Txt_TIMETABLE_TYPES[Gbl.TimeTable.Type],TT_PutIconToViewCrsTT,
Hlp_COURSE_Timetable, Hlp_COURSE_Timetable,Box_NOT_CLOSABLE);
false); // Not closable
TT_ShowTimeTable (Gbl.Usrs.Me.UsrDat.UsrCod); TT_ShowTimeTable (Gbl.Usrs.Me.UsrDat.UsrCod);
Box_EndBox (); Box_EndBox ();
} }
@ -452,8 +450,7 @@ void TT_EditMyTutTimeTable (void)
/***** Time table *****/ /***** Time table *****/
Gbl.TimeTable.Type = TT_TUTORING_TIMETABLE; Gbl.TimeTable.Type = TT_TUTORING_TIMETABLE;
Box_StartBox ("100%",Txt_TIMETABLE_TYPES[Gbl.TimeTable.Type],TT_PutIconToViewMyTT, Box_StartBox ("100%",Txt_TIMETABLE_TYPES[Gbl.TimeTable.Type],TT_PutIconToViewMyTT,
Hlp_PROFILE_Timetable, Hlp_PROFILE_Timetable,Box_NOT_CLOSABLE);
false); // Not closable
TT_ShowTimeTable (Gbl.Usrs.Me.UsrDat.UsrCod); TT_ShowTimeTable (Gbl.Usrs.Me.UsrDat.UsrCod);
Box_EndBox (); Box_EndBox ();
} }

View File

@ -2263,9 +2263,7 @@ void Usr_WriteFormLogin (Act_Action_t NextAction,void (*FuncParams) ())
/***** Start box and table *****/ /***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_Log_in,NULL, Box_StartBoxTable (NULL,Txt_Log_in,NULL,
Hlp_PROFILE_LogIn, Hlp_PROFILE_LogIn,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** User's ID/nickname *****/ /***** User's ID/nickname *****/
fprintf (Gbl.F.Out,"<div class=\"LEFT_MIDDLE\">" fprintf (Gbl.F.Out,"<div class=\"LEFT_MIDDLE\">"
@ -3156,8 +3154,7 @@ void Usr_ShowFormsLogoutAndRole (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_Role,NULL, Box_StartBox (NULL,Txt_Role,NULL,
Hlp_PROFILE_Session_role, Hlp_PROFILE_Session_role,Box_NOT_CLOSABLE);
false); // Not closable
/***** Put a form to change my role *****/ /***** Put a form to change my role *****/
if (Rol_GetNumAvailableRoles () == 1) if (Rol_GetNumAvailableRoles () == 1)
@ -6675,9 +6672,7 @@ unsigned Usr_ListUsrsFound (Rol_Role_t Role,
((NumUsrs == 1) ? Txt_ROLES_SINGUL_abc[Role][Sex] : ((NumUsrs == 1) ? Txt_ROLES_SINGUL_abc[Role][Sex] :
Txt_ROLES_PLURAL_abc[Role][Sex])); Txt_ROLES_PLURAL_abc[Role][Sex]));
Box_StartBoxTable (NULL,Gbl.Title,NULL, Box_StartBoxTable (NULL,Gbl.Title,NULL,
NULL, NULL,Box_NOT_CLOSABLE,2);
false, // Not closable
2);
/***** Heading row with column names *****/ /***** Heading row with column names *****/
Gbl.Usrs.Listing.WithPhotos = true; Gbl.Usrs.Listing.WithPhotos = true;
@ -6826,8 +6821,7 @@ void Usr_ListDataAdms (void)
/***** Start box with list of administrators *****/ /***** Start box with list of administrators *****/
Box_StartBox (NULL,Txt_ROLES_PLURAL_Abc[Rol_DEG_ADM][Usr_SEX_UNKNOWN],NULL, Box_StartBox (NULL,Txt_ROLES_PLURAL_Abc[Rol_DEG_ADM][Usr_SEX_UNKNOWN],NULL,
Hlp_USERS_Administrators, Hlp_USERS_Administrators,Box_NOT_CLOSABLE);
false); // Not closable
/***** Form to select scope *****/ /***** Form to select scope *****/
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\">"); fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\">");
@ -7302,8 +7296,7 @@ void Usr_SeeGuests (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_ROLES_PLURAL_Abc[Rol_GST][Usr_SEX_UNKNOWN],Usr_PutIconsListGsts, Box_StartBox (NULL,Txt_ROLES_PLURAL_Abc[Rol_GST][Usr_SEX_UNKNOWN],Usr_PutIconsListGsts,
Hlp_USERS_Guests, Hlp_USERS_Guests,Box_NOT_CLOSABLE);
false); // Not closable
/***** Form to select scope *****/ /***** Form to select scope *****/
if (Gbl.Usrs.Me.Role.Logged == Rol_SYS_ADM) if (Gbl.Usrs.Me.Role.Logged == Rol_SYS_ADM)
@ -7449,8 +7442,7 @@ void Usr_SeeStudents (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_ROLES_PLURAL_Abc[Rol_STD][Usr_SEX_UNKNOWN],Usr_PutIconsListStds, Box_StartBox (NULL,Txt_ROLES_PLURAL_Abc[Rol_STD][Usr_SEX_UNKNOWN],Usr_PutIconsListStds,
Hlp_USERS_Students, Hlp_USERS_Students,Box_NOT_CLOSABLE);
false); // Not closable
/***** Form to select scope *****/ /***** Form to select scope *****/
switch (Gbl.Usrs.Me.Role.Logged) switch (Gbl.Usrs.Me.Role.Logged)
@ -7635,8 +7627,7 @@ void Usr_SeeTeachers (void)
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Txt_ROLES_PLURAL_Abc[Rol_TCH][Usr_SEX_UNKNOWN],Usr_PutIconsListTchs, Box_StartBox (NULL,Txt_ROLES_PLURAL_Abc[Rol_TCH][Usr_SEX_UNKNOWN],Usr_PutIconsListTchs,
Hlp_USERS_Teachers, Hlp_USERS_Teachers,Box_NOT_CLOSABLE);
false); // Not closable
/***** Form to select scope *****/ /***** Form to select scope *****/
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\">"); fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\">");
@ -8808,8 +8799,7 @@ void Usr_PrintUsrQRCode (void)
{ {
/***** Start box *****/ /***** Start box *****/
Box_StartBox (NULL,Gbl.Usrs.Other.UsrDat.FullName,NULL, Box_StartBox (NULL,Gbl.Usrs.Other.UsrDat.FullName,NULL,
NULL, NULL,Box_NOT_CLOSABLE);
false); // Not closable
/***** Show QR code *****/ /***** Show QR code *****/
if (Gbl.Usrs.Other.UsrDat.Nickname[0]) if (Gbl.Usrs.Other.UsrDat.Nickname[0])