Version 16.57.3

This commit is contained in:
Antonio Cañas Vargas 2016-11-13 23:52:51 +01:00
parent 7a55c7958a
commit 908281bfad
30 changed files with 80 additions and 63 deletions

View File

@ -207,8 +207,10 @@ void Acc_CheckIfEmptyAccountExists (void)
if (NumUsrs)
{
/***** Start frame and write message with number of accounts found *****/
Lay_StartRoundFrameTable (NULL,5,(NumUsrs == 1) ? Txt_Do_you_think_you_are_this_user :
Txt_Do_you_think_you_are_one_of_these_users);
Lay_StartRoundFrameTable (NULL,
(NumUsrs == 1) ? Txt_Do_you_think_you_are_this_user :
Txt_Do_you_think_you_are_one_of_these_users,
NULL,NULL,5);
/***** Initialize structure with user's data *****/
Usr_UsrDataConstructor (&UsrDat);

View File

@ -442,7 +442,7 @@ void Ann_ShowFormAnnouncement (void)
Act_FormStart (ActRcvAnn);
/***** Start frame *****/
Lay_StartRoundFrameTable (NULL,2,Txt_New_announcement);
Lay_StartRoundFrameTable (NULL,Txt_New_announcement,NULL,NULL,2);
/***** Message subject and body *****/
fprintf (Gbl.F.Out,"<tr>"

View File

@ -1114,8 +1114,10 @@ void Asg_RequestCreatOrEditAsg (void)
Pag_PutHiddenParamPagNum (Gbl.Pag.CurrentPage);
/***** Table start *****/
Lay_StartRoundFrameTable (NULL,2,ItsANewAssignment ? Txt_New_assignment :
Txt_Edit_assignment);
Lay_StartRoundFrameTable (NULL,
ItsANewAssignment ? Txt_New_assignment :
Txt_Edit_assignment,
NULL,NULL,2);
/***** Assignment title *****/
fprintf (Gbl.F.Out,"<tr>"
@ -1203,7 +1205,7 @@ static void Asg_ShowLstGrpsToEditAssignment (long AsgCod)
"<td class=\"LEFT_TOP\">",
The_ClassForm[Gbl.Prefs.Theme],
Txt_Groups);
Lay_StartRoundFrameTable ("100%",0,NULL);
Lay_StartRoundFrameTable ("100%",NULL,NULL,NULL,0);
/***** First row: checkbox to select the whole course *****/
fprintf (Gbl.F.Out,"<tr>"

View File

@ -1213,7 +1213,7 @@ static void Att_ShowLstGrpsToEditAttEvent (long AttCod)
"</td>"
"<td class=\"LEFT_TOP\">",
The_ClassForm[Gbl.Prefs.Theme],Txt_Groups);
Lay_StartRoundFrameTable ("100%",0,NULL);
Lay_StartRoundFrameTable ("100%",NULL,NULL,NULL,0);
/***** First row: checkbox to select the whole course *****/
fprintf (Gbl.F.Out,"<tr>"

View File

@ -301,7 +301,7 @@ static void Ban_ListBannersForEdition (void)
unsigned NumBan;
struct Banner *Ban;
Lay_StartRoundFrameTable (NULL,2,Txt_Banners);
Lay_StartRoundFrameTable (NULL,Txt_Banners,NULL,NULL,2);
/***** Table head *****/
Ban_PutHeadBanners ();
@ -735,7 +735,7 @@ static void Ban_PutFormToCreateBanner (void)
Act_FormStart (ActNewBan);
/***** Start of frame *****/
Lay_StartRoundFrameTable (NULL,2,Txt_New_banner);
Lay_StartRoundFrameTable (NULL,Txt_New_banner,NULL,NULL,2);
/***** Write heading *****/
Ban_PutHeadBanners ();

View File

@ -1377,7 +1377,7 @@ static void Ctr_ListCentresForEdition (void)
/***** Write heading *****/
sprintf (Gbl.Title,Txt_Centres_of_INSTITUTION_X,
Gbl.CurrentIns.Ins.FullName);
Lay_StartRoundFrameTable (NULL,2,Gbl.Title);
Lay_StartRoundFrameTable (NULL,Gbl.Title,NULL,NULL,2);
Ctr_PutHeadCentresForEdition ();
/***** Write all the centres *****/
@ -2389,7 +2389,7 @@ static void Ctr_PutFormToCreateCentre (void)
/***** Start of frame *****/
sprintf (Gbl.Title,Txt_New_centre_of_INSTITUTION_X,
Gbl.CurrentIns.Ins.ShrtName);
Lay_StartRoundFrameTable (NULL,2,Gbl.Title);
Lay_StartRoundFrameTable (NULL,Gbl.Title,NULL,NULL,2);
/***** Write heading *****/
Ctr_PutHeadCentresForEdition ();
@ -2872,7 +2872,7 @@ unsigned Ctr_ListCtrsFound (const char *Query)
sprintf (Gbl.Title,"%u %s",
NumCtrs,(NumCtrs == 1) ? Txt_centre :
Txt_centres);
Lay_StartRoundFrameTable (NULL,2,Gbl.Title);
Lay_StartRoundFrameTable (NULL,Gbl.Title,NULL,NULL,2);
Ctr_PutHeadCentresForSeeing (false); // Order not selectable
/***** List the centres (one row per centre) *****/

View File

@ -156,13 +156,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.57.2 (2016-11-13)"
#define Log_PLATFORM_VERSION "SWAD 16.57.3 (2016-11-13)"
#define CSS_FILE "swad16.51.css"
#define JS_FILE "swad16.46.1.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.57.3: Nov 13, 2016 Code refactoring related to layout of frames and tables. (207119 lines)
Version 16.57.2: Nov 13, 2016 Contextual help on usage report. (207102 lines)
Version 16.57.1: Nov 13, 2016 Contextual help on frequent actions. (207099 lines)
Version 16.57: Nov 13, 2016 Contextual help on figures. (207096 lines)

View File

@ -254,7 +254,7 @@ void Cht_ShowListOfChatRoomsWithUsrs (void)
if (NumRows > 0) // If not empty chat rooms found
{
/***** Table start *****/
Lay_StartRoundFrameTable (NULL,2,Txt_Rooms_with_users);
Lay_StartRoundFrameTable (NULL,Txt_Rooms_with_users,NULL,NULL,2);
fprintf (Gbl.F.Out,"<tr>"
"<th class=\"CENTER_MIDDLE LIGHT_BLUE\">"
"%s"

View File

@ -1440,7 +1440,7 @@ static void Cty_ListCountriesForEdition (void)
struct Country *Cty;
Txt_Language_t Lan;
Lay_StartRoundFrameTable (NULL,2,Txt_Countries);
Lay_StartRoundFrameTable (NULL,Txt_Countries,NULL,NULL,2);
/***** Table head *****/
Cty_PutHeadCountries ();
@ -1833,7 +1833,7 @@ static void Cty_PutFormToCreateCountry (void)
Act_FormStart (ActNewCty);
/***** Start of frame *****/
Lay_StartRoundFrameTable (NULL,2,Txt_New_country);
Lay_StartRoundFrameTable (NULL,Txt_New_country,NULL,NULL,2);
/***** Write heading *****/
Cty_PutHeadCountries ();

View File

@ -1394,7 +1394,7 @@ static void Crs_ListCoursesForEdition (void)
/***** Write heading *****/
sprintf (Gbl.Message,Txt_Courses_of_DEGREE_X,
Gbl.CurrentDeg.Deg.ShrtName);
Lay_StartRoundFrameTable (NULL,2,Gbl.Message);
Lay_StartRoundFrameTable (NULL,Gbl.Message,NULL,NULL,2);
Crs_PutHeadCoursesForEdition ();
/***** List the courses *****/
@ -1671,7 +1671,7 @@ static void Crs_PutFormToCreateCourse (void)
/***** Write heading *****/
sprintf (Gbl.Message,Txt_New_course_of_DEGREE_X,
Gbl.CurrentDeg.Deg.ShrtName);
Lay_StartRoundFrameTable (NULL,2,Gbl.Message);
Lay_StartRoundFrameTable (NULL,Gbl.Message,NULL,NULL,2);
Crs_PutHeadCoursesForEdition ();
/***** Disabled icon to remove course *****/
@ -3040,7 +3040,7 @@ void Crs_GetAndWriteCrssOfAUsr (const struct UsrData *UsrDat,Rol_Role_t Role)
if ((NumCrss = (unsigned) DB_QuerySELECT (Query,&mysql_res,"can not get courses of a user")))
{
/* Start frame and table */
Lay_StartRoundFrameTable ("100%",2,NULL);
Lay_StartRoundFrameTable ("100%",NULL,NULL,NULL,2);
/* Heading row */
sprintf (Gbl.Title,Txt_USER_in_COURSE,
@ -3125,7 +3125,7 @@ unsigned Crs_ListCrssFound (const char *Query)
sprintf (Gbl.Title,"%u %s",
NumCrss,(NumCrss == 1) ? Txt_course :
Txt_courses);
Lay_StartRoundFrameTable (NULL,2,Gbl.Title);
Lay_StartRoundFrameTable (NULL,Gbl.Title,NULL,NULL,2);
/* Heading row */
fprintf (Gbl.F.Out,"<tr>"

View File

@ -1129,7 +1129,7 @@ static void Deg_ListDegreesForEdition (void)
/***** Write heading *****/
sprintf (Gbl.Title,Txt_Degrees_of_CENTRE_X,
Gbl.CurrentCtr.Ctr.ShrtName);
Lay_StartRoundFrameTable (NULL,2,Gbl.Title);
Lay_StartRoundFrameTable (NULL,Gbl.Title,NULL,NULL,2);
Deg_PutHeadDegreesForEdition ();
/***** List the degrees *****/
@ -1392,7 +1392,7 @@ static void Deg_PutFormToCreateDegree (void)
/***** Start of frame *****/
sprintf (Gbl.Title,Txt_New_degree_of_CENTRE_X,
Gbl.CurrentCtr.Ctr.ShrtName);
Lay_StartRoundFrameTable (NULL,2,Gbl.Title);
Lay_StartRoundFrameTable (NULL,Gbl.Title,NULL,NULL,2);
/***** Write heading *****/
Deg_PutHeadDegreesForEdition ();
@ -3010,7 +3010,7 @@ unsigned Deg_ListDegsFound (const char *Query)
sprintf (Gbl.Title,"%u %s",
NumDegs,(NumDegs == 1) ? Txt_degree :
Txt_degrees);
Lay_StartRoundFrameTable (NULL,2,Gbl.Title);
Lay_StartRoundFrameTable (NULL,Gbl.Title,NULL,NULL,2);
Deg_PutHeadDegreesForSeeing ();
/***** List the degrees (one row per degree) *****/

View File

@ -274,7 +274,7 @@ static void DT_ListDegreeTypesForEdition (void)
unsigned NumDegTyp;
/***** Write heading *****/
Lay_StartRoundFrameTable (NULL,2,Txt_Types_of_degree);
Lay_StartRoundFrameTable (NULL,Txt_Types_of_degree,NULL,NULL,2);
DT_PutHeadDegreeTypesForEdition ();
/***** List degree types with forms for edition *****/
@ -340,7 +340,7 @@ static void DT_PutFormToCreateDegreeType (void)
Act_FormStart (ActNewDegTyp);
/***** Start of frame *****/
Lay_StartRoundFrameTable (NULL,2,Txt_New_type_of_degree);
Lay_StartRoundFrameTable (NULL,Txt_New_type_of_degree,NULL,NULL,2);
/***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"

View File

@ -486,7 +486,7 @@ static void Dpt_ListDepartmentsForEdition (void)
struct Instit Ins;
unsigned NumIns;
Lay_StartRoundFrameTable (NULL,2,Txt_Departments);
Lay_StartRoundFrameTable (NULL,Txt_Departments,NULL,NULL,2);
/***** Table head *****/
Dpt_PutHeadDepartments ();
@ -875,7 +875,7 @@ static void Dpt_PutFormToCreateDepartment (void)
Act_FormStart (ActNewDpt);
/***** Start of frame *****/
Lay_StartRoundFrameTable (NULL,2,Txt_New_department);
Lay_StartRoundFrameTable (NULL,Txt_New_department,NULL,NULL,2);
/***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"

View File

@ -11464,7 +11464,7 @@ unsigned Brw_ListDocsFound (const char *Query,
sprintf (Gbl.Title,"%u %s",
NumDocs,(NumDocs == 1) ? TitleSingular :
TitlePlural);
Lay_StartRoundFrameTable (NULL,2,Gbl.Title);
Lay_StartRoundFrameTable (NULL,Gbl.Title,NULL,NULL,2);
/* Heading row */
fprintf (Gbl.F.Out,"<tr>"

View File

@ -551,7 +551,7 @@ static void Fol_ListFollowingUsr (struct UsrData *UsrDat)
Usr_UsrDataConstructor (&FollowingUsrDat);
/***** Start listing *****/
Lay_StartRoundFrameTable ("560px",2,Txt_Following);
Lay_StartRoundFrameTable ("560px",Txt_Following,NULL,NULL,2);
for (NumUsr = 0;
NumUsr < NumUsrs;
@ -634,7 +634,7 @@ static void Fol_ListFollowersUsr (struct UsrData *UsrDat)
Usr_UsrDataConstructor (&FollowerUsrDat);
/***** Start listing *****/
Lay_StartRoundFrameTable ("560px",2,Txt_Followers);
Lay_StartRoundFrameTable ("560px",Txt_Followers,NULL,NULL,2);
for (NumUsr = 0;
NumUsr < NumUsrs;

View File

@ -249,7 +249,7 @@ void Hlp_ShowHelpWhatWouldYouLikeToDo (void)
/***** Contextual buttons *****/
/* Start table */
Lay_StartRoundFrameTable (NULL,2,Txt_What_would_you_like_to_do);
Lay_StartRoundFrameTable (NULL,Txt_What_would_you_like_to_do,NULL,NULL,2);
if (Gbl.Usrs.Me.Logged) // I am logged
{

View File

@ -471,7 +471,7 @@ static void Hld_ListHolidaysForEdition (void)
struct Holiday *Hld;
Hld_HolidayType_t HolidayType;
Lay_StartRoundFrameTable (NULL,2,Txt_Holidays);
Lay_StartRoundFrameTable (NULL,Txt_Holidays,NULL,NULL,2);
/***** Table head *****/
Hld_PutHeadHolidays ();
@ -912,7 +912,7 @@ static void Hld_PutFormToCreateHoliday (void)
Act_FormStart (ActNewHld);
/***** Start of frame *****/
Lay_StartRoundFrameTable (NULL,2,Txt_New_holiday);
Lay_StartRoundFrameTable (NULL,Txt_New_holiday,NULL,NULL,2);
/***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"

View File

@ -1067,7 +1067,7 @@ void Inf_FormsToSelSendInfo (void)
/***** Form to choice between alternatives *****/
/* Start of table */
Lay_StartRoundFrameTable (NULL,4,Txt_Source_of_information);
Lay_StartRoundFrameTable (NULL,Txt_Source_of_information,NULL,NULL,4);
/* Options */
for (InfoSrc = (Inf_InfoSrc_t) 0;

View File

@ -1292,7 +1292,7 @@ static void Ins_ListInstitutionsForEdition (void)
/***** Write heading *****/
sprintf (Gbl.Title,Txt_Institutions_of_COUNTRY_X,
Gbl.CurrentCty.Cty.Name[Gbl.Prefs.Language]);
Lay_StartRoundFrameTable (NULL,2,Gbl.Title);
Lay_StartRoundFrameTable (NULL,Gbl.Title,NULL,NULL,2);
Ins_PutHeadInstitutionsForEdition ();
/***** Write all the institutions *****/
@ -2057,7 +2057,7 @@ static void Ins_PutFormToCreateInstitution (void)
/***** Start of frame *****/
sprintf (Gbl.Title,Txt_New_institution_of_COUNTRY_X,
Gbl.CurrentCty.Cty.Name[Gbl.Prefs.Language]);
Lay_StartRoundFrameTable (NULL,2,Gbl.Title);
Lay_StartRoundFrameTable (NULL,Gbl.Title,NULL,NULL,2);
/***** Write heading *****/
Ins_PutHeadInstitutionsForEdition ();
@ -2424,7 +2424,7 @@ unsigned Ins_ListInssFound (const char *Query)
sprintf (Gbl.Title,"%u %s",
NumInss,NumInss == 1 ? Txt_institution :
Txt_institutions);
Lay_StartRoundFrameTable (NULL,2,Gbl.Title);
Lay_StartRoundFrameTable (NULL,Gbl.Title,NULL,NULL,2);
Ins_PutHeadInstitutionsForSeeing (false); // Order not selectable
/***** List the institutions (one row per centre) *****/

View File

@ -1224,10 +1224,12 @@ void Lay_PutRemoveButtonInline (const char *Text)
/*****************************************************************************/
// CellPadding must be 0, 1, 2, 4 or 8
void Lay_StartRoundFrameTable (const char *Width,unsigned CellPadding,
const char *Title)
void Lay_StartRoundFrameTable (const char *Width,const char *Title,
void (*FunctionToDrawContextualIcons) (void),
const char *HelpLink,
unsigned CellPadding)
{
Lay_StartRoundFrame (Width,Title,NULL,NULL);
Lay_StartRoundFrame (Width,Title,FunctionToDrawContextualIcons,HelpLink);
fprintf (Gbl.F.Out,"<table class=\"FRAME_TABLE");
if (CellPadding)
@ -1680,7 +1682,7 @@ void Lay_AdvertisementMobile (void)
fprintf (Gbl.F.Out,"<div style=\"margin-top:25px;\">");
/***** Table start *****/
Lay_StartRoundFrameTable (NULL,8,NULL);
Lay_StartRoundFrameTable (NULL,NULL,NULL,NULL,8);
/***** Show advertisement *****/
fprintf (Gbl.F.Out,"<tr>"

View File

@ -93,8 +93,10 @@ void Lay_PutConfirmButtonInline (const char *Text);
void Lay_PutRemoveButton (const char *Text);
void Lay_PutRemoveButtonInline (const char *Text);
void Lay_StartRoundFrameTable (const char *Width,unsigned CellPadding,
const char *Title);
void Lay_StartRoundFrameTable (const char *Width,const char *Title,
void (*FunctionToDrawContextualIcons) (void),
const char *HelpLink,
unsigned CellPadding);
void Lay_StartRoundFrame (const char *Width,const char *Title,
void (*FunctionToDrawContextualIcons) (void),
const char *HelpLink);

View File

@ -315,7 +315,7 @@ static void Lnk_ListLinksForEdition (void)
unsigned NumLnk;
struct Link *Lnk;
Lay_StartRoundFrameTable (NULL,2,Txt_Links);
Lay_StartRoundFrameTable (NULL,Txt_Links,NULL,NULL,2);
/***** Table head *****/
Lnk_PutHeadLinks ();
@ -620,7 +620,7 @@ static void Lnk_PutFormToCreateLink (void)
Act_FormStart (ActNewLnk);
/***** Start of frame *****/
Lay_StartRoundFrameTable (NULL,2,Txt_New_link);
Lay_StartRoundFrameTable (NULL,Txt_New_link,NULL,NULL,2);
/***** Write heading *****/
Lnk_PutHeadLinks ();

View File

@ -429,7 +429,8 @@ static void Mai_ListMailDomainsForEdition (void)
unsigned NumMai;
struct Mail *Mai;
Lay_StartRoundFrameTable (NULL,2,Txt_Mail_domains_allowed_for_notifications);
Lay_StartRoundFrameTable (NULL,Txt_Mail_domains_allowed_for_notifications,
NULL,NULL,2);
/***** Table head *****/
Mai_PutHeadMailDomains ();
@ -683,7 +684,7 @@ static void Mai_PutFormToCreateMailDomain (void)
Act_FormStart (ActNewMai);
/***** Start of frame *****/
Lay_StartRoundFrameTable (NULL,2,Txt_New_mail_domain);
Lay_StartRoundFrameTable (NULL,Txt_New_mail_domain,NULL,NULL,2);
/***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"
@ -847,7 +848,9 @@ void Mai_ListEMails (void)
if (Usr_GetIfShowBigList (Gbl.Usrs.LstUsrs[Rol_STUDENT].NumUsrs,NULL))
{
/***** Start of the frame used to list the e-mails *****/
Lay_StartRoundFrameTable (NULL,0,Txt_Students_who_have_accepted_and_who_have_e_mail);
Lay_StartRoundFrameTable (NULL,
Txt_Students_who_have_accepted_and_who_have_e_mail,
NULL,NULL,0);
fprintf (Gbl.F.Out,"<tr>"
"<td class=\"DAT_SMALL LEFT_MIDDLE\">");

View File

@ -3739,7 +3739,7 @@ void Msg_ListBannedUsrs (void)
Usr_UsrDataConstructor (&UsrDat);
/***** Start table with list of users *****/
Lay_StartRoundFrameTable (NULL,2,Txt_Banned_users);
Lay_StartRoundFrameTable (NULL,Txt_Banned_users,NULL,NULL,2);
/***** List users *****/
for (NumUsr = 1;

View File

@ -422,7 +422,7 @@ static void Plc_ListPlacesForEdition (void)
unsigned NumPlc;
struct Place *Plc;
Lay_StartRoundFrameTable (NULL,2,Txt_Places);
Lay_StartRoundFrameTable (NULL,Txt_Places,NULL,NULL,2);
/***** Table head *****/
Plc_PutHeadPlaces ();
@ -691,7 +691,7 @@ static void Plc_PutFormToCreatePlace (void)
Act_FormStart (ActNewPlc);
/***** Start of frame *****/
Lay_StartRoundFrameTable (NULL,2,Txt_New_place);
Lay_StartRoundFrameTable (NULL,Txt_New_place,NULL,NULL,2);
/***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"

View File

@ -353,7 +353,7 @@ static void Plg_ListPluginsForEdition (void)
unsigned NumPlg;
struct Plugin *Plg;
Lay_StartRoundFrameTable (NULL,2,Txt_Plugins);
Lay_StartRoundFrameTable (NULL,Txt_Plugins,NULL,NULL,2);
/***** Table head *****/
Plg_PutHeadPlugins ();
@ -841,7 +841,7 @@ static void Plg_PutFormToCreatePlugin (void)
Act_FormStart (ActNewPlg);
/***** Start of frame *****/
Lay_StartRoundFrameTable (NULL,2,Txt_New_plugin);
Lay_StartRoundFrameTable (NULL,Txt_New_plugin,NULL,NULL,2);
/***** Write heading *****/
fprintf (Gbl.F.Out,"<tr>"

View File

@ -166,7 +166,7 @@ void Rec_ReqEditRecordFields (void)
/***** List the current fields of records for edit them *****/
if (Gbl.CurrentCrs.Records.LstFields.Num) // Fields found...
{
Lay_StartRoundFrameTable (NULL,2,Txt_Record_fields);
Lay_StartRoundFrameTable (NULL,Txt_Record_fields,NULL,NULL,2);
Rec_ListFieldsRecordsForEdition ();
Lay_EndRoundFrameTable ();
}
@ -337,7 +337,7 @@ void Rec_ShowFormCreateRecordField (void)
Act_FormStart (ActNewFie);
/***** Start of frame *****/
Lay_StartRoundFrameTable (NULL,0,Txt_New_record_field);
Lay_StartRoundFrameTable (NULL,Txt_New_record_field,NULL,NULL,0);
/***** Write heading *****/
Rec_WriteHeadingRecordFields ();
@ -1615,7 +1615,7 @@ static void Rec_ShowCrsRecord (Rec_RecordViewType_t TypeOfView,struct UsrData *U
/***** Start frame *****/
sprintf (StrRecordWidth,"%upx",Rec_RECORD_WIDTH);
Lay_StartRoundFrameTable (StrRecordWidth,2,NULL);
Lay_StartRoundFrameTable (StrRecordWidth,NULL,NULL,NULL,2);
/***** Header *****/
fprintf (Gbl.F.Out,"<tr>"

View File

@ -4757,7 +4757,8 @@ static void Sta_GetAndShowInssOrderedByNumCtrs (void)
char Query[1024];
/****** Institutions ordered by number of centres ******/
Lay_StartRoundFrameTable ("95%",2,Txt_Institutions_by_number_of_centres);
Lay_StartRoundFrameTable ("95%",Txt_Institutions_by_number_of_centres,
NULL,NULL,2);
/***** Get institutions ordered by number of centres *****/
switch (Gbl.Scope.Current)
@ -4808,7 +4809,8 @@ static void Sta_GetAndShowInssOrderedByNumDegs (void)
char Query[1024];
/****** Institutions ordered by number of centres ******/
Lay_StartRoundFrameTable ("95%",2,Txt_Institutions_by_number_of_degrees);
Lay_StartRoundFrameTable ("95%",Txt_Institutions_by_number_of_degrees,
NULL,NULL,2);
/***** Get institutions ordered by number of degrees *****/
switch (Gbl.Scope.Current)
@ -4862,7 +4864,8 @@ static void Sta_GetAndShowInssOrderedByNumCrss (void)
char Query[1024];
/****** Institutions ordered by number of centres ******/
Lay_StartRoundFrameTable ("95%",2,Txt_Institutions_by_number_of_courses);
Lay_StartRoundFrameTable ("95%",Txt_Institutions_by_number_of_courses,
NULL,NULL,2);
/***** Get institutions ordered by number of courses *****/
switch (Gbl.Scope.Current)
@ -4919,7 +4922,8 @@ static void Sta_GetAndShowInssOrderedByNumUsrsInCrss (void)
char Query[1024];
/****** Institutions ordered by number of centres ******/
Lay_StartRoundFrameTable ("95%",2,Txt_Institutions_by_number_of_users_in_courses);
Lay_StartRoundFrameTable ("95%",Txt_Institutions_by_number_of_users_in_courses,
NULL,NULL,2);
/***** Get institutions ordered by number of users in courses *****/
switch (Gbl.Scope.Current)
@ -4980,7 +4984,8 @@ static void Sta_GetAndShowInssOrderedByNumUsrsWhoClaimToBelongToThem (void)
char Query[1024];
/****** Institutions ordered by number of centres ******/
Lay_StartRoundFrameTable ("95%",2,Txt_Institutions_by_number_of_users_who_claim_to_belong_to_them);
Lay_StartRoundFrameTable ("95%",Txt_Institutions_by_number_of_users_who_claim_to_belong_to_them,
NULL,NULL,2);
/***** Get institutions ordered by number of users who claim to belong to them *****/
switch (Gbl.Scope.Current)

View File

@ -2044,7 +2044,7 @@ static void Svy_ShowLstGrpsToEditSurvey (long SvyCod)
"<td class=\"LEFT_TOP\">",
The_ClassForm[Gbl.Prefs.Theme],
Txt_Groups);
Lay_StartRoundFrameTable ("95%",0,NULL);
Lay_StartRoundFrameTable ("95%",NULL,NULL,NULL,0);
/***** First row: checkbox to select the whole course *****/
fprintf (Gbl.F.Out,"<tr>"

View File

@ -6145,7 +6145,7 @@ unsigned Usr_ListUsrsFound (Rol_Role_t Role,const char *SearchQuery)
Txt_users[Sex]) :
((NumUsrs == 1) ? Txt_ROLES_SINGUL_abc[Role][Sex] :
Txt_ROLES_PLURAL_abc[Role][Sex]));
Lay_StartRoundFrameTable (NULL,2,Gbl.Title);
Lay_StartRoundFrameTable (NULL,Gbl.Title,NULL,NULL,2);
/***** Heading row with column names *****/
Gbl.Usrs.Listing.WithPhotos = true;