Version 22.107.27:May 09, 2023 Changes in edition of links.

This commit is contained in:
acanas 2023-05-09 17:02:05 +02:00
parent 23adb04688
commit d972c5ce66
4 changed files with 68 additions and 56 deletions

View File

@ -6464,6 +6464,7 @@ static void Brw_PutFormToCreateAFolder (const char FileNameToShow[NAME_MAX + 1])
extern const char *Txt_Create_folder; extern const char *Txt_Create_folder;
extern const char *Txt_You_can_create_a_new_folder_inside_the_folder_X; extern const char *Txt_You_can_create_a_new_folder_inside_the_folder_X;
extern const char *Txt_Folder; extern const char *Txt_Folder;
extern const char *Txt_Create;
/***** Begin form *****/ /***** Begin form *****/
Frm_BeginForm (Brw_ActCreateFolder[Gbl.FileBrowser.Type]); Frm_BeginForm (Brw_ActCreateFolder[Gbl.FileBrowser.Type]);
@ -6489,7 +6490,7 @@ static void Brw_PutFormToCreateAFolder (const char FileNameToShow[NAME_MAX + 1])
HTM_LABEL_End (); HTM_LABEL_End ();
/***** Send button and end box *****/ /***** Send button and end box *****/
Box_BoxWithButtonEnd (Btn_CREATE_BUTTON,Txt_Create_folder); Box_BoxWithButtonEnd (Btn_CREATE_BUTTON,Txt_Create);
/***** End form *****/ /***** End form *****/
Frm_EndForm (); Frm_EndForm ();
@ -6637,6 +6638,7 @@ static void Brw_PutFormToCreateALink (const char *FileNameToShow)
extern const char *Txt_URL; extern const char *Txt_URL;
extern const char *Txt_Save_as; extern const char *Txt_Save_as;
extern const char *Txt_optional; extern const char *Txt_optional;
extern const char *Txt_Create;
char *Label; char *Label;
/***** Begin form *****/ /***** Begin form *****/
@ -6693,7 +6695,7 @@ static void Brw_PutFormToCreateALink (const char *FileNameToShow)
HTM_TABLE_End (); HTM_TABLE_End ();
/***** Send button and end box *****/ /***** Send button and end box *****/
Box_BoxWithButtonEnd (Btn_CREATE_BUTTON,Txt_Create_link); Box_BoxWithButtonEnd (Btn_CREATE_BUTTON,Txt_Create);
/***** End form *****/ /***** End form *****/
Frm_EndForm (); Frm_EndForm ();

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.26 (2023-05-09)" #define Log_PLATFORM_VERSION "SWAD 22.107.27 (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.27:May 09, 2023 Changes in edition of links. (337750 lines)
Version 22.107.26:May 09, 2023 Changes in edition of holidays. (337740 lines) Version 22.107.26:May 09, 2023 Changes in edition of holidays. (337740 lines)
Version 22.107.25:May 09, 2023 Changes in edition of games. (337760 lines) Version 22.107.25:May 09, 2023 Changes in edition of games. (337760 lines)
Version 22.107.24:May 09, 2023 Changes in edition of exams. (337781 lines) Version 22.107.24:May 09, 2023 Changes in edition of exams. (337781 lines)

View File

@ -422,7 +422,7 @@ static void Lnk_ListLinksForEdition (const struct Lnk_Links *Links)
HTM_TD_End (); HTM_TD_End ();
/* Link code */ /* Link code */
HTM_TD_Begin ("class=\"RM DAT_%s\"",The_GetSuffix ()); HTM_TD_Begin ("class=\"CODE DAT_%s\"",The_GetSuffix ());
HTM_Long (Lnk->LnkCod); HTM_Long (Lnk->LnkCod);
HTM_TD_End (); HTM_TD_End ();
@ -667,60 +667,69 @@ void Lnk_ContEditAfterChgLnk (void)
static void Lnk_PutFormToCreateLink (void) static void Lnk_PutFormToCreateLink (void)
{ {
extern const char *Txt_Create_link; extern const char *Txt_Actions[ActLst_NUM_ACTIONS];
extern const char *Txt_Create;
/***** Begin form *****/ /***** Begin fieldset *****/
Frm_BeginForm (ActNewLnk); HTM_FIELDSET_Begin (NULL);
HTM_LEGEND (Txt_Actions[ActNewLnk]);
/***** Begin box and table *****/ /***** Begin form *****/
Box_BoxTableBegin (NULL,NULL, Frm_BeginForm (ActNewLnk);
NULL,NULL,
NULL,Box_NOT_CLOSABLE,2);
/***** Write heading *****/ /***** Begin table *****/
Lnk_PutHeadLinks (); HTM_TABLE_BeginWidePadding (2);
HTM_TR_Begin (NULL); /***** Write heading *****/
Lnk_PutHeadLinks ();
/***** Link code *****/ HTM_TR_Begin (NULL);
HTM_TD_Begin ("class=\"BM\"");
HTM_TD_End ();
HTM_TD_Empty (1); /***** Column to remove link, disabled here *****/
HTM_TD_Begin ("class=\"BM\"");
HTM_TD_End ();
/***** Link short name *****/ /***** Link code *****/
HTM_TD_Begin ("class=\"CM\""); HTM_TD_Begin ("class=\"CODE\"");
HTM_INPUT_TEXT ("ShortName",Lnk_MAX_CHARS_LINK_SHRT_NAME,Lnk_EditingLnk->ShrtName, HTM_TD_End ();
HTM_DONT_SUBMIT_ON_CHANGE,
"class=\"INPUT_SHORT_NAME INPUT_%s\""
" required=\"required\"",
The_GetSuffix ());
HTM_TD_End ();
/***** Link full name *****/ /***** Link short name *****/
HTM_TD_Begin ("class=\"CM\""); HTM_TD_Begin ("class=\"CM\"");
HTM_INPUT_TEXT ("FullName",Lnk_MAX_CHARS_LINK_FULL_NAME,Lnk_EditingLnk->FullName, HTM_INPUT_TEXT ("ShortName",Lnk_MAX_CHARS_LINK_SHRT_NAME,Lnk_EditingLnk->ShrtName,
HTM_DONT_SUBMIT_ON_CHANGE, HTM_DONT_SUBMIT_ON_CHANGE,
"class=\"INPUT_FULL_NAME INPUT_%s\"" "class=\"INPUT_SHORT_NAME INPUT_%s\""
" required=\"required\"", " required=\"required\"",
The_GetSuffix ()); The_GetSuffix ());
HTM_TD_End (); HTM_TD_End ();
/***** Link WWW *****/ /***** Link full name *****/
HTM_TD_Begin ("class=\"CM\""); HTM_TD_Begin ("class=\"CM\"");
HTM_INPUT_URL ("WWW",Lnk_EditingLnk->WWW,HTM_DONT_SUBMIT_ON_CHANGE, HTM_INPUT_TEXT ("FullName",Lnk_MAX_CHARS_LINK_FULL_NAME,Lnk_EditingLnk->FullName,
"class=\"INPUT_WWW_NARROW INPUT_%s\"" HTM_DONT_SUBMIT_ON_CHANGE,
" required=\"required\"", "class=\"INPUT_FULL_NAME INPUT_%s\""
The_GetSuffix ()); " required=\"required\"",
HTM_TD_End (); The_GetSuffix ());
HTM_TD_End ();
HTM_TR_End (); /***** Link WWW *****/
HTM_TD_Begin ("class=\"CM\"");
HTM_INPUT_URL ("WWW",Lnk_EditingLnk->WWW,HTM_DONT_SUBMIT_ON_CHANGE,
"class=\"INPUT_WWW_NARROW INPUT_%s\""
" required=\"required\"",
The_GetSuffix ());
HTM_TD_End ();
/***** End table, send button and end box *****/ HTM_TR_End ();
Box_BoxTableWithButtonEnd (Btn_CREATE_BUTTON,Txt_Create_link);
/***** End form *****/ /***** End table and send button *****/
Frm_EndForm (); HTM_TABLE_End ();
Btn_PutButton (Btn_CREATE_BUTTON,Txt_Create);
/***** End form *****/
Frm_EndForm ();
/***** End fieldset *****/
HTM_FIELDSET_End ();
} }
/*****************************************************************************/ /*****************************************************************************/

View File

@ -2224,25 +2224,25 @@ const char *Txt_Actions[ActLst_NUM_ACTIONS] =
, ,
[ActNewLnk] = [ActNewLnk] =
#if L==1 // ca #if L==1 // ca
"Request creation of institutional link" // Necessita traducció "Crear enllaç"
#elif L==2 // de #elif L==2 // de
"Request creation of institutional link" // Need Übersetzung "Link erstellen"
#elif L==3 // en #elif L==3 // en
"Request creation of institutional link" "Create link"
#elif L==4 // es #elif L==4 // es
"Solicitar creación de un enlace institucional" "Crear enlace"
#elif L==5 // fr #elif L==5 // fr
"Request creation of institutional link" // Besoin de traduction "Créer lien"
#elif L==6 // gn #elif L==6 // gn
"Solicitar creación de un enlace institucional" // Okoteve traducción "Crear enlace" // Okoteve traducción
#elif L==7 // it #elif L==7 // it
"Request creation of institutional link" // Bisogno di traduzione "Crea link"
#elif L==8 // pl #elif L==8 // pl
"Request creation of institutional link" // Potrzebujesz tlumaczenie "Utwórz link"
#elif L==9 // pt #elif L==9 // pt
"Request creation of institutional link" // Precisa de tradução "Criar ligação"
#elif L==10 // tr #elif L==10 // tr
"Request creation of institutional link" // Çeviri lazim! "Create link" // Çeviri lazim!
#endif #endif
, ,
[ActRemLnk] = [ActRemLnk] =