mirror of https://github.com/acanas/swad-core.git
Version18.129.1
This commit is contained in:
parent
03b97e1ba6
commit
6e37d4546d
|
@ -122,9 +122,6 @@ void Acc_ShowFormMyAccount (void)
|
||||||
|
|
||||||
/**** Show form to check if I have an account *****/
|
/**** Show form to check if I have an account *****/
|
||||||
Acc_ShowFormCheckIfIHaveAccount (Txt_Before_creating_a_new_account_check_if_you_have_been_already_registered);
|
Acc_ShowFormCheckIfIHaveAccount (Txt_Before_creating_a_new_account_check_if_you_have_been_already_registered);
|
||||||
|
|
||||||
/**** Show form to create a new account *****/
|
|
||||||
Acc_ShowFormRequestNewAccountWithParams ("","");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -158,11 +155,13 @@ static void Acc_ShowFormCheckIfIHaveAccount (const char *Title)
|
||||||
"</label>",
|
"</label>",
|
||||||
The_ClassFormInBox[Gbl.Prefs.Theme],Txt_ID,
|
The_ClassFormInBox[Gbl.Prefs.Theme],Txt_ID,
|
||||||
ID_MAX_CHARS_USR_ID);
|
ID_MAX_CHARS_USR_ID);
|
||||||
Btn_PutConfirmButtonInline (Txt_Check);
|
Btn_PutCreateButtonInline (Txt_Check);
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
|
|
||||||
/***** Form to skip this step *****/
|
/***** Form to skip this step *****/
|
||||||
Btn_PutCloseBoxButtonInline (Txt_Skip_this_step);
|
Frm_StartForm (ActCreMyAcc);
|
||||||
|
Btn_PutConfirmButton (Txt_Skip_this_step);
|
||||||
|
Frm_EndForm ();
|
||||||
|
|
||||||
/***** End box *****/
|
/***** End box *****/
|
||||||
Box_EndBox ();
|
Box_EndBox ();
|
||||||
|
@ -265,7 +264,7 @@ void Acc_CheckIfEmptyAccountExists (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**** Show form to create a new account *****/
|
/**** Show form to create a new account *****/
|
||||||
Acc_ShowFormRequestNewAccountWithParams ("","");
|
// Acc_ShowFormRequestNewAccountWithParams ("","");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -322,6 +321,16 @@ static void Acc_WriteRowEmptyAccount (unsigned NumUsr,const char *ID,struct UsrD
|
||||||
"</tr>");
|
"</tr>");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*****************************************************************************/
|
||||||
|
/********************* Show form to create a new account *********************/
|
||||||
|
/*****************************************************************************/
|
||||||
|
|
||||||
|
void Acc_ShowFormCreateMyAccount (void)
|
||||||
|
{
|
||||||
|
/**** Show form to create a new account *****/
|
||||||
|
Acc_ShowFormRequestNewAccountWithParams ("","");
|
||||||
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/************ Show form to create a new account using parameters *************/
|
/************ Show form to create a new account using parameters *************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -52,8 +52,8 @@ typedef enum
|
||||||
|
|
||||||
void Acc_PutLinkToCreateAccount (void);
|
void Acc_PutLinkToCreateAccount (void);
|
||||||
void Acc_ShowFormMyAccount (void);
|
void Acc_ShowFormMyAccount (void);
|
||||||
|
|
||||||
void Acc_CheckIfEmptyAccountExists (void);
|
void Acc_CheckIfEmptyAccountExists (void);
|
||||||
|
void Acc_ShowFormCreateMyAccount (void);
|
||||||
|
|
||||||
void Acc_ShowFormGoToRequestNewAccount (void);
|
void Acc_ShowFormGoToRequestNewAccount (void);
|
||||||
void Acc_ShowFormChgMyAccount (void);
|
void Acc_ShowFormChgMyAccount (void);
|
||||||
|
|
|
@ -1535,8 +1535,9 @@ Profile:
|
||||||
1301. ActPrnAgdQR Show agenda QR code ready to print
|
1301. ActPrnAgdQR Show agenda QR code ready to print
|
||||||
|
|
||||||
1302. ActChkUsrAcc Check if already exists a new account without password associated to a ID
|
1302. ActChkUsrAcc Check if already exists a new account without password associated to a ID
|
||||||
|
NEW. ActCreMyAcc Form to create a new account for me
|
||||||
1303. ActCreUsrAcc Create new user account
|
1303. ActCreUsrAcc Create new user account
|
||||||
1304. ActRemMyID Remove one of my user's IDs
|
1304. ActRemMyID Remove one of my user's IDs
|
||||||
1305. ActChgMyID Create a new user's ID for me
|
1305. ActChgMyID Create a new user's ID for me
|
||||||
1306. ActRemMyNck Remove one of my old nicknames
|
1306. ActRemMyNck Remove one of my old nicknames
|
||||||
1307. ActChgMyNck Change my nickname
|
1307. ActChgMyNck Change my nickname
|
||||||
|
@ -3143,6 +3144,7 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] =
|
||||||
/* ActPrnAgdQR */{1618,-1,TabUnk,ActSeeMyAgd ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_NEW_TAB,NULL ,Agd_PrintAgdQRCode ,NULL},
|
/* ActPrnAgdQR */{1618,-1,TabUnk,ActSeeMyAgd ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_NEW_TAB,NULL ,Agd_PrintAgdQRCode ,NULL},
|
||||||
|
|
||||||
/* ActChkUsrAcc */{1584,-1,TabUnk,ActFrmMyAcc ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Acc_CheckIfEmptyAccountExists ,NULL},
|
/* ActChkUsrAcc */{1584,-1,TabUnk,ActFrmMyAcc ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Acc_CheckIfEmptyAccountExists ,NULL},
|
||||||
|
/* ActCreMyAcc */{1787,-1,TabUnk,ActFrmMyAcc ,0x001,0x001,0x001,0x001,0x001,0x001,0x001,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Acc_ShowFormCreateMyAccount ,NULL},
|
||||||
/* ActCreUsrAcc */{1163,-1,TabUnk,ActFrmMyAcc ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Acc_AfterCreationNewAccount ,NULL},
|
/* ActCreUsrAcc */{1163,-1,TabUnk,ActFrmMyAcc ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Acc_AfterCreationNewAccount ,NULL},
|
||||||
|
|
||||||
/* ActRemMyID */{1147,-1,TabUnk,ActFrmMyAcc ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,ID_RemoveMyUsrID ,NULL},
|
/* ActRemMyID */{1147,-1,TabUnk,ActFrmMyAcc ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,ID_RemoveMyUsrID ,NULL},
|
||||||
|
@ -4993,6 +4995,7 @@ Act_Action_t Act_FromActCodToAction[1 + Act_MAX_ACTION_COD] = // Do not reuse un
|
||||||
ActRemMch, // #1784
|
ActRemMch, // #1784
|
||||||
ActResMch, // #1785
|
ActResMch, // #1785
|
||||||
ActShoMch, // #1786
|
ActShoMch, // #1786
|
||||||
|
ActCreMyAcc, // #1787
|
||||||
};
|
};
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
|
@ -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 + 169 + 437 + 176 + 169 + 16 + 67)
|
#define Act_NUM_ACTIONS (1 + 4 + 64 + 38 + 12 + 42 + 36 + 19 + 110 + 169 + 437 + 176 + 169 + 16 + 68)
|
||||||
|
|
||||||
#define Act_MAX_ACTION_COD 1786
|
#define Act_MAX_ACTION_COD 1787
|
||||||
|
|
||||||
#define Act_MAX_OPTIONS_IN_MENU_PER_TAB 13
|
#define Act_MAX_OPTIONS_IN_MENU_PER_TAB 13
|
||||||
|
|
||||||
|
@ -1568,60 +1568,61 @@ typedef signed int Act_Action_t; // Must be a signed type, because -1 is used to
|
||||||
#define ActPrnAgdQR (ActSeeMyUsgRep + 19)
|
#define ActPrnAgdQR (ActSeeMyUsgRep + 19)
|
||||||
|
|
||||||
#define ActChkUsrAcc (ActSeeMyUsgRep + 20)
|
#define ActChkUsrAcc (ActSeeMyUsgRep + 20)
|
||||||
#define ActCreUsrAcc (ActSeeMyUsgRep + 21)
|
#define ActCreMyAcc (ActSeeMyUsgRep + 21)
|
||||||
#define ActRemMyID (ActSeeMyUsgRep + 22)
|
#define ActCreUsrAcc (ActSeeMyUsgRep + 22)
|
||||||
#define ActChgMyID (ActSeeMyUsgRep + 23)
|
#define ActRemMyID (ActSeeMyUsgRep + 23)
|
||||||
#define ActRemMyNck (ActSeeMyUsgRep + 24)
|
#define ActChgMyID (ActSeeMyUsgRep + 24)
|
||||||
#define ActChgMyNck (ActSeeMyUsgRep + 25)
|
#define ActRemMyNck (ActSeeMyUsgRep + 25)
|
||||||
#define ActRemMyMai (ActSeeMyUsgRep + 26)
|
#define ActChgMyNck (ActSeeMyUsgRep + 26)
|
||||||
#define ActChgMyMai (ActSeeMyUsgRep + 27)
|
#define ActRemMyMai (ActSeeMyUsgRep + 27)
|
||||||
#define ActCnfMai (ActSeeMyUsgRep + 28)
|
#define ActChgMyMai (ActSeeMyUsgRep + 28)
|
||||||
#define ActChgMyPwd (ActSeeMyUsgRep + 29)
|
#define ActCnfMai (ActSeeMyUsgRep + 29)
|
||||||
#define ActReqRemMyAcc (ActSeeMyUsgRep + 30)
|
#define ActChgMyPwd (ActSeeMyUsgRep + 30)
|
||||||
#define ActRemMyAcc (ActSeeMyUsgRep + 31)
|
#define ActReqRemMyAcc (ActSeeMyUsgRep + 31)
|
||||||
|
#define ActRemMyAcc (ActSeeMyUsgRep + 32)
|
||||||
|
|
||||||
#define ActChgMyData (ActSeeMyUsgRep + 32)
|
#define ActChgMyData (ActSeeMyUsgRep + 33)
|
||||||
|
|
||||||
#define ActReqMyPho (ActSeeMyUsgRep + 33)
|
#define ActReqMyPho (ActSeeMyUsgRep + 34)
|
||||||
#define ActDetMyPho (ActSeeMyUsgRep + 34)
|
#define ActDetMyPho (ActSeeMyUsgRep + 35)
|
||||||
#define ActUpdMyPho (ActSeeMyUsgRep + 35)
|
#define ActUpdMyPho (ActSeeMyUsgRep + 36)
|
||||||
#define ActReqRemMyPho (ActSeeMyUsgRep + 36)
|
#define ActReqRemMyPho (ActSeeMyUsgRep + 37)
|
||||||
#define ActRemMyPho (ActSeeMyUsgRep + 37)
|
#define ActRemMyPho (ActSeeMyUsgRep + 38)
|
||||||
|
|
||||||
#define ActChgCtyMyIns (ActSeeMyUsgRep + 38)
|
#define ActChgCtyMyIns (ActSeeMyUsgRep + 39)
|
||||||
#define ActChgMyIns (ActSeeMyUsgRep + 39)
|
#define ActChgMyIns (ActSeeMyUsgRep + 40)
|
||||||
#define ActChgMyCtr (ActSeeMyUsgRep + 40)
|
#define ActChgMyCtr (ActSeeMyUsgRep + 41)
|
||||||
#define ActChgMyDpt (ActSeeMyUsgRep + 41)
|
#define ActChgMyDpt (ActSeeMyUsgRep + 42)
|
||||||
#define ActChgMyOff (ActSeeMyUsgRep + 42)
|
#define ActChgMyOff (ActSeeMyUsgRep + 43)
|
||||||
#define ActChgMyOffPho (ActSeeMyUsgRep + 43)
|
#define ActChgMyOffPho (ActSeeMyUsgRep + 44)
|
||||||
|
|
||||||
#define ActReqEdiMyNet (ActSeeMyUsgRep + 44)
|
#define ActReqEdiMyNet (ActSeeMyUsgRep + 45)
|
||||||
#define ActChgMyNet (ActSeeMyUsgRep + 45)
|
#define ActChgMyNet (ActSeeMyUsgRep + 46)
|
||||||
|
|
||||||
#define ActChgThe (ActSeeMyUsgRep + 46)
|
#define ActChgThe (ActSeeMyUsgRep + 47)
|
||||||
#define ActReqChgLan (ActSeeMyUsgRep + 47)
|
#define ActReqChgLan (ActSeeMyUsgRep + 48)
|
||||||
#define ActChgLan (ActSeeMyUsgRep + 48)
|
#define ActChgLan (ActSeeMyUsgRep + 49)
|
||||||
#define ActChg1stDay (ActSeeMyUsgRep + 49)
|
#define ActChg1stDay (ActSeeMyUsgRep + 50)
|
||||||
#define ActChgDatFmt (ActSeeMyUsgRep + 50)
|
#define ActChgDatFmt (ActSeeMyUsgRep + 51)
|
||||||
#define ActChgCol (ActSeeMyUsgRep + 51)
|
#define ActChgCol (ActSeeMyUsgRep + 52)
|
||||||
#define ActHidLftCol (ActSeeMyUsgRep + 52)
|
#define ActHidLftCol (ActSeeMyUsgRep + 53)
|
||||||
#define ActHidRgtCol (ActSeeMyUsgRep + 53)
|
#define ActHidRgtCol (ActSeeMyUsgRep + 54)
|
||||||
#define ActShoLftCol (ActSeeMyUsgRep + 54)
|
#define ActShoLftCol (ActSeeMyUsgRep + 55)
|
||||||
#define ActShoRgtCol (ActSeeMyUsgRep + 55)
|
#define ActShoRgtCol (ActSeeMyUsgRep + 56)
|
||||||
#define ActChgIco (ActSeeMyUsgRep + 56)
|
#define ActChgIco (ActSeeMyUsgRep + 57)
|
||||||
#define ActChgMnu (ActSeeMyUsgRep + 57)
|
#define ActChgMnu (ActSeeMyUsgRep + 58)
|
||||||
#define ActChgPriPho (ActSeeMyUsgRep + 58)
|
#define ActChgPriPho (ActSeeMyUsgRep + 59)
|
||||||
#define ActChgBasPriPrf (ActSeeMyUsgRep + 59)
|
#define ActChgBasPriPrf (ActSeeMyUsgRep + 60)
|
||||||
#define ActChgExtPriPrf (ActSeeMyUsgRep + 60)
|
#define ActChgExtPriPrf (ActSeeMyUsgRep + 61)
|
||||||
#define ActChgCooPrf (ActSeeMyUsgRep + 61)
|
#define ActChgCooPrf (ActSeeMyUsgRep + 62)
|
||||||
#define ActChgNtfPrf (ActSeeMyUsgRep + 62)
|
#define ActChgNtfPrf (ActSeeMyUsgRep + 63)
|
||||||
|
|
||||||
#define ActPrnUsrQR (ActSeeMyUsgRep + 63)
|
#define ActPrnUsrQR (ActSeeMyUsgRep + 64)
|
||||||
|
|
||||||
#define ActPrnMyTT (ActSeeMyUsgRep + 64)
|
#define ActPrnMyTT (ActSeeMyUsgRep + 65)
|
||||||
#define ActEdiTut (ActSeeMyUsgRep + 65)
|
#define ActEdiTut (ActSeeMyUsgRep + 66)
|
||||||
#define ActChgTut (ActSeeMyUsgRep + 66)
|
#define ActChgTut (ActSeeMyUsgRep + 67)
|
||||||
#define ActChgMyTT1stDay (ActSeeMyUsgRep + 67)
|
#define ActChgMyTT1stDay (ActSeeMyUsgRep + 68)
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/******************************** Public types *******************************/
|
/******************************** Public types *******************************/
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Box_MAX_NESTED 10
|
#define Box_MAX_NESTED 5
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/********************************* Public types ******************************/
|
/********************************* Public types ******************************/
|
||||||
|
|
|
@ -149,7 +149,7 @@ void Btn_PutRemoveButtonInline (const char *TxtButton)
|
||||||
"</button>",
|
"</button>",
|
||||||
TxtButton);
|
TxtButton);
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
void Btn_PutCloseBoxButtonInline (const char *TxtButton)
|
void Btn_PutCloseBoxButtonInline (const char *TxtButton)
|
||||||
{
|
{
|
||||||
fprintf (Gbl.F.Out,"<button type=\"submit\" class=\"BT_SUBMIT_INLINE BT_REMOVE\""
|
fprintf (Gbl.F.Out,"<button type=\"submit\" class=\"BT_SUBMIT_INLINE BT_REMOVE\""
|
||||||
|
@ -158,7 +158,7 @@ void Btn_PutCloseBoxButtonInline (const char *TxtButton)
|
||||||
"</button>",
|
"</button>",
|
||||||
Gbl.Box.Ids[Gbl.Box.Nested],TxtButton);
|
Gbl.Box.Ids[Gbl.Box.Nested],TxtButton);
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
void Btn_PutCloseTabButton (const char *TxtButton)
|
void Btn_PutCloseTabButton (const char *TxtButton)
|
||||||
{
|
{
|
||||||
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\">"
|
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\">"
|
||||||
|
|
|
@ -55,7 +55,7 @@ void Btn_PutConfirmButton (const char *TxtButton);
|
||||||
void Btn_PutConfirmButtonInline (const char *TxtButton);
|
void Btn_PutConfirmButtonInline (const char *TxtButton);
|
||||||
void Btn_PutRemoveButton (const char *TxtButton);
|
void Btn_PutRemoveButton (const char *TxtButton);
|
||||||
void Btn_PutRemoveButtonInline (const char *TxtButton);
|
void Btn_PutRemoveButtonInline (const char *TxtButton);
|
||||||
void Btn_PutCloseBoxButtonInline (const char *TxtButton);
|
// void Btn_PutCloseBoxButtonInline (const char *TxtButton);
|
||||||
void Btn_PutCloseTabButton (const char *TxtButton);
|
void Btn_PutCloseTabButton (const char *TxtButton);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -458,10 +458,11 @@ En OpenSWAD:
|
||||||
ps2pdf source.ps destination.pdf
|
ps2pdf source.ps destination.pdf
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 18.129 (2019-07-04)"
|
#define Log_PLATFORM_VERSION "SWAD 18.129.1 (2019-07-04)"
|
||||||
#define CSS_FILE "swad18.123.css"
|
#define CSS_FILE "swad18.123.css"
|
||||||
#define JS_FILE "swad18.123.js"
|
#define JS_FILE "swad18.123.js"
|
||||||
/*
|
/*
|
||||||
|
Version 18.129.1: Jul 04, 2019 Creation of a new account is splitted into two steps. (243441 lines)
|
||||||
Version 18.129: Jul 04, 2019 Button to skip step in creation of a new account. (243425 lines)
|
Version 18.129: Jul 04, 2019 Button to skip step in creation of a new account. (243425 lines)
|
||||||
Version 18.128: Jun 13, 2019 Fixed bug in creation of degrees. (243365 lines)
|
Version 18.128: Jun 13, 2019 Fixed bug in creation of degrees. (243365 lines)
|
||||||
Version 18.127.3: May 31, 2019 Code refactoring and cleaning in games. (243346 lines)
|
Version 18.127.3: May 31, 2019 Code refactoring and cleaning in games. (243346 lines)
|
||||||
|
|
Loading…
Reference in New Issue