mirror of
https://github.com/acanas/swad-core.git
synced 2024-05-28 20:43:27 +02:00
Version 15.175.3
This commit is contained in:
parent
3b6bcef14c
commit
344d1f3208
|
@ -140,14 +140,15 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 15.175.2 (2016-04-03)"
|
#define Log_PLATFORM_VERSION "SWAD 15.175.3 (2016-04-03)"
|
||||||
#define CSS_FILE "swad15.173.1.css"
|
#define CSS_FILE "swad15.173.1.css"
|
||||||
#define JS_FILE "swad15.131.3.js"
|
#define JS_FILE "swad15.131.3.js"
|
||||||
|
|
||||||
// Number of lines (includes comments but not blank lines) has been got with the following command:
|
// Number of lines (includes comments but not blank lines) has been got with the following command:
|
||||||
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1
|
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1
|
||||||
/*
|
/*
|
||||||
Version 15.175.3: Apr 03, 2016 Check button to remove image when editing one test question. (? lines)
|
Version 15.175.4: Apr 03, 2016 Check button to remove image when editing one test question. (? lines)
|
||||||
|
Version 15.175.3: Apr 03, 2016 Change in edition of test question. (197804 lines)
|
||||||
Version 15.175.2: Apr 03, 2016 Code refactoring related to deleting image file. (197773 lines)
|
Version 15.175.2: Apr 03, 2016 Code refactoring related to deleting image file. (197773 lines)
|
||||||
Version 15.175.1: Apr 03, 2016 Code refactoring related to deleting tests of a course. (197763 lines)
|
Version 15.175.1: Apr 03, 2016 Code refactoring related to deleting tests of a course. (197763 lines)
|
||||||
Version 15.175: Apr 03, 2016 Fixed bug when editing a test question.
|
Version 15.175: Apr 03, 2016 Fixed bug when editing a test question.
|
||||||
|
|
13
swad_test.c
13
swad_test.c
|
@ -1029,6 +1029,17 @@ void Tst_WriteQstStem (const char *Stem,const char *ClassStem)
|
||||||
|
|
||||||
static void Tst_PutFormToUploadNewQstImage (void)
|
static void Tst_PutFormToUploadNewQstImage (void)
|
||||||
{
|
{
|
||||||
|
extern const char *The_ClassForm[The_NUM_THEMES];
|
||||||
|
extern const char *Txt_Change_image;
|
||||||
|
|
||||||
|
/***** If an image exists, put label *****/
|
||||||
|
if (Gbl.Test.Image[0])
|
||||||
|
fprintf (Gbl.F.Out,"<label class=\"%s\">"
|
||||||
|
"%s: "
|
||||||
|
"</label>",
|
||||||
|
The_ClassForm[Gbl.Prefs.Theme],Txt_Change_image);
|
||||||
|
|
||||||
|
/****** Form field to upload a new image *****/
|
||||||
fprintf (Gbl.F.Out,"<input type=\"file\" name=\"%s\""
|
fprintf (Gbl.F.Out,"<input type=\"file\" name=\"%s\""
|
||||||
" size=\"40\" maxlength=\"100\" value=\"\" />",
|
" size=\"40\" maxlength=\"100\" value=\"\" />",
|
||||||
Fil_NAME_OF_PARAM_FILENAME_ORG);
|
Fil_NAME_OF_PARAM_FILENAME_ORG);
|
||||||
|
@ -4308,6 +4319,8 @@ static void Tst_PutFormEditOneQst (char *Stem,char *Feedback)
|
||||||
if (Gbl.Test.Image[0])
|
if (Gbl.Test.Image[0])
|
||||||
Img_ShowImage (Gbl.Test.Image,"TEST_IMG_EDIT_ONE");
|
Img_ShowImage (Gbl.Test.Image,"TEST_IMG_EDIT_ONE");
|
||||||
Tst_PutFormToUploadNewQstImage ();
|
Tst_PutFormToUploadNewQstImage ();
|
||||||
|
if (Gbl.Test.Image[0])
|
||||||
|
|
||||||
fprintf (Gbl.F.Out,"</td>"
|
fprintf (Gbl.F.Out,"</td>"
|
||||||
"</tr>");
|
"</tr>");
|
||||||
|
|
||||||
|
|
23
swad_text.c
23
swad_text.c
|
@ -4236,6 +4236,27 @@ const char *Txt_Change_IDs =
|
||||||
"Alterar nºs. identif.";
|
"Alterar nºs. identif.";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
const char *Txt_Change_image =
|
||||||
|
#if L==1
|
||||||
|
"Canviar imatge";
|
||||||
|
#elif L==2
|
||||||
|
"Abbild ändern";
|
||||||
|
#elif L==3
|
||||||
|
"Change image";
|
||||||
|
#elif L==4
|
||||||
|
"Cambiar imagen";
|
||||||
|
#elif L==5
|
||||||
|
"Changer image";
|
||||||
|
#elif L==6
|
||||||
|
"Moambue ta'ãnga";
|
||||||
|
#elif L==7
|
||||||
|
"Cambiare immagine";
|
||||||
|
#elif L==8
|
||||||
|
"Zmień obraz";
|
||||||
|
#elif L==9
|
||||||
|
"Alterar imagem";
|
||||||
|
#endif
|
||||||
|
|
||||||
const char *Txt_Change_logo =
|
const char *Txt_Change_logo =
|
||||||
#if L==1
|
#if L==1
|
||||||
"Canviar logo";
|
"Canviar logo";
|
||||||
|
@ -4248,7 +4269,7 @@ const char *Txt_Change_logo =
|
||||||
#elif L==5
|
#elif L==5
|
||||||
"Changer logo";
|
"Changer logo";
|
||||||
#elif L==6
|
#elif L==6
|
||||||
"Cambiar logo"; // Okoteve traducción
|
"Moambue logo";
|
||||||
#elif L==7
|
#elif L==7
|
||||||
"Cambiare logo";
|
"Cambiare logo";
|
||||||
#elif L==8
|
#elif L==8
|
||||||
|
|
Loading…
Reference in New Issue
Block a user