Version 22.107.21:May 09, 2023 Changes in edition of degrees.

This commit is contained in:
acanas 2023-05-09 09:02:34 +02:00
parent 553445fcae
commit be158b5a56
4 changed files with 102 additions and 113 deletions

View File

@ -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)

View File

@ -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 ();
} }
/*****************************************************************************/ /*****************************************************************************/

View File

@ -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";

View File

@ -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