mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-02 06:45:30 +02:00
Version 22.107.21:May 09, 2023 Changes in edition of degrees.
This commit is contained in:
parent
553445fcae
commit
be158b5a56
|
@ -629,10 +629,11 @@ TODO: Emilce Barrera Mesa: Podr
|
||||||
TODO: Emilce Barrera Mesa: Mis estudiantes presentan muchas dificultades a la hora de poner la foto porque la plataforma es muy exigente respecto al fondo de la imagen.
|
TODO: Emilce Barrera Mesa: Mis estudiantes presentan muchas dificultades a la hora de poner la foto porque la plataforma es muy exigente respecto al fondo de la imagen.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
#define Log_PLATFORM_VERSION "SWAD 22.107.20 (2023-05-09)"
|
#define Log_PLATFORM_VERSION "SWAD 22.107.21 (2023-05-09)"
|
||||||
#define CSS_FILE "swad22.107.17.css"
|
#define CSS_FILE "swad22.107.17.css"
|
||||||
#define JS_FILE "swad22.49.js"
|
#define JS_FILE "swad22.49.js"
|
||||||
/*
|
/*
|
||||||
|
Version 22.107.21:May 09, 2023 Changes in edition of degrees. (337829 lines)
|
||||||
Version 22.107.20:May 09, 2023 Changes in edition of countries. (337842 lines)
|
Version 22.107.20:May 09, 2023 Changes in edition of countries. (337842 lines)
|
||||||
Version 22.107.19:May 09, 2023 Changes in edition of institutions. (337858 lines)
|
Version 22.107.19:May 09, 2023 Changes in edition of institutions. (337858 lines)
|
||||||
Version 22.107.18:May 09, 2023 Changes in edition of centers. (337871 lines)
|
Version 22.107.18:May 09, 2023 Changes in edition of centers. (337871 lines)
|
||||||
|
|
|
@ -513,22 +513,29 @@ static bool Deg_CheckIfICanEditADegree (struct Deg_Degree *Deg)
|
||||||
|
|
||||||
static void Deg_PutFormToCreateDegree (const struct DegTyp_DegTypes *DegTypes)
|
static void Deg_PutFormToCreateDegree (const struct DegTyp_DegTypes *DegTypes)
|
||||||
{
|
{
|
||||||
extern const char *Txt_Create_degree;
|
extern const char *Txt_Actions[ActLst_NUM_ACTIONS];
|
||||||
|
extern const char *Txt_Create;
|
||||||
|
Act_Action_t NextAction = ActUnk;
|
||||||
unsigned NumDegTyp;
|
unsigned NumDegTyp;
|
||||||
struct DegTyp_DegreeType *DegTypInLst;
|
struct DegTyp_DegreeType *DegTypInLst;
|
||||||
|
|
||||||
/***** Begin form *****/
|
/***** Set action depending on role *****/
|
||||||
if (Gbl.Usrs.Me.Role.Logged >= Rol_CTR_ADM)
|
if (Gbl.Usrs.Me.Role.Logged >= Rol_CTR_ADM)
|
||||||
Frm_BeginForm (ActNewDeg);
|
NextAction = ActNewDeg;
|
||||||
else if (Gbl.Usrs.Me.Role.Max >= Rol_GST)
|
else if (Gbl.Usrs.Me.Role.Max >= Rol_GST)
|
||||||
Frm_BeginForm (ActReqDeg);
|
NextAction = ActReqDeg;
|
||||||
else
|
else
|
||||||
Err_NoPermissionExit ();
|
Err_NoPermissionExit ();
|
||||||
|
|
||||||
/***** Begin box and table *****/
|
/***** Begin fieldset *****/
|
||||||
Box_BoxTableBegin (NULL,NULL,
|
HTM_FIELDSET_Begin (NULL);
|
||||||
NULL,NULL,
|
HTM_LEGEND (Txt_Actions[NextAction]);
|
||||||
NULL,Box_NOT_CLOSABLE,2);
|
|
||||||
|
/***** Begin form *****/
|
||||||
|
Frm_BeginForm (NextAction);
|
||||||
|
|
||||||
|
/***** Begin table *****/
|
||||||
|
HTM_TABLE_BeginWidePadding (2);
|
||||||
|
|
||||||
/***** Write heading *****/
|
/***** Write heading *****/
|
||||||
Deg_PutHeadDegreesForEdition ();
|
Deg_PutHeadDegreesForEdition ();
|
||||||
|
@ -615,11 +622,15 @@ static void Deg_PutFormToCreateDegree (const struct DegTyp_DegTypes *DegTypes)
|
||||||
|
|
||||||
HTM_TR_End ();
|
HTM_TR_End ();
|
||||||
|
|
||||||
/***** End table, send button and end box *****/
|
/***** End table and send button *****/
|
||||||
Box_BoxTableWithButtonEnd (Btn_CREATE_BUTTON,Txt_Create_degree);
|
HTM_TABLE_End ();
|
||||||
|
Btn_PutButton (Btn_CREATE_BUTTON,Txt_Create);
|
||||||
|
|
||||||
/***** End form *****/
|
/***** End form *****/
|
||||||
Frm_EndForm ();
|
Frm_EndForm ();
|
||||||
|
|
||||||
|
/***** End fieldset *****/
|
||||||
|
HTM_FIELDSET_End ();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
23
swad_text.c
23
swad_text.c
|
@ -6641,29 +6641,6 @@ const char *Txt_Create_course =
|
||||||
"Create course"; // Çeviri lazim!
|
"Create course"; // Çeviri lazim!
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const char *Txt_Create_degree =
|
|
||||||
#if L==1 // ca
|
|
||||||
"Crear titulació";
|
|
||||||
#elif L==2 // de
|
|
||||||
"Studiengang eingeben";
|
|
||||||
#elif L==3 // en
|
|
||||||
"Create degree";
|
|
||||||
#elif L==4 // es
|
|
||||||
"Crear titulación";
|
|
||||||
#elif L==5 // fr
|
|
||||||
"Créer étude";
|
|
||||||
#elif L==6 // gn
|
|
||||||
"Crear titulación"; // Okoteve traducción
|
|
||||||
#elif L==7 // it
|
|
||||||
"Crea laurea";
|
|
||||||
#elif L==8 // pl
|
|
||||||
"Utwórz stopnia";
|
|
||||||
#elif L==9 // pt
|
|
||||||
"Criar grau";
|
|
||||||
#elif L==10 // tr
|
|
||||||
"Create degree"; // Çeviri lazim!
|
|
||||||
#endif
|
|
||||||
|
|
||||||
const char *Txt_Create_department =
|
const char *Txt_Create_department =
|
||||||
#if L==1 // ca
|
#if L==1 // ca
|
||||||
"Crear departament";
|
"Crear departament";
|
||||||
|
|
|
@ -4457,23 +4457,23 @@ const char *Txt_Actions[ActLst_NUM_ACTIONS] =
|
||||||
,
|
,
|
||||||
[ActNewDeg] =
|
[ActNewDeg] =
|
||||||
#if L==1 // ca
|
#if L==1 // ca
|
||||||
"Create degree" // Necessita traducció
|
"Crear titulació"
|
||||||
#elif L==2 // de
|
#elif L==2 // de
|
||||||
"Create degree" // Need Übersetzung
|
"Studiengang eingeben"
|
||||||
#elif L==3 // en
|
#elif L==3 // en
|
||||||
"Create degree"
|
"Create degree"
|
||||||
#elif L==4 // es
|
#elif L==4 // es
|
||||||
"Crear titulación"
|
"Crear titulación"
|
||||||
#elif L==5 // fr
|
#elif L==5 // fr
|
||||||
"Create degree" // Besoin de traduction
|
"Créer étude"
|
||||||
#elif L==6 // gn
|
#elif L==6 // gn
|
||||||
"Crear titulación" // Okoteve traducción
|
"Crear titulación" // Okoteve traducción
|
||||||
#elif L==7 // it
|
#elif L==7 // it
|
||||||
"Create degree" // Bisogno di traduzione
|
"Crea laurea"
|
||||||
#elif L==8 // pl
|
#elif L==8 // pl
|
||||||
"Create degree" // Potrzebujesz tlumaczenie
|
"Utwórz stopnia"
|
||||||
#elif L==9 // pt
|
#elif L==9 // pt
|
||||||
"Create degree" // Precisa de traduçăo
|
"Criar grau"
|
||||||
#elif L==10 // tr
|
#elif L==10 // tr
|
||||||
"Create degree" // Çeviri lazim!
|
"Create degree" // Çeviri lazim!
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user