mirror of https://github.com/acanas/swad-core.git
Version 22.107.16:May 07, 2023 Changes in edition of banners.
This commit is contained in:
parent
b08a1a4f8f
commit
9337ab68f1
117
swad_banner.c
117
swad_banner.c
|
@ -789,75 +789,82 @@ void Ban_ContEditAfterChgBan (void)
|
|||
|
||||
static void Ban_PutFormToCreateBanner (const struct Ban_Banner *Ban)
|
||||
{
|
||||
extern const char *Txt_Create_banner;
|
||||
extern const char *Txt_Actions[ActLst_NUM_ACTIONS];
|
||||
extern const char *Txt_Create;
|
||||
|
||||
/***** Begin form *****/
|
||||
Frm_BeginForm (ActNewBan);
|
||||
/***** Begin fieldset *****/
|
||||
HTM_FIELDSET_Begin (NULL);
|
||||
HTM_LEGEND (Txt_Actions[ActNewBan]);
|
||||
|
||||
/***** Begin box and table *****/
|
||||
Box_BoxTableBegin (NULL,NULL,
|
||||
NULL,NULL,
|
||||
NULL,Box_NOT_CLOSABLE,2);
|
||||
/***** Begin form *****/
|
||||
Frm_BeginForm (ActNewBan);
|
||||
|
||||
/***** Write heading *****/
|
||||
Ban_PutHeadBanners ();
|
||||
/***** Begin table *****/
|
||||
HTM_TABLE_BeginWidePadding (2);
|
||||
|
||||
/***** Table row for input fields *****/
|
||||
/* Begin table row */
|
||||
HTM_TR_Begin (NULL);
|
||||
/***** Write heading *****/
|
||||
Ban_PutHeadBanners ();
|
||||
|
||||
/* Banner code */
|
||||
HTM_TD_Begin ("class=\"BM\"");
|
||||
HTM_TD_End ();
|
||||
/***** Table row for input fields *****/
|
||||
/* Begin table row */
|
||||
HTM_TR_Begin (NULL);
|
||||
|
||||
HTM_TD_Begin ("class=\"BM\"");
|
||||
HTM_TD_End ();
|
||||
/* Banner code */
|
||||
HTM_TD_Begin ("class=\"BM\"");
|
||||
HTM_TD_End ();
|
||||
|
||||
HTM_TD_Empty (1);
|
||||
HTM_TD_Begin ("class=\"BM\"");
|
||||
HTM_TD_End ();
|
||||
|
||||
/* Banner short name */
|
||||
HTM_TD_Begin ("class=\"CM\"");
|
||||
HTM_INPUT_TEXT ("ShortName",Ban_MAX_CHARS_SHRT_NAME,Ban->ShrtName,
|
||||
HTM_DONT_SUBMIT_ON_CHANGE,
|
||||
"class=\"INPUT_SHORT_NAME INPUT_%s\""
|
||||
" required=\"required\"",
|
||||
The_GetSuffix ());
|
||||
HTM_TD_End ();
|
||||
HTM_TD_Empty (1);
|
||||
|
||||
/* Banner full name */
|
||||
HTM_TD_Begin ("class=\"CM\"");
|
||||
HTM_INPUT_TEXT ("FullName",Ban_MAX_CHARS_FULL_NAME,Ban->FullName,
|
||||
HTM_DONT_SUBMIT_ON_CHANGE,
|
||||
"class=\"INPUT_FULL_NAME INPUT_%s\""
|
||||
" required=\"required\"",
|
||||
The_GetSuffix ());
|
||||
HTM_TD_End ();
|
||||
/* Banner short name */
|
||||
HTM_TD_Begin ("class=\"CM\"");
|
||||
HTM_INPUT_TEXT ("ShortName",Ban_MAX_CHARS_SHRT_NAME,Ban->ShrtName,
|
||||
HTM_DONT_SUBMIT_ON_CHANGE,
|
||||
"class=\"INPUT_SHORT_NAME INPUT_%s\""
|
||||
" required=\"required\"",
|
||||
The_GetSuffix ());
|
||||
HTM_TD_End ();
|
||||
|
||||
/* Banner image */
|
||||
HTM_TD_Begin ("class=\"CM\"");
|
||||
HTM_INPUT_TEXT ("Img",Ban_MAX_CHARS_IMAGE,Ban->Img,
|
||||
HTM_DONT_SUBMIT_ON_CHANGE,
|
||||
"size=\"12\" class=\"INPUT_%s\""
|
||||
" required=\"required\"",
|
||||
The_GetSuffix ());
|
||||
HTM_TD_End ();
|
||||
/* Banner full name */
|
||||
HTM_TD_Begin ("class=\"CM\"");
|
||||
HTM_INPUT_TEXT ("FullName",Ban_MAX_CHARS_FULL_NAME,Ban->FullName,
|
||||
HTM_DONT_SUBMIT_ON_CHANGE,
|
||||
"class=\"INPUT_FULL_NAME INPUT_%s\""
|
||||
" required=\"required\"",
|
||||
The_GetSuffix ());
|
||||
HTM_TD_End ();
|
||||
|
||||
/* Banner WWW */
|
||||
HTM_TD_Begin ("class=\"CM\"");
|
||||
HTM_INPUT_URL ("WWW",Ban->WWW,HTM_DONT_SUBMIT_ON_CHANGE,
|
||||
"class=\"INPUT_WWW_NARROW INPUT_%s\""
|
||||
" required=\"required\"",
|
||||
The_GetSuffix ());
|
||||
HTM_TD_End ();
|
||||
/* Banner image */
|
||||
HTM_TD_Begin ("class=\"CM\"");
|
||||
HTM_INPUT_TEXT ("Img",Ban_MAX_CHARS_IMAGE,Ban->Img,
|
||||
HTM_DONT_SUBMIT_ON_CHANGE,
|
||||
"size=\"12\" class=\"INPUT_%s\""
|
||||
" required=\"required\"",
|
||||
The_GetSuffix ());
|
||||
HTM_TD_End ();
|
||||
|
||||
/* End table row */
|
||||
HTM_TR_End ();
|
||||
/* Banner WWW */
|
||||
HTM_TD_Begin ("class=\"CM\"");
|
||||
HTM_INPUT_URL ("WWW",Ban->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_banner);
|
||||
/* End table row */
|
||||
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 ();
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
|
@ -633,6 +633,7 @@ TODO: Emilce Barrera Mesa: Mis estudiantes presentan muchas dificultades a la ho
|
|||
#define CSS_FILE "swad22.107.css"
|
||||
#define JS_FILE "swad22.49.js"
|
||||
/*
|
||||
Version 22.107.16:May 07, 2023 Changes in edition of banners. (337915 lines)
|
||||
Version 22.107.15:May 07, 2023 Changes in edition of assignments. (337915 lines)
|
||||
Version 22.107.14:May 07, 2023 Changes in edition of announcements. (337936 lines)
|
||||
Version 22.107.13:May 07, 2023 Changes in edition of exam sessions. (337957 lines)
|
||||
|
|
23
swad_text.c
23
swad_text.c
|
@ -6618,29 +6618,6 @@ const char *Txt_Create_another_type_of_degree =
|
|||
"Create another type of degree"; // Çeviri lazim!
|
||||
#endif
|
||||
|
||||
const char *Txt_Create_banner =
|
||||
#if L==1 // ca
|
||||
"Crear banner";
|
||||
#elif L==2 // de
|
||||
"Werbebanner erstellen";
|
||||
#elif L==3 // en
|
||||
"Create banner";
|
||||
#elif L==4 // es
|
||||
"Crear banner";
|
||||
#elif L==5 // fr
|
||||
"Créer banniére";
|
||||
#elif L==6 // gn
|
||||
"Crear banner"; // Okoteve traducción
|
||||
#elif L==7 // it
|
||||
"Crea banner";
|
||||
#elif L==8 // pl
|
||||
"Utwórz banner";
|
||||
#elif L==9 // pt
|
||||
"Criar banner";
|
||||
#elif L==10 // tr
|
||||
"Create banner"; // Çeviri lazim!
|
||||
#endif
|
||||
|
||||
const char *Txt_Create_building =
|
||||
#if L==1 // ca
|
||||
"Crear edifici";
|
||||
|
|
|
@ -1994,25 +1994,25 @@ const char *Txt_Actions[ActLst_NUM_ACTIONS] =
|
|||
,
|
||||
[ActNewBan] =
|
||||
#if L==1 // ca
|
||||
"Request creation of a banner" // Necessita traducció
|
||||
"Crear banner"
|
||||
#elif L==2 // de
|
||||
"Request creation of a banner" // Need Übersetzung
|
||||
"Werbebanner erstellen"
|
||||
#elif L==3 // en
|
||||
"Request creation of a banner"
|
||||
"Create banner"
|
||||
#elif L==4 // es
|
||||
"Solicitar creaci&ocute;n de un banner"
|
||||
"Crear banner"
|
||||
#elif L==5 // fr
|
||||
"Request creation of a banner" // Besoin de traduction
|
||||
"Créer banniére"
|
||||
#elif L==6 // gn
|
||||
"Solicitar creaci&ocute;n de un banner" // Okoteve traducción
|
||||
"Omoheñói pancarta"
|
||||
#elif L==7 // it
|
||||
"Request creation of a banner" // Bisogno di traduzione
|
||||
"Crea banner"
|
||||
#elif L==8 // pl
|
||||
"Request creation of a banner" // Potrzebujesz tlumaczenie
|
||||
"Utwórz banner"
|
||||
#elif L==9 // pt
|
||||
"Request creation of a banner" // Precisa de tradução
|
||||
"Criar banner"
|
||||
#elif L==10 // tr
|
||||
"Request creation of a banner" // Çeviri lazim!
|
||||
"Afiş oluştur"
|
||||
#endif
|
||||
,
|
||||
[ActRemBan] =
|
||||
|
|
Loading…
Reference in New Issue