Version 16.242

This commit is contained in:
Antonio Cañas Vargas 2017-06-11 22:26:40 +02:00
parent 2c550544ec
commit 47e543e1a7
60 changed files with 770 additions and 774 deletions

View File

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

View File

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

View File

@ -145,8 +145,8 @@ static void Acc_ShowFormCheckIfIHaveAccount (const char *Title)
/***** Start frame *****/
Box_StartBox (NULL,Title,NULL,
Hlp_PROFILE_SignUp,
true); // Closable
Hlp_PROFILE_SignUp,
true); // Closable
/***** Help alert *****/
Ale_ShowAlert (Ale_INFO,Txt_If_you_think_you_may_have_been_registered_);
@ -216,12 +216,12 @@ void Acc_CheckIfEmptyAccountExists (void)
{
/***** Start frame and write message with number of accounts found *****/
Box_StartBoxTable (NULL,
(NumUsrs == 1) ? Txt_Do_you_think_you_are_this_user :
Txt_Do_you_think_you_are_one_of_these_users,
NULL,
NULL,
true, // Closable
5);
(NumUsrs == 1) ? Txt_Do_you_think_you_are_this_user :
Txt_Do_you_think_you_are_one_of_these_users,
NULL,
NULL,
true, // Closable
5);
/***** Initialize structure with user's data *****/
Usr_UsrDataConstructor (&UsrDat);
@ -348,9 +348,9 @@ static void Acc_ShowFormRequestNewAccountWithParams (const char *NewNicknameWith
/***** Form to enter some data of the new user *****/
Act_FormStart (ActCreUsrAcc);
Box_StartBoxTable (NULL,Txt_Create_account,NULL,
Hlp_PROFILE_SignUp,
false, // Not closable
2);
Hlp_PROFILE_SignUp,
false, // Not closable
2);
/***** Nickname *****/
if (NewNicknameWithoutArroba[0])
@ -413,8 +413,8 @@ void Acc_ShowFormGoToRequestNewAccount (void)
/***** Start frame *****/
sprintf (Gbl.Title,Txt_New_on_PLATFORM_Sign_up,Cfg_PLATFORM_SHORT_NAME);
Box_StartBox (NULL,Gbl.Title,NULL,
Hlp_PROFILE_SignUp,
false); // Not closable
Hlp_PROFILE_SignUp,
false); // Not closable
/***** Button to go to request the creation of a new account *****/
Act_FormStart (ActFrmMyAcc);
@ -474,9 +474,9 @@ void Acc_ShowFormChangeMyAccount (void)
/***** Start table *****/
Box_StartBoxTable (NULL,Txt_User_account,NULL,
Hlp_PROFILE_Account,
false, // Not closable
2);
Hlp_PROFILE_Account,
false, // Not closable
2);
/***** Nickname *****/
if (IMustFillNickname)

View File

@ -148,10 +148,9 @@ void Agd_ShowMyAgenda (void)
Agd_GetParams (Agd_MY_AGENDA);
/***** Start frame *****/
Box_StartBox ("100%",Txt_My_agenda,
Agd_PutIconsMyFullAgenda,
Hlp_PROFILE_Agenda,
false); // Not closable
Box_StartBox ("100%",Txt_My_agenda,Agd_PutIconsMyFullAgenda,
Hlp_PROFILE_Agenda,
false); // Not closable
/***** Put forms to choice which events to show *****/
Agd_ShowFormToSelPast__FutureEvents ();
@ -369,10 +368,10 @@ void Agd_ShowUsrAgenda (void)
sprintf (Gbl.Title,Txt_Public_agenda_USER,Gbl.Usrs.Other.UsrDat.FullName);
ItsMe = (Gbl.Usrs.Me.UsrDat.UsrCod == Gbl.Usrs.Other.UsrDat.UsrCod);
Box_StartBox ("100%",Gbl.Title,
ItsMe ? Agd_PutIconsMyPublicAgenda :
Agd_PutIconsOtherPublicAgenda,
Hlp_PROFILE_Agenda_public_agenda,
false); // Not closable
ItsMe ? Agd_PutIconsMyPublicAgenda :
Agd_PutIconsOtherPublicAgenda,
Hlp_PROFILE_Agenda_public_agenda,
false); // Not closable
/***** Show the current events in the user's agenda *****/
Agd_ShowEventsToday (Agd_ANOTHER_AGENDA_TODAY);
@ -413,10 +412,10 @@ void Agd_ShowOtherAgendaAfterLogIn (void)
sprintf (Gbl.Title,Txt_Public_agenda_USER,Gbl.Usrs.Other.UsrDat.FullName);
ItsMe = (Gbl.Usrs.Me.UsrDat.UsrCod == Gbl.Usrs.Other.UsrDat.UsrCod);
Box_StartBox ("100%",Gbl.Title,
ItsMe ? Agd_PutIconToViewEditMyFullAgenda :
Agd_PutIconsOtherPublicAgenda,
Hlp_PROFILE_Agenda_public_agenda,
false); // Not closable
ItsMe ? Agd_PutIconToViewEditMyFullAgenda :
Agd_PutIconsOtherPublicAgenda,
Hlp_PROFILE_Agenda_public_agenda,
false); // Not closable
/***** Show the current events in the user's agenda *****/
Agd_ShowEventsToday (Agd_ANOTHER_AGENDA_TODAY);
@ -535,16 +534,14 @@ static void Agd_ShowEventsToday (Agd_AgendaType_t AgendaType)
switch (AgendaType)
{
case Agd_MY_AGENDA_TODAY:
Box_StartBoxTableShadow (NULL,Txt_Today,
NULL,
Hlp_PROFILE_Agenda,
2);
Box_StartBoxTableShadow (NULL,Txt_Today,NULL,
Hlp_PROFILE_Agenda,
2);
break;
case Agd_ANOTHER_AGENDA_TODAY:
Box_StartBoxTableShadow (NULL,Txt_Today,
NULL,
Hlp_PROFILE_Agenda_public_agenda,
2);
Box_StartBoxTableShadow (NULL,Txt_Today,NULL,
Hlp_PROFILE_Agenda_public_agenda,
2);
break;
default:
break;
@ -1539,14 +1536,16 @@ void Agd_RequestCreatOrEditEvent (void)
Agd_PutCurrentParamsMyAgenda ();
/***** Table start *****/
Box_StartBoxTable (NULL,
ItsANewEvent ? Txt_New_event :
Txt_Edit_event,
NULL,
ItsANewEvent ? Hlp_PROFILE_Agenda_new_event :
Hlp_PROFILE_Agenda_edit_event,
false, // Not closable
2);
if (ItsANewEvent)
Box_StartBoxTable (NULL,Txt_New_event,NULL,
Hlp_PROFILE_Agenda_new_event,
false, // Not closable
2);
else
Box_StartBoxTable (NULL,Txt_Edit_event,NULL,
Hlp_PROFILE_Agenda_edit_event,
false, // Not closable
2);
/***** Event *****/
fprintf (Gbl.F.Out,"<tr>"
@ -1948,8 +1947,8 @@ void Agd_PrintAgdQRCode (void)
/***** Start frame *****/
sprintf (Gbl.Title,Txt_Where_s_USER,Gbl.Usrs.Me.UsrDat.FullName);
Box_StartBox (NULL,Gbl.Title,NULL,
NULL,
false); // Not closable
NULL,
false); // Not closable
/***** Print QR code ****/
QR_PrintQRCode ();

View File

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

View File

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

View File

@ -224,11 +224,10 @@ static void Att_ShowAllAttEvents (void)
&Pagination);
/***** Start frame *****/
Box_StartBox ("100%",Txt_Events,
ICanEdit ? Att_PutIconToCreateNewAttEvent :
NULL,
Hlp_USERS_Attendance,
false); // Not closable
Box_StartBox ("100%",Txt_Events,ICanEdit ? Att_PutIconToCreateNewAttEvent :
NULL,
Hlp_USERS_Attendance,
false); // Not closable
/***** Select whether show only my groups or all groups *****/
if (Gbl.CurrentCrs.Grps.NumGrps)
@ -1089,14 +1088,16 @@ void Att_RequestCreatOrEditAttEvent (void)
Pag_PutHiddenParamPagNum (Pag_ATT_EVENTS,Gbl.AttEvents.CurrentPage);
/***** Table start *****/
Box_StartBoxTable (NULL,
ItsANewAttEvent ? Txt_New_event :
Txt_Edit_event,
NULL,
ItsANewAttEvent ? Hlp_USERS_Attendance_new_event :
Hlp_USERS_Attendance_edit_event,
false, // Not closable
2);
if (ItsANewAttEvent)
Box_StartBoxTable (NULL,Txt_New_event,NULL,
Hlp_USERS_Attendance_new_event,
false, // Not closable
2);
else
Box_StartBoxTable (NULL,Txt_Edit_event,NULL,
Hlp_USERS_Attendance_edit_event,
false, // Not closable
2);
/***** Attendance event title *****/
fprintf (Gbl.F.Out,"<tr>"
@ -1196,9 +1197,9 @@ static void Att_ShowLstGrpsToEditAttEvent (long AttCod)
"<td class=\"LEFT_TOP\">",
The_ClassForm[Gbl.Prefs.Theme],Txt_Groups);
Box_StartBoxTable ("100%",NULL,NULL,
NULL,
false, // Not closable
0);
NULL,
false, // Not closable
0);
/***** First row: checkbox to select the whole course *****/
fprintf (Gbl.F.Out,"<tr>"
@ -1829,9 +1830,9 @@ void Att_SeeOneAttEvent (void)
/***** Show attendance *****/
Box_StartBoxTable (NULL,Txt_Event,NULL,
Hlp_USERS_Attendance,
false, // Not closable
2);
Hlp_USERS_Attendance,
false, // Not closable
2);
Att.AttCod = Gbl.AttEvents.AttCod;
Att_ShowOneAttEvent (&Att,true);
Box_EndBoxTable ();
@ -1878,9 +1879,9 @@ static void Att_ListAttOnlyMeAsStudent (struct AttendanceEvent *Att)
/***** List students' data *****/
/* Header */
Box_StartBoxTable (NULL,NULL,NULL,
Hlp_USERS_Attendance,
false, // Not closable
2);
Hlp_USERS_Attendance,
false, // Not closable
2);
fprintf (Gbl.F.Out,"<tr>"
"<th></th>"
"<th></th>"
@ -1939,8 +1940,8 @@ static void Att_ListAttStudents (struct AttendanceEvent *Att)
/***** Start frame *****/
Box_StartBox (NULL,Txt_Attendance,NULL,
Hlp_USERS_Attendance,
false); // Not closable
Hlp_USERS_Attendance,
false); // Not closable
/***** Form to select groups *****/
Grp_ShowFormToSelectSeveralGroups (ActSeeOneAtt);
@ -2676,10 +2677,9 @@ void Usr_ReqListStdsAttendanceCrs (void)
Usr_GetListUsrs (Sco_SCOPE_CRS,Rol_STD);
/***** Start frame *****/
Box_StartBox (NULL,Txt_ROLES_PLURAL_Abc[Rol_STD][Usr_SEX_UNKNOWN],
NULL,
Hlp_USERS_Attendance_attendance_list,
false); // Not closable
Box_StartBox (NULL,Txt_ROLES_PLURAL_Abc[Rol_STD][Usr_SEX_UNKNOWN],NULL,
Hlp_USERS_Attendance_attendance_list,
false); // Not closable
/***** Form to select groups *****/
Grp_ShowFormToSelectSeveralGroups (ActReqLstStdAtt);
@ -3109,10 +3109,10 @@ static void Att_ListEventsToSelect (Att_TypeOfView_t TypeOfView)
/***** Start frame *****/
Box_StartBoxTable (NULL,Txt_Events,NULL,
TypeOfView == Att_PRINT_VIEW ? NULL :
Hlp_USERS_Attendance_attendance_list,
false, // Not closable
2);
TypeOfView == Att_PRINT_VIEW ? NULL :
Hlp_USERS_Attendance_attendance_list,
false, // Not closable
2);
/***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>"
@ -3221,12 +3221,12 @@ static void Att_ListStdsAttendanceTable (Att_TypeOfView_t TypeOfView,
/***** Start frame *****/
Box_StartBox (NULL,Txt_Attendance,
(TypeOfView == Att_NORMAL_VIEW_ONLY_ME) ? Att_PutIconToPrintMyList :
((TypeOfView == Att_NORMAL_VIEW_STUDENTS) ? Att_PutIconToPrintStdsList :
NULL),
TypeOfView == Att_PRINT_VIEW ? NULL :
Hlp_USERS_Attendance_attendance_list,
false); // Not closable
(TypeOfView == Att_NORMAL_VIEW_ONLY_ME) ? Att_PutIconToPrintMyList :
((TypeOfView == Att_NORMAL_VIEW_STUDENTS) ? Att_PutIconToPrintStdsList :
NULL),
TypeOfView == Att_PRINT_VIEW ? NULL :
Hlp_USERS_Attendance_attendance_list,
false); // Not closable
if (PutButtonShowDetails)
Tbl_StartTableWideMargin (2);
else
@ -3444,10 +3444,10 @@ static void Att_ListStdsWithAttEventsDetails (Att_TypeOfView_t TypeOfView,
/***** Start frame *****/
Box_StartBoxTable (NULL,Txt_Details,NULL,
TypeOfView == Att_PRINT_VIEW ? NULL :
Hlp_USERS_Attendance_attendance_list,
false, // Not closable
2);
TypeOfView == Att_PRINT_VIEW ? NULL :
Hlp_USERS_Attendance_attendance_list,
false, // Not closable
2);
/***** List students with attendance details *****/
for (NumStd = 0, Gbl.RowEvenOdd = 0;

View File

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

View File

@ -83,8 +83,8 @@ void Box_StartBoxTableShadow (const char *Width,const char *Title,
unsigned CellPadding) // CellPadding must be 0, 1, 2, 5 or 10
{
Box_StartBoxShadow (Width,Title,
FunctionToDrawContextualIcons,
HelpLink);
FunctionToDrawContextualIcons,
HelpLink);
Tbl_StartTableWide (CellPadding);
}

View File

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

View File

@ -168,9 +168,9 @@ void Ctr_SeeCtrWithPendingDegs (void)
{
/***** Write heading *****/
Box_StartBoxTable (NULL,Txt_Centres_with_pending_degrees,NULL,
Hlp_SYSTEM_Hierarchy_pending,
false, // Not closable
2);
Hlp_SYSTEM_Hierarchy_pending,
false, // Not closable
2);
fprintf (Gbl.F.Out,"<tr>"
"<th class=\"LEFT_MIDDLE\">"
"%s"
@ -311,12 +311,14 @@ static void Ctr_Configuration (bool PrintView)
PhotoExists = Fil_CheckIfPathExists (PathPhoto);
/***** Start frame *****/
Box_StartBox (NULL,NULL,
PrintView ? NULL :
Ctr_PutIconsToPrintAndUpload,
PrintView ? NULL :
Hlp_CENTRE_Information,
false); // Not closable
if (PrintView)
Box_StartBox (NULL,NULL,NULL,
NULL,
false); // Not closable
else
Box_StartBox (NULL,NULL,Ctr_PutIconsToPrintAndUpload,
Hlp_CENTRE_Information,
false); // Not closable
/***** Title *****/
fprintf (Gbl.F.Out,"<div class=\"FRAME_TITLE FRAME_TITLE_BIG\">");
@ -749,8 +751,8 @@ static void Ctr_ListCentres (void)
/***** Start frame *****/
sprintf (Gbl.Title,Txt_Centres_of_INSTITUTION_X,Gbl.CurrentIns.Ins.FullName);
Box_StartBox (NULL,Gbl.Title,Ctr_PutIconsListCentres,
Hlp_INSTITUTION_Centres,
false); // Not closable
Hlp_INSTITUTION_Centres,
false); // Not closable
if (Gbl.Ctrs.Num) // There are centres in the current institution
{
@ -942,8 +944,8 @@ void Ctr_EditCentres (void)
sprintf (Gbl.Title,Txt_Centres_of_INSTITUTION_X,
Gbl.CurrentIns.Ins.FullName);
Box_StartBox (NULL,Gbl.Title,Ctr_PutIconsEditingCentres,
Hlp_INSTITUTION_Centres,
false); // Not closable
Hlp_INSTITUTION_Centres,
false); // Not closable
/***** Put a form to create a new centre *****/
Ctr_PutFormToCreateCentre ();
@ -2224,8 +2226,8 @@ void Ctr_RequestPhoto (void)
/***** Start frame *****/
Box_StartBox (NULL,Txt_Photo,NULL,
NULL,
false); // Not closable
NULL,
false); // Not closable
/***** Write help message *****/
sprintf (Gbl.Alert.Txt,"%s: %s<br />"
@ -2420,9 +2422,9 @@ static void Ctr_PutFormToCreateCentre (void)
/***** Start frame *****/
Box_StartBoxTable (NULL,Txt_New_centre,NULL,
NULL,
false, // Not closable
2);
NULL,
false, // Not closable
2);
/***** Write heading *****/
Ctr_PutHeadCentresForEdition ();
@ -2898,9 +2900,9 @@ unsigned Ctr_ListCtrsFound (const char *Query)
NumCtrs,(NumCtrs == 1) ? Txt_centre :
Txt_centres);
Box_StartBoxTable (NULL,Gbl.Title,NULL,
NULL,
false, // Not closable
2);
NULL,
false, // Not closable
2);
Ctr_PutHeadCentresForSeeing (false); // Order not selectable
/***** List the centres (one row per centre) *****/

View File

@ -239,13 +239,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.241.1 (2017-06-11)"
#define Log_PLATFORM_VERSION "SWAD 16.242 (2017-06-11)"
#define CSS_FILE "swad16.235.1.css"
#define JS_FILE "swad16.206.3.js"
// Number of lines (includes comments but not blank lines) has been got with the following command:
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*?.h sql/swad*.sql | tail -1
/*
Version 16.242: Jun 11, 2017 Code refactoring related with boxes. (222128 lines)
Version 16.241.2: Jun 11, 2017 Changes in alignment of dates in statistics. (222131 lines)
Version 16.241.1: Jun 11, 2017 Fix bug confirming another user's ID. (222132 lines)
Version 16.241: Jun 11, 2017 New module swad_table to draw tables. (222132 lines)

View File

@ -125,8 +125,8 @@ void Cht_ShowListOfAvailableChatRooms (void)
/***** Table start *****/
Box_StartBox (NULL,Txt_Chat_rooms,NULL,
NULL,
false); // Not closable
NULL,
false); // Not closable
fprintf (Gbl.F.Out,"<ul class=\"LIST_LEFT\">");
/***** Title of top level *****/
@ -265,9 +265,9 @@ void Cht_ShowListOfChatRoomsWithUsrs (void)
{
/***** Table start *****/
Box_StartBoxTable (NULL,Txt_Rooms_with_users,NULL,
NULL,
false, // Not closable
2);
NULL,
false, // Not closable
2);
fprintf (Gbl.F.Out,"<tr>"
"<th class=\"CENTER_MIDDLE LIGHT_BLUE\">"
"%s"

View File

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

View File

@ -138,10 +138,10 @@ void Cty_SeeCtyWithPendingInss (void)
if ((NumCtys = (unsigned) DB_QuerySELECT (Query,&mysql_res,"can not get countries with pending institutions")))
{
/***** Write heading *****/
Box_StartBoxTable (NULL,Txt_Countries_with_pending_institutions,
NULL,Hlp_SYSTEM_Hierarchy_pending,
false, // Not closable
2);
Box_StartBoxTable (NULL,Txt_Countries_with_pending_institutions,NULL,
Hlp_SYSTEM_Hierarchy_pending,
false, // Not closable
2);
fprintf (Gbl.F.Out,"<tr>"
"<th class=\"LEFT_MIDDLE\">"
"%s"
@ -243,12 +243,14 @@ static void Cty_Configuration (bool PrintView)
if (Gbl.CurrentCty.Cty.CtyCod > 0)
{
/***** Start frame *****/
Box_StartBox (NULL,NULL,
PrintView ? NULL :
Cty_PutIconToPrint,
PrintView ? NULL :
Hlp_COUNTRY_Information,
false); // Not closable
if (PrintView)
Box_StartBox (NULL,NULL,NULL,
NULL,
false); // Not closable
else
Box_StartBox (NULL,NULL,Cty_PutIconToPrint,
Hlp_COUNTRY_Information,
false); // Not closable
/***** Title *****/
fprintf (Gbl.F.Out,"<div class=\"FRAME_TITLE FRAME_TITLE_BIG\">");
@ -514,9 +516,9 @@ void Cty_ListCountries2 (void)
/***** Table head *****/
Box_StartBoxTable (NULL,Txt_Countries,Cty_PutIconsListCountries,
Hlp_SYSTEM_Countries,
false, // Not closable
2);
Hlp_SYSTEM_Countries,
false, // Not closable
2);
Cty_PutHeadCountriesForSeeing (true); // Order selectable
/***** Write all the countries and their number of users and institutions *****/
@ -949,8 +951,8 @@ void Cty_EditCountries (void)
/***** Start frame *****/
Box_StartBox (NULL,Txt_Countries,Cty_PutIconToViewCountries,
Hlp_SYSTEM_Countries,
false); // Not closable
Hlp_SYSTEM_Countries,
false); // Not closable
/***** Put a form to create a new country *****/
Cty_PutFormToCreateCountry ();
@ -1936,9 +1938,9 @@ static void Cty_PutFormToCreateCountry (void)
/***** Start frame *****/
Box_StartBoxTable (NULL,Txt_New_country,NULL,
NULL,
false, // Not closable
2);
NULL,
false, // Not closable
2);
/***** Write heading *****/
Cty_PutHeadCountriesForEdition ();
@ -2366,9 +2368,9 @@ unsigned Cty_ListCtysFound (const char *Query)
NumCtys,NumCtys == 1 ? Txt_country :
Txt_countries);
Box_StartBoxTable (NULL,Gbl.Title,NULL,
NULL,
false, // Not closable
2);
NULL,
false, // Not closable
2);
Cty_PutHeadCountriesForSeeing (false); // Order not selectable
/***** List the countries (one row per country) *****/

View File

@ -197,12 +197,14 @@ static void Crs_Configuration (bool PrintView)
}
/***** Start frame *****/
Box_StartBox (NULL,NULL,
PrintView ? NULL :
Crs_PutIconToPrint,
PrintView ? NULL :
Hlp_COURSE_Information,
false); // Not closable
if (PrintView)
Box_StartBox (NULL,NULL,NULL,
NULL,
false); // Not closable
else
Box_StartBox (NULL,NULL,Crs_PutIconToPrint,
Hlp_COURSE_Information,
false); // Not closable
/***** Title *****/
fprintf (Gbl.F.Out,"<div class=\"FRAME_TITLE FRAME_TITLE_BIG\">");
@ -549,8 +551,8 @@ static void Crs_WriteListMyCoursesToSelectOne (void)
/***** Table start *****/
Box_StartBox (NULL,Txt_My_courses,NULL,
Hlp_PROFILE_Courses,
false); // Not closable
Hlp_PROFILE_Courses,
false); // Not closable
fprintf (Gbl.F.Out,"<ul class=\"LIST_LEFT\">");
/***** Write link to platform *****/
@ -1139,8 +1141,8 @@ static void Crs_ListCourses (void)
/***** Start frame *****/
sprintf (Gbl.Title,Txt_Courses_of_DEGREE_X,Gbl.CurrentDeg.Deg.ShrtName);
Box_StartBox (NULL,Gbl.Title,Crs_PutIconsListCourses,
Hlp_DEGREE_Courses,
false); // Not closable
Hlp_DEGREE_Courses,
false); // Not closable
if (Gbl.CurrentDeg.NumCrss) // There are courses in the current degree
{
@ -1339,8 +1341,8 @@ void Crs_EditCourses (void)
/***** Start frame *****/
sprintf (Gbl.Alert.Txt,Txt_Courses_of_DEGREE_X,Gbl.CurrentDeg.Deg.ShrtName);
Box_StartBox (NULL,Gbl.Alert.Txt,Crs_PutIconToViewCourses,
Hlp_DEGREE_Courses,
false); // Not closable
Hlp_DEGREE_Courses,
false); // Not closable
/***** Put a form to create or request a new course *****/
Crs_PutFormToCreateCourse ();
@ -1645,9 +1647,9 @@ static void Crs_PutFormToCreateCourse (void)
/***** Write heading *****/
Box_StartBoxTable (NULL,Txt_New_course,NULL,
NULL,
false, // Not closable
2);
NULL,
false, // Not closable
2);
Crs_PutHeadCoursesForEdition ();
/***** Column to remove course, disabled here *****/
@ -3005,9 +3007,9 @@ void Crs_GetAndWriteCrssOfAUsr (const struct UsrData *UsrDat,Rol_Role_t Role)
{
/* Start frame and table */
Box_StartBoxTable ("100%",NULL,NULL,
NULL,
false, // Not closable
2);
NULL,
false, // Not closable
2);
/* Heading row */
sprintf (Gbl.Title,Txt_USER_in_COURSE,
@ -3092,9 +3094,9 @@ unsigned Crs_ListCrssFound (const char *Query)
NumCrss,(NumCrss == 1) ? Txt_course :
Txt_courses);
Box_StartBoxTable (NULL,Gbl.Title,NULL,
NULL,
false, // Not closable
2);
NULL,
false, // Not closable
2);
/* Heading row */
fprintf (Gbl.F.Out,"<tr>"
@ -3331,8 +3333,8 @@ void Crs_AskRemoveOldCrss (void)
/***** Start frame *****/
Box_StartBox (NULL,Txt_Eliminate_old_courses,NULL,
Hlp_SYSTEM_Hierarchy_eliminate_old_courses,
false); // Not closable
Hlp_SYSTEM_Hierarchy_eliminate_old_courses,
false); // Not closable
/***** Form to request number of months without clicks *****/
fprintf (Gbl.F.Out,"<label class=\"%s\">%s&nbsp;"

View File

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

View File

@ -171,9 +171,9 @@ void Deg_SeeDegWithPendingCrss (void)
{
/***** Write heading *****/
Box_StartBoxTable (NULL,Txt_Degrees_with_pending_courses,NULL,
Hlp_SYSTEM_Hierarchy_pending,
false, // Not closable
2);
Hlp_SYSTEM_Hierarchy_pending,
false, // Not closable
2);
fprintf (Gbl.F.Out,"<tr>"
"<th class=\"LEFT_MIDDLE\">"
"%s"
@ -299,12 +299,14 @@ static void Deg_Configuration (bool PrintView)
if (Gbl.CurrentDeg.Deg.DegCod > 0)
{
/***** Start frame *****/
Box_StartBox (NULL,NULL,
PrintView ? NULL :
Deg_PutIconsToPrintAndUpload,
PrintView ? NULL :
Hlp_DEGREE_Information,
false); // Not closable
if (PrintView)
Box_StartBox (NULL,NULL,NULL,
NULL,
false); // Not closable
else
Box_StartBox (NULL,NULL,Deg_PutIconsToPrintAndUpload,
Hlp_DEGREE_Information,
false); // Not closable
/***** Title *****/
fprintf (Gbl.F.Out,"<div class=\"FRAME_TITLE FRAME_TITLE_BIG\">");
@ -943,9 +945,9 @@ static void Deg_PutFormToCreateDegree (void)
/***** Start frame *****/
Box_StartBoxTable (NULL,Txt_New_degree,NULL,
NULL,
false, // Not closable
2);
NULL,
false, // Not closable
2);
/***** Table head *****/
Deg_PutHeadDegreesForEdition ();
@ -1178,8 +1180,8 @@ static void Deg_ListDegrees (void)
/***** Start frame *****/
sprintf (Gbl.Title,Txt_Degrees_of_CENTRE_X,Gbl.CurrentCtr.Ctr.ShrtName);
Box_StartBox (NULL,Gbl.Title,Deg_PutIconsListDegrees,
Hlp_CENTRE_Degrees,
false); // Not closable
Hlp_CENTRE_Degrees,
false); // Not closable
if (Gbl.CurrentCtr.Ctr.Degs.Num) // There are degrees in the current centre
{
@ -1358,8 +1360,8 @@ void Deg_EditDegrees (void)
sprintf (Gbl.Title,Txt_Degrees_of_CENTRE_X,
Gbl.CurrentCtr.Ctr.FullName);
Box_StartBox (NULL,Gbl.Title,Deg_PutIconsEditingDegrees,
Hlp_CENTRE_Degrees,
false); // Not closable
Hlp_CENTRE_Degrees,
false); // Not closable
if (Gbl.Degs.DegTypes.Num)
{
@ -2579,9 +2581,9 @@ unsigned Deg_ListDegsFound (const char *Query)
NumDegs,(NumDegs == 1) ? Txt_degree :
Txt_degrees);
Box_StartBoxTable (NULL,Gbl.Title,NULL,
NULL,
false, // Not closable
2);
NULL,
false, // Not closable
2);
Deg_PutHeadDegreesForSeeing ();
/***** List the degrees (one row per degree) *****/

View File

@ -211,13 +211,13 @@ static void DT_ListDegreeTypes (Act_Action_t NextAction,DT_Order_t SelectedOrder
{
case ActSeeDegTyp:
Box_StartBox (NULL,Txt_Types_of_degree,DT_PutIconsListDegTypes,
Hlp_CENTRE_DegreeTypes,
false); // Not closable
Hlp_CENTRE_DegreeTypes,
false); // Not closable
break;
case ActSeeUseGbl:
Box_StartBox (NULL,Txt_Types_of_degree,DT_PutIconToEditDegTypes,
Hlp_STATS_Figures_types_of_degree,
false); // Not closable
Hlp_STATS_Figures_types_of_degree,
false); // Not closable
break;
default: // Bad call
return;
@ -264,10 +264,9 @@ void DT_EditDegreeTypes (void)
DT_GetListDegreeTypes (Sco_SCOPE_SYS,DT_ORDER_BY_DEGREE_TYPE);
/***** Start frame *****/
Box_StartBox (NULL,Txt_Types_of_degree,
DT_PutIconToViewDegreeTypesWhenEditing,
Hlp_CENTRE_DegreeTypes_edit,
false); // Not closable
Box_StartBox (NULL,Txt_Types_of_degree,DT_PutIconToViewDegreeTypesWhenEditing,
Hlp_CENTRE_DegreeTypes_edit,
false); // Not closable
/***** Put a form to create a new degree type *****/
DT_PutFormToCreateDegreeType ();
@ -438,9 +437,9 @@ void DT_PutFormToCreateDegreeType (void)
/***** Start of frame *****/
Box_StartBoxTable (NULL,Txt_New_type_of_degree,NULL,
NULL,
false, // Not closable
2);
NULL,
false, // Not closable
2);
/***** Write heading *****/
DT_PutHeadDegreeTypesForEdition ();

View File

@ -102,11 +102,11 @@ void Dpt_SeeDepts (void)
/***** Table head *****/
Box_StartBoxTable (NULL,Txt_Departments,
Gbl.Usrs.Me.Role.Logged == Rol_SYS_ADM ? Dpt_PutIconToEditDpts :
NULL,
Hlp_INSTITUTION_Departments,
false, // Not closable
2);
Gbl.Usrs.Me.Role.Logged == Rol_SYS_ADM ? Dpt_PutIconToEditDpts :
NULL,
Hlp_INSTITUTION_Departments,
false, // Not closable
2);
fprintf (Gbl.F.Out,"<tr>");
for (Order = Dpt_ORDER_BY_DEPARTMENT;
Order <= Dpt_ORDER_BY_NUM_TCHS;
@ -488,9 +488,9 @@ static void Dpt_ListDepartmentsForEdition (void)
unsigned NumIns;
Box_StartBoxTable (NULL,Txt_Departments,NULL,
Hlp_INSTITUTION_Departments_edit,
false, // Not closable
2);
Hlp_INSTITUTION_Departments_edit,
false, // Not closable
2);
/***** Table head *****/
Dpt_PutHeadDepartments ();
@ -892,9 +892,9 @@ static void Dpt_PutFormToCreateDepartment (void)
/***** Start of frame *****/
Box_StartBoxTable (NULL,Txt_New_department,NULL,
Hlp_INSTITUTION_Departments_edit,
false, // Not closable
2);
Hlp_INSTITUTION_Departments_edit,
false, // Not closable
2);
/***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"

View File

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

View File

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

View File

@ -648,13 +648,13 @@ static void Exa_ListExamAnnouncements (Exa_TypeViewExamAnnouncement_t TypeViewEx
/***** Start frame *****/
Box_StartBox (NULL,
(Gbl.ExamAnns.HighlightExaCod > 0 ||
Gbl.ExamAnns.HighlightDate[0]) ? Txt_All_announcements_of_exams :
Txt_Announcements_of_exams,
ICanEdit ? Exa_PutIconToCreateNewExamAnnouncement :
NULL,
Hlp_ASSESSMENT_Announcements,
false); // Not closable
(Gbl.ExamAnns.HighlightExaCod > 0 ||
Gbl.ExamAnns.HighlightDate[0]) ? Txt_All_announcements_of_exams :
Txt_Announcements_of_exams,
ICanEdit ? Exa_PutIconToCreateNewExamAnnouncement :
NULL,
Hlp_ASSESSMENT_Announcements,
false); // Not closable
/***** The result of the query may be empty *****/
if (!NumExaAnns)
@ -1072,12 +1072,12 @@ static void Exa_ShowExamAnnouncement (Exa_TypeViewExamAnnouncement_t TypeViewExa
/***** Start frame *****/
Box_StartBox ("625px",NULL,
TypeViewExamAnnouncement == Exa_NORMAL_VIEW ? Exa_PutIconsExamAnnouncement :
NULL,
TypeViewExamAnnouncement == Exa_FORM_VIEW ? ((Gbl.ExamAnns.ExaDat.ExaCod > 0) ? Hlp_ASSESSMENT_Announcements_edit_announcement :
Hlp_ASSESSMENT_Announcements_new_announcement) :
NULL,
false); // Not closable
TypeViewExamAnnouncement == Exa_NORMAL_VIEW ? Exa_PutIconsExamAnnouncement :
NULL,
TypeViewExamAnnouncement == Exa_FORM_VIEW ? ((Gbl.ExamAnns.ExaDat.ExaCod > 0) ? Hlp_ASSESSMENT_Announcements_edit_announcement :
Hlp_ASSESSMENT_Announcements_new_announcement) :
NULL,
false); // Not closable
if (TypeViewExamAnnouncement == Exa_FORM_VIEW)
{

View File

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

View File

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

View File

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

View File

@ -267,10 +267,9 @@ static void Grp_EditGroupTypes (void)
extern const char *Txt_There_are_no_types_of_group_in_the_course_X;
/***** Start frame *****/
Box_StartBox (NULL,Txt_Types_of_group,
Grp_PutIconsEditingGroupTypes,
Hlp_USERS_Groups,
false); // Not closable
Box_StartBox (NULL,Txt_Types_of_group,Grp_PutIconsEditingGroupTypes,
Hlp_USERS_Groups,
false); // Not closable
/***** Put a form to create a new group type *****/
Grp_PutFormToCreateGroupType ();
@ -301,8 +300,8 @@ static void Grp_EditGroups (void)
/***** Start frame *****/
Box_StartBox (NULL,Txt_Groups,Grp_PutIconsEditingGroups,
Hlp_USERS_Groups,
false); // Not closable
Hlp_USERS_Groups,
false); // Not closable
/***** Put a form to create a new group *****/
Grp_PutFormToCreateGroup ();
@ -366,11 +365,10 @@ void Grp_ShowFormToSelectSeveralGroups (Act_Action_t NextAction)
Gbl.Usrs.Me.Role.Logged == Rol_SYS_ADM);
/***** Start frame *****/
Box_StartBox (NULL,Txt_Groups,
ICanEdit ? Grp_PutIconToEditGroups :
NULL,
Hlp_USERS_Groups,
true); // Closable
Box_StartBox (NULL,Txt_Groups,ICanEdit ? Grp_PutIconToEditGroups :
NULL,
Hlp_USERS_Groups,
true); // Closable
/***** Start form to update the students listed
depending on the groups selected *****/
@ -1727,11 +1725,10 @@ void Grp_ShowLstGrpsToChgMyGrps (void)
}
/***** Start frame *****/
Box_StartBox (NULL,Txt_My_groups,
ICanEdit ? Grp_PutIconToEditGroups :
NULL,
Hlp_USERS_Groups,
false); // Not closable
Box_StartBox (NULL,Txt_My_groups,ICanEdit ? Grp_PutIconToEditGroups :
NULL,
Hlp_USERS_Groups,
false); // Not closable
if (Gbl.CurrentCrs.Grps.NumGrps) // This course has groups
{
@ -1947,9 +1944,9 @@ void Grp_ShowLstGrpsToChgOtherUsrsGrps (long UsrCod)
/***** Start table *****/
Box_StartBoxTable (NULL,Txt_Groups,NULL,
Hlp_USERS_Groups,
false, // Not closable
0);
Hlp_USERS_Groups,
false, // Not closable
0);
/***** List to select the groups the user belongs to *****/
for (NumGrpTyp = 0;
@ -2351,9 +2348,9 @@ static void Grp_PutFormToCreateGroupType (void)
/***** Start of frame *****/
Box_StartBoxTable (NULL,Txt_New_type_of_group,NULL,
NULL,
false, // Not closable
2);
NULL,
false, // Not closable
2);
/***** Write heading *****/
Grp_WriteHeadingGroupTypes ();
@ -2467,9 +2464,9 @@ static void Grp_PutFormToCreateGroup (void)
/***** Start of frame *****/
Box_StartBoxTable (NULL,Txt_New_group,NULL,
NULL,
false, // Not closable
2);
NULL,
false, // Not closable
2);
/***** Write heading *****/
Grp_WriteHeadingGroups ();

View File

@ -129,11 +129,11 @@ void Hlp_ShowHelpWhatWouldYouLikeToDo (void)
}
/***** Contextual buttons *****/
/* Start table */
/* Start box and table */
Box_StartBoxTable (NULL,Txt_What_would_you_like_to_do,NULL,
NULL,
true, // Closable
2);
NULL,
true, // Closable
2);
if (Gbl.Usrs.Me.Logged) // I am logged
{
@ -253,7 +253,7 @@ void Hlp_ShowHelpWhatWouldYouLikeToDo (void)
Btn_CREATE_BUTTON,Txt_Create_account);
}
/* End table */
/* End table and box */
Box_EndBoxTable ();
}

View File

@ -102,10 +102,10 @@ void Hld_SeeHolidays (void)
/***** Table head *****/
Box_StartBox (NULL,Txt_Holidays,
Gbl.Usrs.Me.Role.Logged >= Rol_INS_ADM ? Hld_PutIconToEditHlds :
NULL,
Hlp_INSTITUTION_Holidays,
false); // Not closable
Gbl.Usrs.Me.Role.Logged >= Rol_INS_ADM ? Hld_PutIconToEditHlds :
NULL,
Hlp_INSTITUTION_Holidays,
false); // Not closable
if (Gbl.Hlds.Num)
{
Tbl_StartTableWideMargin (2);
@ -503,9 +503,9 @@ static void Hld_ListHolidaysForEdition (void)
Hld_HolidayType_t HolidayType;
Box_StartBoxTable (NULL,Txt_Holidays,NULL,
Hlp_INSTITUTION_Holidays_edit,
false, // Not closable
2);
Hlp_INSTITUTION_Holidays_edit,
false, // Not closable
2);
/***** Table head *****/
Hld_PutHeadHolidays ();
@ -963,9 +963,9 @@ static void Hld_PutFormToCreateHoliday (void)
/***** Start of frame *****/
Box_StartBoxTable (NULL,Txt_New_holiday,NULL,
Hlp_INSTITUTION_Holidays_edit,
false, // Not closable
2);
Hlp_INSTITUTION_Holidays_edit,
false, // Not closable
2);
/***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"

View File

@ -77,9 +77,9 @@ void Ico_PutIconsToSelectIconSet (void)
extern const char *Txt_Icons;
Ico_IconSet_t IconSet;
Box_StartBox (NULL,Txt_Icons,
Ico_PutIconsIconSet,Hlp_PROFILE_Preferences_icons,
false); // Not closable
Box_StartBox (NULL,Txt_Icons,Ico_PutIconsIconSet,
Hlp_PROFILE_Preferences_icons,
false); // Not closable
fprintf (Gbl.F.Out,"<div class=\"PREF_CONTAINER\">");
for (IconSet = (Ico_IconSet_t) 0;
IconSet < Ico_NUM_ICON_SETS;

View File

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

View File

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

View File

@ -153,9 +153,9 @@ void Ins_SeeInsWithPendingCtrs (void)
{
/***** Write heading *****/
Box_StartBoxTable (NULL,Txt_Institutions_with_pending_centres,NULL,
Hlp_SYSTEM_Hierarchy_pending,
false, // Not closable
2);
Hlp_SYSTEM_Hierarchy_pending,
false, // Not closable
2);
fprintf (Gbl.F.Out,"<tr>"
"<th class=\"LEFT_MIDDLE\">"
"%s"
@ -309,12 +309,14 @@ static void Ins_Configuration (bool PrintView)
if (Gbl.CurrentIns.Ins.InsCod > 0)
{
/***** Start frame *****/
Box_StartBox (NULL,NULL,
PrintView ? NULL :
Ins_PutIconsToPrintAndUpload,
PrintView ? NULL :
Hlp_INSTITUTION_Information,
false); // Not closable
if (PrintView)
Box_StartBox (NULL,NULL,NULL,
NULL,
false); // Not closable
else
Box_StartBox (NULL,NULL,Ins_PutIconsToPrintAndUpload,
Hlp_INSTITUTION_Information,
false); // Not closable
/***** Title *****/
fprintf (Gbl.F.Out,"<div class=\"FRAME_TITLE FRAME_TITLE_BIG\">");
@ -672,8 +674,8 @@ static void Ins_ListInstitutions (void)
/***** Start frame *****/
sprintf (Gbl.Title,Txt_Institutions_of_COUNTRY_X,Gbl.CurrentCty.Cty.Name[Gbl.Prefs.Language]);
Box_StartBox (NULL,Gbl.Title,Ins_PutIconsListInstitutions,
Hlp_COUNTRY_Institutions,
false); // Not closable
Hlp_COUNTRY_Institutions,
false); // Not closable
if (Gbl.Inss.Num) // There are institutions in the current country
{
@ -923,8 +925,8 @@ void Ins_EditInstitutions (void)
sprintf (Gbl.Title,Txt_Institutions_of_COUNTRY_X,
Gbl.CurrentCty.Cty.Name[Gbl.Prefs.Language]);
Box_StartBox (NULL,Gbl.Title,Ins_PutIconToViewInstitutions,
Hlp_COUNTRY_Institutions,
false); // Not closable
Hlp_COUNTRY_Institutions,
false); // Not closable
/***** Put a form to create a new institution *****/
Ins_PutFormToCreateInstitution ();
@ -2160,9 +2162,9 @@ static void Ins_PutFormToCreateInstitution (void)
/***** Start frame *****/
Box_StartBoxTable (NULL,Txt_New_institution,NULL,
NULL,
false, // Not closable
2);
NULL,
false, // Not closable
2);
/***** Write heading *****/
Ins_PutHeadInstitutionsForEdition ();
@ -2522,9 +2524,9 @@ unsigned Ins_ListInssFound (const char *Query)
NumInss,NumInss == 1 ? Txt_institution :
Txt_institutions);
Box_StartBoxTable (NULL,Gbl.Title,NULL,
NULL,
false, // Not closable
2);
NULL,
false, // Not closable
2);
Ins_PutHeadInstitutionsForSeeing (false); // Order not selectable
/***** List the institutions (one row per institution) *****/

View File

@ -1499,9 +1499,9 @@ void Lay_AdvertisementMobile (void)
/***** Table start *****/
Box_StartBoxTable (NULL,NULL,NULL,
NULL,
false, // Not closable
8);
NULL,
false, // Not closable
8);
/***** Show advertisement *****/
fprintf (Gbl.F.Out,"<tr>"

View File

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

View File

@ -285,8 +285,8 @@ void Log_RequestLogo (Sco_Scope_t Scope)
/***** Start frame *****/
Box_StartBox (NULL,Txt_Logo,NULL,
NULL,
false); // Not closable
NULL,
false); // Not closable
/***** 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,

View File

@ -110,11 +110,11 @@ void Mai_SeeMailDomains (void)
/***** Table head *****/
Box_StartBoxTable (NULL,Txt_Email_domains_allowed_for_notifications,
Gbl.Usrs.Me.Role.Logged == Rol_SYS_ADM ? Mai_PutIconToEditMailDomains :
NULL,
Hlp_MESSAGES_Domains,
false, // Not closable
2);
Gbl.Usrs.Me.Role.Logged == Rol_SYS_ADM ? Mai_PutIconToEditMailDomains :
NULL,
Hlp_MESSAGES_Domains,
false, // Not closable
2);
fprintf (Gbl.F.Out,"<tr>");
for (Order = Mai_ORDER_BY_DOMAIN;
Order <= Mai_ORDER_BY_USERS;
@ -451,9 +451,9 @@ static void Mai_ListMailDomainsForEdition (void)
struct Mail *Mai;
Box_StartBoxTable (NULL,Txt_Email_domains_allowed_for_notifications,NULL,
Hlp_MESSAGES_Domains_edit,
false, // Not closable
2);
Hlp_MESSAGES_Domains_edit,
false, // Not closable
2);
/***** Table head *****/
Mai_PutHeadMailDomains ();
@ -720,9 +720,9 @@ static void Mai_PutFormToCreateMailDomain (void)
/***** Start of frame *****/
Box_StartBoxTable (NULL,Txt_New_email_domain,NULL,
Hlp_MESSAGES_Domains_edit,
false, // Not closable
2);
Hlp_MESSAGES_Domains_edit,
false, // Not closable
2);
/***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"
@ -891,9 +891,9 @@ void Mai_ListEmails (void)
/***** Start of the frame used to list the emails *****/
Box_StartBox (NULL,Txt_Students_who_have_accepted_and_who_have_email,
NULL,
Hlp_MESSAGES_Email,
false); // Not closable
NULL,
Hlp_MESSAGES_Email,
false); // Not closable
/***** Form to select groups *****/
Grp_ShowFormToSelectSeveralGroups (ActMaiStd);
@ -1190,8 +1190,8 @@ void Mai_ShowFormOthEmail (void)
{
/***** Start frame *****/
Box_StartBox (NULL,Txt_Email,NULL,
NULL,
false); // Not closable
NULL,
false); // Not closable
/***** Show user's record *****/
Rec_ShowSharedUsrRecord (Rec_SHA_RECORD_LIST,
@ -1631,8 +1631,8 @@ void Mai_PutButtonToCheckEmailAddress (void)
/***** Frame with button to check email address *****/
Box_StartBox (NULL,Txt_Email_unconfirmed,NULL,
Hlp_PROFILE_Account_email,
true); // Closable
Hlp_PROFILE_Account_email,
true); // Closable
Ale_ShowAlertAndButton (Ale_WARNING,Txt_Please_check_and_confirm_your_email_address,
ActFrmMyAcc,NULL,NULL,NULL,
Btn_CONFIRM_BUTTON,Txt_Check);

View File

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

View File

@ -225,11 +225,11 @@ static void Msg_PutFormMsgUsrs (char Content[Cns_MAX_BYTES_LONG_TEXT + 1])
}
/***** Start frame *****/
Box_StartBox (NULL,
Gbl.Msg.Reply.IsReply ? Txt_Reply_message :
Txt_New_message,
NULL,Hlp_MESSAGES_Write,
false); // Not closable
Box_StartBox (NULL,Gbl.Msg.Reply.IsReply ? Txt_Reply_message :
Txt_New_message,
NULL,
Hlp_MESSAGES_Write,
false); // Not closable
if (Gbl.Msg.ShowOnlyOneRecipient)
/***** Form to show several potential recipients *****/
@ -1755,16 +1755,15 @@ static void Msg_ShowSentOrReceivedMessages (void)
Gbl.Msg.NumMsgs = (unsigned) NumRows;
/***** Start frame with messages *****/
Box_StartBox ("97%",
Msg_WriteNumMsgs (NumUnreadMsgs),
Msg_PutIconsListMsgs,Help[Gbl.Msg.TypeOfMessages],
false); // Not closable
Box_StartBox ("97%",Msg_WriteNumMsgs (NumUnreadMsgs),Msg_PutIconsListMsgs,
Help[Gbl.Msg.TypeOfMessages],
false); // Not closable
/***** Filter messages *****/
/* Start frame with filter */
Box_StartBox (NULL,Txt_Filter,NULL,
HelpFilter[Gbl.Msg.TypeOfMessages],
true); // Closable
HelpFilter[Gbl.Msg.TypeOfMessages],
true); // Closable
/* Form to see messages again */
Act_FormStart (ActionSee[Gbl.Msg.TypeOfMessages]);
@ -3781,9 +3780,9 @@ void Msg_ListBannedUsrs (void)
/***** Start table with list of users *****/
Box_StartBoxTable (NULL,Txt_Banned_users,NULL,
NULL,
false, // Not closable
2);
NULL,
false, // Not closable
2);
/***** List users *****/
for (NumUsr = 1;

View File

@ -300,11 +300,10 @@ void Net_ShowFormMyWebsAndSocialNets (void)
char URL[Cns_MAX_BYTES_WWW + 1];
/***** Start table *****/
Box_StartBoxTable (NULL,Txt_Webs_social_networks,
Net_PutIconsWebsSocialNetworks,
Hlp_PROFILE_Webs,
false, // Not closable
2);
Box_StartBoxTable (NULL,Txt_Webs_social_networks,Net_PutIconsWebsSocialNetworks,
Hlp_PROFILE_Webs,
false, // Not closable
2);
for (NumURL = (Net_WebsAndSocialNetworks_t) 0;
NumURL < Net_NUM_WEBS_AND_SOCIAL_NETWORKS;
@ -538,9 +537,9 @@ void Net_ShowWebAndSocialNetworksStats (void)
/***** Number of users *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_SOCIAL_NETWORKS],NULL,
Hlp_STATS_Figures_webs_social_networks,
false, // Not closable
2);
Hlp_STATS_Figures_webs_social_networks,
false, // Not closable
2);
fprintf (Gbl.F.Out,"<tr>"
"<th class=\"LEFT_MIDDLE\">"

View File

@ -104,8 +104,8 @@ void Not_ShowFormNotice (void)
/***** Start frame *****/
Box_StartBox (NULL,Txt_New_notice,NULL,
Hlp_MESSAGES_Notices,
false); // Not closable
Hlp_MESSAGES_Notices,
false); // Not closable
/***** Message body *****/
fprintf (Gbl.F.Out,"<textarea name=\"Content\" cols=\"30\" rows=\"10\""
@ -392,11 +392,11 @@ void Not_ShowNotices (Not_Listing_t TypeNoticesListing)
sprintf (StrWidth,"%upx",
Not_ContainerWidth[Not_LIST_FULL_NOTICES] + 50);
Box_StartBox (StrWidth,
Gbl.CurrentCrs.Notices.HighlightNotCod > 0 ? Txt_All_notices :
Txt_Notices,
Not_PutIconsListNotices,
Hlp_MESSAGES_Notices,
false); // Not closable
Gbl.CurrentCrs.Notices.HighlightNotCod > 0 ? Txt_All_notices :
Txt_Notices,
Not_PutIconsListNotices,
Hlp_MESSAGES_Notices,
false); // Not closable
if (!NumNotices)
Ale_ShowAlert (Ale_INFO,Txt_No_notices);
}

View File

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

View File

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

View File

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

View File

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

View File

@ -91,13 +91,13 @@ void Plg_ListPlugins (void)
/***** Get list of plugins *****/
Plg_GetListPlugins ();
/***** Table start *****/
/***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_Plugins,
Gbl.Usrs.Me.Role.Logged == Rol_SYS_ADM ? Plg_PutIconToEditPlugins :
NULL,
NULL,
false, // Not closable
2);
Gbl.Usrs.Me.Role.Logged == Rol_SYS_ADM ? Plg_PutIconToEditPlugins :
NULL,
NULL,
false, // Not closable
2);
/***** Write table heading *****/
fprintf (Gbl.F.Out,"<tr>"
@ -141,7 +141,7 @@ void Plg_ListPlugins (void)
Plg->Name);
}
/***** End table *****/
/***** End table and box *****/
Box_EndBoxTable ();
/***** Free list of plugins *****/
@ -347,12 +347,11 @@ static void Plg_ListPluginsForEdition (void)
unsigned NumPlg;
struct Plugin *Plg;
Box_StartBoxTable (NULL,Txt_Plugins,NULL,
NULL,
false, // Not closable
2);
/***** Table head *****/
Box_StartBoxTable (NULL,Txt_Plugins,NULL,
NULL,
false, // Not closable
2);
Plg_PutHeadPlugins ();
/***** Write all the plugins *****/
@ -845,9 +844,9 @@ static void Plg_PutFormToCreatePlugin (void)
/***** Start of frame *****/
Box_StartBoxTable (NULL,Txt_New_plugin,NULL,
NULL,
false, // Not closable
2);
NULL,
false, // Not closable
2);
/***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"

View File

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

View File

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

View File

@ -185,9 +185,9 @@ void Rec_ReqEditRecordFields (void)
if (Gbl.CurrentCrs.Records.LstFields.Num) // Fields found...
{
Box_StartBoxTable (NULL,Txt_Record_fields,NULL,
Hlp_USERS_Students_course_record_card,
false, // Not closable
2);
Hlp_USERS_Students_course_record_card,
false, // Not closable
2);
Rec_ListFieldsRecordsForEdition ();
Box_EndBoxTable ();
}
@ -361,9 +361,9 @@ void Rec_ShowFormCreateRecordField (void)
/***** Start of frame *****/
Box_StartBoxTable (NULL,Txt_New_record_field,NULL,
Hlp_USERS_Students_course_record_card,
false, // Not closable
2);
Hlp_USERS_Students_course_record_card,
false, // Not closable
2);
/***** Write heading *****/
Rec_WriteHeadingRecordFields ();
@ -1364,8 +1364,8 @@ static void Rec_ShowRecordOneTchCrs (void)
fprintf (Gbl.F.Out,"<div class=\"REC_TT\">");
Gbl.TimeTable.Type = TT_TUTORING_TIMETABLE;
Box_StartBox (Width,Txt_TIMETABLE_TYPES[Gbl.TimeTable.Type],NULL,
Hlp_USERS_Teachers_timetable,
false); // Not closable
Hlp_USERS_Teachers_timetable,
false); // Not closable
TT_ShowTimeTable (Gbl.Usrs.Other.UsrDat.UsrCod);
Box_EndBox ();
fprintf (Gbl.F.Out,"</div>");
@ -1489,9 +1489,9 @@ static void Rec_ListRecordsTchs (Rec_SharedRecordViewType_t TypeOfView)
fprintf (Gbl.F.Out,"<div class=\"REC_TT\">");
Gbl.TimeTable.Type = TT_TUTORING_TIMETABLE;
Box_StartBox (Width,Txt_TIMETABLE_TYPES[Gbl.TimeTable.Type],
NULL,
Hlp_USERS_Teachers_timetable,
false); // Not closable
NULL,
Hlp_USERS_Teachers_timetable,
false); // Not closable
TT_ShowTimeTable (UsrDat.UsrCod);
Box_EndBox ();
fprintf (Gbl.F.Out,"</div>");
@ -1780,9 +1780,9 @@ static void Rec_ShowCrsRecord (Rec_CourseRecordViewType_t TypeOfView,
/***** Start frame *****/
sprintf (StrRecordWidth,"%upx",Rec_RECORD_WIDTH);
Box_StartBoxTable (StrRecordWidth,NULL,NULL,
Rec_RecordHelp[TypeOfView],
false, // Not closable
2);
Rec_RecordHelp[TypeOfView],
false, // Not closable
2);
/***** Header *****/
fprintf (Gbl.F.Out,"<tr>"
@ -2318,11 +2318,11 @@ void Rec_ShowSharedUsrRecord (Rec_SharedRecordViewType_t TypeOfView,
Gbl.Record.UsrDat = UsrDat;
Gbl.Record.TypeOfView = TypeOfView;
Box_StartBoxTable (StrRecordWidth,NULL,
TypeOfView == Rec_SHA_OTHER_NEW_USR_FORM ? NULL : // New user ==> don't put icons
Rec_PutIconsCommands,
Rec_RecordHelp[TypeOfView],
false, // Not closable
2);
TypeOfView == Rec_SHA_OTHER_NEW_USR_FORM ? NULL : // New user ==> don't put icons
Rec_PutIconsCommands,
Rec_RecordHelp[TypeOfView],
false, // Not closable
2);
/***** Institution and user's photo *****/
fprintf (Gbl.F.Out,"<tr>");
@ -3994,13 +3994,12 @@ void Rec_ShowFormMyInsCtrDpt (void)
}
/***** Start table *****/
Box_StartBoxTable ("800px",
IAmATeacher ? Txt_Institution_centre_and_department :
Txt_Institution,
NULL,
Hlp_PROFILE_Institution,
false, // Not closable
2);
Box_StartBoxTable ("800px",IAmATeacher ? Txt_Institution_centre_and_department :
Txt_Institution,
NULL,
Hlp_PROFILE_Institution,
false, // Not closable
2);
/***** Country *****/
fprintf (Gbl.F.Out,"<tr>"

View File

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

View File

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

View File

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

View File

@ -477,8 +477,8 @@ void Sta_AskShowCrsHits (void)
sprintf (Gbl.Title,Txt_Statistics_of_visits_to_the_course_X,
Gbl.CurrentCrs.Crs.ShrtName);
Box_StartBox (NULL,Gbl.Title,NULL,
Hlp_STATS_Visits_visits_to_course,
false); // Not closable
Hlp_STATS_Visits_visits_to_course,
false); // Not closable
/***** Show form to select the groups *****/
Grp_ShowFormToSelectSeveralGroups (ActReqAccCrs);
@ -675,9 +675,9 @@ void Sta_AskShowGblHits (void)
/***** Start frame *****/
Box_StartBoxTable (NULL,Txt_Statistics_of_all_visits,NULL,
Hlp_STATS_Visits_global_visits,
false, // Not closable
2);
Hlp_STATS_Visits_global_visits,
false, // Not closable
2);
/***** Start and end dates for the search *****/
Dat_PutFormStartEndClientLocalDateTimesWithYesterdayToday (Gbl.Action.Act == ActReqAccGbl);
@ -3917,8 +3917,8 @@ void Sta_ReqShowFigures (void)
/***** Start frame *****/
Box_StartBox (NULL,Txt_Figures,NULL,
Hlp_STATS_Figures,
false); // Not closable
Hlp_STATS_Figures,
false); // Not closable
/***** Compute stats for anywhere, degree or course? *****/
fprintf (Gbl.F.Out,"<label class=\"%s\">%s:&nbsp;",
@ -4082,9 +4082,9 @@ static void Sta_GetAndShowUsersStats (void)
/***** Number of users *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_USERS],NULL,
Hlp_STATS_Figures_users,
false, // Not closable
2);
Hlp_STATS_Figures_users,
false, // Not closable
2);
fprintf (Gbl.F.Out,"<tr>"
"<th class=\"RIGHT_MIDDLE\">"
@ -4214,9 +4214,9 @@ static void Sta_GetAndShowUsersRanking (void)
/***** Start table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_USERS_RANKING],NULL,
Hlp_STATS_Figures_ranking,
false, // Not closable
2);
Hlp_STATS_Figures_ranking,
false, // Not closable
2);
/***** Header *****/
fprintf (Gbl.F.Out,"<tr>"
@ -4283,9 +4283,9 @@ static void Sta_GetAndShowHierarchyStats (void)
extern const char *Txt_STAT_USE_STAT_TYPES[Sta_NUM_FIGURES];
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_HIERARCHY],NULL,
Hlp_STATS_Figures_hierarchy,
false, // Not closable
2);
Hlp_STATS_Figures_hierarchy,
false, // Not closable
2);
Sta_WriteHeadDegsCrssInSWAD ();
Sta_GetAndShowNumCtysInSWAD ();
Sta_GetAndShowNumInssInSWAD ();
@ -4973,8 +4973,8 @@ static void Sta_GetAndShowInstitutionsStats (void)
/***** Start frame *****/
Box_StartBox (NULL,Txt_Institutions,NULL,
Hlp_STATS_Figures_institutions,
false); // Not closable
Hlp_STATS_Figures_institutions,
false); // Not closable
/***** Form to select type of list used to display degree photos *****/
Usr_GetAndUpdatePrefsAboutUsrList ();
@ -5011,9 +5011,9 @@ static void Sta_GetAndShowInssOrderedByNumCtrs (void)
/****** Institutions ordered by number of centres ******/
Box_StartBoxTable ("100%",Txt_Institutions_by_number_of_centres,NULL,
NULL,
false, // Not closable
2);
NULL,
false, // Not closable
2);
/***** Get institutions ordered by number of centres *****/
switch (Gbl.Scope.Current)
@ -5065,9 +5065,9 @@ static void Sta_GetAndShowInssOrderedByNumDegs (void)
/****** Institutions ordered by number of centres ******/
Box_StartBoxTable ("100%",Txt_Institutions_by_number_of_degrees,NULL,
NULL,
false, // Not closable
2);
NULL,
false, // Not closable
2);
/***** Get institutions ordered by number of degrees *****/
switch (Gbl.Scope.Current)
@ -5122,9 +5122,9 @@ static void Sta_GetAndShowInssOrderedByNumCrss (void)
/****** Institutions ordered by number of centres ******/
Box_StartBoxTable ("100%",Txt_Institutions_by_number_of_courses,NULL,
NULL,
false, // Not closable
2);
NULL,
false, // Not closable
2);
/***** Get institutions ordered by number of courses *****/
switch (Gbl.Scope.Current)
@ -5181,11 +5181,10 @@ static void Sta_GetAndShowInssOrderedByNumUsrsInCrss (void)
char Query[1024];
/****** Institutions ordered by number of centres ******/
Box_StartBoxTable ("100%",Txt_Institutions_by_number_of_users_in_courses,
NULL,
NULL,
false, // Not closable
2);
Box_StartBoxTable ("100%",Txt_Institutions_by_number_of_users_in_courses,NULL,
NULL,
false, // Not closable
2);
/***** Get institutions ordered by number of users in courses *****/
switch (Gbl.Scope.Current)
@ -5247,10 +5246,10 @@ static void Sta_GetAndShowInssOrderedByNumUsrsWhoClaimToBelongToThem (void)
/****** Institutions ordered by number of centres ******/
Box_StartBoxTable ("100%",Txt_Institutions_by_number_of_users_who_claim_to_belong_to_them,
NULL,
NULL,
false, // Not closable
2);
NULL,
NULL,
false, // Not closable
2);
/***** Get institutions ordered by number of users who claim to belong to them *****/
switch (Gbl.Scope.Current)
@ -5478,11 +5477,10 @@ static void Sta_GetAndShowFileBrowsersStats (void)
unsigned NumStat;
/***** Start table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_FOLDERS_AND_FILES],
NULL,
Hlp_STATS_Figures_folders_and_files,
false, // Not closable
2);
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_FOLDERS_AND_FILES],NULL,
Hlp_STATS_Figures_folders_and_files,
false, // Not closable
2);
/***** Write table heading *****/
Sta_WriteStatsExpTreesTableHead ();
@ -6558,9 +6556,9 @@ static void Sta_GetAndShowOERsStats (void)
/***** Start table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_OER],NULL,
Hlp_STATS_Figures_open_educational_resources_oer,
false, // Not closable
2);
Hlp_STATS_Figures_open_educational_resources_oer,
false, // Not closable
2);
/***** Write table heading *****/
fprintf (Gbl.F.Out,"<tr>"
@ -6750,9 +6748,9 @@ static void Sta_GetAndShowAssignmentsStats (void)
/***** Start table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_ASSIGNMENTS],NULL,
Hlp_STATS_Figures_assignments,
false, // Not closable
2);
Hlp_STATS_Figures_assignments,
false, // Not closable
2);
/***** Write table heading *****/
fprintf (Gbl.F.Out,"<tr>"
@ -6822,9 +6820,9 @@ static void Sta_GetAndShowTestsStats (void)
/***** Start table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_TESTS],NULL,
Hlp_STATS_Figures_tests,
false, // Not closable
2);
Hlp_STATS_Figures_tests,
false, // Not closable
2);
/***** Write table heading *****/
fprintf (Gbl.F.Out,"<tr>"
@ -6993,11 +6991,10 @@ static void Sta_GetAndShowSocialActivityStats (void)
unsigned NumUsrsTotal;
/***** Start table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_SOCIAL_ACTIVITY],
NULL,
Hlp_STATS_Figures_timeline,
false, // Not closable
2);
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_SOCIAL_ACTIVITY],NULL,
Hlp_STATS_Figures_timeline,
false, // Not closable
2);
/***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>"
@ -7285,9 +7282,9 @@ static void Sta_GetAndShowFollowStats (void)
/***** Start table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_FOLLOW],NULL,
Hlp_STATS_Figures_followed_followers,
false, // Not closable
2);
Hlp_STATS_Figures_followed_followers,
false, // Not closable
2);
/***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>"
@ -7546,11 +7543,11 @@ static void Sta_GetAndShowForumStats (void)
StatsForum.NumPosts = 0;
StatsForum.NumUsrsToBeNotifiedByEMail = 0;
/***** Start table *****/
/***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_FORUMS],NULL,
Hlp_STATS_Figures_forums,
false, // Not closable
2);
Hlp_STATS_Figures_forums,
false, // Not closable
2);
/***** Write table heading *****/
fprintf (Gbl.F.Out,"<tr>"
@ -7658,7 +7655,7 @@ static void Sta_GetAndShowForumStats (void)
Sta_WriteForumTotalStats (&StatsForum);
/***** End table *****/
/***** End table and box *****/
Box_EndBoxTable ();
}
@ -7905,11 +7902,11 @@ static void Sta_GetAndShowNumUsrsPerNotifyEvent (void)
unsigned NumMailsTotal = 0;
unsigned NumMails[Ntf_NUM_NOTIFY_EVENTS];
/***** Start table *****/
/***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_NOTIFY_EVENTS],NULL,
Hlp_STATS_Figures_notifications,
false, // Not closable
2);
Hlp_STATS_Figures_notifications,
false, // Not closable
2);
/***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>"
@ -8252,11 +8249,11 @@ static void Sta_GetAndShowNoticesStats (void)
NumTotalNotices += NumNoticesDeleted;
NumTotalNotifications += NumNotif;
/***** Start table *****/
/***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_NOTICES],NULL,
Hlp_STATS_Figures_notices,
false, // Not closable
2);
Hlp_STATS_Figures_notices,
false, // Not closable
2);
/***** Write table heading *****/
fprintf (Gbl.F.Out,"<tr>"
@ -8306,7 +8303,7 @@ static void Sta_GetAndShowNoticesStats (void)
NumTotalNotices,
NumTotalNotifications);
/***** End table *****/
/***** End table and box *****/
Box_EndBoxTable ();
}
@ -8337,11 +8334,11 @@ static void Sta_GetAndShowMsgsStats (void)
NumMsgsReceivedAndDeleted = Msg_GetNumMsgsReceived (Gbl.Scope.Current,Msg_STATUS_DELETED );
NumMsgsReceivedAndNotified = Msg_GetNumMsgsReceived (Gbl.Scope.Current,Msg_STATUS_NOTIFIED);
/***** Start table *****/
/***** Start box and table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_MESSAGES],NULL,
Hlp_STATS_Figures_messages,
false, // Not closable
2);
Hlp_STATS_Figures_messages,
false, // Not closable
2);
/***** Write table heading *****/
fprintf (Gbl.F.Out,"<tr>"
@ -8446,9 +8443,9 @@ static void Sta_GetAndShowSurveysStats (void)
/***** Start table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_SURVEYS],NULL,
Hlp_STATS_Figures_surveys,
false, // Not closable
2);
Hlp_STATS_Figures_surveys,
false, // Not closable
2);
/***** Write table heading *****/
fprintf (Gbl.F.Out,"<tr>"
@ -8515,9 +8512,9 @@ static void Sta_GetAndShowNumUsrsPerPrivacy (void)
/***** Start table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_PRIVACY],NULL,
Hlp_STATS_Figures_privacy,
false, // Not closable
2);
Hlp_STATS_Figures_privacy,
false, // Not closable
2);
/***** Privacy for photo *****/
Sta_GetAndShowNumUsrsPerPrivacyForAnObject (Txt_Photo,"PhotoVisibility");
@ -8685,9 +8682,9 @@ static void Sta_GetAndShowNumUsrsPerLanguage (void)
/***** Start table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_LANGUAGES],NULL,
Hlp_STATS_Figures_language,
false, // Not closable
2);
Hlp_STATS_Figures_language,
false, // Not closable
2);
/***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>"
@ -8827,11 +8824,10 @@ static void Sta_GetAndShowNumUsrsPerFirstDayOfWeek (void)
unsigned NumUsrsTotal = 0;
/***** Start table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_FIRST_DAY_OF_WEEK],
NULL,
Hlp_STATS_Figures_calendar,
false, // Not closable
2);
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_FIRST_DAY_OF_WEEK],NULL,
Hlp_STATS_Figures_calendar,
false, // Not closable
2);
/***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>"
@ -8971,9 +8967,9 @@ static void Sta_GetAndShowNumUsrsPerDateFormat (void)
/***** Start table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_DATE_FORMAT],NULL,
Hlp_STATS_Figures_dates,
false, // Not closable
2);
Hlp_STATS_Figures_dates,
false, // Not closable
2);
/***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>"
@ -9111,9 +9107,9 @@ static void Sta_GetAndShowNumUsrsPerIconSet (void)
/***** Start table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_ICON_SETS],NULL,
Hlp_STATS_Figures_icons,
false, // Not closable
2);
Hlp_STATS_Figures_icons,
false, // Not closable
2);
/***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>"
@ -9256,9 +9252,9 @@ static void Sta_GetAndShowNumUsrsPerMenu (void)
/***** Start table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_MENUS],NULL,
Hlp_STATS_Figures_menu,
false, // Not closable
2);
Hlp_STATS_Figures_menu,
false, // Not closable
2);
/***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>"
@ -9398,9 +9394,9 @@ static void Sta_GetAndShowNumUsrsPerTheme (void)
/***** Start table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_THEMES],NULL,
Hlp_STATS_Figures_theme,
false, // Not closable
2);
Hlp_STATS_Figures_theme,
false, // Not closable
2);
/***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>"
@ -9539,9 +9535,9 @@ static void Sta_GetAndShowNumUsrsPerSideColumns (void)
/***** Start table *****/
Box_StartBoxTable (NULL,Txt_STAT_USE_STAT_TYPES[Sta_SIDE_COLUMNS],NULL,
Hlp_STATS_Figures_columns,
false, // Not closable
2);
Hlp_STATS_Figures_columns,
false, // Not closable
2);
/***** Heading row *****/
fprintf (Gbl.F.Out,"<tr>"

View File

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

View File

@ -243,12 +243,12 @@ bool Syl_CheckAndEditSyllabus (void)
Gbl.Usrs.Me.Role.Logged == Rol_SYS_ADM;
PutIconToEdit = ICanEdit && !Gbl.Syllabus.EditionIsActive;
Box_StartBoxTable (NULL,Txt_INFO_TITLE[Gbl.CurrentCrs.Info.Type],
PutIconToEdit ? Inf_PutIconToEditInfo :
NULL,
Gbl.Syllabus.EditionIsActive ? Hlp_COURSE_Syllabus_edit :
Hlp_COURSE_Syllabus,
false, // Not closable
1);
PutIconToEdit ? Inf_PutIconToEditInfo :
NULL,
Gbl.Syllabus.EditionIsActive ? Hlp_COURSE_Syllabus_edit :
Hlp_COURSE_Syllabus,
false, // Not closable
1);
/***** Write the current syllabus *****/
Syl_ShowSyllabus ();

View File

@ -318,8 +318,8 @@ void Tst_ShowFormAskTst (void)
/***** Start frame *****/
Box_StartBox (NULL,Txt_Take_a_test,Tst_PutIconsTests,
Hlp_ASSESSMENT_Tests,
false); // Not closable
Hlp_ASSESSMENT_Tests,
false); // Not closable
/***** Get tags *****/
if ((NumRows = Tst_GetEnabledTagsFromThisCrs (&mysql_res)) != 0)
@ -437,8 +437,8 @@ void Tst_ShowNewTest (void)
/***** Start frame *****/
Box_StartBox (NULL,Txt_Test,NULL,
Hlp_ASSESSMENT_Tests,
false); // Not closable
Hlp_ASSESSMENT_Tests,
false); // Not closable
Lay_WriteHeaderClassPhoto (false,false,
Gbl.CurrentIns.Ins.InsCod,
Gbl.CurrentDeg.Deg.DegCod,
@ -537,8 +537,8 @@ void Tst_AssessTest (void)
/***** Start frame *****/
Box_StartBox (NULL,Txt_Test_result,NULL,
Hlp_ASSESSMENT_Tests,
false); // Not closable
Hlp_ASSESSMENT_Tests,
false); // Not closable
Lay_WriteHeaderClassPhoto (false,false,
Gbl.CurrentIns.Ins.InsCod,
Gbl.CurrentDeg.Deg.DegCod,
@ -1282,8 +1282,8 @@ void Tst_ShowFormAskEditTsts (void)
/***** Start frame *****/
Box_StartBox (NULL,Txt_List_edit_questions,Tst_PutIconsTests,
Hlp_ASSESSMENT_Tests,
false); // Not closable
Hlp_ASSESSMENT_Tests,
false); // Not closable
/***** Get tags already present in the table of questions *****/
if ((NumRows = Tst_GetAllTagsFromCurrentCrs (&mysql_res)))
@ -1739,9 +1739,9 @@ static void Tst_ShowFormEditTags (void)
{
/***** Start table *****/
Box_StartBoxTable (NULL,Txt_Tags,NULL,
Hlp_ASSESSMENT_Tests,
false, // Not closable
2);
Hlp_ASSESSMENT_Tests,
false, // Not closable
2);
/***** Show tags *****/
for (NumRow = 0;
@ -1854,8 +1854,8 @@ static void Tst_ShowFormConfigTst (void)
/***** Start frame *****/
Box_StartBox (NULL,Txt_Configure_tests,Tst_PutIconsTests,
Hlp_ASSESSMENT_Tests,
false); // Not closable
Hlp_ASSESSMENT_Tests,
false); // Not closable
/***** Start form *****/
Act_FormStart (ActRcvCfgTst);
@ -2735,8 +2735,8 @@ static void Tst_ListOneOrMoreQuestionsToEdit (unsigned long NumRows,MYSQL_RES *m
/***** Table start *****/
Box_StartBox (NULL,Txt_Questions,Tst_PutIconsTests,
Hlp_ASSESSMENT_Tests,
false); // Not closable
Hlp_ASSESSMENT_Tests,
false); // Not closable
/***** Write the heading *****/
Tbl_StartTableWideMargin (2);
@ -4527,13 +4527,13 @@ static void Tst_PutFormEditOneQst (char Stem[Cns_MAX_BYTES_TEXT + 1],
{
sprintf (Title,Txt_Question_code_X,Gbl.Test.QstCod);
Box_StartBox (NULL,Title,Tst_PutIconToRemoveOneQst,
Hlp_ASSESSMENT_Tests,
false); // Not closable
Hlp_ASSESSMENT_Tests,
false); // Not closable
}
else
Box_StartBox (NULL,Txt_New_question,NULL,
Hlp_ASSESSMENT_Tests,
false); // Not closable
Hlp_ASSESSMENT_Tests,
false); // Not closable
/***** Start form *****/
Act_FormStart (ActRcvTstQst);
@ -6993,8 +6993,8 @@ void Tst_SelUsrsToSeeUsrsTestResults (void)
/***** Start frame *****/
Box_StartBox (NULL,Txt_Test_results,NULL,
Hlp_ASSESSMENT_Tests_test_results,
false); // Not closable
Hlp_ASSESSMENT_Tests_test_results,
false); // Not closable
/***** Show form to select the groups *****/
Grp_ShowFormToSelectSeveralGroups (ActReqSeeUsrTstRes);
@ -7079,9 +7079,9 @@ void Tst_SelDatesToSeeMyTestResults (void)
/***** Starting and ending dates in the search *****/
Box_StartBoxTable (NULL,Txt_Test_results,NULL,
Hlp_ASSESSMENT_Tests_test_results,
false, // Not closable
2);
Hlp_ASSESSMENT_Tests_test_results,
false, // Not closable
2);
Dat_PutFormStartEndClientLocalDateTimesWithYesterdayToday (false);
/***** Send button and end frame *****/
@ -7154,9 +7154,9 @@ void Tst_ShowUsrsTestResults (void)
{
/***** Header of the table with the list of users *****/
Box_StartBoxTable (NULL,Txt_Test_results,NULL,
Hlp_ASSESSMENT_Tests_test_results,
false, // Not closable
2);
Hlp_ASSESSMENT_Tests_test_results,
false, // Not closable
2);
Tst_ShowHeaderTestResults ();
/***** List the assignments and works of the selected users *****/
@ -7249,9 +7249,9 @@ void Tst_ShowMyTestResults (void)
/***** Header of the table with the list of users *****/
Box_StartBoxTable (NULL,Txt_Test_results,NULL,
Hlp_ASSESSMENT_Tests_test_results,
false, // Not closable
2);
Hlp_ASSESSMENT_Tests_test_results,
false, // Not closable
2);
Tst_ShowHeaderTestResults ();
/***** List my test results *****/
@ -7717,8 +7717,8 @@ void Tst_ShowOneTestResult (void)
/***** Start frame *****/
Box_StartBox (NULL,Txt_Test_result,NULL,
Hlp_ASSESSMENT_Tests_test_results,
false); // Not closable
Hlp_ASSESSMENT_Tests_test_results,
false); // Not closable
Lay_WriteHeaderClassPhoto (false,false,
Gbl.CurrentIns.Ins.InsCod,
Gbl.CurrentDeg.Deg.DegCod,

View File

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

View File

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

View File

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

View File

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