mirror of https://github.com/acanas/swad-core.git
Version 22.107.27:May 09, 2023 Changes in edition of links.
This commit is contained in:
parent
23adb04688
commit
d972c5ce66
|
@ -6464,6 +6464,7 @@ static void Brw_PutFormToCreateAFolder (const char FileNameToShow[NAME_MAX + 1])
|
|||
extern const char *Txt_Create_folder;
|
||||
extern const char *Txt_You_can_create_a_new_folder_inside_the_folder_X;
|
||||
extern const char *Txt_Folder;
|
||||
extern const char *Txt_Create;
|
||||
|
||||
/***** Begin form *****/
|
||||
Frm_BeginForm (Brw_ActCreateFolder[Gbl.FileBrowser.Type]);
|
||||
|
@ -6489,7 +6490,7 @@ static void Brw_PutFormToCreateAFolder (const char FileNameToShow[NAME_MAX + 1])
|
|||
HTM_LABEL_End ();
|
||||
|
||||
/***** Send button and end box *****/
|
||||
Box_BoxWithButtonEnd (Btn_CREATE_BUTTON,Txt_Create_folder);
|
||||
Box_BoxWithButtonEnd (Btn_CREATE_BUTTON,Txt_Create);
|
||||
|
||||
/***** End form *****/
|
||||
Frm_EndForm ();
|
||||
|
@ -6637,6 +6638,7 @@ static void Brw_PutFormToCreateALink (const char *FileNameToShow)
|
|||
extern const char *Txt_URL;
|
||||
extern const char *Txt_Save_as;
|
||||
extern const char *Txt_optional;
|
||||
extern const char *Txt_Create;
|
||||
char *Label;
|
||||
|
||||
/***** Begin form *****/
|
||||
|
@ -6693,7 +6695,7 @@ static void Brw_PutFormToCreateALink (const char *FileNameToShow)
|
|||
HTM_TABLE_End ();
|
||||
|
||||
/***** Send button and end box *****/
|
||||
Box_BoxWithButtonEnd (Btn_CREATE_BUTTON,Txt_Create_link);
|
||||
Box_BoxWithButtonEnd (Btn_CREATE_BUTTON,Txt_Create);
|
||||
|
||||
/***** End form *****/
|
||||
Frm_EndForm ();
|
||||
|
|
|
@ -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.26 (2023-05-09)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 22.107.27 (2023-05-09)"
|
||||
#define CSS_FILE "swad22.107.17.css"
|
||||
#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.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)
|
||||
|
|
95
swad_link.c
95
swad_link.c
|
@ -422,7 +422,7 @@ static void Lnk_ListLinksForEdition (const struct Lnk_Links *Links)
|
|||
HTM_TD_End ();
|
||||
|
||||
/* 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_TD_End ();
|
||||
|
||||
|
@ -667,60 +667,69 @@ void Lnk_ContEditAfterChgLnk (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 *****/
|
||||
Frm_BeginForm (ActNewLnk);
|
||||
/***** Begin fieldset *****/
|
||||
HTM_FIELDSET_Begin (NULL);
|
||||
HTM_LEGEND (Txt_Actions[ActNewLnk]);
|
||||
|
||||
/***** Begin box and table *****/
|
||||
Box_BoxTableBegin (NULL,NULL,
|
||||
NULL,NULL,
|
||||
NULL,Box_NOT_CLOSABLE,2);
|
||||
/***** Begin form *****/
|
||||
Frm_BeginForm (ActNewLnk);
|
||||
|
||||
/***** Write heading *****/
|
||||
Lnk_PutHeadLinks ();
|
||||
/***** Begin table *****/
|
||||
HTM_TABLE_BeginWidePadding (2);
|
||||
|
||||
HTM_TR_Begin (NULL);
|
||||
/***** Write heading *****/
|
||||
Lnk_PutHeadLinks ();
|
||||
|
||||
/***** Link code *****/
|
||||
HTM_TD_Begin ("class=\"BM\"");
|
||||
HTM_TD_End ();
|
||||
HTM_TR_Begin (NULL);
|
||||
|
||||
HTM_TD_Empty (1);
|
||||
/***** Column to remove link, disabled here *****/
|
||||
HTM_TD_Begin ("class=\"BM\"");
|
||||
HTM_TD_End ();
|
||||
|
||||
/***** Link short name *****/
|
||||
HTM_TD_Begin ("class=\"CM\"");
|
||||
HTM_INPUT_TEXT ("ShortName",Lnk_MAX_CHARS_LINK_SHRT_NAME,Lnk_EditingLnk->ShrtName,
|
||||
HTM_DONT_SUBMIT_ON_CHANGE,
|
||||
"class=\"INPUT_SHORT_NAME INPUT_%s\""
|
||||
" required=\"required\"",
|
||||
The_GetSuffix ());
|
||||
HTM_TD_End ();
|
||||
/***** Link code *****/
|
||||
HTM_TD_Begin ("class=\"CODE\"");
|
||||
HTM_TD_End ();
|
||||
|
||||
/***** Link full name *****/
|
||||
HTM_TD_Begin ("class=\"CM\"");
|
||||
HTM_INPUT_TEXT ("FullName",Lnk_MAX_CHARS_LINK_FULL_NAME,Lnk_EditingLnk->FullName,
|
||||
HTM_DONT_SUBMIT_ON_CHANGE,
|
||||
"class=\"INPUT_FULL_NAME INPUT_%s\""
|
||||
" required=\"required\"",
|
||||
The_GetSuffix ());
|
||||
HTM_TD_End ();
|
||||
/***** Link short name *****/
|
||||
HTM_TD_Begin ("class=\"CM\"");
|
||||
HTM_INPUT_TEXT ("ShortName",Lnk_MAX_CHARS_LINK_SHRT_NAME,Lnk_EditingLnk->ShrtName,
|
||||
HTM_DONT_SUBMIT_ON_CHANGE,
|
||||
"class=\"INPUT_SHORT_NAME INPUT_%s\""
|
||||
" required=\"required\"",
|
||||
The_GetSuffix ());
|
||||
HTM_TD_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 ();
|
||||
/***** Link full name *****/
|
||||
HTM_TD_Begin ("class=\"CM\"");
|
||||
HTM_INPUT_TEXT ("FullName",Lnk_MAX_CHARS_LINK_FULL_NAME,Lnk_EditingLnk->FullName,
|
||||
HTM_DONT_SUBMIT_ON_CHANGE,
|
||||
"class=\"INPUT_FULL_NAME INPUT_%s\""
|
||||
" required=\"required\"",
|
||||
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 *****/
|
||||
Box_BoxTableWithButtonEnd (Btn_CREATE_BUTTON,Txt_Create_link);
|
||||
HTM_TR_End ();
|
||||
|
||||
/***** 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 ();
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
|
@ -2224,25 +2224,25 @@ const char *Txt_Actions[ActLst_NUM_ACTIONS] =
|
|||
,
|
||||
[ActNewLnk] =
|
||||
#if L==1 // ca
|
||||
"Request creation of institutional link" // Necessita traducció
|
||||
"Crear enllaç"
|
||||
#elif L==2 // de
|
||||
"Request creation of institutional link" // Need Übersetzung
|
||||
"Link erstellen"
|
||||
#elif L==3 // en
|
||||
"Request creation of institutional link"
|
||||
"Create link"
|
||||
#elif L==4 // es
|
||||
"Solicitar creación de un enlace institucional"
|
||||
"Crear enlace"
|
||||
#elif L==5 // fr
|
||||
"Request creation of institutional link" // Besoin de traduction
|
||||
"Créer lien"
|
||||
#elif L==6 // gn
|
||||
"Solicitar creación de un enlace institucional" // Okoteve traducción
|
||||
"Crear enlace" // Okoteve traducción
|
||||
#elif L==7 // it
|
||||
"Request creation of institutional link" // Bisogno di traduzione
|
||||
"Crea link"
|
||||
#elif L==8 // pl
|
||||
"Request creation of institutional link" // Potrzebujesz tlumaczenie
|
||||
"Utwórz link"
|
||||
#elif L==9 // pt
|
||||
"Request creation of institutional link" // Precisa de tradução
|
||||
"Criar ligação"
|
||||
#elif L==10 // tr
|
||||
"Request creation of institutional link" // Çeviri lazim!
|
||||
"Create link" // Çeviri lazim!
|
||||
#endif
|
||||
,
|
||||
[ActRemLnk] =
|
||||
|
|
Loading…
Reference in New Issue