Version 22.107.35:May 10, 2023 Changes in edition of course program.

This commit is contained in:
acanas 2023-05-10 01:44:18 +02:00
parent 065b45c057
commit cd79f7d45c
5 changed files with 33 additions and 72 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.
*/
#define Log_PLATFORM_VERSION "SWAD 22.107.34 (2023-05-10)"
#define Log_PLATFORM_VERSION "SWAD 22.107.35 (2023-05-10)"
#define CSS_FILE "swad22.107.17.css"
#define JS_FILE "swad22.49.js"
/*
Version 22.107.35:May 10, 2023 Changes in edition of course program. (337543 lines)
Version 22.107.34:May 10, 2023 Changes in edition of groups. (337543 lines)
Version 22.107.33:May 09, 2023 Changes in edition of degree types. (337591 lines)
Version 22.107.32:May 09, 2023 Changes in edition of rooms. (337639 lines)

View File

@ -1032,29 +1032,6 @@ const char *Hlp_COURSE_Program =
"COURSE.Program.en";
#endif
const char *Hlp_COURSE_Program_new_item =
#if L==1
"COURSE.Program.es#nuevo-item";
#elif L==2
"COURSE.Program.en#new-item";
#elif L==3
"COURSE.Program.en#new-item";
#elif L==4
"COURSE.Program.es#nuevo-item";
#elif L==5
"COURSE.Program.en#new-item";
#elif L==6
"COURSE.Program.es#nuevo-item";
#elif L==7
"COURSE.Program.en#new-item";
#elif L==8
"COURSE.Program.en#new-item";
#elif L==9
"COURSE.Program.en#new-item";
#elif L==10 // tr
"COURSE.Program.en#new-item";
#endif
const char *Hlp_COURSE_Program_edit_item =
#if L==1
"COURSE.Program.es#editar-item";

View File

@ -1932,8 +1932,8 @@ void Prg_ReqCreateItem (void)
static void Prg_ShowFormToCreateItem (long ParentItmCod)
{
extern const char *Hlp_COURSE_Program_new_item;
extern const char *Txt_Create_item;
extern const char *Txt_Actions[ActLst_NUM_ACTIONS];
extern const char *Txt_Create;
struct Prg_Item ParentItem; // Parent item
struct Prg_Item Item;
static const Dat_SetHMS SetHMS[Dat_NUM_START_END_TIME] =
@ -1955,23 +1955,29 @@ static void Prg_ShowFormToCreateItem (long ParentItmCod)
/***** Show pending alerts */
Ale_ShowAlerts (NULL);
/***** Begin form *****/
Frm_BeginFormAnchor (ActNewPrgItm,Prg_HIGHLIGHTED_SECTION_ID);
ParCod_PutPar (ParCod_Itm,ParentItem.Hierarchy.ItmCod);
/***** Begin fieldset *****/
HTM_FIELDSET_Begin (NULL);
HTM_LEGEND (Txt_Actions[ActNewPrgItm]);
/***** Begin box and table *****/
Box_BoxTableBegin ("100%",NULL,
NULL,NULL,
Hlp_COURSE_Program_new_item,Box_NOT_CLOSABLE,2);
/***** Begin form *****/
Frm_BeginFormAnchor (ActNewPrgItm,Prg_HIGHLIGHTED_SECTION_ID);
ParCod_PutPar (ParCod_Itm,ParentItem.Hierarchy.ItmCod);
/***** Show form *****/
Prg_ShowFormItem (&Item,SetHMS,NULL);
/***** Begin table *****/
HTM_TABLE_BeginWidePadding (2);
/***** End table, send button and end box *****/
Box_BoxTableWithButtonEnd (Btn_CREATE_BUTTON,Txt_Create_item);
/***** Show form *****/
Prg_ShowFormItem (&Item,SetHMS,NULL);
/***** End form *****/
Frm_EndForm ();
/***** End table and send button *****/
HTM_TABLE_End ();
Btn_PutButton (Btn_CREATE_BUTTON,Txt_Create);
/***** End form *****/
Frm_EndForm ();
/***** End fieldset *****/
HTM_FIELDSET_End ();
}
/*****************************************************************************/

View File

@ -6687,29 +6687,6 @@ const char *Txt_Create_folder =
"Create folder"; // Çeviri lazim!
#endif
const char *Txt_Create_item =
#if L==1 // ca
"Crear ítem";
#elif L==2 // de
"Artikel eingeben";
#elif L==3 // en
"Create item";
#elif L==4 // es
"Crear ítem";
#elif L==5 // fr
"Créer article";
#elif L==6 // gn
"Crear ítem"; // Okoteve traducción
#elif L==7 // it
"Crea articolo";
#elif L==8 // pl
"Utwórz przedmiot";
#elif L==9 // pt
"Criar item";
#elif L==10 // tr
"Create item"; // Çeviri lazim!
#endif
const char *Txt_Create_link =
#if L==1 // ca
"Crear enllaç";

View File

@ -5860,25 +5860,25 @@ const char *Txt_Actions[ActLst_NUM_ACTIONS] =
,
[ActNewPrgItm] =
#if L==1 // ca
"Create new program item" // Necessita traducció
"Crear ítem"
#elif L==2 // de
"Create new program item" // Need Übersetzung
"Artikel eingeben"
#elif L==3 // en
"Create new program item"
"Create item"
#elif L==4 // es
"Crear nuevo ítem del programa"
"Crear ítem"
#elif L==5 // fr
"Create new program item" // Besoin de traduction
"Créer article"
#elif L==6 // gn
"Crear nuevo ítem del programa" // Okoteve traducción
"Crear ítem" // Okoteve traducción
#elif L==7 // it
"Create new program item" // Bisogno di traduzione
"Crea articolo"
#elif L==8 // pl
"Create new program item" // Potrzebujesz tlumaczenie
"Utwórz przedmiot"
#elif L==9 // pt
"Create new program item" // Precisa de traduçăo
"Criar item"
#elif L==10 // tr
"Create new program item" // Çeviri lazim!
"Create item" // Çeviri lazim!
#endif
,
[ActReqRemPrgItm] =