Version 15.192.10

This commit is contained in:
Antonio Cañas Vargas 2016-04-11 22:46:08 +02:00
parent 11ff499535
commit c18faadc81
4 changed files with 6 additions and 4 deletions

View File

@ -135,13 +135,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.192.9 (2016-04-11)"
#define Log_PLATFORM_VERSION "SWAD 15.192.10 (2016-04-11)"
#define CSS_FILE "swad15.192.9.css"
#define JS_FILE "swad15.190.1.js"
// 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
/*
Version 15.192.10:Apr 11, 2016 Fixed bug in edition of test questions. (199335 lines)
Version 15.192.9: Apr 11, 2016 Changed layout of form to send attached image in forum posts and messages. (199333 lines)
Version 15.192.8: Apr 11, 2016 Contextual icon to remove user's photo. (199331 lines)
Version 15.192.7: Apr 11, 2016 Changes in forms to upload user's photo. (199340 lines)

View File

@ -29,6 +29,7 @@
#include <stdbool.h> // For boolean type
#include <stdlib.h> // For exit, system, malloc, free, etc
#include <string.h> // For string functions
#include <sys/wait.h> // For the macro WEXITSTATUS
#include <unistd.h> // For unlink
#include "swad_config.h"

View File

@ -232,7 +232,7 @@ void Par_CreateListOfParams (void)
static void Par_CreateListOfParamsFromQueryString (void)
{
unsigned long CurPos; // Current position in query string
struct Param *Param;
struct Param *Param = NULL; // Initialized to avoid warning
struct Param *NewParam;
/***** Check if query string is empty *****/
@ -297,7 +297,7 @@ static void Par_CreateListOfParamsFromTmpFile (void)
static const char *StringFilename = "; filename=\"";
static const char *StringContentType = "Content-Type: ";
unsigned long CurPos; // Current position in temporal file
struct Param *Param;
struct Param *Param = NULL; // Initialized to avoid warning
struct Param *NewParam;
int Ch;
char StrAux[Par_MAX_BYTES_STR_AUX+1];

View File

@ -1076,7 +1076,7 @@ static void Tst_PutFormToEditQstImage (struct Image *Image,
if (!Image->Name[0])
{
/* Action to perform on image */
Par_PutHiddenParamUnsigned ("ImgAct",(unsigned) Img_ACTION_NEW_IMAGE);
Par_PutHiddenParamUnsigned (ParamAction,(unsigned) Img_ACTION_NEW_IMAGE);
/* File */
fprintf (Gbl.F.Out,"<label>"