mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-13 04:04:35 +02:00
Version19.44
This commit is contained in:
parent
332bf62eba
commit
4a9bc596eb
|
@ -1020,6 +1020,13 @@ CREATE TABLE IF NOT EXISTS plugins (
|
||||||
IP CHAR(15) NOT NULL,
|
IP CHAR(15) NOT NULL,
|
||||||
UNIQUE INDEX(PlgCod));
|
UNIQUE INDEX(PlgCod));
|
||||||
--
|
--
|
||||||
|
-- Table prj_config: stores the configuration of projects for each course
|
||||||
|
--
|
||||||
|
CREATE TABLE IF NOT EXISTS prj_config (
|
||||||
|
CrsCod INT NOT NULL DEFAULT -1,
|
||||||
|
Editable ENUM('N','Y') NOT NULL DEFAULT 'Y',
|
||||||
|
UNIQUE INDEX(CrsCod));
|
||||||
|
--
|
||||||
-- Table prj_usr: stores the users inside projects
|
-- Table prj_usr: stores the users inside projects
|
||||||
--
|
--
|
||||||
CREATE TABLE IF NOT EXISTS prj_usr (
|
CREATE TABLE IF NOT EXISTS prj_usr (
|
||||||
|
@ -1036,7 +1043,7 @@ CREATE TABLE IF NOT EXISTS projects (
|
||||||
DptCod INT NOT NULL DEFAULT -1,
|
DptCod INT NOT NULL DEFAULT -1,
|
||||||
Locked ENUM('N','Y') NOT NULL DEFAULT 'N',
|
Locked ENUM('N','Y') NOT NULL DEFAULT 'N',
|
||||||
Hidden ENUM('N','Y') NOT NULL DEFAULT 'N',
|
Hidden ENUM('N','Y') NOT NULL DEFAULT 'N',
|
||||||
Preassigned ENUM('N','Y') NOT NULL DEFAULT 'N',
|
Assigned ENUM('N','Y') NOT NULL DEFAULT 'N',
|
||||||
NumStds INT NOT NULL DEFAULT 1,
|
NumStds INT NOT NULL DEFAULT 1,
|
||||||
Proposal ENUM('new','modified','unmodified') NOT NULL DEFAULT 'new',
|
Proposal ENUM('new','modified','unmodified') NOT NULL DEFAULT 'new',
|
||||||
CreatTime DATETIME NOT NULL,
|
CreatTime DATETIME NOT NULL,
|
||||||
|
|
|
@ -520,7 +520,7 @@ void ID_ShowFormChangeMyID (bool IShouldFillInID)
|
||||||
snprintf (StrRecordWidth,sizeof (StrRecordWidth),
|
snprintf (StrRecordWidth,sizeof (StrRecordWidth),
|
||||||
"%upx",
|
"%upx",
|
||||||
Rec_RECORD_WIDTH);
|
Rec_RECORD_WIDTH);
|
||||||
Box_StartBox (StrRecordWidth,Txt_ID,Acc_PutLinkToRemoveMyAccount,
|
Box_BoxBegin (StrRecordWidth,Txt_ID,Acc_PutLinkToRemoveMyAccount,
|
||||||
Hlp_PROFILE_Account,Box_NOT_CLOSABLE);
|
Hlp_PROFILE_Account,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Show form to change ID *****/
|
/***** Show form to change ID *****/
|
||||||
|
@ -529,7 +529,7 @@ void ID_ShowFormChangeMyID (bool IShouldFillInID)
|
||||||
IShouldFillInID);
|
IShouldFillInID);
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** End section *****/
|
/***** End section *****/
|
||||||
Lay_EndSection ();
|
Lay_EndSection ();
|
||||||
|
@ -552,7 +552,7 @@ void ID_ShowFormChangeOtherUsrID (void)
|
||||||
snprintf (StrRecordWidth,sizeof (StrRecordWidth),
|
snprintf (StrRecordWidth,sizeof (StrRecordWidth),
|
||||||
"%upx",
|
"%upx",
|
||||||
Rec_RECORD_WIDTH);
|
Rec_RECORD_WIDTH);
|
||||||
Box_StartBox (StrRecordWidth,Txt_ID,NULL,
|
Box_BoxBegin (StrRecordWidth,Txt_ID,NULL,
|
||||||
Hlp_PROFILE_Account,Box_NOT_CLOSABLE);
|
Hlp_PROFILE_Account,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Show form to change ID *****/
|
/***** Show form to change ID *****/
|
||||||
|
@ -561,7 +561,7 @@ void ID_ShowFormChangeOtherUsrID (void)
|
||||||
false); // IShouldFillInID
|
false); // IShouldFillInID
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** End section *****/
|
/***** End section *****/
|
||||||
Lay_EndSection ();
|
Lay_EndSection ();
|
||||||
|
|
|
@ -218,7 +218,7 @@ void MFU_WriteBigMFUActions (struct MFU_ListMFUActions *ListMFUActions)
|
||||||
char TabMenuStr[MFU_MAX_BYTES_TAB + 6 + MFU_MAX_BYTES_MENU + 1];
|
char TabMenuStr[MFU_MAX_BYTES_TAB + 6 + MFU_MAX_BYTES_MENU + 1];
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_My_frequent_actions,NULL,
|
Box_BoxBegin (NULL,Txt_My_frequent_actions,NULL,
|
||||||
Hlp_ANALYTICS_Frequent,Box_NOT_CLOSABLE);
|
Hlp_ANALYTICS_Frequent,Box_NOT_CLOSABLE);
|
||||||
HTM_DIV_Begin ("id=\"MFU_actions_big\"");
|
HTM_DIV_Begin ("id=\"MFU_actions_big\"");
|
||||||
|
|
||||||
|
@ -257,7 +257,7 @@ void MFU_WriteBigMFUActions (struct MFU_ListMFUActions *ListMFUActions)
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
HTM_DIV_End ();
|
HTM_DIV_End ();
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -141,7 +141,7 @@ static void Acc_ShowFormCheckIfIHaveAccount (const char *Title)
|
||||||
extern const char *Txt_Skip_this_step;
|
extern const char *Txt_Skip_this_step;
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Title,NULL,
|
Box_BoxBegin (NULL,Title,NULL,
|
||||||
Hlp_PROFILE_SignUp,Box_NOT_CLOSABLE);
|
Hlp_PROFILE_SignUp,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Help alert *****/
|
/***** Help alert *****/
|
||||||
|
@ -166,7 +166,7 @@ static void Acc_ShowFormCheckIfIHaveAccount (const char *Title)
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -430,7 +430,7 @@ void Acc_ShowFormGoToRequestNewAccount (void)
|
||||||
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
||||||
Txt_New_on_PLATFORM_Sign_up,
|
Txt_New_on_PLATFORM_Sign_up,
|
||||||
Cfg_PLATFORM_SHORT_NAME);
|
Cfg_PLATFORM_SHORT_NAME);
|
||||||
Box_StartBox (NULL,Gbl.Title,NULL,
|
Box_BoxBegin (NULL,Gbl.Title,NULL,
|
||||||
Hlp_PROFILE_SignUp,Box_NOT_CLOSABLE);
|
Hlp_PROFILE_SignUp,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Button to go to request the creation of a new account *****/
|
/***** Button to go to request the creation of a new account *****/
|
||||||
|
@ -439,7 +439,7 @@ void Acc_ShowFormGoToRequestNewAccount (void)
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -499,6 +499,12 @@ Assessment:
|
||||||
|
|
||||||
356. ActSeeTblAllPrj Show all projects in a table
|
356. ActSeeTblAllPrj Show all projects in a table
|
||||||
NEW. ActCfgPrj Configure all projects
|
NEW. ActCfgPrj Configure all projects
|
||||||
|
NEW. ActRcvCfgPrj Receive configuration of all projects
|
||||||
|
368. ActReqLckAllPrj Request locking of all projects
|
||||||
|
369. ActReqUnlAllPrj Request unlocking of all projects
|
||||||
|
370. ActLckAllPrj Lock all projects
|
||||||
|
371. ActUnlAllPrj Unlock all projects
|
||||||
|
|
||||||
357. ActFrmNewPrj Form to create a new project
|
357. ActFrmNewPrj Form to create a new project
|
||||||
358. ActEdiOnePrj Edit one project
|
358. ActEdiOnePrj Edit one project
|
||||||
359. ActPrnOnePrj Print one project
|
359. ActPrnOnePrj Print one project
|
||||||
|
@ -510,10 +516,6 @@ Assessment:
|
||||||
365. ActShoPrj Show project
|
365. ActShoPrj Show project
|
||||||
366. ActLckPrj Lock project edition
|
366. ActLckPrj Lock project edition
|
||||||
367. ActUnlPrj Unlock project edition
|
367. ActUnlPrj Unlock project edition
|
||||||
368. ActReqLckAllPrj Request locking of all projects
|
|
||||||
369. ActReqUnlAllPrj Request unlocking of all projects
|
|
||||||
370. ActLckAllPrj Lock all projects
|
|
||||||
371. ActUnlAllPrj Unlock all projects
|
|
||||||
372. ActReqAddStdPrj Request adding a student to a project
|
372. ActReqAddStdPrj Request adding a student to a project
|
||||||
373. ActReqAddTutPrj Request adding a tutor to a project
|
373. ActReqAddTutPrj Request adding a tutor to a project
|
||||||
374. ActReqAddEvlPrj Request adding an evaluator to a project
|
374. ActReqAddEvlPrj Request adding an evaluator to a project
|
||||||
|
@ -2062,7 +2064,12 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] =
|
||||||
/* ActShoAsg */{ 965,-1,TabUnk,ActSeeAsg ,0x220,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Asg_ShowAssignment ,NULL},
|
/* ActShoAsg */{ 965,-1,TabUnk,ActSeeAsg ,0x220,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Asg_ShowAssignment ,NULL},
|
||||||
|
|
||||||
/* ActSeeTblAllPrj */{1696,-1,TabUnk,ActSeePrj ,0x238,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_NEW_TAB,NULL ,Prj_ShowTableAllProjects ,NULL},
|
/* ActSeeTblAllPrj */{1696,-1,TabUnk,ActSeePrj ,0x238,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_NEW_TAB,NULL ,Prj_ShowTableAllProjects ,NULL},
|
||||||
/* ActCfgPrj */{1803,-1,TabUnk,ActSeePrj ,0x220,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_NEW_TAB,NULL ,Prj_ShowTableAllProjects ,NULL},
|
/* ActCfgPrj */{1803,-1,TabUnk,ActSeePrj ,0x220,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prj_ShowFormConfig ,NULL},
|
||||||
|
/* ActRcvCfgPrj */{1804,-1,TabUnk,ActSeePrj ,0x220,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prj_ReceiveConfigPrj ,NULL},
|
||||||
|
/* ActReqLckAllPrj */{1775,-1,TabUnk,ActSeePrj ,0x220,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prj_ReqLockAllProjectsEdition ,NULL},
|
||||||
|
/* ActReqUnlAllPrj */{1776,-1,TabUnk,ActSeePrj ,0x220,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prj_ReqUnlockAllProjectsEdition,NULL},
|
||||||
|
/* ActLckAllPrj */{1777,-1,TabUnk,ActSeePrj ,0x220,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prj_LockAllProjectsEdition ,NULL},
|
||||||
|
/* ActUnlAllPrj */{1778,-1,TabUnk,ActSeePrj ,0x220,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prj_UnlockAllProjectsEdition ,NULL},
|
||||||
/* ActFrmNewPrj */{1675,-1,TabUnk,ActSeePrj ,0x230,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prj_RequestCreatePrj ,NULL},
|
/* ActFrmNewPrj */{1675,-1,TabUnk,ActSeePrj ,0x230,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prj_RequestCreatePrj ,NULL},
|
||||||
/* ActEdiOnePrj */{1676,-1,TabUnk,ActSeePrj ,0x230,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prj_RequestEditPrj ,NULL},
|
/* ActEdiOnePrj */{1676,-1,TabUnk,ActSeePrj ,0x230,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prj_RequestEditPrj ,NULL},
|
||||||
/* ActPrnOnePrj */{1677,-1,TabUnk,ActSeePrj ,0x3F8,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_NEW_TAB,NULL ,Prj_PrintOneProject ,NULL},
|
/* ActPrnOnePrj */{1677,-1,TabUnk,ActSeePrj ,0x3F8,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_NEW_TAB,NULL ,Prj_PrintOneProject ,NULL},
|
||||||
|
@ -2074,10 +2081,6 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] =
|
||||||
/* ActShoPrj */{1683,-1,TabUnk,ActSeePrj ,0x230,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prj_ShowProject ,NULL},
|
/* ActShoPrj */{1683,-1,TabUnk,ActSeePrj ,0x230,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prj_ShowProject ,NULL},
|
||||||
/* ActLckPrj */{1773,-1,TabUnk,ActSeePrj ,0x220,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_AJAX_NORMAL,NULL ,Prj_LockProjectEdition ,NULL},
|
/* ActLckPrj */{1773,-1,TabUnk,ActSeePrj ,0x220,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_AJAX_NORMAL,NULL ,Prj_LockProjectEdition ,NULL},
|
||||||
/* ActUnlPrj */{1774,-1,TabUnk,ActSeePrj ,0x220,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_AJAX_NORMAL,NULL ,Prj_UnlockProjectEdition ,NULL},
|
/* ActUnlPrj */{1774,-1,TabUnk,ActSeePrj ,0x220,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_AJAX_NORMAL,NULL ,Prj_UnlockProjectEdition ,NULL},
|
||||||
/* ActReqLckAllPrj */{1775,-1,TabUnk,ActSeePrj ,0x220,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prj_ReqLockAllProjectsEdition ,NULL},
|
|
||||||
/* ActReqUnlAllPrj */{1776,-1,TabUnk,ActSeePrj ,0x220,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prj_ReqUnlockAllProjectsEdition,NULL},
|
|
||||||
/* ActLckAllPrj */{1777,-1,TabUnk,ActSeePrj ,0x220,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prj_LockAllProjectsEdition ,NULL},
|
|
||||||
/* ActUnlAllPrj */{1778,-1,TabUnk,ActSeePrj ,0x220,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prj_UnlockAllProjectsEdition ,NULL},
|
|
||||||
/* ActReqAddStdPrj */{1684,-1,TabUnk,ActSeePrj ,0x230,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prj_ReqAddStds ,NULL},
|
/* ActReqAddStdPrj */{1684,-1,TabUnk,ActSeePrj ,0x230,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prj_ReqAddStds ,NULL},
|
||||||
/* ActReqAddTutPrj */{1685,-1,TabUnk,ActSeePrj ,0x230,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prj_ReqAddTuts ,NULL},
|
/* ActReqAddTutPrj */{1685,-1,TabUnk,ActSeePrj ,0x230,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prj_ReqAddTuts ,NULL},
|
||||||
/* ActReqAddEvlPrj */{1686,-1,TabUnk,ActSeePrj ,0x230,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prj_ReqAddEvls ,NULL},
|
/* ActReqAddEvlPrj */{1686,-1,TabUnk,ActSeePrj ,0x230,0x200, 0, 0, 0, 0, 0,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Prj_ReqAddEvls ,NULL},
|
||||||
|
@ -5036,6 +5039,7 @@ Act_Action_t Act_FromActCodToAction[1 + Act_MAX_ACTION_COD] = // Do not reuse un
|
||||||
ActChgVisResMchUsr, // #1801
|
ActChgVisResMchUsr, // #1801
|
||||||
ActChgNumColMch, // #1802
|
ActChgNumColMch, // #1802
|
||||||
ActCfgPrj, // #1803
|
ActCfgPrj, // #1803
|
||||||
|
ActRcvCfgPrj, // #1804
|
||||||
};
|
};
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
303
swad_action.h
303
swad_action.h
|
@ -64,9 +64,9 @@ typedef enum
|
||||||
|
|
||||||
typedef signed int Act_Action_t; // Must be a signed type, because -1 is used to indicate obsolete action
|
typedef signed int Act_Action_t; // Must be a signed type, because -1 is used to indicate obsolete action
|
||||||
|
|
||||||
#define Act_NUM_ACTIONS (1 + 4 + 64 + 38 + 12 + 42 + 36 + 19 + 110 + 178 + 437 + 176 + 169 + 16 + 68)
|
#define Act_NUM_ACTIONS (1 + 4 + 64 + 38 + 12 + 42 + 36 + 19 + 110 + 179 + 437 + 176 + 169 + 16 + 68)
|
||||||
|
|
||||||
#define Act_MAX_ACTION_COD 1803
|
#define Act_MAX_ACTION_COD 1804
|
||||||
|
|
||||||
#define Act_MAX_OPTIONS_IN_MENU_PER_TAB 13
|
#define Act_MAX_OPTIONS_IN_MENU_PER_TAB 13
|
||||||
|
|
||||||
|
@ -515,166 +515,167 @@ typedef signed int Act_Action_t; // Must be a signed type, because -1 is used to
|
||||||
|
|
||||||
#define ActSeeTblAllPrj (ActChgCrsTT1stDay + 28)
|
#define ActSeeTblAllPrj (ActChgCrsTT1stDay + 28)
|
||||||
#define ActCfgPrj (ActChgCrsTT1stDay + 29)
|
#define ActCfgPrj (ActChgCrsTT1stDay + 29)
|
||||||
#define ActFrmNewPrj (ActChgCrsTT1stDay + 30)
|
#define ActRcvCfgPrj (ActChgCrsTT1stDay + 30)
|
||||||
#define ActEdiOnePrj (ActChgCrsTT1stDay + 31)
|
#define ActReqLckAllPrj (ActChgCrsTT1stDay + 31)
|
||||||
#define ActPrnOnePrj (ActChgCrsTT1stDay + 32)
|
#define ActReqUnlAllPrj (ActChgCrsTT1stDay + 32)
|
||||||
#define ActNewPrj (ActChgCrsTT1stDay + 33)
|
#define ActLckAllPrj (ActChgCrsTT1stDay + 33)
|
||||||
#define ActChgPrj (ActChgCrsTT1stDay + 34)
|
#define ActUnlAllPrj (ActChgCrsTT1stDay + 34)
|
||||||
#define ActReqRemPrj (ActChgCrsTT1stDay + 35)
|
#define ActFrmNewPrj (ActChgCrsTT1stDay + 35)
|
||||||
#define ActRemPrj (ActChgCrsTT1stDay + 36)
|
#define ActEdiOnePrj (ActChgCrsTT1stDay + 36)
|
||||||
#define ActHidPrj (ActChgCrsTT1stDay + 37)
|
#define ActPrnOnePrj (ActChgCrsTT1stDay + 37)
|
||||||
#define ActShoPrj (ActChgCrsTT1stDay + 38)
|
#define ActNewPrj (ActChgCrsTT1stDay + 38)
|
||||||
#define ActLckPrj (ActChgCrsTT1stDay + 39)
|
#define ActChgPrj (ActChgCrsTT1stDay + 39)
|
||||||
#define ActUnlPrj (ActChgCrsTT1stDay + 40)
|
#define ActReqRemPrj (ActChgCrsTT1stDay + 40)
|
||||||
#define ActReqLckAllPrj (ActChgCrsTT1stDay + 41)
|
#define ActRemPrj (ActChgCrsTT1stDay + 41)
|
||||||
#define ActReqUnlAllPrj (ActChgCrsTT1stDay + 42)
|
#define ActHidPrj (ActChgCrsTT1stDay + 42)
|
||||||
#define ActLckAllPrj (ActChgCrsTT1stDay + 43)
|
#define ActShoPrj (ActChgCrsTT1stDay + 43)
|
||||||
#define ActUnlAllPrj (ActChgCrsTT1stDay + 44)
|
#define ActLckPrj (ActChgCrsTT1stDay + 44)
|
||||||
#define ActReqAddStdPrj (ActChgCrsTT1stDay + 45)
|
#define ActUnlPrj (ActChgCrsTT1stDay + 45)
|
||||||
#define ActReqAddTutPrj (ActChgCrsTT1stDay + 46)
|
#define ActReqAddStdPrj (ActChgCrsTT1stDay + 46)
|
||||||
#define ActReqAddEvlPrj (ActChgCrsTT1stDay + 47)
|
#define ActReqAddTutPrj (ActChgCrsTT1stDay + 47)
|
||||||
#define ActAddStdPrj (ActChgCrsTT1stDay + 48)
|
#define ActReqAddEvlPrj (ActChgCrsTT1stDay + 48)
|
||||||
#define ActAddTutPrj (ActChgCrsTT1stDay + 49)
|
#define ActAddStdPrj (ActChgCrsTT1stDay + 49)
|
||||||
#define ActAddEvlPrj (ActChgCrsTT1stDay + 50)
|
#define ActAddTutPrj (ActChgCrsTT1stDay + 50)
|
||||||
#define ActReqRemStdPrj (ActChgCrsTT1stDay + 51)
|
#define ActAddEvlPrj (ActChgCrsTT1stDay + 51)
|
||||||
#define ActReqRemTutPrj (ActChgCrsTT1stDay + 52)
|
#define ActReqRemStdPrj (ActChgCrsTT1stDay + 52)
|
||||||
#define ActReqRemEvlPrj (ActChgCrsTT1stDay + 53)
|
#define ActReqRemTutPrj (ActChgCrsTT1stDay + 53)
|
||||||
#define ActRemStdPrj (ActChgCrsTT1stDay + 54)
|
#define ActReqRemEvlPrj (ActChgCrsTT1stDay + 54)
|
||||||
#define ActRemTutPrj (ActChgCrsTT1stDay + 55)
|
#define ActRemStdPrj (ActChgCrsTT1stDay + 55)
|
||||||
#define ActRemEvlPrj (ActChgCrsTT1stDay + 56)
|
#define ActRemTutPrj (ActChgCrsTT1stDay + 56)
|
||||||
|
#define ActRemEvlPrj (ActChgCrsTT1stDay + 57)
|
||||||
|
|
||||||
#define ActAdmDocPrj (ActChgCrsTT1stDay + 57)
|
#define ActAdmDocPrj (ActChgCrsTT1stDay + 58)
|
||||||
#define ActReqRemFilDocPrj (ActChgCrsTT1stDay + 58)
|
#define ActReqRemFilDocPrj (ActChgCrsTT1stDay + 59)
|
||||||
#define ActRemFilDocPrj (ActChgCrsTT1stDay + 59)
|
#define ActRemFilDocPrj (ActChgCrsTT1stDay + 60)
|
||||||
#define ActRemFolDocPrj (ActChgCrsTT1stDay + 60)
|
#define ActRemFolDocPrj (ActChgCrsTT1stDay + 61)
|
||||||
#define ActCopDocPrj (ActChgCrsTT1stDay + 61)
|
#define ActCopDocPrj (ActChgCrsTT1stDay + 62)
|
||||||
#define ActPasDocPrj (ActChgCrsTT1stDay + 62)
|
#define ActPasDocPrj (ActChgCrsTT1stDay + 63)
|
||||||
#define ActRemTreDocPrj (ActChgCrsTT1stDay + 63)
|
#define ActRemTreDocPrj (ActChgCrsTT1stDay + 64)
|
||||||
#define ActFrmCreDocPrj (ActChgCrsTT1stDay + 64)
|
#define ActFrmCreDocPrj (ActChgCrsTT1stDay + 65)
|
||||||
#define ActCreFolDocPrj (ActChgCrsTT1stDay + 65)
|
#define ActCreFolDocPrj (ActChgCrsTT1stDay + 66)
|
||||||
#define ActCreLnkDocPrj (ActChgCrsTT1stDay + 66)
|
#define ActCreLnkDocPrj (ActChgCrsTT1stDay + 67)
|
||||||
#define ActRenFolDocPrj (ActChgCrsTT1stDay + 67)
|
#define ActRenFolDocPrj (ActChgCrsTT1stDay + 68)
|
||||||
#define ActRcvFilDocPrjDZ (ActChgCrsTT1stDay + 68)
|
#define ActRcvFilDocPrjDZ (ActChgCrsTT1stDay + 69)
|
||||||
#define ActRcvFilDocPrjCla (ActChgCrsTT1stDay + 69)
|
#define ActRcvFilDocPrjCla (ActChgCrsTT1stDay + 70)
|
||||||
#define ActExpDocPrj (ActChgCrsTT1stDay + 70)
|
#define ActExpDocPrj (ActChgCrsTT1stDay + 71)
|
||||||
#define ActConDocPrj (ActChgCrsTT1stDay + 71)
|
#define ActConDocPrj (ActChgCrsTT1stDay + 72)
|
||||||
#define ActZIPDocPrj (ActChgCrsTT1stDay + 72)
|
#define ActZIPDocPrj (ActChgCrsTT1stDay + 73)
|
||||||
#define ActReqDatDocPrj (ActChgCrsTT1stDay + 73)
|
#define ActReqDatDocPrj (ActChgCrsTT1stDay + 74)
|
||||||
#define ActChgDatDocPrj (ActChgCrsTT1stDay + 74)
|
#define ActChgDatDocPrj (ActChgCrsTT1stDay + 75)
|
||||||
#define ActDowDocPrj (ActChgCrsTT1stDay + 75)
|
#define ActDowDocPrj (ActChgCrsTT1stDay + 76)
|
||||||
|
|
||||||
#define ActAdmAssPrj (ActChgCrsTT1stDay + 76)
|
#define ActAdmAssPrj (ActChgCrsTT1stDay + 77)
|
||||||
#define ActReqRemFilAssPrj (ActChgCrsTT1stDay + 77)
|
#define ActReqRemFilAssPrj (ActChgCrsTT1stDay + 78)
|
||||||
#define ActRemFilAssPrj (ActChgCrsTT1stDay + 78)
|
#define ActRemFilAssPrj (ActChgCrsTT1stDay + 79)
|
||||||
#define ActRemFolAssPrj (ActChgCrsTT1stDay + 79)
|
#define ActRemFolAssPrj (ActChgCrsTT1stDay + 80)
|
||||||
#define ActCopAssPrj (ActChgCrsTT1stDay + 80)
|
#define ActCopAssPrj (ActChgCrsTT1stDay + 81)
|
||||||
#define ActPasAssPrj (ActChgCrsTT1stDay + 81)
|
#define ActPasAssPrj (ActChgCrsTT1stDay + 82)
|
||||||
#define ActRemTreAssPrj (ActChgCrsTT1stDay + 82)
|
#define ActRemTreAssPrj (ActChgCrsTT1stDay + 83)
|
||||||
#define ActFrmCreAssPrj (ActChgCrsTT1stDay + 83)
|
#define ActFrmCreAssPrj (ActChgCrsTT1stDay + 84)
|
||||||
#define ActCreFolAssPrj (ActChgCrsTT1stDay + 84)
|
#define ActCreFolAssPrj (ActChgCrsTT1stDay + 85)
|
||||||
#define ActCreLnkAssPrj (ActChgCrsTT1stDay + 85)
|
#define ActCreLnkAssPrj (ActChgCrsTT1stDay + 86)
|
||||||
#define ActRenFolAssPrj (ActChgCrsTT1stDay + 86)
|
#define ActRenFolAssPrj (ActChgCrsTT1stDay + 87)
|
||||||
#define ActRcvFilAssPrjDZ (ActChgCrsTT1stDay + 87)
|
#define ActRcvFilAssPrjDZ (ActChgCrsTT1stDay + 88)
|
||||||
#define ActRcvFilAssPrjCla (ActChgCrsTT1stDay + 88)
|
#define ActRcvFilAssPrjCla (ActChgCrsTT1stDay + 89)
|
||||||
#define ActExpAssPrj (ActChgCrsTT1stDay + 89)
|
#define ActExpAssPrj (ActChgCrsTT1stDay + 90)
|
||||||
#define ActConAssPrj (ActChgCrsTT1stDay + 90)
|
#define ActConAssPrj (ActChgCrsTT1stDay + 91)
|
||||||
#define ActZIPAssPrj (ActChgCrsTT1stDay + 91)
|
#define ActZIPAssPrj (ActChgCrsTT1stDay + 92)
|
||||||
#define ActReqDatAssPrj (ActChgCrsTT1stDay + 92)
|
#define ActReqDatAssPrj (ActChgCrsTT1stDay + 93)
|
||||||
#define ActChgDatAssPrj (ActChgCrsTT1stDay + 93)
|
#define ActChgDatAssPrj (ActChgCrsTT1stDay + 94)
|
||||||
#define ActDowAssPrj (ActChgCrsTT1stDay + 94)
|
#define ActDowAssPrj (ActChgCrsTT1stDay + 95)
|
||||||
|
|
||||||
#define ActSeeTst (ActChgCrsTT1stDay + 95)
|
#define ActSeeTst (ActChgCrsTT1stDay + 96)
|
||||||
#define ActAssTst (ActChgCrsTT1stDay + 96)
|
#define ActAssTst (ActChgCrsTT1stDay + 97)
|
||||||
#define ActEdiTstQst (ActChgCrsTT1stDay + 97)
|
#define ActEdiTstQst (ActChgCrsTT1stDay + 98)
|
||||||
#define ActEdiOneTstQst (ActChgCrsTT1stDay + 98)
|
#define ActEdiOneTstQst (ActChgCrsTT1stDay + 99)
|
||||||
#define ActReqImpTstQst (ActChgCrsTT1stDay + 99)
|
#define ActReqImpTstQst (ActChgCrsTT1stDay + 100)
|
||||||
#define ActImpTstQst (ActChgCrsTT1stDay + 100)
|
#define ActImpTstQst (ActChgCrsTT1stDay + 101)
|
||||||
#define ActLstTstQst (ActChgCrsTT1stDay + 101)
|
#define ActLstTstQst (ActChgCrsTT1stDay + 102)
|
||||||
#define ActRcvTstQst (ActChgCrsTT1stDay + 102)
|
#define ActRcvTstQst (ActChgCrsTT1stDay + 103)
|
||||||
#define ActReqRemTstQst (ActChgCrsTT1stDay + 103)
|
#define ActReqRemTstQst (ActChgCrsTT1stDay + 104)
|
||||||
#define ActRemTstQst (ActChgCrsTT1stDay + 104)
|
#define ActRemTstQst (ActChgCrsTT1stDay + 105)
|
||||||
#define ActShfTstQst (ActChgCrsTT1stDay + 105)
|
#define ActShfTstQst (ActChgCrsTT1stDay + 106)
|
||||||
#define ActCfgTst (ActChgCrsTT1stDay + 106)
|
#define ActCfgTst (ActChgCrsTT1stDay + 107)
|
||||||
#define ActEnableTag (ActChgCrsTT1stDay + 107)
|
#define ActEnableTag (ActChgCrsTT1stDay + 108)
|
||||||
#define ActDisableTag (ActChgCrsTT1stDay + 108)
|
#define ActDisableTag (ActChgCrsTT1stDay + 109)
|
||||||
#define ActRenTag (ActChgCrsTT1stDay + 109)
|
#define ActRenTag (ActChgCrsTT1stDay + 110)
|
||||||
#define ActRcvCfgTst (ActChgCrsTT1stDay + 110)
|
#define ActRcvCfgTst (ActChgCrsTT1stDay + 111)
|
||||||
|
|
||||||
#define ActReqSeeMyTstRes (ActChgCrsTT1stDay + 111)
|
#define ActReqSeeMyTstRes (ActChgCrsTT1stDay + 112)
|
||||||
#define ActSeeMyTstRes (ActChgCrsTT1stDay + 112)
|
#define ActSeeMyTstRes (ActChgCrsTT1stDay + 113)
|
||||||
#define ActSeeOneTstResMe (ActChgCrsTT1stDay + 113)
|
#define ActSeeOneTstResMe (ActChgCrsTT1stDay + 114)
|
||||||
#define ActReqSeeUsrTstRes (ActChgCrsTT1stDay + 114)
|
#define ActReqSeeUsrTstRes (ActChgCrsTT1stDay + 115)
|
||||||
#define ActSeeUsrTstRes (ActChgCrsTT1stDay + 115)
|
#define ActSeeUsrTstRes (ActChgCrsTT1stDay + 116)
|
||||||
#define ActSeeOneTstResOth (ActChgCrsTT1stDay + 116)
|
#define ActSeeOneTstResOth (ActChgCrsTT1stDay + 117)
|
||||||
|
|
||||||
#define ActSeeGam (ActChgCrsTT1stDay + 117)
|
#define ActSeeGam (ActChgCrsTT1stDay + 118)
|
||||||
#define ActReqRemMch (ActChgCrsTT1stDay + 118)
|
#define ActReqRemMch (ActChgCrsTT1stDay + 119)
|
||||||
#define ActRemMch (ActChgCrsTT1stDay + 119)
|
#define ActRemMch (ActChgCrsTT1stDay + 120)
|
||||||
#define ActReqNewMch (ActChgCrsTT1stDay + 120)
|
#define ActReqNewMch (ActChgCrsTT1stDay + 121)
|
||||||
#define ActNewMch (ActChgCrsTT1stDay + 121)
|
#define ActNewMch (ActChgCrsTT1stDay + 122)
|
||||||
#define ActResMch (ActChgCrsTT1stDay + 122)
|
#define ActResMch (ActChgCrsTT1stDay + 123)
|
||||||
#define ActBckMch (ActChgCrsTT1stDay + 123)
|
#define ActBckMch (ActChgCrsTT1stDay + 124)
|
||||||
#define ActPlyPauMch (ActChgCrsTT1stDay + 124)
|
#define ActPlyPauMch (ActChgCrsTT1stDay + 125)
|
||||||
#define ActFwdMch (ActChgCrsTT1stDay + 125)
|
#define ActFwdMch (ActChgCrsTT1stDay + 126)
|
||||||
#define ActChgNumColMch (ActChgCrsTT1stDay + 126)
|
#define ActChgNumColMch (ActChgCrsTT1stDay + 127)
|
||||||
#define ActChgVisResMchQst (ActChgCrsTT1stDay + 127)
|
#define ActChgVisResMchQst (ActChgCrsTT1stDay + 128)
|
||||||
#define ActRefMchTch (ActChgCrsTT1stDay + 128)
|
#define ActRefMchTch (ActChgCrsTT1stDay + 129)
|
||||||
|
|
||||||
#define ActJoiMch (ActChgCrsTT1stDay + 129)
|
#define ActJoiMch (ActChgCrsTT1stDay + 130)
|
||||||
#define ActAnsMchQstStd (ActChgCrsTT1stDay + 130)
|
#define ActAnsMchQstStd (ActChgCrsTT1stDay + 131)
|
||||||
#define ActRefMchStd (ActChgCrsTT1stDay + 131)
|
#define ActRefMchStd (ActChgCrsTT1stDay + 132)
|
||||||
|
|
||||||
#define ActReqSeeMyMchRes (ActChgCrsTT1stDay + 132)
|
#define ActReqSeeMyMchRes (ActChgCrsTT1stDay + 133)
|
||||||
#define ActSeeMyMchRes (ActChgCrsTT1stDay + 133)
|
#define ActSeeMyMchRes (ActChgCrsTT1stDay + 134)
|
||||||
#define ActSeeOneMchResMe (ActChgCrsTT1stDay + 134)
|
#define ActSeeOneMchResMe (ActChgCrsTT1stDay + 135)
|
||||||
|
|
||||||
#define ActReqSeeUsrMchRes (ActChgCrsTT1stDay + 135)
|
#define ActReqSeeUsrMchRes (ActChgCrsTT1stDay + 136)
|
||||||
#define ActSeeUsrMchRes (ActChgCrsTT1stDay + 136)
|
#define ActSeeUsrMchRes (ActChgCrsTT1stDay + 137)
|
||||||
#define ActSeeOneMchResOth (ActChgCrsTT1stDay + 137)
|
#define ActSeeOneMchResOth (ActChgCrsTT1stDay + 138)
|
||||||
#define ActChgVisResMchUsr (ActChgCrsTT1stDay + 138)
|
#define ActChgVisResMchUsr (ActChgCrsTT1stDay + 139)
|
||||||
|
|
||||||
#define ActFrmNewGam (ActChgCrsTT1stDay + 139)
|
#define ActFrmNewGam (ActChgCrsTT1stDay + 140)
|
||||||
#define ActEdiOneGam (ActChgCrsTT1stDay + 140)
|
#define ActEdiOneGam (ActChgCrsTT1stDay + 141)
|
||||||
#define ActNewGam (ActChgCrsTT1stDay + 141)
|
#define ActNewGam (ActChgCrsTT1stDay + 142)
|
||||||
#define ActChgGam (ActChgCrsTT1stDay + 142)
|
#define ActChgGam (ActChgCrsTT1stDay + 143)
|
||||||
#define ActReqRemGam (ActChgCrsTT1stDay + 143)
|
#define ActReqRemGam (ActChgCrsTT1stDay + 144)
|
||||||
#define ActRemGam (ActChgCrsTT1stDay + 144)
|
#define ActRemGam (ActChgCrsTT1stDay + 145)
|
||||||
#define ActHidGam (ActChgCrsTT1stDay + 145)
|
#define ActHidGam (ActChgCrsTT1stDay + 146)
|
||||||
#define ActShoGam (ActChgCrsTT1stDay + 146)
|
#define ActShoGam (ActChgCrsTT1stDay + 147)
|
||||||
#define ActAddOneGamQst (ActChgCrsTT1stDay + 147)
|
#define ActAddOneGamQst (ActChgCrsTT1stDay + 148)
|
||||||
#define ActGamLstTstQst (ActChgCrsTT1stDay + 148)
|
#define ActGamLstTstQst (ActChgCrsTT1stDay + 149)
|
||||||
#define ActAddTstQstToGam (ActChgCrsTT1stDay + 149)
|
#define ActAddTstQstToGam (ActChgCrsTT1stDay + 150)
|
||||||
#define ActReqRemGamQst (ActChgCrsTT1stDay + 150)
|
#define ActReqRemGamQst (ActChgCrsTT1stDay + 151)
|
||||||
#define ActRemGamQst (ActChgCrsTT1stDay + 151)
|
#define ActRemGamQst (ActChgCrsTT1stDay + 152)
|
||||||
#define ActUp_GamQst (ActChgCrsTT1stDay + 152)
|
#define ActUp_GamQst (ActChgCrsTT1stDay + 153)
|
||||||
#define ActDwnGamQst (ActChgCrsTT1stDay + 153)
|
#define ActDwnGamQst (ActChgCrsTT1stDay + 154)
|
||||||
|
|
||||||
#define ActSeeSvy (ActChgCrsTT1stDay + 154)
|
#define ActSeeSvy (ActChgCrsTT1stDay + 155)
|
||||||
#define ActAnsSvy (ActChgCrsTT1stDay + 155)
|
#define ActAnsSvy (ActChgCrsTT1stDay + 156)
|
||||||
#define ActFrmNewSvy (ActChgCrsTT1stDay + 156)
|
#define ActFrmNewSvy (ActChgCrsTT1stDay + 157)
|
||||||
#define ActEdiOneSvy (ActChgCrsTT1stDay + 157)
|
#define ActEdiOneSvy (ActChgCrsTT1stDay + 158)
|
||||||
#define ActNewSvy (ActChgCrsTT1stDay + 158)
|
#define ActNewSvy (ActChgCrsTT1stDay + 159)
|
||||||
#define ActChgSvy (ActChgCrsTT1stDay + 159)
|
#define ActChgSvy (ActChgCrsTT1stDay + 160)
|
||||||
#define ActReqRemSvy (ActChgCrsTT1stDay + 160)
|
#define ActReqRemSvy (ActChgCrsTT1stDay + 161)
|
||||||
#define ActRemSvy (ActChgCrsTT1stDay + 161)
|
#define ActRemSvy (ActChgCrsTT1stDay + 162)
|
||||||
#define ActReqRstSvy (ActChgCrsTT1stDay + 162)
|
#define ActReqRstSvy (ActChgCrsTT1stDay + 163)
|
||||||
#define ActRstSvy (ActChgCrsTT1stDay + 163)
|
#define ActRstSvy (ActChgCrsTT1stDay + 164)
|
||||||
#define ActHidSvy (ActChgCrsTT1stDay + 164)
|
#define ActHidSvy (ActChgCrsTT1stDay + 165)
|
||||||
#define ActShoSvy (ActChgCrsTT1stDay + 165)
|
#define ActShoSvy (ActChgCrsTT1stDay + 166)
|
||||||
#define ActEdiOneSvyQst (ActChgCrsTT1stDay + 166)
|
#define ActEdiOneSvyQst (ActChgCrsTT1stDay + 167)
|
||||||
#define ActRcvSvyQst (ActChgCrsTT1stDay + 167)
|
#define ActRcvSvyQst (ActChgCrsTT1stDay + 168)
|
||||||
#define ActReqRemSvyQst (ActChgCrsTT1stDay + 168)
|
#define ActReqRemSvyQst (ActChgCrsTT1stDay + 169)
|
||||||
#define ActRemSvyQst (ActChgCrsTT1stDay + 169)
|
#define ActRemSvyQst (ActChgCrsTT1stDay + 170)
|
||||||
|
|
||||||
#define ActSeeOneExaAnn (ActChgCrsTT1stDay + 170)
|
#define ActSeeOneExaAnn (ActChgCrsTT1stDay + 171)
|
||||||
#define ActSeeDatExaAnn (ActChgCrsTT1stDay + 171)
|
#define ActSeeDatExaAnn (ActChgCrsTT1stDay + 172)
|
||||||
#define ActEdiExaAnn (ActChgCrsTT1stDay + 172)
|
#define ActEdiExaAnn (ActChgCrsTT1stDay + 173)
|
||||||
#define ActRcvExaAnn (ActChgCrsTT1stDay + 173)
|
#define ActRcvExaAnn (ActChgCrsTT1stDay + 174)
|
||||||
#define ActPrnExaAnn (ActChgCrsTT1stDay + 174)
|
#define ActPrnExaAnn (ActChgCrsTT1stDay + 175)
|
||||||
#define ActReqRemExaAnn (ActChgCrsTT1stDay + 175)
|
#define ActReqRemExaAnn (ActChgCrsTT1stDay + 176)
|
||||||
#define ActRemExaAnn (ActChgCrsTT1stDay + 176)
|
#define ActRemExaAnn (ActChgCrsTT1stDay + 177)
|
||||||
#define ActHidExaAnn (ActChgCrsTT1stDay + 177)
|
#define ActHidExaAnn (ActChgCrsTT1stDay + 178)
|
||||||
#define ActShoExaAnn (ActChgCrsTT1stDay + 178)
|
#define ActShoExaAnn (ActChgCrsTT1stDay + 179)
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/******************************** Files tab **********************************/
|
/******************************** Files tab **********************************/
|
||||||
|
|
|
@ -154,7 +154,7 @@ void Agd_ShowMyAgenda (void)
|
||||||
Agd_GetParams (Agd_MY_AGENDA);
|
Agd_GetParams (Agd_MY_AGENDA);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox ("100%",Txt_My_agenda,Agd_PutIconsMyFullAgenda,
|
Box_BoxBegin ("100%",Txt_My_agenda,Agd_PutIconsMyFullAgenda,
|
||||||
Hlp_PROFILE_Agenda,Box_NOT_CLOSABLE);
|
Hlp_PROFILE_Agenda,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Put forms to choice which events to show *****/
|
/***** Put forms to choice which events to show *****/
|
||||||
|
@ -171,7 +171,7 @@ void Agd_ShowMyAgenda (void)
|
||||||
Agd_ShowEvents (Agd_MY_AGENDA);
|
Agd_ShowEvents (Agd_MY_AGENDA);
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -357,7 +357,7 @@ void Agd_ShowUsrAgenda (void)
|
||||||
Txt_Public_agenda_USER,
|
Txt_Public_agenda_USER,
|
||||||
Gbl.Usrs.Other.UsrDat.FullName);
|
Gbl.Usrs.Other.UsrDat.FullName);
|
||||||
ItsMe = Usr_ItsMe (Gbl.Usrs.Other.UsrDat.UsrCod);
|
ItsMe = Usr_ItsMe (Gbl.Usrs.Other.UsrDat.UsrCod);
|
||||||
Box_StartBox ("100%",Gbl.Title,
|
Box_BoxBegin ("100%",Gbl.Title,
|
||||||
ItsMe ? Agd_PutIconsMyPublicAgenda :
|
ItsMe ? Agd_PutIconsMyPublicAgenda :
|
||||||
Agd_PutIconsOtherPublicAgenda,
|
Agd_PutIconsOtherPublicAgenda,
|
||||||
Hlp_PROFILE_Agenda_public_agenda,Box_NOT_CLOSABLE);
|
Hlp_PROFILE_Agenda_public_agenda,Box_NOT_CLOSABLE);
|
||||||
|
@ -369,7 +369,7 @@ void Agd_ShowUsrAgenda (void)
|
||||||
Agd_ShowEvents (Agd_ANOTHER_AGENDA);
|
Agd_ShowEvents (Agd_ANOTHER_AGENDA);
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Error)
|
if (Error)
|
||||||
|
@ -401,7 +401,7 @@ void Agd_ShowOtherAgendaAfterLogIn (void)
|
||||||
Txt_Public_agenda_USER,
|
Txt_Public_agenda_USER,
|
||||||
Gbl.Usrs.Other.UsrDat.FullName);
|
Gbl.Usrs.Other.UsrDat.FullName);
|
||||||
ItsMe = Usr_ItsMe (Gbl.Usrs.Other.UsrDat.UsrCod);
|
ItsMe = Usr_ItsMe (Gbl.Usrs.Other.UsrDat.UsrCod);
|
||||||
Box_StartBox ("100%",Gbl.Title,
|
Box_BoxBegin ("100%",Gbl.Title,
|
||||||
ItsMe ? Agd_PutIconToViewEditMyFullAgenda :
|
ItsMe ? Agd_PutIconToViewEditMyFullAgenda :
|
||||||
Agd_PutIconsOtherPublicAgenda,
|
Agd_PutIconsOtherPublicAgenda,
|
||||||
Hlp_PROFILE_Agenda_public_agenda,Box_NOT_CLOSABLE);
|
Hlp_PROFILE_Agenda_public_agenda,Box_NOT_CLOSABLE);
|
||||||
|
@ -413,7 +413,7 @@ void Agd_ShowOtherAgendaAfterLogIn (void)
|
||||||
Agd_ShowEvents (Agd_ANOTHER_AGENDA);
|
Agd_ShowEvents (Agd_ANOTHER_AGENDA);
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
Ale_ShowAlertUserNotFoundOrYouDoNotHavePermission ();
|
Ale_ShowAlertUserNotFoundOrYouDoNotHavePermission ();
|
||||||
|
@ -1904,12 +1904,12 @@ void Agd_PrintAgdQRCode (void)
|
||||||
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
||||||
Txt_Where_s_USER,
|
Txt_Where_s_USER,
|
||||||
Gbl.Usrs.Me.UsrDat.FullName);
|
Gbl.Usrs.Me.UsrDat.FullName);
|
||||||
Box_StartBox (NULL,Gbl.Title,NULL,
|
Box_BoxBegin (NULL,Gbl.Title,NULL,
|
||||||
NULL,Box_NOT_CLOSABLE);
|
NULL,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Print QR code ****/
|
/***** Print QR code ****/
|
||||||
QR_PrintQRCode ();
|
QR_PrintQRCode ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
|
@ -127,7 +127,7 @@ void Ann_ShowAllAnnouncements (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox ("550px",Txt_Announcements,
|
Box_BoxBegin ("550px",Txt_Announcements,
|
||||||
ICanEdit ? Ann_PutIconToAddNewAnnouncement :
|
ICanEdit ? Ann_PutIconToAddNewAnnouncement :
|
||||||
NULL,
|
NULL,
|
||||||
Hlp_MESSAGES_Announcements,Box_NOT_CLOSABLE);
|
Hlp_MESSAGES_Announcements,Box_NOT_CLOSABLE);
|
||||||
|
@ -174,7 +174,7 @@ void Ann_ShowAllAnnouncements (void)
|
||||||
Ann_PutButtonToAddNewAnnouncement ();
|
Ann_PutButtonToAddNewAnnouncement ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free structure that stores the query result *****/
|
/***** Free structure that stores the query result *****/
|
||||||
DB_FreeMySQLResult (&mysql_res);
|
DB_FreeMySQLResult (&mysql_res);
|
||||||
|
|
|
@ -143,7 +143,7 @@ static void Asg_ShowAllAssignments (void)
|
||||||
&Pagination);
|
&Pagination);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox ("100%",Txt_Assignments,Asg_PutIconsListAssignments,
|
Box_BoxBegin ("100%",Txt_Assignments,Asg_PutIconsListAssignments,
|
||||||
Hlp_ASSESSMENT_Assignments,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Assignments,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Select whether show only my groups or all groups *****/
|
/***** Select whether show only my groups or all groups *****/
|
||||||
|
@ -178,7 +178,7 @@ static void Asg_ShowAllAssignments (void)
|
||||||
Asg_PutButtonToCreateNewAsg ();
|
Asg_PutButtonToCreateNewAsg ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Write again links to pages *****/
|
/***** Write again links to pages *****/
|
||||||
if (Pagination.MoreThanOnePage)
|
if (Pagination.MoreThanOnePage)
|
||||||
|
|
|
@ -223,7 +223,7 @@ static void Att_ShowAllAttEvents (void)
|
||||||
&Pagination);
|
&Pagination);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox ("100%",Txt_Events,Att_PutIconsInListOfAttEvents,
|
Box_BoxBegin ("100%",Txt_Events,Att_PutIconsInListOfAttEvents,
|
||||||
Hlp_USERS_Attendance,Box_NOT_CLOSABLE);
|
Hlp_USERS_Attendance,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Select whether show only my groups or all groups *****/
|
/***** Select whether show only my groups or all groups *****/
|
||||||
|
@ -284,7 +284,7 @@ static void Att_ShowAllAttEvents (void)
|
||||||
Att_PutButtonToCreateNewAttEvent ();
|
Att_PutButtonToCreateNewAttEvent ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Write again links to pages *****/
|
/***** Write again links to pages *****/
|
||||||
if (Pagination.MoreThanOnePage)
|
if (Pagination.MoreThanOnePage)
|
||||||
|
@ -1887,7 +1887,7 @@ static void Att_ListAttOnlyMeAsStudent (struct AttendanceEvent *Att)
|
||||||
|
|
||||||
/***** List students (only me) *****/
|
/***** List students (only me) *****/
|
||||||
/* Start box */
|
/* Start box */
|
||||||
Box_StartBox (NULL,Txt_Attendance,NULL,
|
Box_BoxBegin (NULL,Txt_Attendance,NULL,
|
||||||
Hlp_USERS_Attendance,Box_NOT_CLOSABLE);
|
Hlp_USERS_Attendance,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/* Begin table */
|
/* Begin table */
|
||||||
|
@ -1919,7 +1919,7 @@ static void Att_ListAttOnlyMeAsStudent (struct AttendanceEvent *Att)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* End box */
|
/* End box */
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -1945,7 +1945,7 @@ static void Att_ListAttStudents (struct AttendanceEvent *Att)
|
||||||
Usr_GetListUsrs (Hie_CRS,Rol_STD);
|
Usr_GetListUsrs (Hie_CRS,Rol_STD);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Attendance,NULL,
|
Box_BoxBegin (NULL,Txt_Attendance,NULL,
|
||||||
Hlp_USERS_Attendance,Box_NOT_CLOSABLE);
|
Hlp_USERS_Attendance,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Form to select groups *****/
|
/***** Form to select groups *****/
|
||||||
|
@ -2017,7 +2017,7 @@ static void Att_ListAttStudents (struct AttendanceEvent *Att)
|
||||||
Lay_EndSection ();
|
Lay_EndSection ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free memory for students list *****/
|
/***** Free memory for students list *****/
|
||||||
Usr_FreeUsrsList (Rol_STD);
|
Usr_FreeUsrsList (Rol_STD);
|
||||||
|
@ -2721,7 +2721,7 @@ static void Usr_ListOrPrintMyAttendanceCrs (Att_TypeOfView_t TypeOfView)
|
||||||
Att_GetListSelectedAttCods (&Gbl.AttEvents.StrAttCodsSelected);
|
Att_GetListSelectedAttCods (&Gbl.AttEvents.StrAttCodsSelected);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Attendance,
|
Box_BoxBegin (NULL,Txt_Attendance,
|
||||||
TypeOfView == Att_NORMAL_VIEW_ONLY_ME ? Att_PutIconsMyAttList :
|
TypeOfView == Att_NORMAL_VIEW_ONLY_ME ? Att_PutIconsMyAttList :
|
||||||
NULL,
|
NULL,
|
||||||
TypeOfView == Att_NORMAL_VIEW_ONLY_ME ? Hlp_USERS_Attendance_attendance_list :
|
TypeOfView == Att_NORMAL_VIEW_ONLY_ME ? Hlp_USERS_Attendance_attendance_list :
|
||||||
|
@ -2742,7 +2742,7 @@ static void Usr_ListOrPrintMyAttendanceCrs (Att_TypeOfView_t TypeOfView)
|
||||||
Att_ListStdsWithAttEventsDetails (1,&Gbl.Usrs.Me.UsrDat.UsrCod);
|
Att_ListStdsWithAttEventsDetails (1,&Gbl.Usrs.Me.UsrDat.UsrCod);
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free memory for list of attendance events selected *****/
|
/***** Free memory for list of attendance events selected *****/
|
||||||
free ((void *) Gbl.AttEvents.StrAttCodsSelected);
|
free ((void *) Gbl.AttEvents.StrAttCodsSelected);
|
||||||
|
@ -2807,7 +2807,7 @@ static void Usr_ListOrPrintUsrsAttendanceCrs (Att_TypeOfView_t TypeOfView)
|
||||||
Att_GetListSelectedAttCods (&Gbl.AttEvents.StrAttCodsSelected);
|
Att_GetListSelectedAttCods (&Gbl.AttEvents.StrAttCodsSelected);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Attendance_list,
|
Box_BoxBegin (NULL,Txt_Attendance_list,
|
||||||
TypeOfView == Att_NORMAL_VIEW_STUDENTS ? Att_PutIconsStdsAttList :
|
TypeOfView == Att_NORMAL_VIEW_STUDENTS ? Att_PutIconsStdsAttList :
|
||||||
NULL,
|
NULL,
|
||||||
TypeOfView == Att_NORMAL_VIEW_STUDENTS ? Hlp_USERS_Attendance_attendance_list :
|
TypeOfView == Att_NORMAL_VIEW_STUDENTS ? Hlp_USERS_Attendance_attendance_list :
|
||||||
|
@ -2828,7 +2828,7 @@ static void Usr_ListOrPrintUsrsAttendanceCrs (Att_TypeOfView_t TypeOfView)
|
||||||
Att_ListStdsWithAttEventsDetails (NumUsrsInList,LstSelectedUsrCods);
|
Att_ListStdsWithAttEventsDetails (NumUsrsInList,LstSelectedUsrCods);
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free memory for list of attendance events selected *****/
|
/***** Free memory for list of attendance events selected *****/
|
||||||
free ((void *) Gbl.AttEvents.StrAttCodsSelected);
|
free ((void *) Gbl.AttEvents.StrAttCodsSelected);
|
||||||
|
@ -3077,7 +3077,7 @@ static void Att_ListEventsToSelect (Att_TypeOfView_t TypeOfView)
|
||||||
TypeOfView == Att_NORMAL_VIEW_STUDENTS);
|
TypeOfView == Att_NORMAL_VIEW_STUDENTS);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Events,
|
Box_BoxBegin (NULL,Txt_Events,
|
||||||
TypeOfView == Att_NORMAL_VIEW_ONLY_ME ? Att_PutIconToViewAttEvents :
|
TypeOfView == Att_NORMAL_VIEW_ONLY_ME ? Att_PutIconToViewAttEvents :
|
||||||
(TypeOfView == Att_NORMAL_VIEW_STUDENTS ? Att_PutIconToEditAttEvents :
|
(TypeOfView == Att_NORMAL_VIEW_STUDENTS ? Att_PutIconToEditAttEvents :
|
||||||
NULL),
|
NULL),
|
||||||
|
@ -3178,7 +3178,7 @@ static void Att_ListEventsToSelect (Att_TypeOfView_t TypeOfView)
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -111,7 +111,7 @@ void Ban_SeeBanners (void)
|
||||||
Ban_GetListBanners (&mysql_res,NumRows);
|
Ban_GetListBanners (&mysql_res,NumRows);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Banners,Ban_PutIconsListingBanners,
|
Box_BoxBegin (NULL,Txt_Banners,Ban_PutIconsListingBanners,
|
||||||
Hlp_SYSTEM_Banners,Box_NOT_CLOSABLE);
|
Hlp_SYSTEM_Banners,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Write all banners *****/
|
/***** Write all banners *****/
|
||||||
|
@ -129,7 +129,7 @@ void Ban_SeeBanners (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free list of banners *****/
|
/***** Free list of banners *****/
|
||||||
Ban_FreeListBanners ();
|
Ban_FreeListBanners ();
|
||||||
|
@ -222,7 +222,7 @@ static void Ban_EditBannersInternal (void)
|
||||||
Ban_GetListBanners (&mysql_res,NumRows);
|
Ban_GetListBanners (&mysql_res,NumRows);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Banners,Ban_PutIconsEditingBanners,
|
Box_BoxBegin (NULL,Txt_Banners,Ban_PutIconsEditingBanners,
|
||||||
Hlp_SYSTEM_Banners_edit,Box_NOT_CLOSABLE);
|
Hlp_SYSTEM_Banners_edit,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Put a form to create a new banner *****/
|
/***** Put a form to create a new banner *****/
|
||||||
|
@ -233,7 +233,7 @@ static void Ban_EditBannersInternal (void)
|
||||||
Ban_ListBannersForEdition ();
|
Ban_ListBannersForEdition ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free list of banners *****/
|
/***** Free list of banners *****/
|
||||||
Ban_FreeListBanners ();
|
Ban_FreeListBanners ();
|
||||||
|
|
10
swad_box.c
10
swad_box.c
|
@ -77,7 +77,7 @@ void Box_StartBoxTable (const char *Width,const char *Title,
|
||||||
const char *HelpLink,Box_Closable_t Closable,
|
const char *HelpLink,Box_Closable_t Closable,
|
||||||
unsigned CellPadding) // CellPadding must be 0, 1, 2, 5 or 10
|
unsigned CellPadding) // CellPadding must be 0, 1, 2, 5 or 10
|
||||||
{
|
{
|
||||||
Box_StartBox (Width,Title,FunctionToDrawContextualIcons,
|
Box_BoxBegin (Width,Title,FunctionToDrawContextualIcons,
|
||||||
HelpLink,Closable);
|
HelpLink,Closable);
|
||||||
HTM_TABLE_BeginWidePadding (CellPadding);
|
HTM_TABLE_BeginWidePadding (CellPadding);
|
||||||
}
|
}
|
||||||
|
@ -93,7 +93,7 @@ void Box_StartBoxTableShadow (const char *Width,const char *Title,
|
||||||
HTM_TABLE_BeginWidePadding (CellPadding);
|
HTM_TABLE_BeginWidePadding (CellPadding);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Box_StartBox (const char *Width,const char *Title,
|
void Box_BoxBegin (const char *Width,const char *Title,
|
||||||
void (*FunctionToDrawContextualIcons) (void),
|
void (*FunctionToDrawContextualIcons) (void),
|
||||||
const char *HelpLink,Box_Closable_t Closable)
|
const char *HelpLink,Box_Closable_t Closable)
|
||||||
{
|
{
|
||||||
|
@ -207,7 +207,7 @@ static void Box_StartBoxInternal (const char *Width,const char *Title,
|
||||||
void Box_EndBoxTable (void)
|
void Box_EndBoxTable (void)
|
||||||
{
|
{
|
||||||
HTM_TABLE_End ();
|
HTM_TABLE_End ();
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Box_EndBoxTableWithButton (Btn_Button_t Button,const char *TxtButton)
|
void Box_EndBoxTableWithButton (Btn_Button_t Button,const char *TxtButton)
|
||||||
|
@ -219,10 +219,10 @@ void Box_EndBoxTableWithButton (Btn_Button_t Button,const char *TxtButton)
|
||||||
void Box_EndBoxWithButton (Btn_Button_t Button,const char *TxtButton)
|
void Box_EndBoxWithButton (Btn_Button_t Button,const char *TxtButton)
|
||||||
{
|
{
|
||||||
Btn_PutButton (Button,TxtButton);
|
Btn_PutButton (Button,TxtButton);
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Box_EndBox (void)
|
void Box_BoxEnd (void)
|
||||||
{
|
{
|
||||||
/***** Check level of nesting *****/
|
/***** Check level of nesting *****/
|
||||||
if (Gbl.Box.Nested < 0)
|
if (Gbl.Box.Nested < 0)
|
||||||
|
|
|
@ -55,7 +55,7 @@ void Box_StartBoxTable (const char *Width,const char *Title,
|
||||||
void (*FunctionToDrawContextualIcons) (void),
|
void (*FunctionToDrawContextualIcons) (void),
|
||||||
const char *HelpLink,Box_Closable_t Closable,
|
const char *HelpLink,Box_Closable_t Closable,
|
||||||
unsigned CellPadding);
|
unsigned CellPadding);
|
||||||
void Box_StartBox (const char *Width,const char *Title,
|
void Box_BoxBegin (const char *Width,const char *Title,
|
||||||
void (*FunctionToDrawContextualIcons) (void),
|
void (*FunctionToDrawContextualIcons) (void),
|
||||||
const char *HelpLink,Box_Closable_t Closable);
|
const char *HelpLink,Box_Closable_t Closable);
|
||||||
void Box_StartBoxShadow (const char *Width,const char *Title,
|
void Box_StartBoxShadow (const char *Width,const char *Title,
|
||||||
|
@ -68,6 +68,6 @@ void Box_StartBoxTableShadow (const char *Width,const char *Title,
|
||||||
void Box_EndBoxTable (void);
|
void Box_EndBoxTable (void);
|
||||||
void Box_EndBoxTableWithButton (Btn_Button_t Button,const char *TxtButton);
|
void Box_EndBoxTableWithButton (Btn_Button_t Button,const char *TxtButton);
|
||||||
void Box_EndBoxWithButton (Btn_Button_t Button,const char *TxtButton);
|
void Box_EndBoxWithButton (Btn_Button_t Button,const char *TxtButton);
|
||||||
void Box_EndBox (void);
|
void Box_BoxEnd (void);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -81,12 +81,12 @@ void Cal_PutIconsToSelectFirstDayOfWeek (void)
|
||||||
extern const char *Hlp_PROFILE_Settings_calendar;
|
extern const char *Hlp_PROFILE_Settings_calendar;
|
||||||
extern const char *Txt_Calendar;
|
extern const char *Txt_Calendar;
|
||||||
|
|
||||||
Box_StartBox (NULL,Txt_Calendar,Cal_PutIconsFirstDayOfWeek,
|
Box_BoxBegin (NULL,Txt_Calendar,Cal_PutIconsFirstDayOfWeek,
|
||||||
Hlp_PROFILE_Settings_calendar,Box_NOT_CLOSABLE);
|
Hlp_PROFILE_Settings_calendar,Box_NOT_CLOSABLE);
|
||||||
Set_StartSettingsHead ();
|
Set_StartSettingsHead ();
|
||||||
Cal_ShowFormToSelFirstDayOfWeek (ActChg1stDay,NULL);
|
Cal_ShowFormToSelFirstDayOfWeek (ActChg1stDay,NULL);
|
||||||
Set_EndSettingsHead ();
|
Set_EndSettingsHead ();
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -260,7 +260,7 @@ static void Cal_DrawCalendar (Act_Action_t ActionSeeCalendar,
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,NULL,FunctionToDrawContextualIcons,
|
Box_BoxBegin (NULL,NULL,FunctionToDrawContextualIcons,
|
||||||
PrintView ? NULL :
|
PrintView ? NULL :
|
||||||
Hlp_START_Calendar,Box_NOT_CLOSABLE);
|
Hlp_START_Calendar,Box_NOT_CLOSABLE);
|
||||||
Lay_WriteHeaderClassPhoto (PrintView,false,
|
Lay_WriteHeaderClassPhoto (PrintView,false,
|
||||||
|
@ -301,7 +301,7 @@ static void Cal_DrawCalendar (Act_Action_t ActionSeeCalendar,
|
||||||
ParamsStr);
|
ParamsStr);
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -324,10 +324,10 @@ static void Ctr_Configuration (bool PrintView)
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
if (PrintView)
|
if (PrintView)
|
||||||
Box_StartBox (NULL,NULL,NULL,
|
Box_BoxBegin (NULL,NULL,NULL,
|
||||||
NULL,Box_NOT_CLOSABLE);
|
NULL,Box_NOT_CLOSABLE);
|
||||||
else
|
else
|
||||||
Box_StartBox (NULL,NULL,Ctr_PutIconsCtrConfig,
|
Box_BoxBegin (NULL,NULL,Ctr_PutIconsCtrConfig,
|
||||||
Hlp_CENTRE_Information,Box_NOT_CLOSABLE);
|
Hlp_CENTRE_Information,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Title *****/
|
/***** Title *****/
|
||||||
|
@ -695,7 +695,7 @@ static void Ctr_Configuration (bool PrintView)
|
||||||
HTM_TABLE_End ();
|
HTM_TABLE_End ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -815,7 +815,7 @@ static void Ctr_ListCentres (void)
|
||||||
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
||||||
Txt_Centres_of_INSTITUTION_X,
|
Txt_Centres_of_INSTITUTION_X,
|
||||||
Gbl.Hierarchy.Ins.FullName);
|
Gbl.Hierarchy.Ins.FullName);
|
||||||
Box_StartBox (NULL,Gbl.Title,Ctr_PutIconsListingCentres,
|
Box_BoxBegin (NULL,Gbl.Title,Ctr_PutIconsListingCentres,
|
||||||
Hlp_INSTITUTION_Centres,Box_NOT_CLOSABLE);
|
Hlp_INSTITUTION_Centres,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
if (Gbl.Hierarchy.Ins.Ctrs.Num) // There are centres in the current institution
|
if (Gbl.Hierarchy.Ins.Ctrs.Num) // There are centres in the current institution
|
||||||
|
@ -846,7 +846,7 @@ static void Ctr_ListCentres (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -1014,7 +1014,7 @@ static void Ctr_EditCentresInternal (void)
|
||||||
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
||||||
Txt_Centres_of_INSTITUTION_X,
|
Txt_Centres_of_INSTITUTION_X,
|
||||||
Gbl.Hierarchy.Ins.FullName);
|
Gbl.Hierarchy.Ins.FullName);
|
||||||
Box_StartBox (NULL,Gbl.Title,Ctr_PutIconsEditingCentres,
|
Box_BoxBegin (NULL,Gbl.Title,Ctr_PutIconsEditingCentres,
|
||||||
Hlp_INSTITUTION_Centres,Box_NOT_CLOSABLE);
|
Hlp_INSTITUTION_Centres,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Put a form to create a new centre *****/
|
/***** Put a form to create a new centre *****/
|
||||||
|
@ -1025,7 +1025,7 @@ static void Ctr_EditCentresInternal (void)
|
||||||
Ctr_ListCentresForEdition ();
|
Ctr_ListCentresForEdition ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free list of centres *****/
|
/***** Free list of centres *****/
|
||||||
Ctr_FreeListCentres ();
|
Ctr_FreeListCentres ();
|
||||||
|
@ -2313,7 +2313,7 @@ void Ctr_RequestPhoto (void)
|
||||||
Frm_StartForm (ActRecCtrPho);
|
Frm_StartForm (ActRecCtrPho);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Photo,NULL,
|
Box_BoxBegin (NULL,Txt_Photo,NULL,
|
||||||
NULL,Box_NOT_CLOSABLE);
|
NULL,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Write help message *****/
|
/***** Write help message *****/
|
||||||
|
@ -2338,7 +2338,7 @@ void Ctr_RequestPhoto (void)
|
||||||
Gbl.Form.Id);
|
Gbl.Form.Id);
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** End form *****/
|
/***** End form *****/
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
|
|
|
@ -487,12 +487,22 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
|
||||||
En OpenSWAD:
|
En OpenSWAD:
|
||||||
ps2pdf source.ps destination.pdf
|
ps2pdf source.ps destination.pdf
|
||||||
*/
|
*/
|
||||||
#define Log_PLATFORM_VERSION "SWAD 19.43 (2019-10-25)"
|
#define Log_PLATFORM_VERSION "SWAD 19.44 (2019-10-25)"
|
||||||
#define CSS_FILE "swad19.42.6.css"
|
#define CSS_FILE "swad19.42.6.css"
|
||||||
#define JS_FILE "swad19.39.js"
|
#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.)
|
// TODO: Hacer un nuevo rol en los TFG: tutor externo (profesor de áreas no vinculadas con el centro, profesionales de empresas, etc.)
|
||||||
|
// TODO: Impedir la creación y edición de proyectos si no son editables.
|
||||||
|
// TODO: Eliminar asignatura de prj_config al eliminar una asignatura.
|
||||||
|
|
||||||
|
Version 19.44: Oct 25, 2019 Configuration of all projects.
|
||||||
|
Changed preassigned (projects) to assigned in database and messages. (246280 lines)
|
||||||
|
3/4 changes necessary in database:
|
||||||
|
ALTER TABLE projects CHANGE COLUMN Preassigned Assigned ENUM('N','Y') NOT NULL DEFAULT 'N';
|
||||||
|
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1804','es','N','Recibir configuración proyectos');
|
||||||
|
CREATE TABLE IF NOT EXISTS prj_config (CrsCod INT NOT NULL DEFAULT -1,Editable ENUM('N','Y') NOT NULL DEFAULT 'Y',UNIQUE INDEX(CrsCod));
|
||||||
|
Only if you use MyISAM:
|
||||||
|
ALTER TABLE prj_config ENGINE=MyISAM;
|
||||||
|
|
||||||
Version 19.43: Oct 25, 2019 New action to configure all projects. (246064 lines)
|
Version 19.43: Oct 25, 2019 New action to configure all projects. (246064 lines)
|
||||||
1 change necessary in database:
|
1 change necessary in database:
|
||||||
|
|
|
@ -124,7 +124,7 @@ void Cht_ShowListOfAvailableChatRooms (void)
|
||||||
Usr_GetMyDegrees ();
|
Usr_GetMyDegrees ();
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Chat_rooms,NULL,
|
Box_BoxBegin (NULL,Txt_Chat_rooms,NULL,
|
||||||
NULL,Box_NOT_CLOSABLE);
|
NULL,Box_NOT_CLOSABLE);
|
||||||
fprintf (Gbl.F.Out,"<ul class=\"LIST_TREE\">");
|
fprintf (Gbl.F.Out,"<ul class=\"LIST_TREE\">");
|
||||||
|
|
||||||
|
@ -254,7 +254,7 @@ void Cht_ShowListOfAvailableChatRooms (void)
|
||||||
|
|
||||||
/***** End table *****/
|
/***** End table *****/
|
||||||
fprintf (Gbl.F.Out,"</ul>");
|
fprintf (Gbl.F.Out,"</ul>");
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -112,7 +112,7 @@ void Cla_SeeClassrooms (void)
|
||||||
Cla_GetListClassrooms (Cla_ALL_DATA);
|
Cla_GetListClassrooms (Cla_ALL_DATA);
|
||||||
|
|
||||||
/***** Table head *****/
|
/***** Table head *****/
|
||||||
Box_StartBox (NULL,Txt_Classrooms,Cla_PutIconsListingClassrooms,
|
Box_BoxBegin (NULL,Txt_Classrooms,Cla_PutIconsListingClassrooms,
|
||||||
Hlp_CENTRE_Classrooms,Box_NOT_CLOSABLE);
|
Hlp_CENTRE_Classrooms,Box_NOT_CLOSABLE);
|
||||||
HTM_TABLE_BeginWideMarginPadding (2);
|
HTM_TABLE_BeginWideMarginPadding (2);
|
||||||
HTM_TR_Begin (NULL);
|
HTM_TR_Begin (NULL);
|
||||||
|
@ -177,7 +177,7 @@ void Cla_SeeClassrooms (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free list of classrooms *****/
|
/***** Free list of classrooms *****/
|
||||||
Cla_FreeListClassrooms ();
|
Cla_FreeListClassrooms ();
|
||||||
|
@ -250,7 +250,7 @@ static void Cla_EditClassroomsInternal (void)
|
||||||
Cla_GetListClassrooms (Cla_ALL_DATA);
|
Cla_GetListClassrooms (Cla_ALL_DATA);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Classrooms,Cla_PutIconsEditingClassrooms,
|
Box_BoxBegin (NULL,Txt_Classrooms,Cla_PutIconsEditingClassrooms,
|
||||||
Hlp_CENTRE_Classrooms_edit,Box_NOT_CLOSABLE);
|
Hlp_CENTRE_Classrooms_edit,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Put a form to create a new classroom *****/
|
/***** Put a form to create a new classroom *****/
|
||||||
|
@ -261,7 +261,7 @@ static void Cla_EditClassroomsInternal (void)
|
||||||
Cla_ListClassroomsForEdition ();
|
Cla_ListClassroomsForEdition ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free list of classrooms *****/
|
/***** Free list of classrooms *****/
|
||||||
Cla_FreeListClassrooms ();
|
Cla_FreeListClassrooms ();
|
||||||
|
|
|
@ -101,7 +101,7 @@ void Con_ShowConnectedUsrs (void)
|
||||||
"%s"
|
"%s"
|
||||||
"<div id=\"connected_current_time\"></div>",
|
"<div id=\"connected_current_time\"></div>",
|
||||||
Txt_Connected_users);
|
Txt_Connected_users);
|
||||||
Box_StartBox (NULL,Gbl.Title,Con_PutIconToUpdateConnected,
|
Box_BoxBegin (NULL,Gbl.Title,Con_PutIconToUpdateConnected,
|
||||||
Hlp_USERS_Connected,Box_NOT_CLOSABLE);
|
Hlp_USERS_Connected,Box_NOT_CLOSABLE);
|
||||||
fprintf (Gbl.F.Out,"<script type=\"text/javascript\">"
|
fprintf (Gbl.F.Out,"<script type=\"text/javascript\">"
|
||||||
"writeLocalDateHMSFromUTC('connected_current_time',%ld,"
|
"writeLocalDateHMSFromUTC('connected_current_time',%ld,"
|
||||||
|
@ -118,7 +118,7 @@ void Con_ShowConnectedUsrs (void)
|
||||||
Con_ShowConnectedUsrsBelongingToLocation ();
|
Con_ShowConnectedUsrsBelongingToLocation ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -255,10 +255,10 @@ static void Cty_Configuration (bool PrintView)
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
if (PrintView)
|
if (PrintView)
|
||||||
Box_StartBox (NULL,NULL,NULL,
|
Box_BoxBegin (NULL,NULL,NULL,
|
||||||
NULL,Box_NOT_CLOSABLE);
|
NULL,Box_NOT_CLOSABLE);
|
||||||
else
|
else
|
||||||
Box_StartBox (NULL,NULL,Cty_PutIconToPrint,
|
Box_BoxBegin (NULL,NULL,Cty_PutIconToPrint,
|
||||||
Hlp_COUNTRY_Information,Box_NOT_CLOSABLE);
|
Hlp_COUNTRY_Information,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Title *****/
|
/***** Title *****/
|
||||||
|
@ -462,7 +462,7 @@ static void Cty_Configuration (bool PrintView)
|
||||||
HTM_TABLE_End ();
|
HTM_TABLE_End ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -979,7 +979,7 @@ static void Cty_EditCountriesInternal (void)
|
||||||
Hie_WriteMenuHierarchy ();
|
Hie_WriteMenuHierarchy ();
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Countries,Cty_PutIconsEditingCountries,
|
Box_BoxBegin (NULL,Txt_Countries,Cty_PutIconsEditingCountries,
|
||||||
Hlp_SYSTEM_Countries,Box_NOT_CLOSABLE);
|
Hlp_SYSTEM_Countries,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Put a form to create a new country *****/
|
/***** Put a form to create a new country *****/
|
||||||
|
@ -990,7 +990,7 @@ static void Cty_EditCountriesInternal (void)
|
||||||
Cty_ListCountriesForEdition ();
|
Cty_ListCountriesForEdition ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free list of countries *****/
|
/***** Free list of countries *****/
|
||||||
Cty_FreeListCountries ();
|
Cty_FreeListCountries ();
|
||||||
|
|
|
@ -209,10 +209,10 @@ static void Crs_Configuration (bool PrintView)
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
if (PrintView)
|
if (PrintView)
|
||||||
Box_StartBox (NULL,NULL,NULL,
|
Box_BoxBegin (NULL,NULL,NULL,
|
||||||
NULL,Box_NOT_CLOSABLE);
|
NULL,Box_NOT_CLOSABLE);
|
||||||
else
|
else
|
||||||
Box_StartBox (NULL,NULL,Crs_PutIconToPrint,
|
Box_BoxBegin (NULL,NULL,Crs_PutIconToPrint,
|
||||||
Hlp_COURSE_Information,Box_NOT_CLOSABLE);
|
Hlp_COURSE_Information,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Title *****/
|
/***** Title *****/
|
||||||
|
@ -500,7 +500,7 @@ static void Crs_Configuration (bool PrintView)
|
||||||
HTM_TABLE_End ();
|
HTM_TABLE_End ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -581,7 +581,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void)
|
||||||
The_ClassFormInBoxBold[Gbl.Prefs.Theme]);
|
The_ClassFormInBoxBold[Gbl.Prefs.Theme]);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_My_courses,Crs_PutIconToSearchCourses,
|
Box_BoxBegin (NULL,Txt_My_courses,Crs_PutIconToSearchCourses,
|
||||||
Hlp_PROFILE_Courses,Box_NOT_CLOSABLE);
|
Hlp_PROFILE_Courses,Box_NOT_CLOSABLE);
|
||||||
fprintf (Gbl.F.Out,"<ul class=\"LIST_TREE\">");
|
fprintf (Gbl.F.Out,"<ul class=\"LIST_TREE\">");
|
||||||
|
|
||||||
|
@ -812,7 +812,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void)
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
fprintf (Gbl.F.Out,"</ul>");
|
fprintf (Gbl.F.Out,"</ul>");
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -1172,7 +1172,7 @@ static void Crs_ListCourses (void)
|
||||||
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
||||||
Txt_Courses_of_DEGREE_X,
|
Txt_Courses_of_DEGREE_X,
|
||||||
Gbl.Hierarchy.Deg.ShrtName);
|
Gbl.Hierarchy.Deg.ShrtName);
|
||||||
Box_StartBox (NULL,Gbl.Title,Crs_PutIconsListCourses,
|
Box_BoxBegin (NULL,Gbl.Title,Crs_PutIconsListCourses,
|
||||||
Hlp_DEGREE_Courses,Box_NOT_CLOSABLE);
|
Hlp_DEGREE_Courses,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
if (Gbl.Hierarchy.Deg.Crss.Num) // There are courses in the current degree
|
if (Gbl.Hierarchy.Deg.Crss.Num) // There are courses in the current degree
|
||||||
|
@ -1205,7 +1205,7 @@ static void Crs_ListCourses (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -1380,7 +1380,7 @@ static void Crs_EditCoursesInternal (void)
|
||||||
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
||||||
Txt_Courses_of_DEGREE_X,
|
Txt_Courses_of_DEGREE_X,
|
||||||
Gbl.Hierarchy.Deg.ShrtName);
|
Gbl.Hierarchy.Deg.ShrtName);
|
||||||
Box_StartBox (NULL,Gbl.Title,Crs_PutIconsEditingCourses,
|
Box_BoxBegin (NULL,Gbl.Title,Crs_PutIconsEditingCourses,
|
||||||
Hlp_DEGREE_Courses,Box_NOT_CLOSABLE);
|
Hlp_DEGREE_Courses,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Put a form to create or request a new course *****/
|
/***** Put a form to create or request a new course *****/
|
||||||
|
@ -1391,7 +1391,7 @@ static void Crs_EditCoursesInternal (void)
|
||||||
Crs_ListCoursesForEdition ();
|
Crs_ListCoursesForEdition ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free list of courses in this degree *****/
|
/***** Free list of courses in this degree *****/
|
||||||
Crs_FreeListCoursesInCurrentDegree ();
|
Crs_FreeListCoursesInCurrentDegree ();
|
||||||
|
@ -3344,7 +3344,7 @@ void Crs_AskRemoveOldCrss (void)
|
||||||
Frm_StartForm (ActRemOldCrs);
|
Frm_StartForm (ActRemOldCrs);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Eliminate_old_courses,NULL,
|
Box_BoxBegin (NULL,Txt_Eliminate_old_courses,NULL,
|
||||||
Hlp_SYSTEM_Hierarchy_eliminate_old_courses,Box_NOT_CLOSABLE);
|
Hlp_SYSTEM_Hierarchy_eliminate_old_courses,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Form to request number of months without clicks *****/
|
/***** Form to request number of months without clicks *****/
|
||||||
|
|
|
@ -2177,7 +2177,23 @@ mysql> DESCRIBE plugins;
|
||||||
"IP CHAR(15) NOT NULL," // Cns_MAX_BYTES_IP
|
"IP CHAR(15) NOT NULL," // Cns_MAX_BYTES_IP
|
||||||
"UNIQUE INDEX(PlgCod))");
|
"UNIQUE INDEX(PlgCod))");
|
||||||
|
|
||||||
/***** Table prj_grp *****/
|
/***** Table prj_config *****/
|
||||||
|
/*
|
||||||
|
mysql> DESCRIBE prj_config;
|
||||||
|
+----------+---------------+------+-----+---------+-------+
|
||||||
|
| Field | Type | Null | Key | Default | Extra |
|
||||||
|
+----------+---------------+------+-----+---------+-------+
|
||||||
|
| CrsCod | int(11) | NO | PRI | -1 | |
|
||||||
|
| Editable | enum('N','Y') | NO | | Y | |
|
||||||
|
+----------+---------------+------+-----+---------+-------+
|
||||||
|
2 rows in set (0.00 sec)
|
||||||
|
*/
|
||||||
|
DB_CreateTable ("CREATE TABLE IF NOT EXISTS prj_config ("
|
||||||
|
"CrsCod INT NOT NULL DEFAULT -1,"
|
||||||
|
"Editable ENUM('N','Y') NOT NULL DEFAULT 'Y',"
|
||||||
|
"UNIQUE INDEX(CrsCod))");
|
||||||
|
|
||||||
|
/***** Table prj_usr *****/
|
||||||
/*
|
/*
|
||||||
mysql> DESCRIBE prj_usr;
|
mysql> DESCRIBE prj_usr;
|
||||||
+---------------+------------+------+-----+---------+-------+
|
+---------------+------------+------+-----+---------+-------+
|
||||||
|
@ -2206,7 +2222,7 @@ mysql> DESCRIBE projects;
|
||||||
| DptCod | int(11) | NO | | -1 | |
|
| DptCod | int(11) | NO | | -1 | |
|
||||||
| Locked | enum('N','Y') | NO | | N | |
|
| Locked | enum('N','Y') | NO | | N | |
|
||||||
| Hidden | enum('N','Y') | NO | | N | |
|
| Hidden | enum('N','Y') | NO | | N | |
|
||||||
| Preassigned | enum('N','Y') | NO | | N | |
|
| Assigned | enum('N','Y') | NO | | N | |
|
||||||
| NumStds | int(11) | NO | | 1 | |
|
| NumStds | int(11) | NO | | 1 | |
|
||||||
| Proposal | enum('new','modified','unmodified') | NO | | new | |
|
| Proposal | enum('new','modified','unmodified') | NO | | new | |
|
||||||
| CreatTime | datetime | NO | | NULL | |
|
| CreatTime | datetime | NO | | NULL | |
|
||||||
|
@ -2225,7 +2241,7 @@ mysql> DESCRIBE projects;
|
||||||
"DptCod INT NOT NULL DEFAULT -1,"
|
"DptCod INT NOT NULL DEFAULT -1,"
|
||||||
"Locked ENUM('N','Y') NOT NULL DEFAULT 'N',"
|
"Locked ENUM('N','Y') NOT NULL DEFAULT 'N',"
|
||||||
"Hidden ENUM('N','Y') NOT NULL DEFAULT 'N',"
|
"Hidden ENUM('N','Y') NOT NULL DEFAULT 'N',"
|
||||||
"Preassigned ENUM('N','Y') NOT NULL DEFAULT 'N',"
|
"Assigned ENUM('N','Y') NOT NULL DEFAULT 'N',"
|
||||||
"NumStds INT NOT NULL DEFAULT 1,"
|
"NumStds INT NOT NULL DEFAULT 1,"
|
||||||
"Proposal ENUM('new','modified','unmodified') NOT NULL DEFAULT 'new',"
|
"Proposal ENUM('new','modified','unmodified') NOT NULL DEFAULT 'new',"
|
||||||
"CreatTime DATETIME NOT NULL,"
|
"CreatTime DATETIME NOT NULL,"
|
||||||
|
|
|
@ -105,7 +105,7 @@ void Dat_PutBoxToSelectDateFormat (void)
|
||||||
Dat_Format_t Format;
|
Dat_Format_t Format;
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Dates,Dat_PutIconsDateFormat,
|
Box_BoxBegin (NULL,Txt_Dates,Dat_PutIconsDateFormat,
|
||||||
Hlp_PROFILE_Settings_dates,Box_NOT_CLOSABLE);
|
Hlp_PROFILE_Settings_dates,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Form with list of options *****/
|
/***** Form with list of options *****/
|
||||||
|
@ -139,7 +139,7 @@ void Dat_PutBoxToSelectDateFormat (void)
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -312,10 +312,10 @@ static void Deg_Configuration (bool PrintView)
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
if (PrintView)
|
if (PrintView)
|
||||||
Box_StartBox (NULL,NULL,NULL,
|
Box_BoxBegin (NULL,NULL,NULL,
|
||||||
NULL,Box_NOT_CLOSABLE);
|
NULL,Box_NOT_CLOSABLE);
|
||||||
else
|
else
|
||||||
Box_StartBox (NULL,NULL,Deg_PutIconsToPrintAndUpload,
|
Box_BoxBegin (NULL,NULL,Deg_PutIconsToPrintAndUpload,
|
||||||
Hlp_DEGREE_Information,Box_NOT_CLOSABLE);
|
Hlp_DEGREE_Information,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Title *****/
|
/***** Title *****/
|
||||||
|
@ -553,7 +553,7 @@ static void Deg_Configuration (bool PrintView)
|
||||||
HTM_TABLE_End ();
|
HTM_TABLE_End ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -1157,7 +1157,7 @@ static void Deg_ListDegrees (void)
|
||||||
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
||||||
Txt_Degrees_of_CENTRE_X,
|
Txt_Degrees_of_CENTRE_X,
|
||||||
Gbl.Hierarchy.Ctr.ShrtName);
|
Gbl.Hierarchy.Ctr.ShrtName);
|
||||||
Box_StartBox (NULL,Gbl.Title,Deg_PutIconsListingDegrees,
|
Box_BoxBegin (NULL,Gbl.Title,Deg_PutIconsListingDegrees,
|
||||||
Hlp_CENTRE_Degrees,Box_NOT_CLOSABLE);
|
Hlp_CENTRE_Degrees,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
if (Gbl.Hierarchy.Ctr.Degs.Num) // There are degrees in the current centre
|
if (Gbl.Hierarchy.Ctr.Degs.Num) // There are degrees in the current centre
|
||||||
|
@ -1188,7 +1188,7 @@ static void Deg_ListDegrees (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -1343,7 +1343,7 @@ static void Deg_EditDegreesInternal (void)
|
||||||
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
||||||
Txt_Degrees_of_CENTRE_X,
|
Txt_Degrees_of_CENTRE_X,
|
||||||
Gbl.Hierarchy.Ctr.ShrtName);
|
Gbl.Hierarchy.Ctr.ShrtName);
|
||||||
Box_StartBox (NULL,Gbl.Title,Deg_PutIconsEditingDegrees,
|
Box_BoxBegin (NULL,Gbl.Title,Deg_PutIconsEditingDegrees,
|
||||||
Hlp_CENTRE_Degrees,Box_NOT_CLOSABLE);
|
Hlp_CENTRE_Degrees,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
if (Gbl.DegTypes.Num)
|
if (Gbl.DegTypes.Num)
|
||||||
|
@ -1366,7 +1366,7 @@ static void Deg_EditDegreesInternal (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free list of degree types *****/
|
/***** Free list of degree types *****/
|
||||||
DT_FreeListDegreeTypes ();
|
DT_FreeListDegreeTypes ();
|
||||||
|
|
|
@ -201,11 +201,11 @@ static void DT_ListDegreeTypes (Act_Action_t NextAction,DT_Order_t SelectedOrder
|
||||||
switch (NextAction)
|
switch (NextAction)
|
||||||
{
|
{
|
||||||
case ActSeeDegTyp:
|
case ActSeeDegTyp:
|
||||||
Box_StartBox (NULL,Txt_Types_of_degree,DT_PutIconsListingDegTypes,
|
Box_BoxBegin (NULL,Txt_Types_of_degree,DT_PutIconsListingDegTypes,
|
||||||
Hlp_CENTRE_DegreeTypes,Box_NOT_CLOSABLE);
|
Hlp_CENTRE_DegreeTypes,Box_NOT_CLOSABLE);
|
||||||
break;
|
break;
|
||||||
case ActSeeUseGbl:
|
case ActSeeUseGbl:
|
||||||
Box_StartBox (NULL,Txt_Types_of_degree,DT_PutIconToEditDegTypes,
|
Box_BoxBegin (NULL,Txt_Types_of_degree,DT_PutIconToEditDegTypes,
|
||||||
Hlp_ANALYTICS_Figures_types_of_degree,Box_NOT_CLOSABLE);
|
Hlp_ANALYTICS_Figures_types_of_degree,Box_NOT_CLOSABLE);
|
||||||
break;
|
break;
|
||||||
default: // Bad call
|
default: // Bad call
|
||||||
|
@ -237,7 +237,7 @@ static void DT_ListDegreeTypes (Act_Action_t NextAction,DT_Order_t SelectedOrder
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -265,7 +265,7 @@ static void DT_EditDegreeTypesInternal (void)
|
||||||
DT_GetListDegreeTypes (Hie_SYS,DT_ORDER_BY_DEGREE_TYPE);
|
DT_GetListDegreeTypes (Hie_SYS,DT_ORDER_BY_DEGREE_TYPE);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Types_of_degree,DT_PutIconsEditingDegreeTypes,
|
Box_BoxBegin (NULL,Txt_Types_of_degree,DT_PutIconsEditingDegreeTypes,
|
||||||
Hlp_CENTRE_DegreeTypes_edit,Box_NOT_CLOSABLE);
|
Hlp_CENTRE_DegreeTypes_edit,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Put a form to create a new degree type *****/
|
/***** Put a form to create a new degree type *****/
|
||||||
|
@ -276,7 +276,7 @@ static void DT_EditDegreeTypesInternal (void)
|
||||||
DT_ListDegreeTypesForEdition ();
|
DT_ListDegreeTypesForEdition ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free list of degree types *****/
|
/***** Free list of degree types *****/
|
||||||
DT_FreeListDegreeTypes ();
|
DT_FreeListDegreeTypes ();
|
||||||
|
|
|
@ -272,7 +272,7 @@ static void Dpt_EditDepartmentsInternal (void)
|
||||||
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
||||||
Txt_Departments_of_INSTITUTION_X,
|
Txt_Departments_of_INSTITUTION_X,
|
||||||
Gbl.Hierarchy.Ins.FullName);
|
Gbl.Hierarchy.Ins.FullName);
|
||||||
Box_StartBox (NULL,Gbl.Title,NULL,
|
Box_BoxBegin (NULL,Gbl.Title,NULL,
|
||||||
Hlp_INSTITUTION_Departments_edit,Box_NOT_CLOSABLE);
|
Hlp_INSTITUTION_Departments_edit,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Put a form to create a new department *****/
|
/***** Put a form to create a new department *****/
|
||||||
|
@ -283,7 +283,7 @@ static void Dpt_EditDepartmentsInternal (void)
|
||||||
Dpt_ListDepartmentsForEdition ();
|
Dpt_ListDepartmentsForEdition ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free list of departments *****/
|
/***** Free list of departments *****/
|
||||||
Dpt_FreeListDepartments ();
|
Dpt_FreeListDepartments ();
|
||||||
|
|
|
@ -138,7 +138,7 @@ void Dup_ListDuplicateUsrs (void)
|
||||||
unsigned NumInformants;
|
unsigned NumInformants;
|
||||||
|
|
||||||
/***** Start box with list of possible duplicate users *****/
|
/***** Start box with list of possible duplicate users *****/
|
||||||
Box_StartBox (NULL,Txt_Possibly_duplicate_users,NULL,
|
Box_BoxBegin (NULL,Txt_Possibly_duplicate_users,NULL,
|
||||||
Hlp_USERS_Duplicates_possibly_duplicate_users,Box_NOT_CLOSABLE);
|
Hlp_USERS_Duplicates_possibly_duplicate_users,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Make query *****/
|
/***** Make query *****/
|
||||||
|
@ -233,7 +233,7 @@ void Dup_ListDuplicateUsrs (void)
|
||||||
DB_FreeMySQLResult (&mysql_res);
|
DB_FreeMySQLResult (&mysql_res);
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -260,7 +260,7 @@ static void Dup_ListSimilarUsrs (void)
|
||||||
unsigned NumUsr;
|
unsigned NumUsr;
|
||||||
|
|
||||||
/***** Start box with list of possible duplicate users *****/
|
/***** Start box with list of possible duplicate users *****/
|
||||||
Box_StartBox (NULL,Txt_Similar_users,NULL,
|
Box_BoxBegin (NULL,Txt_Similar_users,NULL,
|
||||||
Hlp_USERS_Duplicates_similar_users,Box_NOT_CLOSABLE);
|
Hlp_USERS_Duplicates_similar_users,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Make query *****/
|
/***** Make query *****/
|
||||||
|
@ -376,7 +376,7 @@ static void Dup_ListSimilarUsrs (void)
|
||||||
DB_FreeMySQLResult (&mysql_res);
|
DB_FreeMySQLResult (&mysql_res);
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -408,7 +408,7 @@ void Enr_ReqAcceptRegisterInCrs (void)
|
||||||
Ntf_NotifyEvent_t NotifyEvent;
|
Ntf_NotifyEvent_t NotifyEvent;
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Enrolment,NULL,
|
Box_BoxBegin (NULL,Txt_Enrolment,NULL,
|
||||||
Hlp_USERS_SignUp_confirm_enrolment,Box_NOT_CLOSABLE);
|
Hlp_USERS_SignUp_confirm_enrolment,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Show message *****/
|
/***** Show message *****/
|
||||||
|
@ -453,7 +453,7 @@ void Enr_ReqAcceptRegisterInCrs (void)
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Mark possible notification as seen *****/
|
/***** Mark possible notification as seen *****/
|
||||||
switch (Gbl.Usrs.Me.UsrDat.Roles.InCurrentCrs.Role)
|
switch (Gbl.Usrs.Me.UsrDat.Roles.InCurrentCrs.Role)
|
||||||
|
@ -724,7 +724,7 @@ static void Enr_ShowFormRegRemSeveralUsrs (Rol_Role_t Role)
|
||||||
Frm_StartForm (NextAction);
|
Frm_StartForm (NextAction);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Title,NULL,
|
Box_BoxBegin (NULL,Title,NULL,
|
||||||
Hlp_USERS_Administration_administer_multiple_users,Box_NOT_CLOSABLE);
|
Hlp_USERS_Administration_administer_multiple_users,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Step 1: List of students to be enroled / removed *****/
|
/***** Step 1: List of students to be enroled / removed *****/
|
||||||
|
@ -802,7 +802,7 @@ void Enr_AskRemoveOldUsrs (void)
|
||||||
Frm_StartForm (ActRemOldUsr);
|
Frm_StartForm (ActRemOldUsr);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Eliminate_old_users,NULL,
|
Box_BoxBegin (NULL,Txt_Eliminate_old_users,NULL,
|
||||||
NULL,Box_NOT_CLOSABLE);
|
NULL,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Form to request number of months without clicks *****/
|
/***** Form to request number of months without clicks *****/
|
||||||
|
@ -1855,7 +1855,7 @@ void Enr_AskRemAllStdsThisCrs (void)
|
||||||
extern const char *Txt_Do_you_really_want_to_remove_the_X_students_from_the_course_Y_;
|
extern const char *Txt_Do_you_really_want_to_remove_the_X_students_from_the_course_Y_;
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Remove_all_students,NULL,
|
Box_BoxBegin (NULL,Txt_Remove_all_students,NULL,
|
||||||
Hlp_USERS_Administration_remove_all_students,Box_NOT_CLOSABLE);
|
Hlp_USERS_Administration_remove_all_students,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
if (Gbl.Hierarchy.Crs.NumUsrs[Rol_STD])
|
if (Gbl.Hierarchy.Crs.NumUsrs[Rol_STD])
|
||||||
|
@ -1881,7 +1881,7 @@ void Enr_AskRemAllStdsThisCrs (void)
|
||||||
Usr_ShowWarningNoUsersFound (Rol_STD);
|
Usr_ShowWarningNoUsersFound (Rol_STD);
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -2280,7 +2280,7 @@ static void Enr_ShowEnrolmentRequestsGivenRoles (unsigned RolesSelected)
|
||||||
Sco_GetScope ("ScopeEnr");
|
Sco_GetScope ("ScopeEnr");
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Enrolment_requests,NULL,
|
Box_BoxBegin (NULL,Txt_Enrolment_requests,NULL,
|
||||||
Hlp_USERS_Requests,Box_NOT_CLOSABLE);
|
Hlp_USERS_Requests,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Selection of scope and roles *****/
|
/***** Selection of scope and roles *****/
|
||||||
|
@ -2956,7 +2956,7 @@ static void Enr_ShowEnrolmentRequestsGivenRoles (unsigned RolesSelected)
|
||||||
Ale_ShowAlert (Ale_INFO,Txt_No_enrolment_requests);
|
Ale_ShowAlert (Ale_INFO,Txt_No_enrolment_requests);
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -3122,7 +3122,7 @@ static void Enr_ReqAnotherUsrIDToRegisterRemove (Rol_Role_t Role)
|
||||||
Act_Action_t NextAction;
|
Act_Action_t NextAction;
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Administer_one_user,NULL,
|
Box_BoxBegin (NULL,Txt_Administer_one_user,NULL,
|
||||||
Hlp_USERS_Administration_administer_one_user,Box_NOT_CLOSABLE);
|
Hlp_USERS_Administration_administer_one_user,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Write form to request another user's ID *****/
|
/***** Write form to request another user's ID *****/
|
||||||
|
@ -3148,7 +3148,7 @@ static void Enr_ReqAnotherUsrIDToRegisterRemove (Rol_Role_t Role)
|
||||||
Enr_WriteFormToReqAnotherUsrID (NextAction,NULL);
|
Enr_WriteFormToReqAnotherUsrID (NextAction,NULL);
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -574,7 +574,7 @@ static void Exa_ListExamAnnouncements (Exa_TypeViewExamAnnouncement_t TypeViewEx
|
||||||
Gbl.Hierarchy.Crs.CrsCod,SubQueryStatus);
|
Gbl.Hierarchy.Crs.CrsCod,SubQueryStatus);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Announcements_of_exams,
|
Box_BoxBegin (NULL,Txt_Announcements_of_exams,
|
||||||
ICanEdit ? Exa_PutIconToCreateNewExamAnnouncement :
|
ICanEdit ? Exa_PutIconToCreateNewExamAnnouncement :
|
||||||
NULL,
|
NULL,
|
||||||
Hlp_ASSESSMENT_Announcements,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Announcements,Box_NOT_CLOSABLE);
|
||||||
|
@ -626,7 +626,7 @@ static void Exa_ListExamAnnouncements (Exa_TypeViewExamAnnouncement_t TypeViewEx
|
||||||
Exa_PutButtonToCreateNewExamAnnouncement ();
|
Exa_PutButtonToCreateNewExamAnnouncement ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -1028,7 +1028,7 @@ static void Exa_ShowExamAnnouncement (long ExaCod,
|
||||||
}
|
}
|
||||||
else // Don't highlight
|
else // Don't highlight
|
||||||
/* Start normal box */
|
/* Start normal box */
|
||||||
Box_StartBox (Width,NULL,FunctionToDrawContextualIcons,HelpLink,
|
Box_BoxBegin (Width,NULL,FunctionToDrawContextualIcons,HelpLink,
|
||||||
Box_NOT_CLOSABLE);
|
Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
if (TypeViewExamAnnouncement == Exa_FORM_VIEW)
|
if (TypeViewExamAnnouncement == Exa_FORM_VIEW)
|
||||||
|
|
|
@ -201,7 +201,7 @@ void Fig_ReqShowFigures (void)
|
||||||
Frm_StartForm (ActSeeUseGbl);
|
Frm_StartForm (ActSeeUseGbl);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Figures,NULL,
|
Box_BoxBegin (NULL,Txt_Figures,NULL,
|
||||||
Hlp_ANALYTICS_Figures,Box_NOT_CLOSABLE);
|
Hlp_ANALYTICS_Figures,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Compute stats for anywhere, degree or course? *****/
|
/***** Compute stats for anywhere, degree or course? *****/
|
||||||
|
@ -1029,7 +1029,7 @@ static void Fig_GetAndShowInstitutionsStats (void)
|
||||||
extern const char *Txt_Institutions;
|
extern const char *Txt_Institutions;
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Institutions,NULL,
|
Box_BoxBegin (NULL,Txt_Institutions,NULL,
|
||||||
Hlp_ANALYTICS_Figures_institutions,Box_NOT_CLOSABLE);
|
Hlp_ANALYTICS_Figures_institutions,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Form to select type of list used to display degree photos *****/
|
/***** Form to select type of list used to display degree photos *****/
|
||||||
|
@ -1052,7 +1052,7 @@ static void Fig_GetAndShowInstitutionsStats (void)
|
||||||
Fig_GetAndShowInssOrderedByNumUsrsWhoClaimToBelongToThem ();
|
Fig_GetAndShowInssOrderedByNumUsrsWhoClaimToBelongToThem ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -1588,7 +1588,7 @@ static void Fig_GetAndShowFileBrowsersStats (void)
|
||||||
&SizeOfFileZones[NumStat]);
|
&SizeOfFileZones[NumStat]);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_FIGURE_TYPES[Fig_FOLDERS_AND_FILES],NULL,
|
Box_BoxBegin (NULL,Txt_FIGURE_TYPES[Fig_FOLDERS_AND_FILES],NULL,
|
||||||
Hlp_ANALYTICS_Figures_folders_and_files,Box_NOT_CLOSABLE);
|
Hlp_ANALYTICS_Figures_folders_and_files,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Write sizes of all file zones *****/
|
/***** Write sizes of all file zones *****/
|
||||||
|
@ -1625,7 +1625,7 @@ static void Fig_GetAndShowFileBrowsersStats (void)
|
||||||
HTM_TABLE_End ();
|
HTM_TABLE_End ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -3113,7 +3113,7 @@ static void Brw_ShowFileBrowserProject (void)
|
||||||
Gbl.Prjs.PrjCod = Prj.PrjCod;
|
Gbl.Prjs.PrjCod = Prj.PrjCod;
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Prj.Title,NULL,
|
Box_BoxBegin (NULL,Prj.Title,NULL,
|
||||||
Hlp_ASSESSMENT_Projects,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Projects,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Show the project *****/
|
/***** Show the project *****/
|
||||||
|
@ -3145,7 +3145,7 @@ static void Brw_ShowFileBrowserProject (void)
|
||||||
Ale_ShowAlert (Ale_WARNING,"You have no access to project files.");
|
Ale_ShowAlert (Ale_WARNING,"You have no access to project files.");
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free memory of the project *****/
|
/***** Free memory of the project *****/
|
||||||
Prj_FreeMemProject (&Prj);
|
Prj_FreeMemProject (&Prj);
|
||||||
|
@ -3648,7 +3648,7 @@ static void Brw_ShowFileBrowser (void)
|
||||||
"file_browser_%u",
|
"file_browser_%u",
|
||||||
Gbl.FileBrowser.Id);
|
Gbl.FileBrowser.Id);
|
||||||
Lay_StartSection (FileBrowserSectionId);
|
Lay_StartSection (FileBrowserSectionId);
|
||||||
Box_StartBox ("100%",Brw_TitleOfFileBrowser[Gbl.FileBrowser.Type],
|
Box_BoxBegin ("100%",Brw_TitleOfFileBrowser[Gbl.FileBrowser.Type],
|
||||||
Brw_PutIconsFileBrowser,
|
Brw_PutIconsFileBrowser,
|
||||||
Brw_HelpOfFileBrowser[Gbl.FileBrowser.Type],Box_NOT_CLOSABLE);
|
Brw_HelpOfFileBrowser[Gbl.FileBrowser.Type],Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
|
@ -3679,7 +3679,7 @@ static void Brw_ShowFileBrowser (void)
|
||||||
Brw_PutButtonToShowEdit ();
|
Brw_PutButtonToShowEdit ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
Lay_EndSection ();
|
Lay_EndSection ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -8344,7 +8344,7 @@ static void Brw_PutFormToCreateAFolder (const char FileNameToShow[NAME_MAX + 1])
|
||||||
Brw_PutImplicitParamsFileBrowser ();
|
Brw_PutImplicitParamsFileBrowser ();
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Create_folder,NULL,
|
Box_BoxBegin (NULL,Txt_Create_folder,NULL,
|
||||||
NULL,Box_NOT_CLOSABLE);
|
NULL,Box_NOT_CLOSABLE);
|
||||||
Ale_ShowAlert (Ale_INFO,Txt_You_can_create_a_new_folder_inside_the_folder_X,
|
Ale_ShowAlert (Ale_INFO,Txt_You_can_create_a_new_folder_inside_the_folder_X,
|
||||||
FileNameToShow);
|
FileNameToShow);
|
||||||
|
@ -8380,7 +8380,7 @@ static void Brw_PutFormToUploadFilesUsingDropzone (const char *FileNameToShow)
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
HTM_DIV_Begin ("id=\"dropzone-upload\"");
|
HTM_DIV_Begin ("id=\"dropzone-upload\"");
|
||||||
Box_StartBox ("95%",Txt_Upload_files,NULL,
|
Box_BoxBegin ("95%",Txt_Upload_files,NULL,
|
||||||
NULL,Box_NOT_CLOSABLE);
|
NULL,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Help message *****/
|
/***** Help message *****/
|
||||||
|
@ -8423,7 +8423,7 @@ static void Brw_PutFormToUploadFilesUsingDropzone (const char *FileNameToShow)
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
HTM_DIV_End ();
|
HTM_DIV_End ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -8438,7 +8438,7 @@ static void Brw_PutFormToUploadOneFileClassic (const char *FileNameToShow)
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
HTM_DIV_Begin ("id=\"classic-upload\" style=\"display:none;\"");
|
HTM_DIV_Begin ("id=\"classic-upload\" style=\"display:none;\"");
|
||||||
Box_StartBox (NULL,Txt_Upload_file,NULL,
|
Box_BoxBegin (NULL,Txt_Upload_file,NULL,
|
||||||
NULL,Box_NOT_CLOSABLE);
|
NULL,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Help message *****/
|
/***** Help message *****/
|
||||||
|
@ -8456,7 +8456,7 @@ static void Brw_PutFormToUploadOneFileClassic (const char *FileNameToShow)
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
HTM_DIV_End ();
|
HTM_DIV_End ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -8474,7 +8474,7 @@ static void Brw_PutFormToPasteAFileOrFolder (const char *FileNameToShow)
|
||||||
Brw_PutImplicitParamsFileBrowser ();
|
Brw_PutImplicitParamsFileBrowser ();
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Paste,NULL,
|
Box_BoxBegin (NULL,Txt_Paste,NULL,
|
||||||
NULL,Box_NOT_CLOSABLE);
|
NULL,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Help message *****/
|
/***** Help message *****/
|
||||||
|
@ -8506,7 +8506,7 @@ static void Brw_PutFormToCreateALink (const char *FileNameToShow)
|
||||||
Brw_PutImplicitParamsFileBrowser ();
|
Brw_PutImplicitParamsFileBrowser ();
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Create_link,NULL,
|
Box_BoxBegin (NULL,Txt_Create_link,NULL,
|
||||||
NULL,Box_NOT_CLOSABLE);
|
NULL,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Help message *****/
|
/***** Help message *****/
|
||||||
|
@ -12160,7 +12160,7 @@ void Brw_AskRemoveOldFiles (void)
|
||||||
Brw_PutHiddenParamFullTreeIfSelected ();
|
Brw_PutHiddenParamFullTreeIfSelected ();
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Remove_old_files,NULL,
|
Box_BoxBegin (NULL,Txt_Remove_old_files,NULL,
|
||||||
NULL,Box_NOT_CLOSABLE);
|
NULL,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Form to request number of months (to remove files older) *****/
|
/***** Form to request number of months (to remove files older) *****/
|
||||||
|
|
18
swad_forum.c
18
swad_forum.c
|
@ -973,7 +973,7 @@ static void For_ShowPostsOfAThread (Ale_AlertType_t AlertType,const char *Messag
|
||||||
snprintf (FrameTitle,sizeof (FrameTitle),
|
snprintf (FrameTitle,sizeof (FrameTitle),
|
||||||
"%s: %s",
|
"%s: %s",
|
||||||
Txt_Thread,Thr.Subject);
|
Txt_Thread,Thr.Subject);
|
||||||
Box_StartBox (NULL,FrameTitle,For_PutIconNewPost,
|
Box_BoxBegin (NULL,FrameTitle,For_PutIconNewPost,
|
||||||
Hlp_MESSAGES_Forums_posts,Box_NOT_CLOSABLE);
|
Hlp_MESSAGES_Forums_posts,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Get posts of a thread from database *****/
|
/***** Get posts of a thread from database *****/
|
||||||
|
@ -1101,7 +1101,7 @@ static void For_ShowPostsOfAThread (Ale_AlertType_t AlertType,const char *Messag
|
||||||
Lay_EndSection ();
|
Lay_EndSection ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
Lay_EndSection ();
|
Lay_EndSection ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1576,7 +1576,7 @@ static void For_ShowForumList (void)
|
||||||
Usr_GetMyInstits ();
|
Usr_GetMyInstits ();
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Forums,For_PutIconsForums,
|
Box_BoxBegin (NULL,Txt_Forums,For_PutIconsForums,
|
||||||
Hlp_MESSAGES_Forums,Box_NOT_CLOSABLE);
|
Hlp_MESSAGES_Forums,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Put a form to select which forums *****/
|
/***** Put a form to select which forums *****/
|
||||||
|
@ -1729,7 +1729,7 @@ static void For_ShowForumList (void)
|
||||||
fprintf (Gbl.F.Out,"</ul>");
|
fprintf (Gbl.F.Out,"</ul>");
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -2545,7 +2545,7 @@ static void For_ShowForumThreadsHighlightingOneThread (long ThrCodHighlighted,
|
||||||
snprintf (FrameTitle,sizeof (FrameTitle),
|
snprintf (FrameTitle,sizeof (FrameTitle),
|
||||||
"%s: %s",
|
"%s: %s",
|
||||||
Txt_Forum,ForumName);
|
Txt_Forum,ForumName);
|
||||||
Box_StartBox (NULL,FrameTitle,For_PutIconNewThread,
|
Box_BoxBegin (NULL,FrameTitle,For_PutIconNewThread,
|
||||||
Hlp_MESSAGES_Forums_threads,Box_NOT_CLOSABLE);
|
Hlp_MESSAGES_Forums_threads,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** List the threads *****/
|
/***** List the threads *****/
|
||||||
|
@ -2618,7 +2618,7 @@ static void For_ShowForumThreadsHighlightingOneThread (long ThrCodHighlighted,
|
||||||
Lay_EndSection ();
|
Lay_EndSection ();
|
||||||
|
|
||||||
/***** End box with threads of this forum ****/
|
/***** End box with threads of this forum ****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
Lay_EndSection ();
|
Lay_EndSection ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3922,10 +3922,10 @@ static void For_WriteFormForumPst (bool IsReply,const char *Subject)
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
if (IsReply)
|
if (IsReply)
|
||||||
Box_StartBox (NULL,Txt_New_post,NULL,
|
Box_BoxBegin (NULL,Txt_New_post,NULL,
|
||||||
Hlp_MESSAGES_Forums_new_post,Box_NOT_CLOSABLE);
|
Hlp_MESSAGES_Forums_new_post,Box_NOT_CLOSABLE);
|
||||||
else
|
else
|
||||||
Box_StartBox (NULL,Txt_New_thread,NULL,
|
Box_BoxBegin (NULL,Txt_New_thread,NULL,
|
||||||
Hlp_MESSAGES_Forums_new_thread,Box_NOT_CLOSABLE);
|
Hlp_MESSAGES_Forums_new_thread,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Begin form *****/
|
/***** Begin form *****/
|
||||||
|
@ -3998,7 +3998,7 @@ static void For_WriteFormForumPst (bool IsReply,const char *Subject)
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
12
swad_game.c
12
swad_game.c
|
@ -203,7 +203,7 @@ static void Gam_ListAllGames (void)
|
||||||
&Pagination);
|
&Pagination);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox ("100%",Txt_Games,Gam_PutIconsListGames,
|
Box_BoxBegin ("100%",Txt_Games,Gam_PutIconsListGames,
|
||||||
Hlp_ASSESSMENT_Games,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Games,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
if (Gbl.Games.Num)
|
if (Gbl.Games.Num)
|
||||||
|
@ -260,7 +260,7 @@ static void Gam_ListAllGames (void)
|
||||||
Gam_PutButtonToCreateNewGame ();
|
Gam_PutButtonToCreateNewGame ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Write again links to pages *****/
|
/***** Write again links to pages *****/
|
||||||
if (Pagination.MoreThanOnePage)
|
if (Pagination.MoreThanOnePage)
|
||||||
|
@ -382,7 +382,7 @@ void Gam_ShowOneGame (long GamCod,
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
if (ShowOnlyThisGame)
|
if (ShowOnlyThisGame)
|
||||||
Box_StartBox (NULL,Txt_Game,NULL,
|
Box_BoxBegin (NULL,Txt_Game,NULL,
|
||||||
Hlp_ASSESSMENT_Games,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Games,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Get data of this game *****/
|
/***** Get data of this game *****/
|
||||||
|
@ -538,7 +538,7 @@ void Gam_ShowOneGame (long GamCod,
|
||||||
Mch_ListMatches (&Game,PutFormNewMatch);
|
Mch_ListMatches (&Game,PutFormNewMatch);
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1593,7 +1593,7 @@ static void Gam_ListGameQuestions (struct Game *Game)
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Gam_SetParamCurrentGamCod (Game->GamCod); // Used to pass parameter
|
Gam_SetParamCurrentGamCod (Game->GamCod); // Used to pass parameter
|
||||||
Box_StartBox (NULL,Txt_Questions,ICanEditQuestions ? Gam_PutIconToAddNewQuestions :
|
Box_BoxBegin (NULL,Txt_Questions,ICanEditQuestions ? Gam_PutIconToAddNewQuestions :
|
||||||
NULL,
|
NULL,
|
||||||
Hlp_ASSESSMENT_Games_questions,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Games_questions,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
|
@ -1612,7 +1612,7 @@ static void Gam_ListGameQuestions (struct Game *Game)
|
||||||
DB_FreeMySQLResult (&mysql_res);
|
DB_FreeMySQLResult (&mysql_res);
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -303,6 +303,7 @@ void Gbl_InitializeGlobals (void)
|
||||||
Gbl.Asgs.SelectedOrder = Asg_ORDER_DEFAULT;
|
Gbl.Asgs.SelectedOrder = Asg_ORDER_DEFAULT;
|
||||||
|
|
||||||
/* Projects */
|
/* Projects */
|
||||||
|
Gbl.Prjs.Config.Editable = Prj_EDITABLE_DEFAULT;
|
||||||
Gbl.Prjs.Filter.My_All = Prj_FILTER_WHOSE_PROJECTS_DEFAULT;
|
Gbl.Prjs.Filter.My_All = Prj_FILTER_WHOSE_PROJECTS_DEFAULT;
|
||||||
Gbl.Prjs.Filter.Assign = Prj_FILTER_ASSIGNED_DEFAULT |
|
Gbl.Prjs.Filter.Assign = Prj_FILTER_ASSIGNED_DEFAULT |
|
||||||
Prj_FILTER_NONASSIG_DEFAULT;
|
Prj_FILTER_NONASSIG_DEFAULT;
|
||||||
|
|
|
@ -554,6 +554,10 @@ struct Globals
|
||||||
} Asgs;
|
} Asgs;
|
||||||
struct
|
struct
|
||||||
{
|
{
|
||||||
|
struct
|
||||||
|
{
|
||||||
|
bool Editable;
|
||||||
|
} Config;
|
||||||
struct Prj_Filter Filter;
|
struct Prj_Filter Filter;
|
||||||
bool LstIsRead; // Is the list already read from database, or it needs to be read?
|
bool LstIsRead; // Is the list already read from database, or it needs to be read?
|
||||||
unsigned Num; // Number of projects
|
unsigned Num; // Number of projects
|
||||||
|
|
16
swad_group.c
16
swad_group.c
|
@ -289,7 +289,7 @@ static void Grp_EditGroupTypes (void)
|
||||||
extern const char *Txt_There_are_no_types_of_group_in_the_course_X;
|
extern const char *Txt_There_are_no_types_of_group_in_the_course_X;
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Types_of_group,Grp_PutIconsEditingGroupTypes,
|
Box_BoxBegin (NULL,Txt_Types_of_group,Grp_PutIconsEditingGroupTypes,
|
||||||
Hlp_USERS_Groups,Box_NOT_CLOSABLE);
|
Hlp_USERS_Groups,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Put a form to create a new group type *****/
|
/***** Put a form to create a new group type *****/
|
||||||
|
@ -303,7 +303,7 @@ static void Grp_EditGroupTypes (void)
|
||||||
Gbl.Hierarchy.Crs.ShrtName);
|
Gbl.Hierarchy.Crs.ShrtName);
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -317,7 +317,7 @@ static void Grp_EditGroups (void)
|
||||||
extern const char *Txt_No_groups_have_been_created_in_the_course_X;
|
extern const char *Txt_No_groups_have_been_created_in_the_course_X;
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Groups,Grp_PutIconsEditingGroups,
|
Box_BoxBegin (NULL,Txt_Groups,Grp_PutIconsEditingGroups,
|
||||||
Hlp_USERS_Groups,Box_NOT_CLOSABLE);
|
Hlp_USERS_Groups,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Put a form to create a new group *****/
|
/***** Put a form to create a new group *****/
|
||||||
|
@ -331,7 +331,7 @@ static void Grp_EditGroups (void)
|
||||||
Gbl.Hierarchy.Crs.ShrtName);
|
Gbl.Hierarchy.Crs.ShrtName);
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -378,7 +378,7 @@ void Grp_ShowFormToSelectSeveralGroups (void (*FuncParams) (void),
|
||||||
ICanEdit = !Gbl.Form.Inside &&
|
ICanEdit = !Gbl.Form.Inside &&
|
||||||
(Gbl.Usrs.Me.Role.Logged == Rol_TCH ||
|
(Gbl.Usrs.Me.Role.Logged == Rol_TCH ||
|
||||||
Gbl.Usrs.Me.Role.Logged == Rol_SYS_ADM);
|
Gbl.Usrs.Me.Role.Logged == Rol_SYS_ADM);
|
||||||
Box_StartBox (NULL,Txt_Groups,ICanEdit ? Grp_PutIconToEditGroups :
|
Box_BoxBegin (NULL,Txt_Groups,ICanEdit ? Grp_PutIconToEditGroups :
|
||||||
NULL,
|
NULL,
|
||||||
Hlp_USERS_Groups,Box_CLOSABLE);
|
Hlp_USERS_Groups,Box_CLOSABLE);
|
||||||
|
|
||||||
|
@ -421,7 +421,7 @@ void Grp_ShowFormToSelectSeveralGroups (void (*FuncParams) (void),
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -1802,7 +1802,7 @@ void Grp_ShowLstGrpsToChgMyGrps (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_My_groups,ICanEdit ? Grp_PutIconToEditGroups :
|
Box_BoxBegin (NULL,Txt_My_groups,ICanEdit ? Grp_PutIconToEditGroups :
|
||||||
NULL,
|
NULL,
|
||||||
Hlp_USERS_Groups,Box_NOT_CLOSABLE);
|
Hlp_USERS_Groups,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
|
@ -1849,7 +1849,7 @@ void Grp_ShowLstGrpsToChgMyGrps (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
if (Gbl.Crs.Grps.NumGrps) // This course has groups
|
if (Gbl.Crs.Grps.NumGrps) // This course has groups
|
||||||
/***** Free list of groups types and groups in this course *****/
|
/***** Free list of groups types and groups in this course *****/
|
||||||
|
|
|
@ -110,7 +110,7 @@ void Hld_SeeHolidays (void)
|
||||||
Hld_GetListHolidays ();
|
Hld_GetListHolidays ();
|
||||||
|
|
||||||
/***** Table head *****/
|
/***** Table head *****/
|
||||||
Box_StartBox (NULL,Txt_Holidays,Hld_PutIconsSeeHolidays,
|
Box_BoxBegin (NULL,Txt_Holidays,Hld_PutIconsSeeHolidays,
|
||||||
Hlp_INSTITUTION_Holidays,Box_NOT_CLOSABLE);
|
Hlp_INSTITUTION_Holidays,Box_NOT_CLOSABLE);
|
||||||
if (Gbl.Hlds.Num)
|
if (Gbl.Hlds.Num)
|
||||||
{
|
{
|
||||||
|
@ -197,7 +197,7 @@ void Hld_SeeHolidays (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free list of holidays *****/
|
/***** Free list of holidays *****/
|
||||||
Hld_FreeListHolidays ();
|
Hld_FreeListHolidays ();
|
||||||
|
|
|
@ -116,7 +116,7 @@ void Ico_PutIconsToSelectIconSet (void)
|
||||||
Ico_IconSet_t IconSet;
|
Ico_IconSet_t IconSet;
|
||||||
char Icon[PATH_MAX + 1];
|
char Icon[PATH_MAX + 1];
|
||||||
|
|
||||||
Box_StartBox (NULL,Txt_Icons,Ico_PutIconsIconSet,
|
Box_BoxBegin (NULL,Txt_Icons,Ico_PutIconsIconSet,
|
||||||
Hlp_PROFILE_Settings_icons,Box_NOT_CLOSABLE);
|
Hlp_PROFILE_Settings_icons,Box_NOT_CLOSABLE);
|
||||||
Set_StartSettingsHead ();
|
Set_StartSettingsHead ();
|
||||||
Set_StartOneSettingSelector ();
|
Set_StartOneSettingSelector ();
|
||||||
|
@ -139,7 +139,7 @@ void Ico_PutIconsToSelectIconSet (void)
|
||||||
}
|
}
|
||||||
Set_EndOneSettingSelector ();
|
Set_EndOneSettingSelector ();
|
||||||
Set_EndSettingsHead ();
|
Set_EndSettingsHead ();
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -111,7 +111,7 @@ void Ind_ReqIndicatorsCourses (void)
|
||||||
Ind_GetParamsIndicators ();
|
Ind_GetParamsIndicators ();
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Indicators_of_courses,NULL,
|
Box_BoxBegin (NULL,Txt_Indicators_of_courses,NULL,
|
||||||
Hlp_ANALYTICS_Indicators,Box_NOT_CLOSABLE);
|
Hlp_ANALYTICS_Indicators,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Form to update indicators *****/
|
/***** Form to update indicators *****/
|
||||||
|
@ -222,7 +222,7 @@ void Ind_ReqIndicatorsCourses (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free structure that stores the query result *****/
|
/***** Free structure that stores the query result *****/
|
||||||
DB_FreeMySQLResult (&mysql_res);
|
DB_FreeMySQLResult (&mysql_res);
|
||||||
|
|
24
swad_info.c
24
swad_info.c
|
@ -448,14 +448,14 @@ void Inf_ShowInfo (void)
|
||||||
|
|
||||||
if (ShowWarningNoInfo)
|
if (ShowWarningNoInfo)
|
||||||
{
|
{
|
||||||
Box_StartBox ("100%",Txt_INFO_TITLE[Gbl.Crs.Info.Type],
|
Box_BoxBegin ("100%",Txt_INFO_TITLE[Gbl.Crs.Info.Type],
|
||||||
ICanEdit ? Inf_PutIconToEditInfo :
|
ICanEdit ? Inf_PutIconToEditInfo :
|
||||||
NULL,
|
NULL,
|
||||||
Help[Gbl.Crs.Info.Type],Box_NOT_CLOSABLE);
|
Help[Gbl.Crs.Info.Type],Box_NOT_CLOSABLE);
|
||||||
Ale_ShowAlert (Ale_INFO,Txt_No_information);
|
Ale_ShowAlert (Ale_INFO,Txt_No_information);
|
||||||
if (ICanEdit)
|
if (ICanEdit)
|
||||||
Inf_PutButtonToEditInfo ();
|
Inf_PutButtonToEditInfo ();
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -595,7 +595,7 @@ void Inf_WriteMsgYouMustReadInfo (void)
|
||||||
Inf_InfoType_t InfoType;
|
Inf_InfoType_t InfoType;
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Required_reading,NULL,
|
Box_BoxBegin (NULL,Txt_Required_reading,NULL,
|
||||||
NULL,Box_NOT_CLOSABLE);
|
NULL,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Write message *****/
|
/***** Write message *****/
|
||||||
|
@ -624,7 +624,7 @@ void Inf_WriteMsgYouMustReadInfo (void)
|
||||||
HTM_DIV_End ();
|
HTM_DIV_End ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -1044,7 +1044,7 @@ static void Inf_ShowPage (const char *URL)
|
||||||
};
|
};
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_INFO_TITLE[Gbl.Crs.Info.Type],
|
Box_BoxBegin (NULL,Txt_INFO_TITLE[Gbl.Crs.Info.Type],
|
||||||
ICanEdit ? Inf_PutIconToEditInfo :
|
ICanEdit ? Inf_PutIconToEditInfo :
|
||||||
NULL,
|
NULL,
|
||||||
Help[Gbl.Crs.Info.Type],Box_NOT_CLOSABLE);
|
Help[Gbl.Crs.Info.Type],Box_NOT_CLOSABLE);
|
||||||
|
@ -1057,7 +1057,7 @@ static void Inf_ShowPage (const char *URL)
|
||||||
fprintf (Gbl.F.Out,"</a>");
|
fprintf (Gbl.F.Out,"</a>");
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -1792,7 +1792,7 @@ static bool Inf_CheckAndShowPlainTxt (void)
|
||||||
if (TxtHTML[0])
|
if (TxtHTML[0])
|
||||||
{
|
{
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_INFO_TITLE[Gbl.Crs.Info.Type],
|
Box_BoxBegin (NULL,Txt_INFO_TITLE[Gbl.Crs.Info.Type],
|
||||||
ICanEdit ? Inf_PutIconToEditInfo :
|
ICanEdit ? Inf_PutIconToEditInfo :
|
||||||
NULL,
|
NULL,
|
||||||
Help[Gbl.Crs.Info.Type],Box_NOT_CLOSABLE);
|
Help[Gbl.Crs.Info.Type],Box_NOT_CLOSABLE);
|
||||||
|
@ -1813,7 +1813,7 @@ static bool Inf_CheckAndShowPlainTxt (void)
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
HTM_DIV_End ();
|
HTM_DIV_End ();
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -1876,7 +1876,7 @@ static bool Inf_CheckAndShowRichTxt (void)
|
||||||
if (TxtMD[0])
|
if (TxtMD[0])
|
||||||
{
|
{
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_INFO_TITLE[Gbl.Crs.Info.Type],
|
Box_BoxBegin (NULL,Txt_INFO_TITLE[Gbl.Crs.Info.Type],
|
||||||
ICanEdit ? Inf_PutIconToEditInfo :
|
ICanEdit ? Inf_PutIconToEditInfo :
|
||||||
NULL,
|
NULL,
|
||||||
Help[Gbl.Crs.Info.Type],Box_NOT_CLOSABLE);
|
Help[Gbl.Crs.Info.Type],Box_NOT_CLOSABLE);
|
||||||
|
@ -1950,7 +1950,7 @@ static bool Inf_CheckAndShowRichTxt (void)
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
HTM_DIV_End ();
|
HTM_DIV_End ();
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -2069,7 +2069,7 @@ void Inf_EditPlainTxtInfo (void)
|
||||||
|
|
||||||
/***** Begin form and box *****/
|
/***** Begin form and box *****/
|
||||||
Frm_StartForm (Inf_ActionsRcvPlaTxtInfo[Gbl.Crs.Info.Type]);
|
Frm_StartForm (Inf_ActionsRcvPlaTxtInfo[Gbl.Crs.Info.Type]);
|
||||||
Box_StartBox (NULL,Txt_INFO_TITLE[Gbl.Crs.Info.Type],NULL,
|
Box_BoxBegin (NULL,Txt_INFO_TITLE[Gbl.Crs.Info.Type],NULL,
|
||||||
HelpEdit[Gbl.Crs.Info.Type],Box_NOT_CLOSABLE);
|
HelpEdit[Gbl.Crs.Info.Type],Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
if (Gbl.Crs.Info.Type == Inf_INTRODUCTION ||
|
if (Gbl.Crs.Info.Type == Inf_INTRODUCTION ||
|
||||||
|
@ -2120,7 +2120,7 @@ void Inf_EditRichTxtInfo (void)
|
||||||
|
|
||||||
/***** Begin form and box *****/
|
/***** Begin form and box *****/
|
||||||
Frm_StartForm (Inf_ActionsRcvRchTxtInfo[Gbl.Crs.Info.Type]);
|
Frm_StartForm (Inf_ActionsRcvRchTxtInfo[Gbl.Crs.Info.Type]);
|
||||||
Box_StartBox (NULL,Txt_INFO_TITLE[Gbl.Crs.Info.Type],NULL,
|
Box_BoxBegin (NULL,Txt_INFO_TITLE[Gbl.Crs.Info.Type],NULL,
|
||||||
HelpEdit[Gbl.Crs.Info.Type],Box_NOT_CLOSABLE);
|
HelpEdit[Gbl.Crs.Info.Type],Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
if (Gbl.Crs.Info.Type == Inf_INTRODUCTION ||
|
if (Gbl.Crs.Info.Type == Inf_INTRODUCTION ||
|
||||||
|
|
|
@ -326,10 +326,10 @@ static void Ins_Configuration (bool PrintView)
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
if (PrintView)
|
if (PrintView)
|
||||||
Box_StartBox (NULL,NULL,NULL,
|
Box_BoxBegin (NULL,NULL,NULL,
|
||||||
NULL,Box_NOT_CLOSABLE);
|
NULL,Box_NOT_CLOSABLE);
|
||||||
else
|
else
|
||||||
Box_StartBox (NULL,NULL,Ins_PutIconsToPrintAndUpload,
|
Box_BoxBegin (NULL,NULL,Ins_PutIconsToPrintAndUpload,
|
||||||
Hlp_INSTITUTION_Information,Box_NOT_CLOSABLE);
|
Hlp_INSTITUTION_Information,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Title *****/
|
/***** Title *****/
|
||||||
|
@ -619,7 +619,7 @@ static void Ins_Configuration (bool PrintView)
|
||||||
HTM_TABLE_End ();
|
HTM_TABLE_End ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -706,7 +706,7 @@ static void Ins_ListInstitutions (void)
|
||||||
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
||||||
Txt_Institutions_of_COUNTRY_X,
|
Txt_Institutions_of_COUNTRY_X,
|
||||||
Gbl.Hierarchy.Cty.Name[Gbl.Prefs.Language]);
|
Gbl.Hierarchy.Cty.Name[Gbl.Prefs.Language]);
|
||||||
Box_StartBox (NULL,Gbl.Title,Ins_PutIconsListingInstitutions,
|
Box_BoxBegin (NULL,Gbl.Title,Ins_PutIconsListingInstitutions,
|
||||||
Hlp_COUNTRY_Institutions,Box_NOT_CLOSABLE);
|
Hlp_COUNTRY_Institutions,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
if (Gbl.Hierarchy.Cty.Inss.Num) // There are institutions in the current country
|
if (Gbl.Hierarchy.Cty.Inss.Num) // There are institutions in the current country
|
||||||
|
@ -736,7 +736,7 @@ static void Ins_ListInstitutions (void)
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
}
|
}
|
||||||
|
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -952,7 +952,7 @@ static void Ins_EditInstitutionsInternal (void)
|
||||||
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
||||||
Txt_Institutions_of_COUNTRY_X,
|
Txt_Institutions_of_COUNTRY_X,
|
||||||
Gbl.Hierarchy.Cty.Name[Gbl.Prefs.Language]);
|
Gbl.Hierarchy.Cty.Name[Gbl.Prefs.Language]);
|
||||||
Box_StartBox (NULL,Gbl.Title,Ins_PutIconsEditingInstitutions,
|
Box_BoxBegin (NULL,Gbl.Title,Ins_PutIconsEditingInstitutions,
|
||||||
Hlp_COUNTRY_Institutions,Box_NOT_CLOSABLE);
|
Hlp_COUNTRY_Institutions,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Put a form to create a new institution *****/
|
/***** Put a form to create a new institution *****/
|
||||||
|
@ -963,7 +963,7 @@ static void Ins_EditInstitutionsInternal (void)
|
||||||
Ins_ListInstitutionsForEdition ();
|
Ins_ListInstitutionsForEdition ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free list of institutions *****/
|
/***** Free list of institutions *****/
|
||||||
Ins_FreeListInstitutions ();
|
Ins_FreeListInstitutions ();
|
||||||
|
|
|
@ -88,10 +88,10 @@ void Lan_PutBoxToSelectLanguage (void)
|
||||||
extern const char *Hlp_PROFILE_Settings_language;
|
extern const char *Hlp_PROFILE_Settings_language;
|
||||||
extern const char *Txt_Language;
|
extern const char *Txt_Language;
|
||||||
|
|
||||||
Box_StartBox (NULL,Txt_Language,Lan_PutIconsLanguage,
|
Box_BoxBegin (NULL,Txt_Language,Lan_PutIconsLanguage,
|
||||||
Hlp_PROFILE_Settings_language,Box_NOT_CLOSABLE);
|
Hlp_PROFILE_Settings_language,Box_NOT_CLOSABLE);
|
||||||
Lan_PutSelectorToSelectLanguage ();
|
Lan_PutSelectorToSelectLanguage ();
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -101,7 +101,7 @@ void Lnk_SeeLinks (void)
|
||||||
Lnk_GetListLinks ();
|
Lnk_GetListLinks ();
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Links,Lnk_PutIconsListingLinks,
|
Box_BoxBegin (NULL,Txt_Links,Lnk_PutIconsListingLinks,
|
||||||
Hlp_SYSTEM_Links,Box_NOT_CLOSABLE);
|
Hlp_SYSTEM_Links,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Write all links *****/
|
/***** Write all links *****/
|
||||||
|
@ -119,7 +119,7 @@ void Lnk_SeeLinks (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free list of links *****/
|
/***** Free list of links *****/
|
||||||
Lnk_FreeListLinks ();
|
Lnk_FreeListLinks ();
|
||||||
|
@ -234,7 +234,7 @@ static void Lnk_EditLinksInternal (void)
|
||||||
Lnk_GetListLinks ();
|
Lnk_GetListLinks ();
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Links,Lnk_PutIconsEditingLinks,
|
Box_BoxBegin (NULL,Txt_Links,Lnk_PutIconsEditingLinks,
|
||||||
Hlp_SYSTEM_Links_edit,Box_NOT_CLOSABLE);
|
Hlp_SYSTEM_Links_edit,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Put a form to create a new link *****/
|
/***** Put a form to create a new link *****/
|
||||||
|
@ -245,7 +245,7 @@ static void Lnk_EditLinksInternal (void)
|
||||||
Lnk_ListLinksForEdition ();
|
Lnk_ListLinksForEdition ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free list of links *****/
|
/***** Free list of links *****/
|
||||||
Lnk_FreeListLinks ();
|
Lnk_FreeListLinks ();
|
||||||
|
|
|
@ -289,7 +289,7 @@ void Log_RequestLogo (Hie_Level_t Scope)
|
||||||
Frm_StartForm (ActionRec);
|
Frm_StartForm (ActionRec);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Logo,NULL,
|
Box_BoxBegin (NULL,Txt_Logo,NULL,
|
||||||
NULL,Box_NOT_CLOSABLE);
|
NULL,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Write help message *****/
|
/***** Write help message *****/
|
||||||
|
@ -308,7 +308,7 @@ void Log_RequestLogo (Hie_Level_t Scope)
|
||||||
Gbl.Form.Id);
|
Gbl.Form.Id);
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** End form *****/
|
/***** End form *****/
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
|
|
12
swad_mail.c
12
swad_mail.c
|
@ -918,7 +918,7 @@ static void Mai_ListEmails (void)
|
||||||
const char *Ptr;
|
const char *Ptr;
|
||||||
|
|
||||||
/***** Start the box used to list the emails *****/
|
/***** Start the box used to list the emails *****/
|
||||||
Box_StartBox (NULL,Txt_Email_addresses,NULL,
|
Box_BoxBegin (NULL,Txt_Email_addresses,NULL,
|
||||||
Hlp_MESSAGES_Email,Box_NOT_CLOSABLE);
|
Hlp_MESSAGES_Email,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Start list with users' email addresses *****/
|
/***** Start list with users' email addresses *****/
|
||||||
|
@ -1007,7 +1007,7 @@ static void Mai_ListEmails (void)
|
||||||
Mnu_ContextMenuEnd ();
|
Mnu_ContextMenuEnd ();
|
||||||
|
|
||||||
/***** End the box used to list the emails *****/
|
/***** End the box used to list the emails *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -1159,7 +1159,7 @@ void Mai_ShowFormChangeMyEmail (bool IMustFillInEmail,bool IShouldConfirmEmail)
|
||||||
snprintf (StrRecordWidth,sizeof (StrRecordWidth),
|
snprintf (StrRecordWidth,sizeof (StrRecordWidth),
|
||||||
"%upx",
|
"%upx",
|
||||||
Rec_RECORD_WIDTH);
|
Rec_RECORD_WIDTH);
|
||||||
Box_StartBox (StrRecordWidth,Txt_Email,Acc_PutLinkToRemoveMyAccount,
|
Box_BoxBegin (StrRecordWidth,Txt_Email,Acc_PutLinkToRemoveMyAccount,
|
||||||
Hlp_PROFILE_Account,Box_NOT_CLOSABLE);
|
Hlp_PROFILE_Account,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Show form to change email *****/
|
/***** Show form to change email *****/
|
||||||
|
@ -1168,7 +1168,7 @@ void Mai_ShowFormChangeMyEmail (bool IMustFillInEmail,bool IShouldConfirmEmail)
|
||||||
IMustFillInEmail,IShouldConfirmEmail);
|
IMustFillInEmail,IShouldConfirmEmail);
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** End section *****/
|
/***** End section *****/
|
||||||
Lay_EndSection ();
|
Lay_EndSection ();
|
||||||
|
@ -1191,7 +1191,7 @@ void Mai_ShowFormChangeOtherUsrEmail (void)
|
||||||
snprintf (StrRecordWidth,sizeof (StrRecordWidth),
|
snprintf (StrRecordWidth,sizeof (StrRecordWidth),
|
||||||
"%upx",
|
"%upx",
|
||||||
Rec_RECORD_WIDTH);
|
Rec_RECORD_WIDTH);
|
||||||
Box_StartBox (StrRecordWidth,Txt_Email,NULL,
|
Box_BoxBegin (StrRecordWidth,Txt_Email,NULL,
|
||||||
Hlp_PROFILE_Account,Box_NOT_CLOSABLE);
|
Hlp_PROFILE_Account,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Show form to change email *****/
|
/***** Show form to change email *****/
|
||||||
|
@ -1201,7 +1201,7 @@ void Mai_ShowFormChangeOtherUsrEmail (void)
|
||||||
false); // IShouldConfirmEmail
|
false); // IShouldConfirmEmail
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** End section *****/
|
/***** End section *****/
|
||||||
Lay_EndSection ();
|
Lay_EndSection ();
|
||||||
|
|
|
@ -258,7 +258,7 @@ void Mch_ListMatches (struct Game *Game,bool PutFormNewMatch)
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Gam_SetParamCurrentGamCod (Game->GamCod); // Used to pass parameter
|
Gam_SetParamCurrentGamCod (Game->GamCod); // Used to pass parameter
|
||||||
Box_StartBox (NULL,Txt_Matches,ICanEditMatches ? Mch_PutIconToCreateNewMatch :
|
Box_BoxBegin (NULL,Txt_Matches,ICanEditMatches ? Mch_PutIconToCreateNewMatch :
|
||||||
NULL,
|
NULL,
|
||||||
Hlp_ASSESSMENT_Games_matches,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Games_matches,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
|
@ -293,7 +293,7 @@ void Mch_ListMatches (struct Game *Game,bool PutFormNewMatch)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -1228,7 +1228,7 @@ static void Mch_PutFormNewMatch (struct Game *Game)
|
||||||
fprintf (Gbl.F.Out,"</a>");
|
fprintf (Gbl.F.Out,"</a>");
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** End form *****/
|
/***** End form *****/
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
|
|
|
@ -183,7 +183,7 @@ void McR_SelUsrsToViewUsrsMchResults (void)
|
||||||
Gbl.Usrs.LstUsrs[Rol_TCH].NumUsrs;
|
Gbl.Usrs.LstUsrs[Rol_TCH].NumUsrs;
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Results,NULL,
|
Box_BoxBegin (NULL,Txt_Results,NULL,
|
||||||
Hlp_ASSESSMENT_Games_results,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Games_results,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Show form to select the groups *****/
|
/***** Show form to select the groups *****/
|
||||||
|
@ -242,7 +242,7 @@ void McR_SelUsrsToViewUsrsMchResults (void)
|
||||||
Lay_EndSection ();
|
Lay_EndSection ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free memory for users' list *****/
|
/***** Free memory for users' list *****/
|
||||||
Usr_FreeUsrsList (Rol_TCH);
|
Usr_FreeUsrsList (Rol_TCH);
|
||||||
|
@ -735,7 +735,7 @@ void McR_ShowOneMchResult (void)
|
||||||
&NumQsts,&NumQstsNotBlank);
|
&NumQsts,&NumQstsNotBlank);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Match_result,NULL,
|
Box_BoxBegin (NULL,Txt_Match_result,NULL,
|
||||||
Hlp_ASSESSMENT_Games_results,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Games_results,Box_NOT_CLOSABLE);
|
||||||
Lay_WriteHeaderClassPhoto (false,false,
|
Lay_WriteHeaderClassPhoto (false,false,
|
||||||
Gbl.Hierarchy.Ins.InsCod,
|
Gbl.Hierarchy.Ins.InsCod,
|
||||||
|
@ -861,7 +861,7 @@ void McR_ShowOneMchResult (void)
|
||||||
Tst_ShowTstTotalMark (NumQsts,TotalScore);
|
Tst_ShowTstTotalMark (NumQsts,TotalScore);
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
else // I am not allowed to view this match result
|
else // I am not allowed to view this match result
|
||||||
Act_NoPermissionExit ();
|
Act_NoPermissionExit ();
|
||||||
|
|
|
@ -407,7 +407,7 @@ void Med_PutMediaUploader (int NumMediaInForm,const char *ClassInput)
|
||||||
Id);
|
Id);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Multimedia,NULL,
|
Box_BoxBegin (NULL,Txt_Multimedia,NULL,
|
||||||
Hlp_Multimedia,Box_NOT_CLOSABLE);
|
Hlp_Multimedia,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Action to perform on media *****/
|
/***** Action to perform on media *****/
|
||||||
|
@ -471,7 +471,7 @@ void Med_PutMediaUploader (int NumMediaInForm,const char *ClassInput)
|
||||||
HTM_DIV_End (); // <id>_tit
|
HTM_DIV_End (); // <id>_tit
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** End media uploader *****/
|
/***** End media uploader *****/
|
||||||
HTM_DIV_End (); // container <id>_med_upl
|
HTM_DIV_End (); // container <id>_med_upl
|
||||||
|
|
|
@ -407,7 +407,7 @@ void Mnu_PutIconsToSelectMenu (void)
|
||||||
extern const char *Txt_MENU_NAMES[Mnu_NUM_MENUS];
|
extern const char *Txt_MENU_NAMES[Mnu_NUM_MENUS];
|
||||||
Mnu_Menu_t Menu;
|
Mnu_Menu_t Menu;
|
||||||
|
|
||||||
Box_StartBox (NULL,Txt_Menu,Mnu_PutIconsMenu,
|
Box_BoxBegin (NULL,Txt_Menu,Mnu_PutIconsMenu,
|
||||||
Hlp_PROFILE_Settings_menu,Box_NOT_CLOSABLE);
|
Hlp_PROFILE_Settings_menu,Box_NOT_CLOSABLE);
|
||||||
Set_StartSettingsHead ();
|
Set_StartSettingsHead ();
|
||||||
Set_StartOneSettingSelector ();
|
Set_StartOneSettingSelector ();
|
||||||
|
@ -425,7 +425,7 @@ void Mnu_PutIconsToSelectMenu (void)
|
||||||
}
|
}
|
||||||
Set_EndOneSettingSelector ();
|
Set_EndOneSettingSelector ();
|
||||||
Set_EndSettingsHead ();
|
Set_EndSettingsHead ();
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -228,7 +228,7 @@ static void Msg_PutFormMsgUsrs (char Content[Cns_MAX_BYTES_LONG_TEXT + 1])
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Gbl.Msg.Reply.IsReply ? Txt_Reply_message :
|
Box_BoxBegin (NULL,Gbl.Msg.Reply.IsReply ? Txt_Reply_message :
|
||||||
Txt_New_message,NULL,
|
Txt_New_message,NULL,
|
||||||
Hlp_MESSAGES_Write,Box_NOT_CLOSABLE);
|
Hlp_MESSAGES_Write,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
|
@ -336,7 +336,7 @@ static void Msg_PutFormMsgUsrs (char Content[Cns_MAX_BYTES_LONG_TEXT + 1])
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free memory used by the list of nicknames *****/
|
/***** Free memory used by the list of nicknames *****/
|
||||||
Usr_FreeListOtherRecipients ();
|
Usr_FreeListOtherRecipients ();
|
||||||
|
@ -1749,12 +1749,12 @@ static void Msg_ShowSentOrReceivedMessages (void)
|
||||||
Gbl.Msg.NumMsgs = (unsigned) NumRows;
|
Gbl.Msg.NumMsgs = (unsigned) NumRows;
|
||||||
|
|
||||||
/***** Start box with messages *****/
|
/***** Start box with messages *****/
|
||||||
Box_StartBox ("97%",Msg_WriteNumMsgs (NumUnreadMsgs),Msg_PutIconsListMsgs,
|
Box_BoxBegin ("97%",Msg_WriteNumMsgs (NumUnreadMsgs),Msg_PutIconsListMsgs,
|
||||||
Help[Gbl.Msg.TypeOfMessages],Box_NOT_CLOSABLE);
|
Help[Gbl.Msg.TypeOfMessages],Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Filter messages *****/
|
/***** Filter messages *****/
|
||||||
/* Start box with filter */
|
/* Start box with filter */
|
||||||
Box_StartBox (NULL,Txt_Filter,NULL,
|
Box_BoxBegin (NULL,Txt_Filter,NULL,
|
||||||
HelpFilter[Gbl.Msg.TypeOfMessages],Box_CLOSABLE);
|
HelpFilter[Gbl.Msg.TypeOfMessages],Box_CLOSABLE);
|
||||||
|
|
||||||
/* Form to see messages again */
|
/* Form to see messages again */
|
||||||
|
@ -1778,7 +1778,7 @@ static void Msg_ShowSentOrReceivedMessages (void)
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
|
|
||||||
/* End box */
|
/* End box */
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
|
|
||||||
if (Gbl.Msg.NumMsgs) // If there are messages...
|
if (Gbl.Msg.NumMsgs) // If there are messages...
|
||||||
|
@ -1845,7 +1845,7 @@ static void Msg_ShowSentOrReceivedMessages (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free structure that stores the query result *****/
|
/***** Free structure that stores the query result *****/
|
||||||
DB_FreeMySQLResult (&mysql_res);
|
DB_FreeMySQLResult (&mysql_res);
|
||||||
|
|
|
@ -286,7 +286,7 @@ void Net_ShowFormMyWebsAndSocialNets (void)
|
||||||
snprintf (StrRecordWidth,sizeof (StrRecordWidth),
|
snprintf (StrRecordWidth,sizeof (StrRecordWidth),
|
||||||
"%upx",
|
"%upx",
|
||||||
Rec_RECORD_WIDTH);
|
Rec_RECORD_WIDTH);
|
||||||
Box_StartBox (StrRecordWidth,Txt_Webs_social_networks,
|
Box_BoxBegin (StrRecordWidth,Txt_Webs_social_networks,
|
||||||
Net_PutIconsWebsSocialNetworks,
|
Net_PutIconsWebsSocialNetworks,
|
||||||
Hlp_PROFILE_Webs,Box_NOT_CLOSABLE);
|
Hlp_PROFILE_Webs,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
|
@ -360,7 +360,7 @@ void Net_ShowFormMyWebsAndSocialNets (void)
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** End section *****/
|
/***** End section *****/
|
||||||
Lay_EndSection ();
|
Lay_EndSection ();
|
||||||
|
|
|
@ -247,7 +247,7 @@ static void Nck_ShowFormChangeUsrNickname (const struct UsrData *UsrDat,bool Its
|
||||||
snprintf (StrRecordWidth,sizeof (StrRecordWidth),
|
snprintf (StrRecordWidth,sizeof (StrRecordWidth),
|
||||||
"%upx",
|
"%upx",
|
||||||
Rec_RECORD_WIDTH);
|
Rec_RECORD_WIDTH);
|
||||||
Box_StartBox (StrRecordWidth,Txt_Nickname,Acc_PutLinkToRemoveMyAccount,
|
Box_BoxBegin (StrRecordWidth,Txt_Nickname,Acc_PutLinkToRemoveMyAccount,
|
||||||
Hlp_PROFILE_Account,Box_NOT_CLOSABLE);
|
Hlp_PROFILE_Account,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Show possible alerts *****/
|
/***** Show possible alerts *****/
|
||||||
|
|
|
@ -109,7 +109,7 @@ void Not_ShowFormNotice (void)
|
||||||
Frm_StartForm (ActRcvNot);
|
Frm_StartForm (ActRcvNot);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_New_notice,NULL,
|
Box_BoxBegin (NULL,Txt_New_notice,NULL,
|
||||||
Hlp_MESSAGES_Notices,Box_NOT_CLOSABLE);
|
Hlp_MESSAGES_Notices,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Message body *****/
|
/***** Message body *****/
|
||||||
|
@ -410,7 +410,7 @@ void Not_ShowNotices (Not_Listing_t TypeNoticesListing,long HighlightNotCod)
|
||||||
snprintf (StrWidth,sizeof (StrWidth),
|
snprintf (StrWidth,sizeof (StrWidth),
|
||||||
"%upx",
|
"%upx",
|
||||||
Not_ContainerWidth[Not_LIST_FULL_NOTICES] + 50);
|
Not_ContainerWidth[Not_LIST_FULL_NOTICES] + 50);
|
||||||
Box_StartBox (StrWidth,
|
Box_BoxBegin (StrWidth,
|
||||||
Txt_Notices,
|
Txt_Notices,
|
||||||
Not_PutIconsListNotices,
|
Not_PutIconsListNotices,
|
||||||
Hlp_MESSAGES_Notices,Box_NOT_CLOSABLE);
|
Hlp_MESSAGES_Notices,Box_NOT_CLOSABLE);
|
||||||
|
@ -486,7 +486,7 @@ void Not_ShowNotices (Not_Listing_t TypeNoticesListing,long HighlightNotCod)
|
||||||
Not_PutButtonToAddNewNotice ();
|
Not_PutButtonToAddNewNotice ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -374,7 +374,7 @@ void Ntf_ShowMyNotifications (void)
|
||||||
Mnu_ContextMenuEnd ();
|
Mnu_ContextMenuEnd ();
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Notifications,Ntf_PutIconsNotif,
|
Box_BoxBegin (NULL,Txt_Notifications,Ntf_PutIconsNotif,
|
||||||
Hlp_START_Notifications,Box_NOT_CLOSABLE);
|
Hlp_START_Notifications,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** List my notifications *****/
|
/***** List my notifications *****/
|
||||||
|
@ -609,7 +609,7 @@ void Ntf_ShowMyNotifications (void)
|
||||||
Txt_You_have_no_unread_notifications);
|
Txt_You_have_no_unread_notifications);
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free structure that stores the query result *****/
|
/***** Free structure that stores the query result *****/
|
||||||
DB_FreeMySQLResult (&mysql_res);
|
DB_FreeMySQLResult (&mysql_res);
|
||||||
|
@ -1907,7 +1907,7 @@ void Ntf_PutFormChangeNotifSentByEMail (void)
|
||||||
Lay_StartSection (Ntf_NOTIFICATIONS_ID);
|
Lay_StartSection (Ntf_NOTIFICATIONS_ID);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Notifications,Ntf_PutIconsNotif,
|
Box_BoxBegin (NULL,Txt_Notifications,Ntf_PutIconsNotif,
|
||||||
Hlp_PROFILE_Settings_notifications,Box_NOT_CLOSABLE);
|
Hlp_PROFILE_Settings_notifications,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Begin form *****/
|
/***** Begin form *****/
|
||||||
|
@ -1968,7 +1968,7 @@ void Ntf_PutFormChangeNotifSentByEMail (void)
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** End section with settings about notifications *****/
|
/***** End section with settings about notifications *****/
|
||||||
Lay_EndSection ();
|
Lay_EndSection ();
|
||||||
|
|
|
@ -275,7 +275,7 @@ void Pwd_ShowFormSendNewPwd (void)
|
||||||
Frm_StartForm (ActSndNewPwd);
|
Frm_StartForm (ActSndNewPwd);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Forgotten_password,NULL,
|
Box_BoxBegin (NULL,Txt_Forgotten_password,NULL,
|
||||||
Hlp_PROFILE_Password,Box_NOT_CLOSABLE);
|
Hlp_PROFILE_Password,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Help text *****/
|
/***** Help text *****/
|
||||||
|
@ -664,7 +664,7 @@ void Pwd_ShowFormChgMyPwd (void)
|
||||||
snprintf (StrRecordWidth,sizeof (StrRecordWidth),
|
snprintf (StrRecordWidth,sizeof (StrRecordWidth),
|
||||||
"%upx",
|
"%upx",
|
||||||
Rec_RECORD_WIDTH);
|
Rec_RECORD_WIDTH);
|
||||||
Box_StartBox (StrRecordWidth,Txt_Password,NULL,
|
Box_BoxBegin (StrRecordWidth,Txt_Password,NULL,
|
||||||
Hlp_PROFILE_Password,Box_NOT_CLOSABLE);
|
Hlp_PROFILE_Password,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Show possible alerts *****/
|
/***** Show possible alerts *****/
|
||||||
|
@ -835,7 +835,7 @@ void Pwd_ShowFormChgOtherUsrPwd (void)
|
||||||
Act_Action_t NextAction;
|
Act_Action_t NextAction;
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Password,NULL,
|
Box_BoxBegin (NULL,Txt_Password,NULL,
|
||||||
NULL,Box_NOT_CLOSABLE);
|
NULL,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Start section *****/
|
/***** Start section *****/
|
||||||
|
@ -872,7 +872,7 @@ void Pwd_ShowFormChgOtherUsrPwd (void)
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** End section *****/
|
/***** End section *****/
|
||||||
Lay_EndSection ();
|
Lay_EndSection ();
|
||||||
|
|
10
swad_photo.c
10
swad_photo.c
|
@ -303,7 +303,7 @@ static void Pho_ReqPhoto (const struct UsrData *UsrDat)
|
||||||
Act_Action_t NextAction;
|
Act_Action_t NextAction;
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Photo,ItsMe ? Pho_PutIconToRequestRemoveMyPhoto :
|
Box_BoxBegin (NULL,Txt_Photo,ItsMe ? Pho_PutIconToRequestRemoveMyPhoto :
|
||||||
Pho_PutIconToRequestRemoveOtherUsrPhoto,
|
Pho_PutIconToRequestRemoveOtherUsrPhoto,
|
||||||
Hlp_PROFILE_Photo,Box_NOT_CLOSABLE);
|
Hlp_PROFILE_Photo,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
|
@ -347,7 +347,7 @@ static void Pho_ReqPhoto (const struct UsrData *UsrDat)
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -1718,7 +1718,7 @@ void Pho_ShowOrPrintPhotoDegree (Pho_AvgPhotoSeeOrPrint_t SeeOrPrint)
|
||||||
{
|
{
|
||||||
case Pho_DEGREES_SEE:
|
case Pho_DEGREES_SEE:
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Degrees,Pho_PutIconToPrintDegreeStats,
|
Box_BoxBegin (NULL,Txt_Degrees,Pho_PutIconToPrintDegreeStats,
|
||||||
Hlp_ANALYTICS_Degrees,Box_NOT_CLOSABLE);
|
Hlp_ANALYTICS_Degrees,Box_NOT_CLOSABLE);
|
||||||
HTM_TABLE_BeginCenterPadding (2);
|
HTM_TABLE_BeginCenterPadding (2);
|
||||||
|
|
||||||
|
@ -1739,7 +1739,7 @@ void Pho_ShowOrPrintPhotoDegree (Pho_AvgPhotoSeeOrPrint_t SeeOrPrint)
|
||||||
break;
|
break;
|
||||||
case Pho_DEGREES_PRINT:
|
case Pho_DEGREES_PRINT:
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Degrees,NULL,
|
Box_BoxBegin (NULL,Txt_Degrees,NULL,
|
||||||
NULL,Box_NOT_CLOSABLE);
|
NULL,Box_NOT_CLOSABLE);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -1763,7 +1763,7 @@ void Pho_ShowOrPrintPhotoDegree (Pho_AvgPhotoSeeOrPrint_t SeeOrPrint)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -111,7 +111,7 @@ void Plc_SeePlaces (void)
|
||||||
Plc_GetListPlaces ();
|
Plc_GetListPlaces ();
|
||||||
|
|
||||||
/***** Table head *****/
|
/***** Table head *****/
|
||||||
Box_StartBox (NULL,Txt_Places,Plc_PutIconsListingPlaces,
|
Box_BoxBegin (NULL,Txt_Places,Plc_PutIconsListingPlaces,
|
||||||
Hlp_INSTITUTION_Places,Box_NOT_CLOSABLE);
|
Hlp_INSTITUTION_Places,Box_NOT_CLOSABLE);
|
||||||
HTM_TABLE_BeginWideMarginPadding (2);
|
HTM_TABLE_BeginWideMarginPadding (2);
|
||||||
HTM_TR_Begin (NULL);
|
HTM_TR_Begin (NULL);
|
||||||
|
@ -204,7 +204,7 @@ void Plc_SeePlaces (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free list of places *****/
|
/***** Free list of places *****/
|
||||||
Plc_FreeListPlaces ();
|
Plc_FreeListPlaces ();
|
||||||
|
@ -281,7 +281,7 @@ static void Plc_EditPlacesInternal (void)
|
||||||
Plc_GetListPlaces ();
|
Plc_GetListPlaces ();
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Places,Plc_PutIconsEditingPlaces,
|
Box_BoxBegin (NULL,Txt_Places,Plc_PutIconsEditingPlaces,
|
||||||
Hlp_INSTITUTION_Places_edit,Box_NOT_CLOSABLE);
|
Hlp_INSTITUTION_Places_edit,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Put a form to create a new place *****/
|
/***** Put a form to create a new place *****/
|
||||||
|
@ -292,7 +292,7 @@ static void Plc_EditPlacesInternal (void)
|
||||||
Plc_ListPlacesForEdition ();
|
Plc_ListPlacesForEdition ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free list of places *****/
|
/***** Free list of places *****/
|
||||||
Plc_FreeListPlaces ();
|
Plc_FreeListPlaces ();
|
||||||
|
|
|
@ -198,7 +198,7 @@ static void Plg_EditPluginsInternal (void)
|
||||||
Plg_GetListPlugins ();
|
Plg_GetListPlugins ();
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Plugins,NULL,
|
Box_BoxBegin (NULL,Txt_Plugins,NULL,
|
||||||
NULL,Box_NOT_CLOSABLE);
|
NULL,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Put a form to create a new plugin *****/
|
/***** Put a form to create a new plugin *****/
|
||||||
|
@ -209,7 +209,7 @@ static void Plg_EditPluginsInternal (void)
|
||||||
Plg_ListPluginsForEdition ();
|
Plg_ListPluginsForEdition ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free list of plugins *****/
|
/***** Free list of plugins *****/
|
||||||
Plg_FreeListPlugins ();
|
Plg_FreeListPlugins ();
|
||||||
|
|
|
@ -198,7 +198,7 @@ void Prf_RequestUserProfile (void)
|
||||||
Frm_StartForm (ActSeeOthPubPrf);
|
Frm_StartForm (ActSeeOthPubPrf);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Another_user_s_profile,NULL,
|
Box_BoxBegin (NULL,Txt_Another_user_s_profile,NULL,
|
||||||
Hlp_START_Profiles_view_public_profile,Box_NOT_CLOSABLE);
|
Hlp_START_Profiles_view_public_profile,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Form to request user's @nickname *****/
|
/***** Form to request user's @nickname *****/
|
||||||
|
|
888
swad_project.c
888
swad_project.c
File diff suppressed because it is too large
Load Diff
|
@ -36,6 +36,9 @@
|
||||||
/************************** Public types and constants ***********************/
|
/************************** Public types and constants ***********************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
|
/***** Configuration *****/
|
||||||
|
#define Prj_EDITABLE_DEFAULT true
|
||||||
|
|
||||||
/***** Filters to list projects *****/
|
/***** Filters to list projects *****/
|
||||||
/* My projects / all projects */
|
/* My projects / all projects */
|
||||||
#define Prj_NUM_WHOSE_PROJECTS 2
|
#define Prj_NUM_WHOSE_PROJECTS 2
|
||||||
|
@ -211,15 +214,17 @@ void Prj_ReqRemProject (void);
|
||||||
void Prj_RemoveProject (void);
|
void Prj_RemoveProject (void);
|
||||||
void Prj_HideProject (void);
|
void Prj_HideProject (void);
|
||||||
void Prj_ShowProject (void);
|
void Prj_ShowProject (void);
|
||||||
void Prj_LockProjectEdition (void);
|
|
||||||
void Prj_UnlockProjectEdition (void);
|
|
||||||
|
|
||||||
|
void Prj_RecFormProject (void);
|
||||||
|
|
||||||
|
void Prj_ShowFormConfig (void);
|
||||||
|
void Prj_ReceiveConfigPrj (void);
|
||||||
void Prj_ReqLockAllProjectsEdition (void);
|
void Prj_ReqLockAllProjectsEdition (void);
|
||||||
void Prj_ReqUnlockAllProjectsEdition (void);
|
void Prj_ReqUnlockAllProjectsEdition (void);
|
||||||
void Prj_LockAllProjectsEdition (void);
|
void Prj_LockAllProjectsEdition (void);
|
||||||
void Prj_UnlockAllProjectsEdition (void);
|
void Prj_UnlockAllProjectsEdition (void);
|
||||||
|
void Prj_LockProjectEdition (void);
|
||||||
void Prj_RecFormProject (void);
|
void Prj_UnlockProjectEdition (void);
|
||||||
|
|
||||||
void Prj_RemoveCrsProjects (long CrsCod);
|
void Prj_RemoveCrsProjects (long CrsCod);
|
||||||
void Prj_RemoveUsrFromProjects (long UsrCod);
|
void Prj_RemoveUsrFromProjects (long UsrCod);
|
||||||
|
|
|
@ -1336,10 +1336,10 @@ static void Rec_ShowRecordOneTchCrs (void)
|
||||||
{
|
{
|
||||||
HTM_DIV_Begin ("class=\"REC_RIGHT\"");
|
HTM_DIV_Begin ("class=\"REC_RIGHT\"");
|
||||||
Gbl.TimeTable.Type = TT_TUTORING_TIMETABLE;
|
Gbl.TimeTable.Type = TT_TUTORING_TIMETABLE;
|
||||||
Box_StartBox (Width,Txt_TIMETABLE_TYPES[Gbl.TimeTable.Type],NULL,
|
Box_BoxBegin (Width,Txt_TIMETABLE_TYPES[Gbl.TimeTable.Type],NULL,
|
||||||
Hlp_USERS_Teachers_timetable,Box_NOT_CLOSABLE);
|
Hlp_USERS_Teachers_timetable,Box_NOT_CLOSABLE);
|
||||||
TT_ShowTimeTable (Gbl.Usrs.Other.UsrDat.UsrCod);
|
TT_ShowTimeTable (Gbl.Usrs.Other.UsrDat.UsrCod);
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
HTM_DIV_End ();
|
HTM_DIV_End ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1457,10 +1457,10 @@ static void Rec_ListRecordsTchs (Rec_SharedRecordViewType_t TypeOfView)
|
||||||
{
|
{
|
||||||
HTM_DIV_Begin ("class=\"REC_RIGHT\"");
|
HTM_DIV_Begin ("class=\"REC_RIGHT\"");
|
||||||
Gbl.TimeTable.Type = TT_TUTORING_TIMETABLE;
|
Gbl.TimeTable.Type = TT_TUTORING_TIMETABLE;
|
||||||
Box_StartBox (Width,Txt_TIMETABLE_TYPES[Gbl.TimeTable.Type],NULL,
|
Box_BoxBegin (Width,Txt_TIMETABLE_TYPES[Gbl.TimeTable.Type],NULL,
|
||||||
Hlp_USERS_Teachers_timetable,Box_NOT_CLOSABLE);
|
Hlp_USERS_Teachers_timetable,Box_NOT_CLOSABLE);
|
||||||
TT_ShowTimeTable (UsrDat.UsrCod);
|
TT_ShowTimeTable (UsrDat.UsrCod);
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
HTM_DIV_End ();
|
HTM_DIV_End ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -160,7 +160,7 @@ void Rep_ReqMyUsageReport (void)
|
||||||
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
||||||
Txt_Report_of_use_of_PLATFORM,
|
Txt_Report_of_use_of_PLATFORM,
|
||||||
Cfg_PLATFORM_SHORT_NAME);
|
Cfg_PLATFORM_SHORT_NAME);
|
||||||
Box_StartBox (NULL,Gbl.Title,NULL,
|
Box_BoxBegin (NULL,Gbl.Title,NULL,
|
||||||
Hlp_ANALYTICS_Report,Box_NOT_CLOSABLE);
|
Hlp_ANALYTICS_Report,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Header *****/
|
/***** Header *****/
|
||||||
|
@ -267,7 +267,7 @@ static void Rep_PutLinkToMyUsageReport (struct Rep_Report *Report)
|
||||||
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
||||||
Txt_Report_of_use_of_PLATFORM,
|
Txt_Report_of_use_of_PLATFORM,
|
||||||
Cfg_PLATFORM_SHORT_NAME);
|
Cfg_PLATFORM_SHORT_NAME);
|
||||||
Box_StartBox (NULL,Gbl.Title,NULL,
|
Box_BoxBegin (NULL,Gbl.Title,NULL,
|
||||||
Hlp_ANALYTICS_Report,Box_NOT_CLOSABLE);
|
Hlp_ANALYTICS_Report,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Header *****/
|
/***** Header *****/
|
||||||
|
@ -294,7 +294,7 @@ static void Rep_PutLinkToMyUsageReport (struct Rep_Report *Report)
|
||||||
HTM_DIV_End ();
|
HTM_DIV_End ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -135,7 +135,7 @@ static void Sch_PutFormToSearchWithWhatToSearchAndScope (Act_Action_t Action,Hie
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
HTM_DIV_Begin ("class=\"CM\"");
|
HTM_DIV_Begin ("class=\"CM\"");
|
||||||
Box_StartBox (NULL,Txt_Search,Crs_PutIconToSelectMyCourses,
|
Box_BoxBegin (NULL,Txt_Search,Crs_PutIconToSelectMyCourses,
|
||||||
Hlp_START_Search,Box_NOT_CLOSABLE);
|
Hlp_START_Search,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Begin form *****/
|
/***** Begin form *****/
|
||||||
|
@ -191,7 +191,7 @@ static void Sch_PutFormToSearchWithWhatToSearchAndScope (Act_Action_t Action,Hie
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
HTM_DIV_End ();
|
HTM_DIV_End ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -77,7 +77,7 @@ void Set_EditSettings (void)
|
||||||
extern const char *Txt_Design;
|
extern const char *Txt_Design;
|
||||||
|
|
||||||
/***** Internationalization: language, first day of week, date format *****/
|
/***** Internationalization: language, first day of week, date format *****/
|
||||||
Box_StartBox (NULL,Txt_Internationalization,NULL,
|
Box_BoxBegin (NULL,Txt_Internationalization,NULL,
|
||||||
Hlp_PROFILE_Settings_internationalization,Box_NOT_CLOSABLE);
|
Hlp_PROFILE_Settings_internationalization,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
HTM_DIV_Begin ("class=\"FRAME_INLINE\"");
|
HTM_DIV_Begin ("class=\"FRAME_INLINE\"");
|
||||||
|
@ -92,10 +92,10 @@ void Set_EditSettings (void)
|
||||||
Dat_PutBoxToSelectDateFormat (); // 3. Date format
|
Dat_PutBoxToSelectDateFormat (); // 3. Date format
|
||||||
HTM_DIV_End ();
|
HTM_DIV_End ();
|
||||||
|
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Design: icon set, menu, theme, side columns *****/
|
/***** Design: icon set, menu, theme, side columns *****/
|
||||||
Box_StartBox (NULL,Txt_Design,NULL,
|
Box_BoxBegin (NULL,Txt_Design,NULL,
|
||||||
Hlp_PROFILE_Settings_design,Box_NOT_CLOSABLE);
|
Hlp_PROFILE_Settings_design,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
HTM_DIV_Begin ("class=\"FRAME_INLINE\"");
|
HTM_DIV_Begin ("class=\"FRAME_INLINE\"");
|
||||||
|
@ -114,7 +114,7 @@ void Set_EditSettings (void)
|
||||||
Set_PutIconsToSelectSideCols (); // 7. Side columns
|
Set_PutIconsToSelectSideCols (); // 7. Side columns
|
||||||
HTM_DIV_End ();
|
HTM_DIV_End ();
|
||||||
|
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
if (Gbl.Usrs.Me.Logged)
|
if (Gbl.Usrs.Me.Logged)
|
||||||
{
|
{
|
||||||
|
@ -247,7 +247,7 @@ static void Set_PutIconsToSelectSideCols (void)
|
||||||
unsigned SideCols;
|
unsigned SideCols;
|
||||||
char Icon[32 + 1];
|
char Icon[32 + 1];
|
||||||
|
|
||||||
Box_StartBox (NULL,Txt_Columns,Set_PutIconsSideColumns,
|
Box_BoxBegin (NULL,Txt_Columns,Set_PutIconsSideColumns,
|
||||||
Hlp_PROFILE_Settings_columns,Box_NOT_CLOSABLE);
|
Hlp_PROFILE_Settings_columns,Box_NOT_CLOSABLE);
|
||||||
Set_StartSettingsHead ();
|
Set_StartSettingsHead ();
|
||||||
Set_StartOneSettingSelector ();
|
Set_StartOneSettingSelector ();
|
||||||
|
@ -268,7 +268,7 @@ static void Set_PutIconsToSelectSideCols (void)
|
||||||
}
|
}
|
||||||
Set_EndOneSettingSelector ();
|
Set_EndOneSettingSelector ();
|
||||||
Set_EndSettingsHead ();
|
Set_EndSettingsHead ();
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -341,7 +341,7 @@ void Sta_AskShowCrsHits (void)
|
||||||
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
||||||
Txt_Statistics_of_visits_to_the_course_X,
|
Txt_Statistics_of_visits_to_the_course_X,
|
||||||
Gbl.Hierarchy.Crs.ShrtName);
|
Gbl.Hierarchy.Crs.ShrtName);
|
||||||
Box_StartBox (NULL,Gbl.Title,NULL,
|
Box_BoxBegin (NULL,Gbl.Title,NULL,
|
||||||
Hlp_ANALYTICS_Visits_visits_to_course,Box_NOT_CLOSABLE);
|
Hlp_ANALYTICS_Visits_visits_to_course,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Show form to select the groups *****/
|
/***** Show form to select the groups *****/
|
||||||
|
@ -487,7 +487,7 @@ void Sta_AskShowCrsHits (void)
|
||||||
Lay_EndSection ();
|
Lay_EndSection ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free memory used by the lists *****/
|
/***** Free memory used by the lists *****/
|
||||||
Usr_FreeUsrsList (Rol_TCH);
|
Usr_FreeUsrsList (Rol_TCH);
|
||||||
|
@ -1400,10 +1400,10 @@ static void Sta_ShowHits (Sta_GlobalOrCourseAccesses_t GlobalOrCourse)
|
||||||
{
|
{
|
||||||
/***** Put the table with the clicks *****/
|
/***** Put the table with the clicks *****/
|
||||||
if (Gbl.Stat.ClicksGroupedBy == Sta_CLICKS_CRS_DETAILED_LIST)
|
if (Gbl.Stat.ClicksGroupedBy == Sta_CLICKS_CRS_DETAILED_LIST)
|
||||||
Box_StartBox ("100%",Txt_List_of_detailed_clicks,NULL,
|
Box_BoxBegin ("100%",Txt_List_of_detailed_clicks,NULL,
|
||||||
NULL,Box_NOT_CLOSABLE);
|
NULL,Box_NOT_CLOSABLE);
|
||||||
else
|
else
|
||||||
Box_StartBox (NULL,Txt_STAT_TYPE_COUNT_CAPS[Gbl.Stat.CountType],NULL,
|
Box_BoxBegin (NULL,Txt_STAT_TYPE_COUNT_CAPS[Gbl.Stat.CountType],NULL,
|
||||||
NULL,Box_NOT_CLOSABLE);
|
NULL,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
HTM_TABLE_BeginPadding (Sta_CellPadding[Gbl.Stat.ClicksGroupedBy]);
|
HTM_TABLE_BeginPadding (Sta_CellPadding[Gbl.Stat.ClicksGroupedBy]);
|
||||||
|
@ -1475,7 +1475,7 @@ static void Sta_ShowHits (Sta_GlobalOrCourseAccesses_t GlobalOrCourse)
|
||||||
HTM_TABLE_End ();
|
HTM_TABLE_End ();
|
||||||
|
|
||||||
/* End box and section */
|
/* End box and section */
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
Lay_EndSection ();
|
Lay_EndSection ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3991,7 +3991,7 @@ void Sta_ShowLastClicks (void)
|
||||||
Mnu_ContextMenuEnd ();
|
Mnu_ContextMenuEnd ();
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Last_clicks_in_real_time,NULL,
|
Box_BoxBegin (NULL,Txt_Last_clicks_in_real_time,NULL,
|
||||||
Hlp_USERS_Connected_last_clicks,Box_NOT_CLOSABLE);
|
Hlp_USERS_Connected_last_clicks,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Get and show last clicks *****/
|
/***** Get and show last clicks *****/
|
||||||
|
@ -4000,7 +4000,7 @@ void Sta_ShowLastClicks (void)
|
||||||
HTM_DIV_End (); // Used for AJAX based refresh
|
HTM_DIV_End (); // Used for AJAX based refresh
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -230,7 +230,7 @@ static void Svy_ListAllSurveys (struct SurveyQuestion *SvyQst)
|
||||||
&Pagination);
|
&Pagination);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox ("100%",Txt_Surveys,Svy_PutIconsListSurveys,
|
Box_BoxBegin ("100%",Txt_Surveys,Svy_PutIconsListSurveys,
|
||||||
Hlp_ASSESSMENT_Surveys,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Surveys,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Select whether show only my groups or all groups *****/
|
/***** Select whether show only my groups or all groups *****/
|
||||||
|
@ -294,7 +294,7 @@ static void Svy_ListAllSurveys (struct SurveyQuestion *SvyQst)
|
||||||
Svy_PutButtonToCreateNewSvy ();
|
Svy_PutButtonToCreateNewSvy ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Write again links to pages *****/
|
/***** Write again links to pages *****/
|
||||||
if (Pagination.MoreThanOnePage)
|
if (Pagination.MoreThanOnePage)
|
||||||
|
@ -442,7 +442,7 @@ static void Svy_ShowOneSurvey (long SvyCod,struct SurveyQuestion *SvyQst,
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
if (ShowOnlyThisSvyComplete)
|
if (ShowOnlyThisSvyComplete)
|
||||||
Box_StartBox (NULL,Txt_Survey,NULL,
|
Box_BoxBegin (NULL,Txt_Survey,NULL,
|
||||||
Hlp_ASSESSMENT_Surveys,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Surveys,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Get data of this survey *****/
|
/***** Get data of this survey *****/
|
||||||
|
@ -693,7 +693,7 @@ static void Svy_ShowOneSurvey (long SvyCod,struct SurveyQuestion *SvyQst,
|
||||||
HTM_TABLE_End ();
|
HTM_TABLE_End ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** Free anchor string *****/
|
/***** Free anchor string *****/
|
||||||
|
@ -2681,11 +2681,11 @@ static void Svy_ShowFormEditOneQst (long SvyCod,struct SurveyQuestion *SvyQst,
|
||||||
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
||||||
"%s %u",
|
"%s %u",
|
||||||
Txt_Question,SvyQst->QstInd + 1); // Question index may be 0, 1, 2, 3,...
|
Txt_Question,SvyQst->QstInd + 1); // Question index may be 0, 1, 2, 3,...
|
||||||
Box_StartBox (NULL,Gbl.Title,Svy_PutIconToRemoveOneQst,
|
Box_BoxBegin (NULL,Gbl.Title,Svy_PutIconToRemoveOneQst,
|
||||||
NULL,Box_NOT_CLOSABLE);
|
NULL,Box_NOT_CLOSABLE);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
Box_StartBox (NULL,Txt_New_question,NULL,
|
Box_BoxBegin (NULL,Txt_New_question,NULL,
|
||||||
Hlp_ASSESSMENT_Surveys_questions,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Surveys_questions,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Begin form *****/
|
/***** Begin form *****/
|
||||||
|
@ -2791,7 +2791,7 @@ static void Svy_ShowFormEditOneQst (long SvyCod,struct SurveyQuestion *SvyQst,
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free memory for answers *****/
|
/***** Free memory for answers *****/
|
||||||
Svy_FreeTextChoiceAnswers (SvyQst,NumAnswers);
|
Svy_FreeTextChoiceAnswers (SvyQst,NumAnswers);
|
||||||
|
@ -3201,7 +3201,7 @@ static void Svy_ListSvyQuestions (struct Survey *Svy,
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Svy_CurrentSvyCod = Svy->SvyCod;
|
Svy_CurrentSvyCod = Svy->SvyCod;
|
||||||
Box_StartBox (NULL,Txt_Questions,Svy->Status.ICanEdit ? Svy_PutIconToAddNewQuestion :
|
Box_BoxBegin (NULL,Txt_Questions,Svy->Status.ICanEdit ? Svy_PutIconToAddNewQuestion :
|
||||||
NULL,
|
NULL,
|
||||||
Hlp_ASSESSMENT_Surveys_questions,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Surveys_questions,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
|
@ -3306,7 +3306,7 @@ static void Svy_ListSvyQuestions (struct Survey *Svy,
|
||||||
DB_FreeMySQLResult (&mysql_res);
|
DB_FreeMySQLResult (&mysql_res);
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -252,7 +252,7 @@ bool Syl_CheckAndEditSyllabus (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
48
swad_test.c
48
swad_test.c
|
@ -330,7 +330,7 @@ void Tst_ShowFormAskTst (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Take_a_test,Tst_PutIconsTests,
|
Box_BoxBegin (NULL,Txt_Take_a_test,Tst_PutIconsTests,
|
||||||
Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Get tags *****/
|
/***** Get tags *****/
|
||||||
|
@ -391,7 +391,7 @@ void Tst_ShowFormAskTst (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free structure that stores the query result *****/
|
/***** Free structure that stores the query result *****/
|
||||||
DB_FreeMySQLResult (&mysql_res);
|
DB_FreeMySQLResult (&mysql_res);
|
||||||
|
@ -451,7 +451,7 @@ void Tst_ShowNewTest (void)
|
||||||
Tst_UpdateMyNumAccessTst (NumAccessesTst);
|
Tst_UpdateMyNumAccessTst (NumAccessesTst);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Test,NULL,
|
Box_BoxBegin (NULL,Txt_Test,NULL,
|
||||||
Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
|
||||||
Lay_WriteHeaderClassPhoto (false,false,
|
Lay_WriteHeaderClassPhoto (false,false,
|
||||||
Gbl.Hierarchy.Ins.InsCod,
|
Gbl.Hierarchy.Ins.InsCod,
|
||||||
|
@ -488,7 +488,7 @@ void Tst_ShowNewTest (void)
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Set test status *****/
|
/***** Set test status *****/
|
||||||
Tst_SetTstStatus (NumAccessesTst,Tst_STATUS_SHOWN_BUT_NOT_ASSESSED);
|
Tst_SetTstStatus (NumAccessesTst,Tst_STATUS_SHOWN_BUT_NOT_ASSESSED);
|
||||||
|
@ -549,7 +549,7 @@ void Tst_AssessTest (void)
|
||||||
TstCod = Tst_CreateTestResultInDB ();
|
TstCod = Tst_CreateTestResultInDB ();
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Test_result,NULL,
|
Box_BoxBegin (NULL,Txt_Test_result,NULL,
|
||||||
Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
|
||||||
Lay_WriteHeaderClassPhoto (false,false,
|
Lay_WriteHeaderClassPhoto (false,false,
|
||||||
Gbl.Hierarchy.Ins.InsCod,
|
Gbl.Hierarchy.Ins.InsCod,
|
||||||
|
@ -574,7 +574,7 @@ void Tst_AssessTest (void)
|
||||||
Tst_ShowTstTotalMark (Gbl.Test.NumQsts,TotalScore);
|
Tst_ShowTstTotalMark (Gbl.Test.NumQsts,TotalScore);
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Store test result in database *****/
|
/***** Store test result in database *****/
|
||||||
Tst_StoreScoreOfTestResultInDB (TstCod,
|
Tst_StoreScoreOfTestResultInDB (TstCod,
|
||||||
|
@ -1291,7 +1291,7 @@ void Tst_ShowFormAskEditTsts (void)
|
||||||
Mnu_ContextMenuEnd ();
|
Mnu_ContextMenuEnd ();
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_List_edit_questions,Tst_PutIconsTests,
|
Box_BoxBegin (NULL,Txt_List_edit_questions,Tst_PutIconsTests,
|
||||||
Hlp_ASSESSMENT_Tests_editing_questions,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Tests_editing_questions,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Get tags already present in the table of questions *****/
|
/***** Get tags already present in the table of questions *****/
|
||||||
|
@ -1327,7 +1327,7 @@ void Tst_ShowFormAskEditTsts (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/* Free structure that stores the query result */
|
/* Free structure that stores the query result */
|
||||||
DB_FreeMySQLResult (&mysql_res);
|
DB_FreeMySQLResult (&mysql_res);
|
||||||
|
@ -1347,7 +1347,7 @@ void Tst_ShowFormAskSelectTstsForGame (void)
|
||||||
unsigned long NumRows;
|
unsigned long NumRows;
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Select_questions,NULL,
|
Box_BoxBegin (NULL,Txt_Select_questions,NULL,
|
||||||
Hlp_ASSESSMENT_Games_questions,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Games_questions,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Get tags already present in the table of questions *****/
|
/***** Get tags already present in the table of questions *****/
|
||||||
|
@ -1380,7 +1380,7 @@ void Tst_ShowFormAskSelectTstsForGame (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/* Free structure that stores the query result */
|
/* Free structure that stores the query result */
|
||||||
DB_FreeMySQLResult (&mysql_res);
|
DB_FreeMySQLResult (&mysql_res);
|
||||||
|
@ -1906,14 +1906,14 @@ static void Tst_ShowFormConfigTst (void)
|
||||||
Tst_GetConfigTstFromDB ();
|
Tst_GetConfigTstFromDB ();
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Configure_tests,Tst_PutIconsTests,
|
Box_BoxBegin (NULL,Txt_Configure_tests,Tst_PutIconsTests,
|
||||||
Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Begin form *****/
|
/***** Begin form *****/
|
||||||
Frm_StartForm (ActRcvCfgTst);
|
Frm_StartForm (ActRcvCfgTst);
|
||||||
|
|
||||||
/***** Tests are visible from plugins? *****/
|
/***** Tests are visible from plugins? *****/
|
||||||
HTM_TABLE_BeginPadding (2);
|
HTM_TABLE_BeginCenterPadding (2);
|
||||||
HTM_TR_Begin (NULL);
|
HTM_TR_Begin (NULL);
|
||||||
|
|
||||||
HTM_TD_Begin ("class=\"%s RT\"",The_ClassFormInBox[Gbl.Prefs.Theme]);
|
HTM_TD_Begin ("class=\"%s RT\"",The_ClassFormInBox[Gbl.Prefs.Theme]);
|
||||||
|
@ -2014,7 +2014,7 @@ static void Tst_ShowFormConfigTst (void)
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -2815,7 +2815,7 @@ static void Tst_ListOneOrMoreQuestionsForEdition (unsigned long NumRows,
|
||||||
double TotalScoreThisQst;
|
double TotalScoreThisQst;
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Questions,Tst_PutIconsTests,
|
Box_BoxBegin (NULL,Txt_Questions,Tst_PutIconsTests,
|
||||||
Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Write the heading *****/
|
/***** Write the heading *****/
|
||||||
|
@ -3043,7 +3043,7 @@ static void Tst_ListOneOrMoreQuestionsForEdition (unsigned long NumRows,
|
||||||
Tst_PutButtonToAddQuestion ();
|
Tst_PutButtonToAddQuestion ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -3071,7 +3071,7 @@ static void Tst_ListOneOrMoreQuestionsForSelection (unsigned long NumRows,
|
||||||
time_t TimeUTC;
|
time_t TimeUTC;
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Questions,NULL,
|
Box_BoxBegin (NULL,Txt_Questions,NULL,
|
||||||
Hlp_ASSESSMENT_Games_questions,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Games_questions,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Begin form *****/
|
/***** Begin form *****/
|
||||||
|
@ -3207,7 +3207,7 @@ static void Tst_ListOneOrMoreQuestionsForSelection (unsigned long NumRows,
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -5058,11 +5058,11 @@ static void Tst_PutFormEditOneQst (char Stem[Cns_MAX_BYTES_TEXT + 1],
|
||||||
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
snprintf (Gbl.Title,sizeof (Gbl.Title),
|
||||||
Txt_Question_code_X,
|
Txt_Question_code_X,
|
||||||
Gbl.Test.QstCod);
|
Gbl.Test.QstCod);
|
||||||
Box_StartBox (NULL,Gbl.Title,Tst_PutIconToRemoveOneQst,
|
Box_BoxBegin (NULL,Gbl.Title,Tst_PutIconToRemoveOneQst,
|
||||||
Hlp_ASSESSMENT_Tests_writing_a_question,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Tests_writing_a_question,Box_NOT_CLOSABLE);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
Box_StartBox (NULL,Txt_New_question,NULL,
|
Box_BoxBegin (NULL,Txt_New_question,NULL,
|
||||||
Hlp_ASSESSMENT_Tests_writing_a_question,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Tests_writing_a_question,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Begin form *****/
|
/***** Begin form *****/
|
||||||
|
@ -5424,7 +5424,7 @@ static void Tst_PutFormEditOneQst (char Stem[Cns_MAX_BYTES_TEXT + 1],
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -7441,7 +7441,7 @@ void Tst_SelUsrsToViewUsrsTstResults (void)
|
||||||
Gbl.Usrs.LstUsrs[Rol_TCH].NumUsrs;
|
Gbl.Usrs.LstUsrs[Rol_TCH].NumUsrs;
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Results,NULL,
|
Box_BoxBegin (NULL,Txt_Results,NULL,
|
||||||
Hlp_ASSESSMENT_Tests_results,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Tests_results,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Show form to select the groups *****/
|
/***** Show form to select the groups *****/
|
||||||
|
@ -7501,7 +7501,7 @@ void Tst_SelUsrsToViewUsrsTstResults (void)
|
||||||
Lay_EndSection ();
|
Lay_EndSection ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free memory for users' list *****/
|
/***** Free memory for users' list *****/
|
||||||
Usr_FreeUsrsList (Rol_TCH);
|
Usr_FreeUsrsList (Rol_TCH);
|
||||||
|
@ -8081,7 +8081,7 @@ void Tst_ShowOneTstResult (void)
|
||||||
Tst_GetTestResultQuestionsFromDB (TstCod);
|
Tst_GetTestResultQuestionsFromDB (TstCod);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Test_result,NULL,
|
Box_BoxBegin (NULL,Txt_Test_result,NULL,
|
||||||
Hlp_ASSESSMENT_Tests_results,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Tests_results,Box_NOT_CLOSABLE);
|
||||||
Lay_WriteHeaderClassPhoto (false,false,
|
Lay_WriteHeaderClassPhoto (false,false,
|
||||||
Gbl.Hierarchy.Ins.InsCod,
|
Gbl.Hierarchy.Ins.InsCod,
|
||||||
|
@ -8203,7 +8203,7 @@ void Tst_ShowOneTstResult (void)
|
||||||
Tst_ShowTstTotalMark (Gbl.Test.NumQsts,TotalScore);
|
Tst_ShowTstTotalMark (Gbl.Test.NumQsts,TotalScore);
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
else // I am not allowed to view this test result
|
else // I am not allowed to view this test result
|
||||||
Act_NoPermissionExit ();
|
Act_NoPermissionExit ();
|
||||||
|
|
|
@ -133,7 +133,7 @@ void TsI_ShowFormImportQstsFromXML (void)
|
||||||
extern const char *Txt_XML_file;
|
extern const char *Txt_XML_file;
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Import_questions,NULL,
|
Box_BoxBegin (NULL,Txt_Import_questions,NULL,
|
||||||
Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Write help message *****/
|
/***** Write help message *****/
|
||||||
|
@ -153,7 +153,7 @@ void TsI_ShowFormImportQstsFromXML (void)
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -505,7 +505,7 @@ static void TsI_ImportQuestionsFromXMLBuffer (const char *XMLBuffer)
|
||||||
XML_GetTree (XMLBuffer,&RootElem);
|
XML_GetTree (XMLBuffer,&RootElem);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Imported_questions,NULL,
|
Box_BoxBegin (NULL,Txt_Imported_questions,NULL,
|
||||||
Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
|
Hlp_ASSESSMENT_Tests,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Print XML tree *****/
|
/***** Print XML tree *****/
|
||||||
|
@ -671,7 +671,7 @@ static void TsI_ImportQuestionsFromXMLBuffer (const char *XMLBuffer)
|
||||||
Ale_ShowAlert (Ale_ERROR,"Root element <test> not found.");
|
Ale_ShowAlert (Ale_ERROR,"Root element <test> not found.");
|
||||||
|
|
||||||
/***** End table *****/
|
/***** End table *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free XML tree *****/
|
/***** Free XML tree *****/
|
||||||
XML_FreeTree (RootElem);
|
XML_FreeTree (RootElem);
|
||||||
|
|
139
swad_text.c
139
swad_text.c
|
@ -9831,6 +9831,48 @@ const char *Txt_Edit_rich_text =
|
||||||
"Editar texto rico";
|
"Editar texto rico";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
const char *Txt_Editable =
|
||||||
|
#if L==1 // ca
|
||||||
|
"Editable";
|
||||||
|
#elif L==2 // de
|
||||||
|
"Bearbeitbar";
|
||||||
|
#elif L==3 // en
|
||||||
|
"Editable";
|
||||||
|
#elif L==4 // es
|
||||||
|
"Editable";
|
||||||
|
#elif L==5 // fr
|
||||||
|
"Éditable";
|
||||||
|
#elif L==6 // gn
|
||||||
|
"Editable"; // Okoteve traducción
|
||||||
|
#elif L==7 // it
|
||||||
|
"Modificabile";
|
||||||
|
#elif L==8 // pl
|
||||||
|
"Edytowalne";
|
||||||
|
#elif L==9 // pt
|
||||||
|
"Editável";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
const char *Txt_Editable_by_non_editing_teachers =
|
||||||
|
#if L==1 // ca
|
||||||
|
"Editable per professors no editors";
|
||||||
|
#elif L==2 // de
|
||||||
|
"Bearbeitbar von nicht bearbeitenden Lehrern";
|
||||||
|
#elif L==3 // en
|
||||||
|
"Editable by non-editing teachers";
|
||||||
|
#elif L==4 // es
|
||||||
|
"Editable por profesores no editores";
|
||||||
|
#elif L==5 // fr
|
||||||
|
"Editable par des enseignants non-éditeurs";
|
||||||
|
#elif L==6 // gn
|
||||||
|
"Editable por profesores no editores"; // Okoteve traducción
|
||||||
|
#elif L==7 // it
|
||||||
|
"Modificabile da professori non-editing";
|
||||||
|
#elif L==8 // pl
|
||||||
|
"Edytowalne przez nauczycieli, którzy nie dokonali edycji";
|
||||||
|
#elif L==9 // pt
|
||||||
|
"Editável por professores não editores";
|
||||||
|
#endif
|
||||||
|
|
||||||
const char *Txt_eg_A_B =
|
const char *Txt_eg_A_B =
|
||||||
#if L==1 // ca
|
#if L==1 // ca
|
||||||
"per ex.: A, B,…";
|
"per ex.: A, B,…";
|
||||||
|
@ -31033,93 +31075,93 @@ const char *Txt_PROJECT_MY_ALL_PROJECTS[Prj_NUM_WHOSE_PROJECTS] =
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
const char *Txt_PROJECT_PREASSIGNED_NONPREASSIGNED_PLURAL[Prj_NUM_ASSIGNED_NONASSIG] =
|
const char *Txt_PROJECT_ASSIGNED_NONASSIGNED_PLURAL[Prj_NUM_ASSIGNED_NONASSIG] =
|
||||||
{
|
{
|
||||||
// Prj_PREASSIGNED
|
// Prj_ASSIGNED
|
||||||
#if L==1 // ca
|
#if L==1 // ca
|
||||||
"Projectes preassignats"
|
"Projectes assignats"
|
||||||
#elif L==2 // de
|
#elif L==2 // de
|
||||||
"Vorbelegt Projekte"
|
"Vorbelegt Projekte"
|
||||||
#elif L==3 // en
|
#elif L==3 // en
|
||||||
"Preassigned projects"
|
"Assigned projects"
|
||||||
#elif L==4 // es
|
#elif L==4 // es
|
||||||
"Proyectos preasignados"
|
"Proyectos asignados"
|
||||||
#elif L==5 // fr
|
#elif L==5 // fr
|
||||||
"Projets préassignés"
|
"Projets assignés"
|
||||||
#elif L==6 // gn
|
#elif L==6 // gn
|
||||||
"Proyectos preasignados" // Okoteve traducción
|
"Proyectos asignados" // Okoteve traducción
|
||||||
#elif L==7 // it
|
#elif L==7 // it
|
||||||
"Progetti preassegnati"
|
"Progetti assegnati"
|
||||||
#elif L==8 // pl
|
#elif L==8 // pl
|
||||||
"Zadany projekty"
|
"Zadany projekty"
|
||||||
#elif L==9 // pt
|
#elif L==9 // pt
|
||||||
"Projetos pré-atribuídos"
|
"Projetos atribuídos"
|
||||||
#endif
|
#endif
|
||||||
,
|
,
|
||||||
// Prj_NONPREASSIG
|
// Prj_NONASSIG
|
||||||
#if L==1 // ca
|
#if L==1 // ca
|
||||||
"Projectes no preassignats"
|
"Projectes no assignats"
|
||||||
#elif L==2 // de
|
#elif L==2 // de
|
||||||
"Nicht vorbelegt Projekte"
|
"Nicht vorbelegt Projekte"
|
||||||
#elif L==3 // en
|
#elif L==3 // en
|
||||||
"Non-preassigned projects"
|
"Non-assigned projects"
|
||||||
#elif L==4 // es
|
#elif L==4 // es
|
||||||
"Proyectos no preasignados"
|
"Proyectos no asignados"
|
||||||
#elif L==5 // fr
|
#elif L==5 // fr
|
||||||
"Projets non préassignés"
|
"Projets non assignés"
|
||||||
#elif L==6 // gn
|
#elif L==6 // gn
|
||||||
"Proyectos no preasignados" // Okoteve traducción
|
"Proyectos no asignados" // Okoteve traducción
|
||||||
#elif L==7 // it
|
#elif L==7 // it
|
||||||
"Progetti non-preassegnati"
|
"Progetti non-assegnati"
|
||||||
#elif L==8 // pl
|
#elif L==8 // pl
|
||||||
"Nieprzypisane projekty"
|
"Nieprzypisane projekty"
|
||||||
#elif L==9 // pt
|
#elif L==9 // pt
|
||||||
"Projetos não pré-atribuídos"
|
"Projetos não atribuídos"
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
const char *Txt_PROJECT_PREASSIGNED_NONPREASSIGNED_SINGUL[Prj_NUM_ASSIGNED_NONASSIG] =
|
const char *Txt_PROJECT_ASSIGNED_NONASSIGNED_SINGUL[Prj_NUM_ASSIGNED_NONASSIG] =
|
||||||
{
|
{
|
||||||
// Prj_PREASSIGNED
|
// Prj_ASSIGNED
|
||||||
#if L==1 // ca
|
#if L==1 // ca
|
||||||
"Projecte preassignat"
|
"Projecte assignat"
|
||||||
#elif L==2 // de
|
#elif L==2 // de
|
||||||
"Vorbelegt Projekt"
|
"Vorbelegt Projekt"
|
||||||
#elif L==3 // en
|
#elif L==3 // en
|
||||||
"Preassigned project"
|
"Assigned project"
|
||||||
#elif L==4 // es
|
#elif L==4 // es
|
||||||
"Proyecto preasignado"
|
"Proyecto asignado"
|
||||||
#elif L==5 // fr
|
#elif L==5 // fr
|
||||||
"Projet préassigné"
|
"Projet assigné"
|
||||||
#elif L==6 // gn
|
#elif L==6 // gn
|
||||||
"Proyecto preasignado" // Okoteve traducción
|
"Proyecto asignado" // Okoteve traducción
|
||||||
#elif L==7 // it
|
#elif L==7 // it
|
||||||
"Progetto preassegnato"
|
"Progetto assegnato"
|
||||||
#elif L==8 // pl
|
#elif L==8 // pl
|
||||||
"Zadany projekt"
|
"Zadany projekt"
|
||||||
#elif L==9 // pt
|
#elif L==9 // pt
|
||||||
"Projeto pré-atribuído"
|
"Projeto atribuído"
|
||||||
#endif
|
#endif
|
||||||
,
|
,
|
||||||
// Prj_NONPREASSIG
|
// Prj_NONASSIG
|
||||||
#if L==1 // ca
|
#if L==1 // ca
|
||||||
"Projecte no preassignat"
|
"Projecte no assignat"
|
||||||
#elif L==2 // de
|
#elif L==2 // de
|
||||||
"Nicht vorbelegt Projekt"
|
"Nicht vorbelegt Projekt"
|
||||||
#elif L==3 // en
|
#elif L==3 // en
|
||||||
"Non-preassigned project"
|
"Non-assigned project"
|
||||||
#elif L==4 // es
|
#elif L==4 // es
|
||||||
"Proyecto no preasignado"
|
"Proyecto no asignado"
|
||||||
#elif L==5 // fr
|
#elif L==5 // fr
|
||||||
"Projet non préassigné"
|
"Projet non assigné"
|
||||||
#elif L==6 // gn
|
#elif L==6 // gn
|
||||||
"Proyecto no preasignado" // Okoteve traducción
|
"Proyecto no asignado" // Okoteve traducción
|
||||||
#elif L==7 // it
|
#elif L==7 // it
|
||||||
"Progetto non-preassegnato"
|
"Progetto non-assegnato"
|
||||||
#elif L==8 // pl
|
#elif L==8 // pl
|
||||||
"Nieprzypisane projekt"
|
"Nieprzypisane projekt"
|
||||||
#elif L==9 // pt
|
#elif L==9 // pt
|
||||||
"Projeto não pré-atribuído"
|
"Projeto não atribuído"
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -43521,6 +43563,27 @@ const char *Txt_The_comment_no_longer_exists =
|
||||||
"O comentário não existe mais.";
|
"O comentário não existe mais.";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
const char *Txt_The_configuration_of_the_projects_has_been_updated =
|
||||||
|
#if L==1 // ca
|
||||||
|
"La configuració dels projectes s'ha actualitzat.";
|
||||||
|
#elif L==2 // de
|
||||||
|
"Die Konfiguration der Projekte wurde aktualisiert.";
|
||||||
|
#elif L==3 // en
|
||||||
|
"The configuration of the projects has been updated.";
|
||||||
|
#elif L==4 // es
|
||||||
|
"La configuración de los proyectos se ha actualizado.";
|
||||||
|
#elif L==5 // fr
|
||||||
|
"La configuration des projets a été mise à jour.";
|
||||||
|
#elif L==6 // gn
|
||||||
|
"La configuración de los proyectos se ha actualizado."; // Okoteve traducción
|
||||||
|
#elif L==7 // it
|
||||||
|
"La configurazione dei progetti è stata aggiornata.";
|
||||||
|
#elif L==8 // pl
|
||||||
|
"Konfiguracja projektów została zaktualizowana.";
|
||||||
|
#elif L==9 // pt
|
||||||
|
"A configuração dos projetos foi atualizada.";
|
||||||
|
#endif
|
||||||
|
|
||||||
const char *Txt_The_contents_of_the_folder_are_too_big =
|
const char *Txt_The_contents_of_the_folder_are_too_big =
|
||||||
#if L==1 // ca
|
#if L==1 // ca
|
||||||
"El contingut de la carpeta és massa gran.";
|
"El contingut de la carpeta és massa gran.";
|
||||||
|
@ -47189,21 +47252,21 @@ const char *Txt_The_test_X_has_already_been_assessed_previously = // Warning: it
|
||||||
|
|
||||||
const char *Txt_The_test_configuration_has_been_updated =
|
const char *Txt_The_test_configuration_has_been_updated =
|
||||||
#if L==1 // ca
|
#if L==1 // ca
|
||||||
"La configuración de tests se ha actualizado."; // Necessita traduccio
|
"La configuració dels test s'ha actualitzat.";
|
||||||
#elif L==2 // de
|
#elif L==2 // de
|
||||||
"The test configuration has been updated."; // Need Übersetzung
|
"Die Testkonfiguration wurde aktualisiert.";
|
||||||
#elif L==3 // en
|
#elif L==3 // en
|
||||||
"The test configuration has been updated.";
|
"The test configuration has been updated.";
|
||||||
#elif L==4 // es
|
#elif L==4 // es
|
||||||
"La configuración de los test se ha actualizado.";
|
"La configuración de los test se ha actualizado.";
|
||||||
#elif L==5 // fr
|
#elif L==5 // fr
|
||||||
"The test configuration has been updated."; // Besoin de traduction
|
"La configuration des tests a été mise à jour.";
|
||||||
#elif L==6 // gn
|
#elif L==6 // gn
|
||||||
"La configuración de los test se ha actualizado."; // Okoteve traducción
|
"La configuración de los test se ha actualizado."; // Okoteve traducción
|
||||||
#elif L==7 // it
|
#elif L==7 // it
|
||||||
"La configurazione di test è stata aggiornata.";
|
"La configurazione di test è stata aggiornata.";
|
||||||
#elif L==8 // pl
|
#elif L==8 // pl
|
||||||
"The test configuration has been updated."; // Potrzebujesz tlumaczenie
|
"Konfiguracja testowa została zaktualizowana.";
|
||||||
#elif L==9 // pt
|
#elif L==9 // pt
|
||||||
"A configuração de teste foi atualizada.";
|
"A configuração de teste foi atualizada.";
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -267,7 +267,7 @@ void The_PutIconsToSelectTheme (void)
|
||||||
The_Theme_t Theme;
|
The_Theme_t Theme;
|
||||||
char Icon[PATH_MAX + 1];
|
char Icon[PATH_MAX + 1];
|
||||||
|
|
||||||
Box_StartBox (NULL,Txt_Theme_SKIN,The_PutIconsTheme,
|
Box_BoxBegin (NULL,Txt_Theme_SKIN,The_PutIconsTheme,
|
||||||
Hlp_PROFILE_Settings_theme,Box_NOT_CLOSABLE);
|
Hlp_PROFILE_Settings_theme,Box_NOT_CLOSABLE);
|
||||||
Set_StartSettingsHead ();
|
Set_StartSettingsHead ();
|
||||||
Set_StartOneSettingSelector ();
|
Set_StartOneSettingSelector ();
|
||||||
|
@ -289,7 +289,7 @@ void The_PutIconsToSelectTheme (void)
|
||||||
}
|
}
|
||||||
Set_EndOneSettingSelector ();
|
Set_EndOneSettingSelector ();
|
||||||
Set_EndSettingsHead ();
|
Set_EndSettingsHead ();
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -996,7 +996,7 @@ static void TL_ShowTimeline (char *Query,
|
||||||
"%s",
|
"%s",
|
||||||
Query);
|
Query);
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Title,TL_PutIconsTimeline,
|
Box_BoxBegin (NULL,Title,TL_PutIconsTimeline,
|
||||||
Hlp_START_Timeline,Box_NOT_CLOSABLE);
|
Hlp_START_Timeline,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Put form to select users whom public activity is displayed *****/
|
/***** Put form to select users whom public activity is displayed *****/
|
||||||
|
@ -1059,7 +1059,7 @@ static void TL_ShowTimeline (char *Query,
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -1469,7 +1469,7 @@ static void TL_WriteNote (const struct TL_Note *SocNot,
|
||||||
/***** Start box ****/
|
/***** Start box ****/
|
||||||
if (ShowNoteAlone)
|
if (ShowNoteAlone)
|
||||||
{
|
{
|
||||||
Box_StartBox (NULL,NULL,NULL,
|
Box_BoxBegin (NULL,NULL,NULL,
|
||||||
NULL,Box_CLOSABLE);
|
NULL,Box_CLOSABLE);
|
||||||
fprintf (Gbl.F.Out,"<ul class=\"TL_LIST\">");
|
fprintf (Gbl.F.Out,"<ul class=\"TL_LIST\">");
|
||||||
}
|
}
|
||||||
|
@ -1687,7 +1687,7 @@ static void TL_WriteNote (const struct TL_Note *SocNot,
|
||||||
if (ShowNoteAlone)
|
if (ShowNoteAlone)
|
||||||
{
|
{
|
||||||
fprintf (Gbl.F.Out,"</ul>");
|
fprintf (Gbl.F.Out,"</ul>");
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2730,7 +2730,7 @@ static void TL_WriteComment (struct TL_Comment *SocCom,
|
||||||
|
|
||||||
if (ShowCommentAlone)
|
if (ShowCommentAlone)
|
||||||
{
|
{
|
||||||
Box_StartBox (NULL,NULL,NULL,
|
Box_BoxBegin (NULL,NULL,NULL,
|
||||||
NULL,Box_NOT_CLOSABLE);
|
NULL,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Write sharer/commenter if distinct to author *****/
|
/***** Write sharer/commenter if distinct to author *****/
|
||||||
|
@ -2819,7 +2819,7 @@ static void TL_WriteComment (struct TL_Comment *SocCom,
|
||||||
{
|
{
|
||||||
fprintf (Gbl.F.Out,"</ul>");
|
fprintf (Gbl.F.Out,"</ul>");
|
||||||
HTM_DIV_End ();
|
HTM_DIV_End ();
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -355,7 +355,7 @@ void TT_ShowClassTimeTable (void)
|
||||||
Grp_GetParamWhichGrps ();
|
Grp_GetParamWhichGrps ();
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox ("100%",Txt_TIMETABLE_TYPES[Gbl.TimeTable.Type],
|
Box_BoxBegin ("100%",Txt_TIMETABLE_TYPES[Gbl.TimeTable.Type],
|
||||||
(Gbl.TimeTable.ContextualIcons.PutIconEditCrsTT ||
|
(Gbl.TimeTable.ContextualIcons.PutIconEditCrsTT ||
|
||||||
Gbl.TimeTable.ContextualIcons.PutIconEditOfficeHours ||
|
Gbl.TimeTable.ContextualIcons.PutIconEditOfficeHours ||
|
||||||
Gbl.TimeTable.ContextualIcons.PutIconPrint) ? TT_PutContextualIcons :
|
Gbl.TimeTable.ContextualIcons.PutIconPrint) ? TT_PutContextualIcons :
|
||||||
|
@ -392,7 +392,7 @@ void TT_ShowClassTimeTable (void)
|
||||||
TT_ShowTimeTable (Gbl.Usrs.Me.UsrDat.UsrCod);
|
TT_ShowTimeTable (Gbl.Usrs.Me.UsrDat.UsrCod);
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -440,10 +440,10 @@ void TT_EditCrsTimeTable (void)
|
||||||
|
|
||||||
/***** Editable time table *****/
|
/***** Editable time table *****/
|
||||||
Gbl.TimeTable.Type = TT_COURSE_TIMETABLE;
|
Gbl.TimeTable.Type = TT_COURSE_TIMETABLE;
|
||||||
Box_StartBox ("100%",Txt_TIMETABLE_TYPES[Gbl.TimeTable.Type],TT_PutIconToViewCrsTT,
|
Box_BoxBegin ("100%",Txt_TIMETABLE_TYPES[Gbl.TimeTable.Type],TT_PutIconToViewCrsTT,
|
||||||
Hlp_COURSE_Timetable,Box_NOT_CLOSABLE);
|
Hlp_COURSE_Timetable,Box_NOT_CLOSABLE);
|
||||||
TT_ShowTimeTable (Gbl.Usrs.Me.UsrDat.UsrCod);
|
TT_ShowTimeTable (Gbl.Usrs.Me.UsrDat.UsrCod);
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -457,10 +457,10 @@ void TT_EditMyTutTimeTable (void)
|
||||||
|
|
||||||
/***** Time table *****/
|
/***** Time table *****/
|
||||||
Gbl.TimeTable.Type = TT_TUTORING_TIMETABLE;
|
Gbl.TimeTable.Type = TT_TUTORING_TIMETABLE;
|
||||||
Box_StartBox ("100%",Txt_TIMETABLE_TYPES[Gbl.TimeTable.Type],TT_PutIconToViewMyTT,
|
Box_BoxBegin ("100%",Txt_TIMETABLE_TYPES[Gbl.TimeTable.Type],TT_PutIconToViewMyTT,
|
||||||
Hlp_PROFILE_Timetable,Box_NOT_CLOSABLE);
|
Hlp_PROFILE_Timetable,Box_NOT_CLOSABLE);
|
||||||
TT_ShowTimeTable (Gbl.Usrs.Me.UsrDat.UsrCod);
|
TT_ShowTimeTable (Gbl.Usrs.Me.UsrDat.UsrCod);
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
32
swad_user.c
32
swad_user.c
|
@ -3505,7 +3505,7 @@ void Usr_ShowFormsLogoutAndRole (void)
|
||||||
Txt_ROLES_SINGUL_abc[Gbl.Usrs.Me.Role.Logged][Gbl.Usrs.Me.UsrDat.Sex]);
|
Txt_ROLES_SINGUL_abc[Gbl.Usrs.Me.Role.Logged][Gbl.Usrs.Me.UsrDat.Sex]);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_Session,Usr_PutLinkToLogOut,
|
Box_BoxBegin (NULL,Txt_Session,Usr_PutLinkToLogOut,
|
||||||
Hlp_PROFILE_Session_role,Box_NOT_CLOSABLE);
|
Hlp_PROFILE_Session_role,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Put a form to change my role *****/
|
/***** Put a form to change my role *****/
|
||||||
|
@ -3523,7 +3523,7 @@ void Usr_ShowFormsLogoutAndRole (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -6168,7 +6168,7 @@ void Usr_PutFormToSelectUsrsToGoToAct (Act_Action_t NextAction,void (*FuncParams
|
||||||
unsigned NumTotalUsrs;
|
unsigned NumTotalUsrs;
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Title,NULL,HelpLink,Box_NOT_CLOSABLE);
|
Box_BoxBegin (NULL,Title,NULL,HelpLink,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Get and update type of list,
|
/***** Get and update type of list,
|
||||||
number of columns in class photo
|
number of columns in class photo
|
||||||
|
@ -6187,7 +6187,7 @@ void Usr_PutFormToSelectUsrsToGoToAct (Act_Action_t NextAction,void (*FuncParams
|
||||||
Gbl.Usrs.LstUsrs[Rol_TCH].NumUsrs;
|
Gbl.Usrs.LstUsrs[Rol_TCH].NumUsrs;
|
||||||
|
|
||||||
/***** Draw class photos to select users *****/
|
/***** Draw class photos to select users *****/
|
||||||
Box_StartBox (NULL,Txt_Select_users,NULL,HelpLink,Box_NOT_CLOSABLE);
|
Box_BoxBegin (NULL,Txt_Select_users,NULL,HelpLink,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Show form to select the groups *****/
|
/***** Show form to select the groups *****/
|
||||||
Grp_ShowFormToSelectSeveralGroups (FuncParams,
|
Grp_ShowFormToSelectSeveralGroups (FuncParams,
|
||||||
|
@ -6236,7 +6236,7 @@ void Usr_PutFormToSelectUsrsToGoToAct (Act_Action_t NextAction,void (*FuncParams
|
||||||
Lay_EndSection ();
|
Lay_EndSection ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free memory for users' list *****/
|
/***** Free memory for users' list *****/
|
||||||
Usr_FreeUsrsList (Rol_TCH);
|
Usr_FreeUsrsList (Rol_TCH);
|
||||||
|
@ -6247,7 +6247,7 @@ void Usr_PutFormToSelectUsrsToGoToAct (Act_Action_t NextAction,void (*FuncParams
|
||||||
Grp_FreeListCodSelectedGrps ();
|
Grp_FreeListCodSelectedGrps ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Usr_GetSelectedUsrsAndGoToAct (void (*FuncWhenUsrsSelected) (),
|
void Usr_GetSelectedUsrsAndGoToAct (void (*FuncWhenUsrsSelected) (),
|
||||||
|
@ -7337,7 +7337,7 @@ void Usr_ListDataAdms (void)
|
||||||
Usr_GetAdmsLst (Gbl.Scope.Current);
|
Usr_GetAdmsLst (Gbl.Scope.Current);
|
||||||
|
|
||||||
/***** Start box with list of administrators *****/
|
/***** Start box with list of administrators *****/
|
||||||
Box_StartBox (NULL,Txt_ROLES_PLURAL_Abc[Rol_DEG_ADM][Usr_SEX_UNKNOWN],NULL,
|
Box_BoxBegin (NULL,Txt_ROLES_PLURAL_Abc[Rol_DEG_ADM][Usr_SEX_UNKNOWN],NULL,
|
||||||
Hlp_USERS_Administrators,Box_NOT_CLOSABLE);
|
Hlp_USERS_Administrators,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Form to select scope *****/
|
/***** Form to select scope *****/
|
||||||
|
@ -7403,7 +7403,7 @@ void Usr_ListDataAdms (void)
|
||||||
Usr_ShowWarningNoUsersFound (Rol_DEG_ADM);
|
Usr_ShowWarningNoUsersFound (Rol_DEG_ADM);
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free memory for administrators list *****/
|
/***** Free memory for administrators list *****/
|
||||||
Usr_FreeUsrsList (Rol_DEG_ADM);
|
Usr_FreeUsrsList (Rol_DEG_ADM);
|
||||||
|
@ -7802,7 +7802,7 @@ void Usr_SeeGuests (void)
|
||||||
Usr_GetGstsLst (Gbl.Scope.Current);
|
Usr_GetGstsLst (Gbl.Scope.Current);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_ROLES_PLURAL_Abc[Rol_GST][Usr_SEX_UNKNOWN],Usr_PutIconsListGsts,
|
Box_BoxBegin (NULL,Txt_ROLES_PLURAL_Abc[Rol_GST][Usr_SEX_UNKNOWN],Usr_PutIconsListGsts,
|
||||||
Hlp_USERS_Guests,Box_NOT_CLOSABLE);
|
Hlp_USERS_Guests,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Form to select scope *****/
|
/***** Form to select scope *****/
|
||||||
|
@ -7883,7 +7883,7 @@ void Usr_SeeGuests (void)
|
||||||
Lay_EndSection ();
|
Lay_EndSection ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free memory for guests list *****/
|
/***** Free memory for guests list *****/
|
||||||
Usr_FreeUsrsList (Rol_GST);
|
Usr_FreeUsrsList (Rol_GST);
|
||||||
|
@ -7943,7 +7943,7 @@ void Usr_SeeStudents (void)
|
||||||
Usr_GetListUsrs (Gbl.Scope.Current,Rol_STD);
|
Usr_GetListUsrs (Gbl.Scope.Current,Rol_STD);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_ROLES_PLURAL_Abc[Rol_STD][Usr_SEX_UNKNOWN],Usr_PutIconsListStds,
|
Box_BoxBegin (NULL,Txt_ROLES_PLURAL_Abc[Rol_STD][Usr_SEX_UNKNOWN],Usr_PutIconsListStds,
|
||||||
Hlp_USERS_Students,Box_NOT_CLOSABLE);
|
Hlp_USERS_Students,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Form to select scope *****/
|
/***** Form to select scope *****/
|
||||||
|
@ -8044,7 +8044,7 @@ void Usr_SeeStudents (void)
|
||||||
Lay_EndSection ();
|
Lay_EndSection ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free memory for students list *****/
|
/***** Free memory for students list *****/
|
||||||
Usr_FreeUsrsList (Rol_STD);
|
Usr_FreeUsrsList (Rol_STD);
|
||||||
|
@ -8122,7 +8122,7 @@ void Usr_SeeTeachers (void)
|
||||||
1 << Rol_TCH);
|
1 << Rol_TCH);
|
||||||
|
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Txt_ROLES_PLURAL_Abc[Rol_TCH][Usr_SEX_UNKNOWN],Usr_PutIconsListTchs,
|
Box_BoxBegin (NULL,Txt_ROLES_PLURAL_Abc[Rol_TCH][Usr_SEX_UNKNOWN],Usr_PutIconsListTchs,
|
||||||
Hlp_USERS_Teachers,Box_NOT_CLOSABLE);
|
Hlp_USERS_Teachers,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Form to select scope *****/
|
/***** Form to select scope *****/
|
||||||
|
@ -8224,7 +8224,7 @@ void Usr_SeeTeachers (void)
|
||||||
Lay_EndSection ();
|
Lay_EndSection ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
|
|
||||||
/***** Free memory for teachers lists *****/
|
/***** Free memory for teachers lists *****/
|
||||||
Usr_FreeUsrsList (Rol_TCH); // Teachers
|
Usr_FreeUsrsList (Rol_TCH); // Teachers
|
||||||
|
@ -9641,7 +9641,7 @@ void Usr_PrintUsrQRCode (void)
|
||||||
if (Usr_GetParamOtherUsrCodEncryptedAndGetUsrData ())
|
if (Usr_GetParamOtherUsrCodEncryptedAndGetUsrData ())
|
||||||
{
|
{
|
||||||
/***** Start box *****/
|
/***** Start box *****/
|
||||||
Box_StartBox (NULL,Gbl.Usrs.Other.UsrDat.FullName,NULL,
|
Box_BoxBegin (NULL,Gbl.Usrs.Other.UsrDat.FullName,NULL,
|
||||||
NULL,Box_NOT_CLOSABLE);
|
NULL,Box_NOT_CLOSABLE);
|
||||||
|
|
||||||
/***** Show QR code *****/
|
/***** Show QR code *****/
|
||||||
|
@ -9654,7 +9654,7 @@ void Usr_PrintUsrQRCode (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_BoxEnd ();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
Ale_ShowAlertUserNotFoundOrYouDoNotHavePermission ();
|
Ale_ShowAlertUserNotFoundOrYouDoNotHavePermission ();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user