mirror of https://github.com/acanas/swad-core.git
Version 22.41.1: Oct 07, 2022 Fixed issue in main title.
This commit is contained in:
parent
a8211a1eb4
commit
5d43b34773
|
@ -606,10 +606,11 @@ TODO: Fix bug: error al enviar un mensaje a dos recipientes, error on duplicate
|
|||
|
||||
TODO: Attach pdf files in multimedia.
|
||||
*/
|
||||
#define Log_PLATFORM_VERSION "SWAD 22.41 (2022-10-06)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 22.41.1 (2022-10-07)"
|
||||
#define CSS_FILE "swad22.40.css"
|
||||
#define JS_FILE "swad21.100.js"
|
||||
/*
|
||||
Version 22.41.1: Oct 07, 2022 Fixed issue in main title. (332512 lines)
|
||||
Version 22.41: Oct 06, 2022 Changes in the behavior of the expansion/contraction of program items. (332511 lines)
|
||||
Version 22.40: Oct 04, 2022 Link in main title. (332514 lines)
|
||||
Version 22.39.5: Oct 03, 2022 Fixed bug in edition of course program. (332513 lines)
|
||||
|
|
|
@ -412,16 +412,15 @@ void Hie_WriteHierarchyInBreadcrumb (void)
|
|||
|
||||
void Hie_WriteBigNameCtyInsCtrDegCrs (void)
|
||||
{
|
||||
extern const char *Txt_Actions[Act_NUM_ACTIONS];
|
||||
static Act_Action_t NextAction[HieLvl_NUM_LEVELS] =
|
||||
static Tab_Tab_t NextTab[HieLvl_NUM_LEVELS] =
|
||||
{
|
||||
[HieLvl_UNK] = ActUnk, // Unknown
|
||||
[HieLvl_SYS] = ActSeeCty, // System ==> list countries
|
||||
[HieLvl_CTY] = ActSeeIns, // Country ==> list institutions
|
||||
[HieLvl_INS] = ActSeeCtr, // Institution ==> list centers
|
||||
[HieLvl_CTR] = ActSeeDeg, // Center ==> list degrees
|
||||
[HieLvl_DEG] = ActSeeCrs, // Degree ==> list courses
|
||||
[HieLvl_CRS] = ActSeePrg, // Course ==> see program
|
||||
[HieLvl_UNK] = TabUnk,
|
||||
[HieLvl_SYS] = TabSys,
|
||||
[HieLvl_CTY] = TabCty,
|
||||
[HieLvl_INS] = TabIns,
|
||||
[HieLvl_CTR] = TabCtr,
|
||||
[HieLvl_DEG] = TabDeg,
|
||||
[HieLvl_CRS] = TabCrs,
|
||||
};
|
||||
const char *FullText[HieLvl_NUM_LEVELS] =
|
||||
{
|
||||
|
@ -448,8 +447,9 @@ void Hie_WriteBigNameCtyInsCtrDegCrs (void)
|
|||
/***** Logo and text *****/
|
||||
HTM_DIV_Begin ("id=\"big_name_container\"");
|
||||
|
||||
Frm_BeginFormGoTo (NextAction[Gbl.Hierarchy.Level]);
|
||||
HTM_BUTTON_Submit_Begin (Txt_Actions[NextAction[Gbl.Hierarchy.Level]],
|
||||
Frm_BeginForm (ActMnu);
|
||||
Par_PutHiddenParamUnsigned (NULL,"NxtTab",(unsigned) NextTab[Gbl.Hierarchy.Level]);
|
||||
HTM_BUTTON_Submit_Begin (ShrtText[Gbl.Hierarchy.Level],
|
||||
"class=\"BT_LINK ICO_HIGHLIGHT\"");
|
||||
|
||||
HTM_DIV_Begin ("id=\"big_full_name\""); // Full name
|
||||
|
|
|
@ -1730,7 +1730,7 @@ void Usr_ChkUsrAndGetUsrData (void)
|
|||
Action = Mnu_GetFirstActionAvailableInCurrentTab ();
|
||||
|
||||
Gbl.Action.Act = (Action == ActUnk) ? ((Gbl.Usrs.Me.Logged) ? ActSeeGblTL : // Default action if logged
|
||||
ActFrmLogIn) : // Default action if not logged
|
||||
ActFrmLogIn) : // Default action if not logged
|
||||
Action;
|
||||
Tab_SetCurrentTab ();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue