Version 22.107.30:May 09, 2023 Changes in edition of plugins.

This commit is contained in:
acanas 2023-05-09 18:34:08 +02:00
parent 9fc03f583e
commit 359e61ffc2
4 changed files with 98 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.29 (2023-05-09)" #define Log_PLATFORM_VERSION "SWAD 22.107.30 (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.30:May 09, 2023 Changes in edition of plugins. (337694 lines)
Version 22.107.29:May 09, 2023 Changes in edition of places. (337713 lines) Version 22.107.29:May 09, 2023 Changes in edition of places. (337713 lines)
Version 22.107.28:May 09, 2023 Changes in edition of notices. (337707 lines) Version 22.107.28:May 09, 2023 Changes in edition of notices. (337707 lines)
Version 22.107.27:May 09, 2023 Changes in edition of links. (337750 lines) Version 22.107.27:May 09, 2023 Changes in edition of links. (337750 lines)

View File

@ -382,7 +382,7 @@ static void Plg_ListPluginsForEdition (struct Plg_Plugins *Plugins)
HTM_TD_End (); HTM_TD_End ();
/* Plugin code */ /* Plugin code */
HTM_TD_Begin ("class=\"RM DAT_%s\"",The_GetSuffix ()); HTM_TD_Begin ("class=\"CODE DAT_%s\"",The_GetSuffix ());
HTM_Long (Plg->PlgCod); HTM_Long (Plg->PlgCod);
HTM_TD_End (); HTM_TD_End ();
@ -788,35 +788,38 @@ void Plg_ContEditAfterChgPlg (void)
static void Plg_PutFormToCreatePlugin (void) static void Plg_PutFormToCreatePlugin (void)
{ {
extern const char *Txt_Name; extern const char *Txt_Actions[ActLst_NUM_ACTIONS];
extern const char *Txt_Description; extern const char *Txt_Create;
extern const char *Txt_Logo;
extern const char *Txt_Application_key; /***** Begin fieldset *****/
extern const char *Txt_URL; HTM_FIELDSET_Begin (NULL);
extern const char *Txt_IP; HTM_LEGEND (Txt_Actions[ActNewPlg]);
extern const char *Txt_Create_plugin;
/***** Begin form *****/ /***** Begin form *****/
Frm_BeginForm (ActNewPlg); Frm_BeginForm (ActNewPlg);
/***** Begin box and table *****/ /***** Begin table *****/
Box_BoxTableBegin (NULL,NULL, HTM_TABLE_BeginWidePadding (2);
NULL,NULL,
NULL,Box_NOT_CLOSABLE,2);
/***** Write heading *****/ /***** Write heading *****/
HTM_TR_Begin (NULL); Plg_PutHeadPlugins ();
HTM_TH (Txt_Name ,HTM_HEAD_LEFT);
HTM_TH (Txt_Description ,HTM_HEAD_LEFT);
HTM_TH (Txt_Logo ,HTM_HEAD_LEFT);
HTM_TH (Txt_Application_key,HTM_HEAD_LEFT);
HTM_TH (Txt_URL ,HTM_HEAD_LEFT);
HTM_TH (Txt_IP ,HTM_HEAD_LEFT);
HTM_TR_End ();
/***** Row begin *****/ /***** Row begin *****/
HTM_TR_Begin (NULL); HTM_TR_Begin (NULL);
/***** Column to remove plugin, disabled here *****/
HTM_TD_Begin ("class=\"BM\"");
HTM_TD_End ();
/***** Plugin code */
HTM_TD_Begin ("class=\"CODE\"");
HTM_TD_End ();
/***** Plugin logo *****/
// TODO: Change plugin icons to 32x32
HTM_TD_Begin ("style=\"width:45px;\"");
HTM_TD_End ();
/***** Plugin name *****/ /***** Plugin name *****/
HTM_TD_Begin ("class=\"CM\""); HTM_TD_Begin ("class=\"CM\"");
HTM_INPUT_TEXT ("Name",Plg_MAX_CHARS_PLUGIN_NAME,Plg_EditingPlg->Name, HTM_INPUT_TEXT ("Name",Plg_MAX_CHARS_PLUGIN_NAME,Plg_EditingPlg->Name,
@ -874,11 +877,15 @@ static void Plg_PutFormToCreatePlugin (void)
/***** Row end *****/ /***** Row end *****/
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_plugin); 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

@ -6825,29 +6825,6 @@ const char *Txt_Create_password =
"Şifre oluştur"; "Şifre oluştur";
#endif #endif
const char *Txt_Create_plugin =
#if L==1 // ca
"Crear complement";
#elif L==2 // de
"Plugin erstellen";
#elif L==3 // en
"Create plugin";
#elif L==4 // es
"Crear complemento";
#elif L==5 // fr
"Créer plugin";
#elif L==6 // gn
"Crear complemento"; // Okoteve traducción
#elif L==7 // it
"Crea plugin";
#elif L==8 // pl
"Utwórz plugin";
#elif L==9 // pt
"Criar plugin";
#elif L==10 // tr
"Create plugin"; // Çeviri lazim!
#endif
const char *Txt_Create_question = const char *Txt_Create_question =
#if L==1 // ca #if L==1 // ca
"Crear pregunta"; "Crear pregunta";

View File

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