mirror of https://github.com/acanas/swad-core.git
Version19.39.2
This commit is contained in:
parent
166a9a2b17
commit
9ba70c00cf
|
@ -459,7 +459,7 @@ static void ID_PutLinkToConfirmID (struct UsrData *UsrDat,unsigned NumID,
|
|||
extern const char *Txt_Confirm_ID;
|
||||
Act_Action_t NextAction;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
switch (UsrDat->Roles.InCurrentCrs.Role)
|
||||
{
|
||||
case Rol_STD:
|
||||
|
@ -593,7 +593,7 @@ static void ID_ShowFormChangeUsrID (const struct UsrData *UsrDat,
|
|||
if (IShouldFillInID)
|
||||
Ale_ShowAlert (Ale_WARNING,Txt_Please_fill_in_your_ID);
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginWidePadding (2);
|
||||
|
||||
/***** List existing user's IDs *****/
|
||||
|
|
|
@ -351,7 +351,7 @@ static void Acc_ShowFormRequestNewAccountWithParams (const char *NewNicknameWith
|
|||
extern const char *Txt_Email;
|
||||
char NewNicknameWithArroba[Nck_MAX_BYTES_NICKNAME_FROM_FORM + 1];
|
||||
|
||||
/***** Start form to enter some data of the new user *****/
|
||||
/***** Begin form to enter some data of the new user *****/
|
||||
Frm_StartForm (ActCreUsrAcc);
|
||||
|
||||
/***** Start box and table *****/
|
||||
|
|
|
@ -465,7 +465,7 @@ static void Agd_ShowEvents (Agd_AgendaType_t AgendaType)
|
|||
|
||||
if (Gbl.Agenda.Num)
|
||||
{
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginWideMarginPadding (2);
|
||||
|
||||
/***** Table head *****/
|
||||
|
@ -1474,7 +1474,7 @@ void Agd_RequestCreatOrEditEvent (void)
|
|||
Agd_GetEventTxtFromDB (&AgdEvent,Txt);
|
||||
}
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
if (ItsANewEvent)
|
||||
{
|
||||
Frm_StartForm (ActNewEvtMyAgd);
|
||||
|
|
|
@ -452,7 +452,7 @@ void Ale_ShowAlertAndButton2 (Act_Action_t NextAction,const char *Anchor,const c
|
|||
TxtButton)
|
||||
if (TxtButton[0])
|
||||
{
|
||||
/* Start form */
|
||||
/* Begin form */
|
||||
Frm_StartFormAnchorOnSubmit (NextAction,Anchor,OnSubmit);
|
||||
if (FuncParams)
|
||||
FuncParams ();
|
||||
|
|
|
@ -400,7 +400,7 @@ void Ann_ShowFormAnnouncement (void)
|
|||
extern const char *Txt_Users;
|
||||
extern const char *Txt_Create_announcement;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActRcvAnn);
|
||||
|
||||
/***** Start box and table *****/
|
||||
|
|
|
@ -1136,7 +1136,7 @@ void Asg_RequestCreatOrEditAsg (void)
|
|||
Asg_GetAssignmentTxtFromDB (Asg.AsgCod,Txt);
|
||||
}
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
if (ItsANewAssignment)
|
||||
{
|
||||
Frm_StartForm (ActNewAsg);
|
||||
|
|
|
@ -1075,7 +1075,7 @@ void Att_RequestCreatOrEditAttEvent (void)
|
|||
Att_GetAttEventDescriptionFromDB (Att.AttCod,Description);
|
||||
}
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
if (ItsANewAttEvent)
|
||||
Frm_StartForm (ActNewAtt);
|
||||
else
|
||||
|
@ -1878,7 +1878,7 @@ static void Att_ListAttOnlyMeAsStudent (struct AttendanceEvent *Att)
|
|||
/***** Get my setting about photos in users' list for current course *****/
|
||||
Usr_GetMyPrefAboutListWithPhotosFromDB ();
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
if (Att->Open)
|
||||
{
|
||||
Frm_StartForm (ActRecAttMe);
|
||||
|
@ -1890,7 +1890,7 @@ static void Att_ListAttOnlyMeAsStudent (struct AttendanceEvent *Att)
|
|||
Box_StartBox (NULL,Txt_Attendance,NULL,
|
||||
Hlp_USERS_Attendance,Box_NOT_CLOSABLE);
|
||||
|
||||
/* Start table */
|
||||
/* Begin table */
|
||||
Tbl_TABLE_BeginWideMarginPadding (2);
|
||||
|
||||
/* Header */
|
||||
|
@ -1963,12 +1963,12 @@ static void Att_ListAttStudents (struct AttendanceEvent *Att)
|
|||
/***** Initialize structure with user's data *****/
|
||||
Usr_UsrDataConstructor (&UsrDat);
|
||||
|
||||
/* Start form */
|
||||
/* Begin form */
|
||||
Frm_StartForm (ActRecAttStd);
|
||||
Att_PutParamAttCod (Att->AttCod);
|
||||
Grp_PutParamsCodGrps ();
|
||||
|
||||
/* Start table */
|
||||
/* Begin table */
|
||||
Tbl_TABLE_BeginWideMarginPadding (2);
|
||||
|
||||
/* Header */
|
||||
|
@ -3084,7 +3084,7 @@ static void Att_ListEventsToSelect (Att_TypeOfView_t TypeOfView)
|
|||
NULL,
|
||||
Box_NOT_CLOSABLE);
|
||||
|
||||
/***** Start form to update the attendance
|
||||
/***** Begin form to update the attendance
|
||||
depending on the events selected *****/
|
||||
if (NormalView)
|
||||
{
|
||||
|
@ -3093,7 +3093,7 @@ static void Att_ListEventsToSelect (Att_TypeOfView_t TypeOfView)
|
|||
Usr_PutHiddenParSelectedUsrsCods ();
|
||||
}
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginWidePadding (2);
|
||||
|
||||
/***** Heading row *****/
|
||||
|
@ -3221,7 +3221,7 @@ static void Att_ListUsrsAttendanceTable (Att_TypeOfView_t TypeOfView,
|
|||
/***** Start section with attendance table *****/
|
||||
Lay_StartSection (Att_ATTENDANCE_TABLE_ID);
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginCenterPadding (2);
|
||||
|
||||
/***** Heading row *****/
|
||||
|
|
|
@ -403,7 +403,7 @@ static void Ban_ListBannersForEdition (void)
|
|||
struct Banner *Ban;
|
||||
char *Anchor = NULL;
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginWidePadding (2);
|
||||
|
||||
/***** Table head *****/
|
||||
|
@ -855,7 +855,7 @@ static void Ban_PutFormToCreateBanner (void)
|
|||
extern const char *Txt_New_banner;
|
||||
extern const char *Txt_Create_banner;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActNewBan);
|
||||
|
||||
/***** Start box and table *****/
|
||||
|
|
|
@ -239,7 +239,7 @@ void Ctr_DrawCentreLogoAndNameWithLink (struct Centre *Ctr,Act_Action_t Action,
|
|||
{
|
||||
extern const char *Txt_Go_to_X;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartFormGoTo (Action);
|
||||
Ctr_PutParamCtrCod (Ctr->CtrCod);
|
||||
|
||||
|
@ -399,7 +399,7 @@ static void Ctr_Configuration (bool PrintView)
|
|||
Ctr_FreePhotoAttribution (&PhotoAttribution);
|
||||
}
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginWidePadding (2);
|
||||
|
||||
/***** Institution *****/
|
||||
|
@ -817,7 +817,7 @@ static void Ctr_ListCentres (void)
|
|||
|
||||
if (Gbl.Hierarchy.Ins.Ctrs.Num) // There are centres in the current institution
|
||||
{
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginWideMarginPadding (2);
|
||||
Ctr_PutHeadCentresForSeeing (true); // Order selectable
|
||||
|
||||
|
@ -1407,7 +1407,7 @@ void Ctr_WriteSelectorOfCentre (void)
|
|||
unsigned NumCtr;
|
||||
long CtrCod;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartFormGoTo (ActSeeDeg);
|
||||
fprintf (Gbl.F.Out,"<select id=\"ctr\" name=\"ctr\" class=\"HIE_SEL\"");
|
||||
if (Gbl.Hierarchy.Ins.InsCod > 0)
|
||||
|
@ -2306,7 +2306,7 @@ void Ctr_RequestPhoto (void)
|
|||
extern const char *Txt_XxY_pixels_or_higher;
|
||||
extern const char *Txt_File_with_the_photo;
|
||||
|
||||
/***** Start form to upload photo *****/
|
||||
/***** Begin form to upload photo *****/
|
||||
Frm_StartForm (ActRecCtrPho);
|
||||
|
||||
/***** Start box *****/
|
||||
|
@ -2494,7 +2494,7 @@ static void Ctr_PutFormToCreateCentre (void)
|
|||
extern const char *Txt_Create_centre;
|
||||
unsigned NumPlc;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
if (Gbl.Usrs.Me.Role.Logged >= Rol_INS_ADM)
|
||||
Frm_StartForm (ActNewCtr);
|
||||
else if (Gbl.Usrs.Me.Role.Max >= Rol_GST)
|
||||
|
|
|
@ -487,13 +487,14 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
|
|||
En OpenSWAD:
|
||||
ps2pdf source.ps destination.pdf
|
||||
*/
|
||||
#define Log_PLATFORM_VERSION "SWAD 19.39.1 (2019-10-18)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 19.39.2 (2019-10-18)"
|
||||
#define CSS_FILE "swad19.39.css"
|
||||
#define JS_FILE "swad19.39.js"
|
||||
/*
|
||||
// TODO: Perico: poner un candado de bloqueo de creación/edición de proyectos (por ejemplo en asignaturas obsoletas)
|
||||
// TODO: Hacer un nuevo rol en los TFG: tutor externo (profesor de áreas no vinculadas con el centro, profesionales de empresas, etc.)
|
||||
|
||||
Version 19.39.2: Oct 18, 2019 Fixed HTML bug in listing of registration requests. (245659 lines)
|
||||
Version 19.39.1: Oct 18, 2019 Changes in layout and behaviour of matches. (245656 lines)
|
||||
Version 19.39: Oct 17, 2019 Keyboard/presenter is allowed for playing matches. (245657 lines)
|
||||
2 changes necessary in database:
|
||||
|
|
|
@ -886,7 +886,7 @@ static void Cla_PutFormToCreateClassroom (void)
|
|||
extern const char *Txt_New_classroom;
|
||||
extern const char *Txt_Create_classroom;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActNewCla);
|
||||
|
||||
/***** Start box and table *****/
|
||||
|
|
|
@ -71,7 +71,7 @@ void Coo_EditMyPrefsOnCookies (void)
|
|||
Hlp_PROFILE_Settings_cookies,Box_NOT_CLOSABLE,2);
|
||||
|
||||
/***** Edit my preference about cookies *****/
|
||||
/* Start form */
|
||||
/* Begin form */
|
||||
Frm_StartFormAnchor (ActChgCooPrf,Coo_COOKIES_ID);
|
||||
|
||||
/* Start container */
|
||||
|
|
|
@ -316,7 +316,7 @@ static void Cty_Configuration (bool PrintView)
|
|||
Cty_FreeMapAttribution (&MapAttribution);
|
||||
}
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginWidePadding (2);
|
||||
|
||||
/***** Country name (an link to WWW if exists) *****/
|
||||
|
@ -808,7 +808,7 @@ void Cty_DrawCountryMapAndNameWithLink (struct Country *Cty,Act_Action_t Action,
|
|||
extern const char *Txt_Go_to_X;
|
||||
char CountryName[Cty_MAX_BYTES_NAME + 1];
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartFormGoTo (Action);
|
||||
Cty_PutParamCtyCod (Cty->CtyCod);
|
||||
fprintf (Gbl.F.Out,"<div class=\"%s\">",ClassContainer);
|
||||
|
@ -1218,7 +1218,7 @@ void Cty_WriteSelectorOfCountry (void)
|
|||
unsigned NumCty;
|
||||
long CtyCod;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartFormGoTo (ActSeeIns);
|
||||
fprintf (Gbl.F.Out,"<select id=\"cty\" name=\"cty\" class=\"HIE_SEL\""
|
||||
" onchange=\"document.getElementById('%s').submit();\">"
|
||||
|
@ -2026,7 +2026,7 @@ static void Cty_PutFormToCreateCountry (void)
|
|||
extern const char *Txt_Create_country;
|
||||
Lan_Language_t Lan;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActNewCty);
|
||||
|
||||
/***** Start box and table *****/
|
||||
|
|
|
@ -234,7 +234,7 @@ static void Crs_Configuration (bool PrintView)
|
|||
"</div>",
|
||||
Gbl.Hierarchy.Crs.FullName);
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginWidePadding (2);
|
||||
|
||||
/***** Degree *****/
|
||||
|
@ -925,7 +925,7 @@ void Crs_WriteSelectorOfCourse (void)
|
|||
unsigned NumCrs;
|
||||
long CrsCod;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartFormGoTo (ActSeeCrsInf);
|
||||
fprintf (Gbl.F.Out,"<select id=\"crs\" name=\"crs\" class=\"HIE_SEL\"");
|
||||
if (Gbl.Hierarchy.Deg.DegCod > 0)
|
||||
|
@ -1095,7 +1095,7 @@ void Crs_WriteSelectorMyCoursesInBreadcrumb (void)
|
|||
if (Gbl.Usrs.Me.Logged)
|
||||
Usr_GetMyCourses ();
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartFormGoTo (Gbl.Usrs.Me.MyCrss.Num ? ActSeeCrsInf :
|
||||
ActReqSch);
|
||||
|
||||
|
@ -1181,7 +1181,7 @@ static void Crs_ListCourses (void)
|
|||
|
||||
if (Gbl.Hierarchy.Deg.Crss.Num) // There are courses in the current degree
|
||||
{
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginWideMarginPadding (2);
|
||||
Crs_PutHeadCoursesForSeeing ();
|
||||
|
||||
|
@ -1697,7 +1697,7 @@ static void Crs_PutFormToCreateCourse (void)
|
|||
extern const char *Txt_Create_course;
|
||||
unsigned Year;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
if (Gbl.Usrs.Me.Role.Logged >= Rol_DEG_ADM)
|
||||
Frm_StartForm (ActNewCrs);
|
||||
else if (Gbl.Usrs.Me.Role.Max >= Rol_GST)
|
||||
|
@ -2952,7 +2952,7 @@ void Crs_PutIconToSelectMyCoursesInBreadcrumb (void)
|
|||
|
||||
if (Gbl.Usrs.Me.Logged) // I am logged
|
||||
{
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActMyCrs);
|
||||
|
||||
/***** Put icon with link *****/
|
||||
|
@ -3345,7 +3345,7 @@ void Crs_AskRemoveOldCrss (void)
|
|||
unsigned MonthsWithoutAccess = Crs_DEF_MONTHS_WITHOUT_ACCESS_TO_REMOVE_OLD_CRSS;
|
||||
unsigned i;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActRemOldCrs);
|
||||
|
||||
/***** Start box *****/
|
||||
|
|
|
@ -556,7 +556,7 @@ void Dat_WriteFormClientLocalDateTimeFromTimeUTC (const char *Id,
|
|||
};
|
||||
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_Begin (NULL);
|
||||
Tbl_TR_Begin (NULL);
|
||||
|
||||
|
@ -823,7 +823,7 @@ void Dat_WriteFormDate (unsigned FirstYear,unsigned LastYear,
|
|||
unsigned Day;
|
||||
unsigned NumDaysSelectedMonth;
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_Begin (NULL);
|
||||
Tbl_TR_Begin (NULL);
|
||||
|
||||
|
|
|
@ -245,7 +245,7 @@ void Deg_DrawDegreeLogoAndNameWithLink (struct Degree *Deg,Act_Action_t Action,
|
|||
{
|
||||
extern const char *Txt_Go_to_X;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartFormGoTo (Action);
|
||||
Deg_PutParamDegCod (Deg->DegCod);
|
||||
|
||||
|
@ -334,7 +334,7 @@ static void Deg_Configuration (bool PrintView)
|
|||
fprintf (Gbl.F.Out,"</a>");
|
||||
fprintf (Gbl.F.Out,"</div>");
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginWidePadding (2);
|
||||
|
||||
/***** Centre *****/
|
||||
|
@ -609,7 +609,7 @@ void Deg_WriteSelectorOfDegree (void)
|
|||
unsigned NumDeg;
|
||||
long DegCod;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartFormGoTo (ActSeeCrs);
|
||||
fprintf (Gbl.F.Out,"<select id=\"deg\" name=\"deg\" class=\"HIE_SEL\"");
|
||||
if (Gbl.Hierarchy.Ctr.CtrCod > 0)
|
||||
|
@ -952,7 +952,7 @@ static void Deg_PutFormToCreateDegree (void)
|
|||
struct DegreeType *DegTyp;
|
||||
unsigned NumDegTyp;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
if (Gbl.Usrs.Me.Role.Logged >= Rol_CTR_ADM)
|
||||
Frm_StartForm (ActNewDeg);
|
||||
else if (Gbl.Usrs.Me.Role.Max >= Rol_GST)
|
||||
|
|
|
@ -462,7 +462,7 @@ static void DT_PutFormToCreateDegreeType (void)
|
|||
extern const char *Txt_New_type_of_degree;
|
||||
extern const char *Txt_Create_type_of_degree;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActNewDegTyp);
|
||||
|
||||
/***** Start box and table *****/
|
||||
|
@ -523,7 +523,7 @@ static void DT_PutHeadDegreeTypesForSeeing (Act_Action_t NextAction,DT_Order_t S
|
|||
Tbl_TH_Begin (1,1,Order == DT_ORDER_BY_DEGREE_TYPE ? "LM" :
|
||||
"RM");
|
||||
|
||||
/* Start form to change order */
|
||||
/* Begin form to change order */
|
||||
Frm_StartForm (NextAction);
|
||||
if (NextAction == ActSeeUseGbl)
|
||||
Fig_PutHiddenParamFigures ();
|
||||
|
|
|
@ -499,7 +499,7 @@ static void Dpt_ListDepartmentsForEdition (void)
|
|||
struct Instit Ins;
|
||||
unsigned NumIns;
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginPadding (2);
|
||||
|
||||
/***** Write heading *****/
|
||||
|
@ -907,7 +907,7 @@ static void Dpt_PutFormToCreateDepartment (void)
|
|||
extern const char *Txt_Create_department;
|
||||
unsigned NumIns;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActNewDpt);
|
||||
|
||||
/***** Start box and table *****/
|
||||
|
|
|
@ -158,7 +158,7 @@ void Dup_ListDuplicateUsrs (void)
|
|||
/***** Initialize structure with user's data *****/
|
||||
Usr_UsrDataConstructor (&UsrDat);
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginCenterPadding (2);
|
||||
|
||||
/***** Heading row with column names *****/
|
||||
|
@ -293,7 +293,7 @@ static void Dup_ListSimilarUsrs (void)
|
|||
/***** Initialize structure with user's data *****/
|
||||
Usr_UsrDataConstructor (&UsrDat);
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginCenterPadding (2);
|
||||
|
||||
/***** Heading row with column names *****/
|
||||
|
|
|
@ -806,7 +806,7 @@ void Enr_AskRemoveOldUsrs (void)
|
|||
extern const char *Txt_Eliminate;
|
||||
unsigned Months;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActRemOldUsr);
|
||||
|
||||
/***** Start box *****/
|
||||
|
@ -2292,7 +2292,7 @@ static void Enr_ShowEnrolmentRequestsGivenRoles (unsigned RolesSelected)
|
|||
Hlp_USERS_Requests,Box_NOT_CLOSABLE);
|
||||
|
||||
/***** Selection of scope and roles *****/
|
||||
/* Start form and table */
|
||||
/* Begin form and table */
|
||||
Frm_StartForm (ActUpdSignUpReq);
|
||||
Tbl_TABLE_BeginWideMarginPadding (2);
|
||||
|
||||
|
@ -2809,9 +2809,12 @@ static void Enr_ShowEnrolmentRequestsGivenRoles (unsigned RolesSelected)
|
|||
/* Initialize structure with user's data */
|
||||
Usr_UsrDataConstructor (&UsrDat);
|
||||
|
||||
/* Start table */
|
||||
/* Begin table */
|
||||
Tbl_TABLE_BeginCenterPadding (2);
|
||||
|
||||
/* Table heading */
|
||||
Tbl_TR_Begin (NULL);
|
||||
|
||||
Tbl_TH_Empty (1);
|
||||
Tbl_TH (1,1,"LT",Txt_Course);
|
||||
Tbl_TH (1,1,"RT",Txt_ROLES_PLURAL_BRIEF_Abc[Rol_TCH]);
|
||||
|
|
|
@ -1033,13 +1033,13 @@ static void Exa_ShowExamAnnouncement (long ExaCod,
|
|||
|
||||
if (TypeViewExamAnnouncement == Exa_FORM_VIEW)
|
||||
{
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartFormAnchor (ActRcvExaAnn,Anchor);
|
||||
if (ExaCod > 0) // Existing announcement of exam
|
||||
Exa_PutHiddenParamExaCod (ExaCod);
|
||||
}
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_Begin ("%s CELLS_PAD_2",
|
||||
ClassExaAnnouncement[TypeViewExamAnnouncement][Gbl.ExamAnns.ExaDat.Status]);
|
||||
|
||||
|
|
|
@ -3255,7 +3255,7 @@ static void Brw_FormToChangeCrsGrpZone (void)
|
|||
/* Get list of group with file zones which I belong to */
|
||||
Grp_GetLstCodGrpsWithFileZonesIBelong (&LstMyGrps);
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (Brw_ActChgZone[Gbl.FileBrowser.Type]);
|
||||
Brw_PutHiddenParamFullTreeIfSelected ();
|
||||
|
||||
|
@ -3369,7 +3369,7 @@ static void Brw_ShowDataOwnerAsgWrk (struct UsrData *UsrDat)
|
|||
"PHOTO60x80",Pho_ZOOM,false);
|
||||
Tbl_TD_End ();
|
||||
|
||||
/***** Start form to send a message to this user *****/
|
||||
/***** Begin form to send a message to this user *****/
|
||||
Tbl_TD_Begin ("class=\"LT\"");
|
||||
|
||||
fprintf (Gbl.F.Out,"<div class=\"OWNER_WORKS_DATA AUTHOR_TXT\"");
|
||||
|
@ -6149,7 +6149,7 @@ static void Brw_PutIconFileWithLinkToViewMetadata (unsigned Size,
|
|||
{
|
||||
extern const char *Txt_View_data;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (Brw_ActReqDatFile[Gbl.FileBrowser.Type]);
|
||||
Brw_PutParamsFileBrowser (NULL, // Not used
|
||||
NULL, // Not used
|
||||
|
@ -8337,7 +8337,7 @@ static void Brw_PutFormToCreateAFolder (const char FileNameToShow[NAME_MAX + 1])
|
|||
extern const char *Txt_You_can_create_a_new_folder_inside_the_folder_X;
|
||||
extern const char *Txt_Folder;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (Brw_ActCreateFolder[Gbl.FileBrowser.Type]);
|
||||
Brw_PutImplicitParamsFileBrowser ();
|
||||
|
||||
|
@ -8467,7 +8467,7 @@ static void Brw_PutFormToPasteAFileOrFolder (const char *FileNameToShow)
|
|||
extern const char *Txt_Paste;
|
||||
extern const char *Txt_or_you_can_make_a_file_copy_to_the_folder_X;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (Brw_ActPaste[Gbl.FileBrowser.Type]);
|
||||
Brw_PutImplicitParamsFileBrowser ();
|
||||
|
||||
|
@ -8499,7 +8499,7 @@ static void Brw_PutFormToCreateALink (const char *FileNameToShow)
|
|||
extern const char *Txt_Save_as;
|
||||
extern const char *Txt_optional;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (Brw_ActCreateLink[Gbl.FileBrowser.Type]);
|
||||
Brw_PutImplicitParamsFileBrowser ();
|
||||
|
||||
|
@ -9477,7 +9477,7 @@ void Brw_ShowFileMetadata (void)
|
|||
FileMetadata.FilFolLnk.Name,
|
||||
FileNameToShow);
|
||||
|
||||
/***** Start form to update the metadata of a file *****/
|
||||
/***** Begin form to update the metadata of a file *****/
|
||||
if (ICanEdit) // I can edit file properties
|
||||
{
|
||||
/* Can the file be public? */
|
||||
|
@ -12060,7 +12060,7 @@ static void Brw_WriteRowDocData (unsigned long *NumDocsNotHidden,MYSQL_ROW row)
|
|||
/***** Write file name using path (row[1]) *****/
|
||||
Tbl_TD_Begin ("class=\"DAT_N LT %s\"",BgColor);
|
||||
|
||||
/* Start form */
|
||||
/* Begin form */
|
||||
Action = Brw_ActReqDatFile[Brw_FileBrowserForFoundDocs[FileMetadata.FileBrowser]];
|
||||
|
||||
if (CrsCod > 0)
|
||||
|
@ -12153,7 +12153,7 @@ void Brw_AskRemoveOldFiles (void)
|
|||
/***** Get parameters related to file browser *****/
|
||||
Brw_GetParAndInitFileBrowser ();
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActRemOldBrf);
|
||||
Brw_PutHiddenParamFullTreeIfSelected ();
|
||||
|
||||
|
|
|
@ -216,7 +216,7 @@ void Fol_SuggestUsrsToFollowMainZoneOnRightColumn (void)
|
|||
fprintf (Gbl.F.Out,"%s</a>",Txt_Who_to_follow);
|
||||
Frm_EndForm ();
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_Begin (NULL);
|
||||
|
||||
/***** Initialize structure with user's data *****/
|
||||
|
|
|
@ -124,7 +124,7 @@ static void Frm_StartFormInternal (Act_Action_t NextAction,bool PutParameterLoca
|
|||
|
||||
if (!Gbl.Form.Inside)
|
||||
{
|
||||
/* Start form */
|
||||
/* Begin form */
|
||||
fprintf (Gbl.F.Out,"<form method=\"post\" action=\"%s/%s",
|
||||
Cfg_URL_SWAD_CGI,
|
||||
Lan_STR_LANG_ID[Gbl.Prefs.Language]);
|
||||
|
|
|
@ -1030,7 +1030,7 @@ static void For_ShowPostsOfAThread (Ale_AlertType_t AlertType,const char *Messag
|
|||
Gbl.Forum.ForumSelected.ThrCod,
|
||||
&PaginationPsts);
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginWidePadding (2);
|
||||
|
||||
/***** Show posts from this page, the author and the date of last reply *****/
|
||||
|
@ -3928,7 +3928,7 @@ static void For_WriteFormForumPst (bool IsReply,const char *Subject)
|
|||
Box_StartBox (NULL,Txt_New_thread,NULL,
|
||||
Hlp_MESSAGES_Forums_new_thread,Box_NOT_CLOSABLE);
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
if (IsReply) // Form to write a reply to a post of an existing thread
|
||||
{
|
||||
Frm_StartFormAnchor (For_ActionsRecRepFor[Gbl.Forum.ForumSelected.Type],
|
||||
|
|
|
@ -392,7 +392,7 @@ void Gam_ShowOneGame (long GamCod,
|
|||
/***** Set anchor string *****/
|
||||
Frm_SetAnchorStr (Game.GamCod,&Anchor);
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
if (ShowOnlyThisGame)
|
||||
Tbl_TABLE_BeginWidePadding (2);
|
||||
|
||||
|
@ -1121,7 +1121,7 @@ static void Gam_PutFormsEditionGame (struct Game *Game,bool ItsANewGame)
|
|||
Gam_GetGameTxtFromDB (Game->GamCod,Txt);
|
||||
}
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Gam_SetParamCurrentGamCod (Game->GamCod); // Used to pass parameter
|
||||
Frm_StartForm (ItsANewGame ? ActNewGam :
|
||||
ActChgGam);
|
||||
|
|
|
@ -382,7 +382,7 @@ void Grp_ShowFormToSelectSeveralGroups (void (*FuncParams) (void),
|
|||
NULL,
|
||||
Hlp_USERS_Groups,Box_CLOSABLE);
|
||||
|
||||
/***** Start form to update the students listed
|
||||
/***** Begin form to update the students listed
|
||||
depending on the groups selected *****/
|
||||
Frm_StartFormAnchor (Gbl.Action.Act, // Repeat current action
|
||||
Usr_USER_LIST_SECTION_ID);
|
||||
|
@ -1809,7 +1809,7 @@ void Grp_ShowLstGrpsToChgMyGrps (void)
|
|||
|
||||
if (Gbl.Crs.Grps.NumGrps) // This course has groups
|
||||
{
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
if (PutFormToChangeGrps)
|
||||
Frm_StartForm (ActChgGrp);
|
||||
|
||||
|
@ -2469,7 +2469,7 @@ static void Grp_PutFormToCreateGroupType (void)
|
|||
extern const char *Txt_The_groups_will_not_automatically_open;
|
||||
extern const char *Txt_Create_type_of_group;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Lay_StartSection (Grp_NEW_GROUP_TYPE_SECTION_ID);
|
||||
Frm_StartFormAnchor (ActNewGrpTyp,Grp_GROUP_TYPES_SECTION_ID);
|
||||
|
||||
|
@ -2592,7 +2592,7 @@ static void Grp_PutFormToCreateGroup (void)
|
|||
unsigned NumCla;
|
||||
Rol_Role_t Role;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Lay_StartSection (Grp_NEW_GROUP_SECTION_ID);
|
||||
Frm_StartFormAnchor (ActNewGrp,Grp_GROUPS_SECTION_ID);
|
||||
|
||||
|
|
|
@ -98,7 +98,7 @@ void Hie_WriteMenuHierarchy (void)
|
|||
extern const char *Txt_Degree;
|
||||
extern const char *Txt_Course;
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginCenterPadding (2);
|
||||
|
||||
/***** Write a 1st selector
|
||||
|
|
|
@ -966,7 +966,7 @@ static void Hld_PutFormToCreateHoliday (void)
|
|||
unsigned NumPlc;
|
||||
Hld_HolidayType_t HolidayType;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActNewHld);
|
||||
|
||||
/***** Start box and table *****/
|
||||
|
|
|
@ -115,7 +115,7 @@ void Ind_ReqIndicatorsCourses (void)
|
|||
Hlp_ANALYTICS_Indicators,Box_NOT_CLOSABLE);
|
||||
|
||||
/***** Form to update indicators *****/
|
||||
/* Start form and table */
|
||||
/* Begin form and table */
|
||||
Frm_StartForm (ActReqStaCrs);
|
||||
Tbl_TABLE_BeginWidePadding (2);
|
||||
|
||||
|
@ -755,7 +755,7 @@ static void Ind_ShowTableOfCoursesWithIndicators (Ind_IndicatorsLayout_t Indicat
|
|||
struct Ind_IndicatorsCrs Indicators;
|
||||
long ActCod;
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_Begin ("INDICATORS");
|
||||
|
||||
/***** Write table heading *****/
|
||||
|
|
|
@ -1268,7 +1268,7 @@ void Inf_FormToSendPage (Inf_InfoSrc_t InfoSrc)
|
|||
extern const char *Txt_File;
|
||||
extern const char *Txt_Upload_file;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (Inf_ActionsInfo[InfoSrc][Gbl.Crs.Info.Type]);
|
||||
|
||||
/***** File *****/
|
||||
|
@ -1303,7 +1303,7 @@ void Inf_FormToSendURL (Inf_InfoSrc_t InfoSrc)
|
|||
/***** Build path to file containing URL *****/
|
||||
Inf_BuildPathURL (Gbl.Hierarchy.Crs.CrsCod,Gbl.Crs.Info.Type,PathFile);
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (Inf_ActionsInfo[InfoSrc][Gbl.Crs.Info.Type]);
|
||||
|
||||
/***** Link *****/
|
||||
|
@ -2064,7 +2064,7 @@ void Inf_EditPlainTxtInfo (void)
|
|||
/***** Set info type *****/
|
||||
Gbl.Crs.Info.Type = Inf_AsignInfoType ();
|
||||
|
||||
/***** Start form and box *****/
|
||||
/***** Begin form and box *****/
|
||||
Frm_StartForm (Inf_ActionsRcvPlaTxtInfo[Gbl.Crs.Info.Type]);
|
||||
Box_StartBox (NULL,Txt_INFO_TITLE[Gbl.Crs.Info.Type],NULL,
|
||||
HelpEdit[Gbl.Crs.Info.Type],Box_NOT_CLOSABLE);
|
||||
|
@ -2115,7 +2115,7 @@ void Inf_EditRichTxtInfo (void)
|
|||
/***** Set info type *****/
|
||||
Gbl.Crs.Info.Type = Inf_AsignInfoType ();
|
||||
|
||||
/***** Start form and box *****/
|
||||
/***** Begin form and box *****/
|
||||
Frm_StartForm (Inf_ActionsRcvRchTxtInfo[Gbl.Crs.Info.Type]);
|
||||
Box_StartBox (NULL,Txt_INFO_TITLE[Gbl.Crs.Info.Type],NULL,
|
||||
HelpEdit[Gbl.Crs.Info.Type],Box_NOT_CLOSABLE);
|
||||
|
|
|
@ -255,7 +255,7 @@ void Ins_DrawInstitutionLogoAndNameWithLink (struct Instit *Ins,Act_Action_t Act
|
|||
{
|
||||
extern const char *Txt_Go_to_X;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartFormGoTo (Action);
|
||||
Ins_PutParamInsCod (Ins->InsCod);
|
||||
|
||||
|
@ -347,7 +347,7 @@ static void Ins_Configuration (bool PrintView)
|
|||
fprintf (Gbl.F.Out,"</a>");
|
||||
fprintf (Gbl.F.Out,"</div>");
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginWidePadding (2);
|
||||
|
||||
/***** Country *****/
|
||||
|
@ -709,7 +709,7 @@ static void Ins_ListInstitutions (void)
|
|||
|
||||
if (Gbl.Hierarchy.Cty.Inss.Num) // There are institutions in the current country
|
||||
{
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginWideMarginPadding (2);
|
||||
Ins_PutHeadInstitutionsForSeeing (true); // Order selectable
|
||||
|
||||
|
@ -1385,7 +1385,7 @@ void Ins_WriteSelectorOfInstitution (void)
|
|||
unsigned NumIns;
|
||||
long InsCod;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartFormGoTo (ActSeeCtr);
|
||||
fprintf (Gbl.F.Out,"<select id=\"ins\" name=\"ins\" class=\"HIE_SEL\"");
|
||||
if (Gbl.Hierarchy.Cty.CtyCod > 0)
|
||||
|
@ -2205,7 +2205,7 @@ static void Ins_PutFormToCreateInstitution (void)
|
|||
extern const char *Txt_New_institution;
|
||||
extern const char *Txt_Create_institution;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
if (Gbl.Usrs.Me.Role.Logged == Rol_SYS_ADM)
|
||||
Frm_StartForm (ActNewIns);
|
||||
else if (Gbl.Usrs.Me.Role.Max >= Rol_GST)
|
||||
|
|
|
@ -927,7 +927,7 @@ static void Lay_WritePageTopHeading (void)
|
|||
/* 1st. row, 1st. column: logo, tagline and search */
|
||||
fprintf (Gbl.F.Out,"<div id=\"head_row_1_left\">");
|
||||
|
||||
/* Start form to go to home page */
|
||||
/* Begin form to go to home page */
|
||||
Frm_StartFormGoTo (ActMnu);
|
||||
Par_PutHiddenParamUnsigned ("NxtTab",(unsigned) TabSys);
|
||||
|
||||
|
@ -1176,7 +1176,7 @@ void Lay_PutContextualLinkOnlyIcon (Act_Action_t NextAction,const char *Anchor,
|
|||
const char *Icon,
|
||||
const char *Title)
|
||||
{
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartFormAnchor (NextAction,Anchor);
|
||||
if (FuncParams)
|
||||
FuncParams ();
|
||||
|
@ -1203,7 +1203,7 @@ void Lay_PutContextualLinkIconText (Act_Action_t NextAction,const char *Anchor,
|
|||
fprintf (Gbl.F.Out," "); // This space is necessary to enable
|
||||
// jumping to the next line on narrow screens
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartFormAnchor (NextAction,Anchor);
|
||||
if (FuncParams)
|
||||
FuncParams ();
|
||||
|
@ -1237,7 +1237,7 @@ void Lay_PutContextualLinkIconTextOnSubmit (Act_Action_t NextAction,const char *
|
|||
fprintf (Gbl.F.Out," "); // This space is necessary to enable
|
||||
// jumping to the next line on narrow screens
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartFormAnchor (NextAction,Anchor);
|
||||
if (FuncParams)
|
||||
FuncParams ();
|
||||
|
@ -1272,7 +1272,7 @@ void Lay_PutContextualCheckbox (Act_Action_t NextAction,
|
|||
fprintf (Gbl.F.Out," "); // This space is necessary to enable
|
||||
// jumping to the next line on narrow screens
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (NextAction);
|
||||
if (FuncParams)
|
||||
FuncParams ();
|
||||
|
@ -1623,7 +1623,7 @@ void Lay_WriteHeaderClassPhoto (bool PrintView,bool DrawingClassPhoto,
|
|||
Crs.CrsCod = CrsCod;
|
||||
Crs_GetDataOfCourseByCod (&Crs);
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginWidePadding (10);
|
||||
Tbl_TR_Begin (NULL);
|
||||
|
||||
|
|
|
@ -409,7 +409,7 @@ static void Lnk_ListLinksForEdition (void)
|
|||
unsigned NumLnk;
|
||||
struct Link *Lnk;
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginWidePadding (2);
|
||||
|
||||
/***** Table head *****/
|
||||
|
@ -736,7 +736,7 @@ static void Lnk_PutFormToCreateLink (void)
|
|||
extern const char *Txt_New_link;
|
||||
extern const char *Txt_Create_link;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActNewLnk);
|
||||
|
||||
/***** Start box and table *****/
|
||||
|
|
|
@ -284,7 +284,7 @@ void Log_RequestLogo (Hie_Level_t Scope)
|
|||
fprintf (Gbl.F.Out,"</div>");
|
||||
}
|
||||
|
||||
/***** Start form to upload logo *****/
|
||||
/***** Begin form to upload logo *****/
|
||||
Frm_StartForm (ActionRec);
|
||||
|
||||
/***** Start box *****/
|
||||
|
|
|
@ -746,7 +746,7 @@ static void Mai_PutFormToCreateMailDomain (void)
|
|||
extern const char *Txt_EMAIL_DOMAIN_ORDER[3];
|
||||
extern const char *Txt_Create_email_domain;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActNewMai);
|
||||
|
||||
/***** Start box and table *****/
|
||||
|
@ -1250,7 +1250,7 @@ static void Mai_ShowFormChangeUsrEmail (const struct UsrData *UsrDat,bool ItsMe,
|
|||
" ORDER BY CreatTime DESC",
|
||||
UsrDat->UsrCod);
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginWidePadding (2);
|
||||
|
||||
/***** List emails *****/
|
||||
|
|
10
swad_match.c
10
swad_match.c
|
@ -1160,7 +1160,7 @@ static void Mch_PutFormNewMatch (struct Game *Game)
|
|||
/***** Start section for a new match *****/
|
||||
Lay_StartSection (Mch_NEW_MATCH_SECTION_ID);
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActNewMch);
|
||||
Gam_PutParamGameCod (Game->GamCod);
|
||||
Gam_PutParamQstInd (0); // Start by first question in game
|
||||
|
@ -2287,7 +2287,7 @@ static void Mch_PutCheckboxResult (struct Match *Match)
|
|||
/***** Start container *****/
|
||||
fprintf (Gbl.F.Out,"<div class=\"MATCH_SHOW_RESULTS\">");
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActChgVisResMchQst);
|
||||
Mch_PutParamMchCod (Match->MchCod); // Current match being played
|
||||
|
||||
|
@ -2431,7 +2431,7 @@ static void Mch_ShowQuestionAndAnswersStd (struct Match *Match)
|
|||
/***** Get number of options in this question *****/
|
||||
NumOptions = Tst_GetNumAnswersQst (Match->Status.QstCod);
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginWidePadding (8);
|
||||
|
||||
for (NumOpt = 0;
|
||||
|
@ -2442,7 +2442,7 @@ static void Mch_ShowQuestionAndAnswersStd (struct Match *Match)
|
|||
Tbl_TR_Begin (NULL);
|
||||
|
||||
/***** Write letter for this option *****/
|
||||
/* Start table cell */
|
||||
/* Begin table cell */
|
||||
Tbl_TD_Begin ("class=\"MATCH_STD_CELL\"");
|
||||
|
||||
/* Form with button.
|
||||
|
@ -2600,7 +2600,7 @@ static unsigned Mch_GetParamNumOpt (void)
|
|||
static void Mch_PutBigButton (Act_Action_t NextAction,const char *Id,
|
||||
long MchCod,const char *Icon,const char *Txt)
|
||||
{
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartFormId (NextAction,Id);
|
||||
Mch_PutParamMchCod (MchCod);
|
||||
|
||||
|
|
|
@ -110,7 +110,7 @@ void McR_SelDatesToSeeMyMchResults (void)
|
|||
extern const char *Txt_Results;
|
||||
extern const char *Txt_View_matches_results;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActSeeMyMchRes);
|
||||
|
||||
/***** Start box and table *****/
|
||||
|
@ -199,7 +199,7 @@ void McR_SelUsrsToViewUsrsMchResults (void)
|
|||
/***** Form to select type of list used for select several users *****/
|
||||
Usr_ShowFormsToSelectUsrListType (NULL);
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActSeeUsrMchRes);
|
||||
Grp_PutParamsCodGrps ();
|
||||
|
||||
|
@ -741,7 +741,7 @@ void McR_ShowOneMchResult (void)
|
|||
Gbl.Hierarchy.Deg.DegCod,
|
||||
Gbl.Hierarchy.Crs.CrsCod);
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginWideMarginPadding (10);
|
||||
|
||||
/***** Header row *****/
|
||||
|
|
|
@ -363,7 +363,7 @@ void Mnu_WriteMenuThisTab (void)
|
|||
IsTheSelectedAction ? "MENU_OPT_ON" :
|
||||
"MENU_OPT_OFF");
|
||||
|
||||
/***** Start form and link *****/
|
||||
/***** Begin form and link *****/
|
||||
Frm_StartForm (NumAct);
|
||||
Frm_LinkFormSubmit (Title,The_ClassTxtMenu[Gbl.Prefs.Theme],NULL);
|
||||
|
||||
|
|
|
@ -272,7 +272,7 @@ static void Msg_PutFormMsgUsrs (char Content[Cns_MAX_BYTES_LONG_TEXT + 1])
|
|||
Usr_GetListMsgRecipientsWrittenExplicitelyBySender (false);
|
||||
}
|
||||
|
||||
/***** Start form to select recipients and write the message *****/
|
||||
/***** Begin form to select recipients and write the message *****/
|
||||
Frm_StartForm (ActRcvMsgUsr);
|
||||
if (Gbl.Msg.Reply.IsReply)
|
||||
{
|
||||
|
@ -286,7 +286,7 @@ static void Msg_PutFormMsgUsrs (char Content[Cns_MAX_BYTES_LONG_TEXT + 1])
|
|||
Par_PutHiddenParamChar ("ShowOnlyOneRecipient",'Y');
|
||||
}
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginCenterPadding (2);
|
||||
|
||||
/***** "To:" section (recipients) *****/
|
||||
|
@ -2646,7 +2646,7 @@ void Msg_ShowFormToFilterMsgs (void)
|
|||
Txt_MSG_To
|
||||
};
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginCenterPadding (2);
|
||||
|
||||
Tbl_TR_Begin (NULL);
|
||||
|
@ -3160,7 +3160,7 @@ static void Msg_WriteSentOrReceivedMsgSubject (long MsgCod,const char *Subject,b
|
|||
Tbl_TD_Begin ("class=\"%s LT\"",Open ? "MSG_TIT_BG" :
|
||||
"MSG_TIT_BG_NEW");
|
||||
|
||||
/***** Start form to expand/contract the message *****/
|
||||
/***** Begin form to expand/contract the message *****/
|
||||
Frm_StartForm (Gbl.Msg.TypeOfMessages == Msg_MESSAGES_RECEIVED ? (Expanded ? ActConRcvMsg :
|
||||
ActExpRcvMsg) :
|
||||
(Expanded ? ActConSntMsg :
|
||||
|
@ -3198,7 +3198,7 @@ void Msg_WriteMsgAuthor (struct UsrData *UsrDat,bool Enabled,const char *BgColor
|
|||
char PhotoURL[PATH_MAX + 1];
|
||||
bool WriteAuthor = false;
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginPadding (2);
|
||||
|
||||
Tbl_TR_Begin (NULL);
|
||||
|
@ -3487,7 +3487,7 @@ static void Msg_WriteMsgTo (long MsgCod)
|
|||
/***** Check number of recipients *****/
|
||||
if (NumRecipientsTotal)
|
||||
{
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_Begin (NULL);
|
||||
|
||||
/***** How many recipients will be shown? *****/
|
||||
|
@ -3561,7 +3561,7 @@ static void Msg_WriteMsgTo (long MsgCod)
|
|||
/***** If any recipients are unknown *****/
|
||||
if ((NumRecipientsUnknown = NumRecipientsTotal - NumRecipientsKnown))
|
||||
{
|
||||
/***** Start form to show all the users *****/
|
||||
/***** Begin form to show all the users *****/
|
||||
Tbl_TR_Begin (NULL);
|
||||
|
||||
Tbl_TD_Begin ("colspan=\"3\" class=\"AUTHOR_TXT LM\"");
|
||||
|
@ -3577,7 +3577,7 @@ static void Msg_WriteMsgTo (long MsgCod)
|
|||
/***** If any known recipient is not listed *****/
|
||||
if (NumRecipientsToShow < NumRecipientsKnown)
|
||||
{
|
||||
/***** Start form to show all the users *****/
|
||||
/***** Begin form to show all the users *****/
|
||||
Tbl_TR_Begin (NULL);
|
||||
|
||||
Tbl_TD_Begin ("colspan=\"3\" class=\"AUTHOR_TXT LM\"");
|
||||
|
|
|
@ -291,10 +291,10 @@ void Net_ShowFormMyWebsAndSocialNets (void)
|
|||
Net_PutIconsWebsSocialNetworks,
|
||||
Hlp_PROFILE_Webs,Box_NOT_CLOSABLE);
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginPadding (2);
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartFormAnchor (ActChgMyNet,Net_MY_WEBS_ID);
|
||||
|
||||
/***** List webs and social networks *****/
|
||||
|
|
|
@ -257,7 +257,7 @@ static void Nck_ShowFormChangeUsrNickname (const struct UsrData *UsrDat,bool Its
|
|||
if (IMustFillNickname)
|
||||
Ale_ShowAlert (Ale_WARNING,Txt_Before_going_to_any_other_option_you_must_fill_your_nickname);
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginWidePadding (2);
|
||||
|
||||
/***** List nicknames *****/
|
||||
|
|
|
@ -104,7 +104,7 @@ void Not_ShowFormNotice (void)
|
|||
Ale_ShowAlert (Ale_INFO,Txt_The_notice_will_appear_as_a_yellow_note_,
|
||||
Gbl.Hierarchy.Crs.FullName);
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActRcvNot);
|
||||
|
||||
/***** Start box *****/
|
||||
|
|
|
@ -392,7 +392,7 @@ void Ntf_ShowMyNotifications (void)
|
|||
/***** Initialize structure with user's data *****/
|
||||
Usr_UsrDataConstructor (&UsrDat);
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginWideMarginPadding (2);
|
||||
Tbl_TR_Begin (NULL);
|
||||
|
||||
|
@ -1919,7 +1919,7 @@ void Ntf_PutFormChangeNotifSentByEMail (void)
|
|||
Box_StartBox (NULL,Txt_Notifications,Ntf_PutIconsNotif,
|
||||
Hlp_PROFILE_Settings_notifications,Box_NOT_CLOSABLE);
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActChgNtfPrf);
|
||||
|
||||
/***** Warning if I can not receive email notifications *****/
|
||||
|
@ -2054,7 +2054,7 @@ void Ntf_WriteNumberOfNewNtfs (void)
|
|||
if ((NumUnseenNtfs = Ntf_GetNumberOfAllMyUnseenNtfs ()))
|
||||
NumNewNtfs = Ntf_GetNumberOfMyNewUnseenNtfs ();
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartFormId (ActSeeNewNtf,"form_ntf");
|
||||
Frm_LinkFormSubmitId (Txt_See_notifications,
|
||||
The_ClassNotif[Gbl.Prefs.Theme],"form_ntf",NULL);
|
||||
|
|
|
@ -271,7 +271,7 @@ void Pwd_ShowFormSendNewPwd (void)
|
|||
extern const char *Txt_nick_email_or_ID;
|
||||
extern const char *Txt_Get_a_new_password;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActSndNewPwd);
|
||||
|
||||
/***** Start box *****/
|
||||
|
@ -657,7 +657,7 @@ void Pwd_ShowFormChgMyPwd (void)
|
|||
/***** Start section *****/
|
||||
Lay_StartSection (Pwd_PASSWORD_SECTION_ID);
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartFormAnchor (ActChgMyPwd,Pwd_PASSWORD_SECTION_ID);
|
||||
|
||||
/***** Start box *****/
|
||||
|
@ -679,7 +679,7 @@ void Pwd_ShowFormChgMyPwd (void)
|
|||
Ale_ShowAlert (Ale_WARNING,Txt_Your_password_is_not_secure_enough);
|
||||
}
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginWidePadding (2);
|
||||
|
||||
/***** Current password *****/
|
||||
|
@ -739,7 +739,7 @@ void Pwd_PutFormToGetNewPasswordOnce (void)
|
|||
|
||||
Tbl_TR_Begin (NULL);
|
||||
|
||||
/***** Start form element ****/
|
||||
/***** Begin form element ****/
|
||||
Tbl_TD_Begin ("class=\"RM\"");
|
||||
fprintf (Gbl.F.Out,"<label for=\"Passwd\" class=\"%s\">%s:</label>",
|
||||
The_ClassFormInBox[Gbl.Prefs.Theme],
|
||||
|
@ -774,7 +774,7 @@ void Pwd_PutFormToGetNewPasswordTwice (void)
|
|||
extern const char *Txt_Retype_new_password;
|
||||
|
||||
/***** 1st password *****/
|
||||
/* Start form element */
|
||||
/* Begin form element */
|
||||
Tbl_TR_Begin (NULL);
|
||||
|
||||
Tbl_TD_Begin ("class=\"REC_C1_BOT RM\"");
|
||||
|
@ -799,7 +799,7 @@ void Pwd_PutFormToGetNewPasswordTwice (void)
|
|||
Tbl_TR_End ();
|
||||
|
||||
/***** 2nd password *****/
|
||||
/* Start form element */
|
||||
/* Begin form element */
|
||||
Tbl_TR_Begin (NULL);
|
||||
|
||||
Tbl_TD_Begin ("class=\"REC_C1_BOT RM\"");
|
||||
|
@ -845,7 +845,7 @@ void Pwd_ShowFormChgOtherUsrPwd (void)
|
|||
Ale_ShowAlerts (Pwd_PASSWORD_SECTION_ID);
|
||||
|
||||
/***** Form to change password *****/
|
||||
/* Start form */
|
||||
/* Begin form */
|
||||
switch (Gbl.Usrs.Other.UsrDat.Roles.InCurrentCrs.Role)
|
||||
{
|
||||
case Rol_STD:
|
||||
|
|
|
@ -307,7 +307,7 @@ static void Pho_ReqPhoto (const struct UsrData *UsrDat)
|
|||
Pho_PutIconToRequestRemoveOtherUsrPhoto,
|
||||
Hlp_PROFILE_Photo,Box_NOT_CLOSABLE);
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
if (ItsMe)
|
||||
Frm_StartForm (ActDetMyPho);
|
||||
else
|
||||
|
@ -1186,7 +1186,7 @@ void Pho_ShowUsrPhoto (const struct UsrData *UsrDat,const char *PhotoURL,
|
|||
char MainDegreeShrtName[Hie_MAX_BYTES_SHRT_NAME + 1];
|
||||
Rol_Role_t MaxRole; // Maximum user's role in his/her main degree
|
||||
|
||||
/***** Start form to go to public profile *****/
|
||||
/***** Begin form to go to public profile *****/
|
||||
if (PutLinkToPublicProfile)
|
||||
{
|
||||
if (FormUnique)
|
||||
|
@ -2013,7 +2013,7 @@ static void Pho_PutLinkToCalculateDegreeStats (void)
|
|||
/***** Start div *****/
|
||||
fprintf (Gbl.F.Out,"<div class=\"CONTEXT_MENU\">");
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActCalPhoDeg);
|
||||
Pho_PutHiddenParamTypeOfAvg ();
|
||||
Pho_PutHiddenParamPhotoSize ();
|
||||
|
|
|
@ -800,7 +800,7 @@ static void Plc_PutFormToCreatePlace (void)
|
|||
extern const char *Txt_New_place;
|
||||
extern const char *Txt_Create_place;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActNewPlc);
|
||||
|
||||
/***** Start box and table *****/
|
||||
|
|
|
@ -882,7 +882,7 @@ static void Plg_PutFormToCreatePlugin (void)
|
|||
extern const char *Txt_IP;
|
||||
extern const char *Txt_Create_plugin;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActNewPlg);
|
||||
|
||||
/***** Start box and table *****/
|
||||
|
|
|
@ -194,7 +194,7 @@ void Prf_RequestUserProfile (void)
|
|||
fprintf (Gbl.F.Out,"</div>");
|
||||
}
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActSeeOthPubPrf);
|
||||
|
||||
/***** Start box *****/
|
||||
|
|
|
@ -566,7 +566,7 @@ static void Prj_ShowFormToFilterByDpt (void)
|
|||
extern const char *Txt_Any_department;
|
||||
struct Prj_Filter Filter;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
fprintf (Gbl.F.Out,"<div>");
|
||||
Frm_StartForm (ActSeePrj);
|
||||
Filter.My_All = Gbl.Prjs.Filter.My_All;
|
||||
|
@ -975,7 +975,7 @@ static void Prj_PutIconsToLockUnlockAllProjects (void)
|
|||
|
||||
void Prj_ShowOneUniqueProject (struct Project *Prj)
|
||||
{
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginWidePadding (2);
|
||||
|
||||
/***** Write project head *****/
|
||||
|
@ -1909,7 +1909,7 @@ static void Prj_ShowOneProjectMembersWithARole (const struct Project *Prj,
|
|||
break;
|
||||
}
|
||||
|
||||
/***** Start table with all members with this role *****/
|
||||
/***** Begin table with all members with this role *****/
|
||||
Tbl_TABLE_BeginPadding (2);
|
||||
|
||||
/***** Write users *****/
|
||||
|
|
|
@ -366,7 +366,7 @@ void Rec_ShowFormCreateRecordField (void)
|
|||
extern const char *Txt_Create_record_field;
|
||||
Rec_VisibilityRecordFields_t Vis;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActNewFie);
|
||||
|
||||
/***** Start box and table *****/
|
||||
|
@ -2299,7 +2299,7 @@ void Rec_ShowSharedUsrRecord (Rec_SharedRecordViewType_t TypeOfView,
|
|||
Tbl_TABLE_End ();
|
||||
}
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
switch (TypeOfView)
|
||||
{
|
||||
case Rec_SHA_SIGN_UP_IN_CRS_FORM:
|
||||
|
@ -4044,7 +4044,7 @@ static void Rec_ShowFormMyInsCtrDpt (bool IAmATeacher)
|
|||
Cty_GetListCountries (Cty_GET_BASIC_DATA);
|
||||
}
|
||||
|
||||
/* Start form to select the country of my institution */
|
||||
/* Begin form to select the country of my institution */
|
||||
Frm_StartFormAnchor (ActChgCtyMyIns,Rec_MY_INS_CTR_DPT_ID);
|
||||
fprintf (Gbl.F.Out,"<select id=\"OthCtyCod\" name=\"OthCtyCod\""
|
||||
" class=\"REC_C2_BOT_INPUT\""
|
||||
|
@ -4086,7 +4086,7 @@ static void Rec_ShowFormMyInsCtrDpt (bool IAmATeacher)
|
|||
if (Gbl.Usrs.Me.UsrDat.InsCtyCod > 0)
|
||||
Ins_GetListInstitutions (Gbl.Usrs.Me.UsrDat.InsCtyCod,Ins_GET_BASIC_DATA);
|
||||
|
||||
/* Start form to select institution */
|
||||
/* Begin form to select institution */
|
||||
Frm_StartFormAnchor (ActChgMyIns,Rec_MY_INS_CTR_DPT_ID);
|
||||
fprintf (Gbl.F.Out,"<select id=\"OthInsCod\" name=\"OthInsCod\""
|
||||
" class=\"REC_C2_BOT_INPUT\""
|
||||
|
@ -4135,7 +4135,7 @@ static void Rec_ShowFormMyInsCtrDpt (bool IAmATeacher)
|
|||
if (Gbl.Usrs.Me.UsrDat.InsCod > 0)
|
||||
Ctr_GetListCentres (Gbl.Usrs.Me.UsrDat.InsCod);
|
||||
|
||||
/* Start form to select centre */
|
||||
/* Begin form to select centre */
|
||||
Frm_StartFormAnchor (ActChgMyCtr,Rec_MY_INS_CTR_DPT_ID);
|
||||
fprintf (Gbl.F.Out,"<select id=\"OthCtrCod\" name=\"OthCtrCod\""
|
||||
" class=\"REC_C2_BOT_INPUT\""
|
||||
|
|
|
@ -137,7 +137,7 @@ static void Sch_PutFormToSearchWithWhatToSearchAndScope (Act_Action_t Action,Hie
|
|||
Box_StartBox (NULL,Txt_Search,Crs_PutIconToSelectMyCourses,
|
||||
Hlp_START_Search,Box_NOT_CLOSABLE);
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (Action);
|
||||
|
||||
/***** Scope (whole platform, current country, current institution,
|
||||
|
|
|
@ -366,7 +366,7 @@ void Sta_AskShowCrsHits (void)
|
|||
/***** Put link to register students *****/
|
||||
Enr_CheckStdsAndPutButtonToRegisterStdsInCurrentCrs ();
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartFormAnchor (ActSeeAccCrs,Sta_STAT_RESULTS_SECTION_ID);
|
||||
|
||||
Grp_PutParamsCodGrps ();
|
||||
|
@ -533,7 +533,7 @@ void Sta_AskShowGblHits (void)
|
|||
|
||||
fprintf (Gbl.F.Out,"</div>");
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartFormAnchor (ActSeeAccGbl,Sta_STAT_RESULTS_SECTION_ID);
|
||||
|
||||
/***** Start box and table *****/
|
||||
|
|
|
@ -452,7 +452,7 @@ static void Svy_ShowOneSurvey (long SvyCod,struct SurveyQuestion *SvyQst,
|
|||
/***** Set anchor string *****/
|
||||
Frm_SetAnchorStr (Svy.SvyCod,&Anchor);
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
if (ShowOnlyThisSvyComplete)
|
||||
Tbl_TABLE_BeginWidePadding (2);
|
||||
|
||||
|
@ -1846,7 +1846,7 @@ void Svy_RequestCreatOrEditSvy (void)
|
|||
Svy_GetSurveyTxtFromDB (Svy.SvyCod,Txt);
|
||||
}
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Svy_CurrentSvyCod = Svy.SvyCod;
|
||||
Frm_StartForm (ItsANewSurvey ? ActNewSvy :
|
||||
ActChgSvy);
|
||||
|
@ -2688,13 +2688,13 @@ static void Svy_ShowFormEditOneQst (long SvyCod,struct SurveyQuestion *SvyQst,
|
|||
Box_StartBox (NULL,Txt_New_question,NULL,
|
||||
Hlp_ASSESSMENT_Surveys_questions,Box_NOT_CLOSABLE);
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActRcvSvyQst);
|
||||
Svy_PutParamSvyCod (SvyCod);
|
||||
if (SvyQst->QstCod > 0) // If the question already has assigned a code
|
||||
Svy_PutParamQstCod (SvyQst->QstCod);
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginWidePadding (2);
|
||||
|
||||
/***** Stem *****/
|
||||
|
@ -3209,7 +3209,7 @@ static void Svy_ListSvyQuestions (struct Survey *Svy,
|
|||
{
|
||||
if (PutFormAnswerSurvey)
|
||||
{
|
||||
/***** Start form to send answers to survey *****/
|
||||
/***** Begin form to send answers to survey *****/
|
||||
Frm_StartForm (ActAnsSvy);
|
||||
Svy_PutParamSvyCod (Svy->SvyCod);
|
||||
}
|
||||
|
|
22
swad_test.c
22
swad_test.c
|
@ -460,7 +460,7 @@ void Tst_ShowNewTest (void)
|
|||
Gbl.Hierarchy.Deg.DegCod,
|
||||
Gbl.Hierarchy.Crs.CrsCod);
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActAssTst);
|
||||
Gbl.Test.NumQsts = (unsigned) NumRows;
|
||||
Par_PutHiddenParamUnsigned ("NumTst",NumAccessesTst);
|
||||
|
@ -1912,7 +1912,7 @@ static void Tst_ShowFormConfigTst (void)
|
|||
Box_StartBox (NULL,Txt_Configure_tests,Tst_PutIconsTests,
|
||||
Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActRcvCfgTst);
|
||||
|
||||
/***** Tests are visible from plugins? *****/
|
||||
|
@ -3074,7 +3074,7 @@ static void Tst_ListOneOrMoreQuestionsForSelection (unsigned long NumRows,
|
|||
Box_StartBox (NULL,Txt_Questions,NULL,
|
||||
Hlp_ASSESSMENT_Games_questions,Box_NOT_CLOSABLE);
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActAddTstQstToGam);
|
||||
Gam_PutParams ();
|
||||
|
||||
|
@ -3699,7 +3699,7 @@ static void Tst_WriteChoiceAnsViewTest (unsigned NumQst,long QstCod,bool Shuffle
|
|||
row[4] Correct
|
||||
*/
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginPadding (2);
|
||||
|
||||
for (NumOpt = 0;
|
||||
|
@ -3820,7 +3820,7 @@ static void Tst_WriteChoiceAnsAssessTest (struct UsrData *UsrDat,
|
|||
/***** Compute the total score of this question *****/
|
||||
Tst_ComputeScoreQst (Indexes,AnswersUsr,ScoreThisQst,AnswerIsNotBlank);
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginPadding (2);
|
||||
Tbl_TR_Begin (NULL);
|
||||
Tst_WriteHeadUserCorrect (UsrDat);
|
||||
|
@ -4187,7 +4187,7 @@ static void Tst_WriteChoiceAnsViewMatch (long MchCod,unsigned QstInd,long QstCod
|
|||
/***** Get indexes for this question in match *****/
|
||||
Mch_GetIndexes (MchCod,QstInd,Indexes);
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginWidePadding (5);
|
||||
|
||||
/***** Show one row for each option *****/
|
||||
|
@ -5064,12 +5064,12 @@ static void Tst_PutFormEditOneQst (char Stem[Cns_MAX_BYTES_TEXT + 1],
|
|||
Box_StartBox (NULL,Txt_New_question,NULL,
|
||||
Hlp_ASSESSMENT_Tests_writing_a_question,Box_NOT_CLOSABLE);
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActRcvTstQst);
|
||||
if (Gbl.Test.QstCod > 0) // The question already has assigned a code
|
||||
Tst_PutParamQstCod ();
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginPadding (2); // Table for this question
|
||||
|
||||
/***** Help for text editor *****/
|
||||
|
@ -7457,7 +7457,7 @@ void Tst_SelUsrsToViewUsrsTstResults (void)
|
|||
/***** Form to select type of list used for select several users *****/
|
||||
Usr_ShowFormsToSelectUsrListType (NULL);
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActSeeUsrTstRes);
|
||||
Grp_PutParamsCodGrps ();
|
||||
|
||||
|
@ -7524,7 +7524,7 @@ void Tst_SelDatesToSeeMyTstResults (void)
|
|||
extern const char *Txt_Results;
|
||||
extern const char *Txt_View_test_results;
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (ActSeeMyTstRes);
|
||||
|
||||
/***** Start box and table *****/
|
||||
|
@ -8087,7 +8087,7 @@ void Tst_ShowOneTstResult (void)
|
|||
Gbl.Hierarchy.Deg.DegCod,
|
||||
Gbl.Hierarchy.Crs.CrsCod);
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_BeginWideMarginPadding (10);
|
||||
|
||||
/***** Header row *****/
|
||||
|
|
|
@ -2335,7 +2335,7 @@ static void TL_PutFormToWriteNewPost (void)
|
|||
/* Start container */
|
||||
fprintf (Gbl.F.Out,"<div class=\"TL_FORM_NEW_PST TL_RIGHT_WIDTH\">");
|
||||
|
||||
/* Start form to write the post */
|
||||
/* Begin form to write the post */
|
||||
TL_FormStart (ActRcvSocPstGbl,ActRcvSocPstUsr);
|
||||
|
||||
/* Textarea and button */
|
||||
|
@ -2552,7 +2552,7 @@ static void TL_PutHiddenFormToWriteNewCommentToNote (long NotCod,
|
|||
/* Start right container */
|
||||
fprintf (Gbl.F.Out,"<div class=\"TL_COM_CONT TL_COMM_WIDTH\">");
|
||||
|
||||
/* Start form to write the post */
|
||||
/* Begin form to write the post */
|
||||
TL_FormStart (ActRcvSocComGbl,ActRcvSocComUsr);
|
||||
TL_PutHiddenParamNotCod (NotCod);
|
||||
|
||||
|
|
|
@ -1125,7 +1125,7 @@ static void TT_DrawTimeTable (void)
|
|||
unsigned ColumnsToDrawIncludingExtraColumn;
|
||||
unsigned ContinuousFreeMinicolumns;
|
||||
|
||||
/***** Start table *****/
|
||||
/***** Begin table *****/
|
||||
Tbl_TABLE_Begin ("TT");
|
||||
|
||||
/***** Top row used for column adjustement *****/
|
||||
|
|
30
swad_user.c
30
swad_user.c
|
@ -2598,7 +2598,7 @@ void Usr_WriteFormLogin (Act_Action_t NextAction,void (*FuncParams) (void))
|
|||
|
||||
fprintf (Gbl.F.Out,"<div class=\"CM\">");
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartForm (NextAction);
|
||||
if (FuncParams)
|
||||
FuncParams ();
|
||||
|
@ -4113,7 +4113,7 @@ static void Usr_WriteUsrData (const char *BgColor,
|
|||
const char *Data,const char *Link,
|
||||
bool NonBreak,bool Accepted)
|
||||
{
|
||||
/***** Start table cell *****/
|
||||
/***** Begin table cell *****/
|
||||
Tbl_TD_Begin ("class=\"%s LM %s\"",
|
||||
Accepted ? (NonBreak ? "DAT_SMALL_NOBR_N" :
|
||||
"DAT_SMALL_N") :
|
||||
|
@ -6130,7 +6130,7 @@ static void Usr_FormToSelectUsrListType (void (*FuncParams) (void),
|
|||
extern const char *The_ClassFormInBoxNoWrap[The_NUM_THEMES];
|
||||
extern const char *Txt_USR_LIST_TYPES[Usr_NUM_USR_LIST_TYPES];
|
||||
|
||||
/***** Start form *****/
|
||||
/***** Begin form *****/
|
||||
Frm_StartFormAnchor (Gbl.Action.Act, // Repeat current action
|
||||
Usr_USER_LIST_SECTION_ID);
|
||||
Grp_PutParamsCodGrps ();
|
||||
|
@ -6209,7 +6209,7 @@ void Usr_PutFormToSelectUsrsToGoToAct (Act_Action_t NextAction,void (*FuncParams
|
|||
/***** Put link to register students *****/
|
||||
Enr_CheckStdsAndPutButtonToRegisterStdsInCurrentCrs ();
|
||||
|
||||
/* Start form */
|
||||
/* Begin form */
|
||||
Frm_StartForm (NextAction);
|
||||
if (FuncParams)
|
||||
FuncParams ();
|
||||
|
@ -6550,7 +6550,7 @@ static void Usr_ListMainDataStds (bool PutCheckBoxToSelectUsr)
|
|||
Gbl.Crs.Grps.GrpTypes.NumGrpsTotal)) == NULL)
|
||||
Lay_NotEnoughMemoryExit ();
|
||||
|
||||
/***** Start table with list of students *****/
|
||||
/***** Begin table with list of students *****/
|
||||
if (!Gbl.Usrs.ClassPhoto.AllGroups)
|
||||
{
|
||||
Tbl_TR_Begin (NULL);
|
||||
|
@ -6725,7 +6725,7 @@ void Usr_ListAllDataGsts (void)
|
|||
/***** Set number of columns *****/
|
||||
NumColumnsCommonCard = Usr_NUM_ALL_FIELDS_DATA_GST;
|
||||
|
||||
/***** Start table with list of guests *****/
|
||||
/***** Begin table with list of guests *****/
|
||||
Tbl_TABLE_BeginWide ();
|
||||
|
||||
/* Start row */
|
||||
|
@ -6870,7 +6870,7 @@ void Usr_ListAllDataStds (void)
|
|||
Lay_NotEnoughMemoryExit ();
|
||||
}
|
||||
|
||||
/***** Start table with list of students *****/
|
||||
/***** Begin table with list of students *****/
|
||||
Tbl_TABLE_BeginWide ();
|
||||
if (!Gbl.Usrs.ClassPhoto.AllGroups)
|
||||
{
|
||||
|
@ -7091,7 +7091,7 @@ void Usr_ListAllDataTchs (void)
|
|||
/***** Initialize number of columns *****/
|
||||
NumColumns = Usr_NUM_ALL_FIELDS_DATA_TCH;
|
||||
|
||||
/***** Start table with lists of teachers *****/
|
||||
/***** Begin table with lists of teachers *****/
|
||||
Tbl_TABLE_BeginWide ();
|
||||
|
||||
/***** List teachers and non-editing teachers *****/
|
||||
|
@ -7860,11 +7860,11 @@ void Usr_SeeGuests (void)
|
|||
/* Set options allowed */
|
||||
PutForm = Usr_SetOptionsListUsrsAllowed (Rol_GST,ICanChooseOption);
|
||||
|
||||
/* Start form */
|
||||
/* Begin form */
|
||||
if (PutForm)
|
||||
Frm_StartForm (ActDoActOnSevGst);
|
||||
|
||||
/* Start table */
|
||||
/* Begin table */
|
||||
Tbl_TABLE_BeginWide ();
|
||||
|
||||
/* Draw the classphoto/list */
|
||||
|
@ -8024,14 +8024,14 @@ void Usr_SeeStudents (void)
|
|||
/* Set options allowed */
|
||||
PutForm = Usr_SetOptionsListUsrsAllowed (Rol_STD,ICanChooseOption);
|
||||
|
||||
/* Start form */
|
||||
/* Begin form */
|
||||
if (PutForm)
|
||||
{
|
||||
Frm_StartForm (ActDoActOnSevStd);
|
||||
Grp_PutParamsCodGrps ();
|
||||
}
|
||||
|
||||
/* Start table */
|
||||
/* Begin table */
|
||||
Tbl_TABLE_BeginWide ();
|
||||
|
||||
/* Draw the classphoto/list */
|
||||
|
@ -8198,14 +8198,14 @@ void Usr_SeeTeachers (void)
|
|||
/* Set options allowed */
|
||||
PutForm = Usr_SetOptionsListUsrsAllowed (Rol_TCH,ICanChooseOption);
|
||||
|
||||
/* Start form */
|
||||
/* Begin form */
|
||||
if (PutForm)
|
||||
{
|
||||
Frm_StartForm (ActDoActOnSevTch);
|
||||
Grp_PutParamsCodGrps ();
|
||||
}
|
||||
|
||||
/* Start table */
|
||||
/* Begin table */
|
||||
Tbl_TABLE_BeginWide ();
|
||||
|
||||
/***** Draw the classphoto/list *****/
|
||||
|
@ -9744,7 +9744,7 @@ void Usr_ShowTableCellWithUsrData (struct UsrData *UsrDat,unsigned NumRows)
|
|||
"PHOTO45x60",Pho_ZOOM,false);
|
||||
Tbl_TD_End ();
|
||||
|
||||
/***** Start form to go to user's record card *****/
|
||||
/***** Begin form to go to user's record card *****/
|
||||
if (NumRows)
|
||||
Tbl_TD_Begin ("rowspan=\"%u\" class=\"LT COLOR%u\"",
|
||||
NumRows + 1,Gbl.RowEvenOdd);
|
||||
|
|
Loading…
Reference in New Issue