Version 15.165.2

This commit is contained in:
Antonio Cañas Vargas 2016-03-29 00:55:25 +02:00
parent 506e9b4d99
commit b387377072
2 changed files with 8 additions and 6 deletions

View File

@ -137,13 +137,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.165.1 (2016-03-29)"
#define Log_PLATFORM_VERSION "SWAD 15.165.2 (2016-03-29)"
#define CSS_FILE "swad15.165.css"
#define JS_FILE "swad15.131.3.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.165.2: Mar 29, 2016 Changes in forms to upload logos. (196805 lines)
Version 15.165.1: Mar 29, 2016 Changes in form to upload photo of centre. (196803 lines)
Version 15.165: Mar 28, 2016 Use ImageMagick 'convert' after uploading an image of a centre. (196805 lines)
Version 15.164: Mar 28, 2016 Scope selector inside frame in listing of students.

View File

@ -235,7 +235,6 @@ void Log_RequestLogo (Sco_Scope_t Scope)
extern const char *Txt_Logo;
extern const char *Txt_You_can_send_a_file_with_an_image_in_png_format_transparent_background_and_size_X_Y;
extern const char *Txt_File_with_the_logo;
extern const char *Txt_Upload_logo;
long Cod;
const char *Folder;
Act_Action_t ActionRec;
@ -298,13 +297,15 @@ void Log_RequestLogo (Sco_Scope_t Scope)
"%s: "
"</label>"
"<input type=\"file\" name=\"%s\""
" size=\"40\" maxlength=\"100\" value=\"\" />",
" size=\"40\" maxlength=\"100\" value=\"\""
" onchange=\"document.getElementById('%s').submit();\" />",
The_ClassForm[Gbl.Prefs.Theme],
Txt_File_with_the_logo,
Fil_NAME_OF_PARAM_FILENAME_ORG);
Fil_NAME_OF_PARAM_FILENAME_ORG,
Gbl.Form.Id);
/***** Button to create announcement and end frame *****/
Lay_EndRoundFrameWithButton (Lay_CREATE_BUTTON,Txt_Upload_logo);
/***** End frame *****/
Lay_EndRoundFrame ();
/***** End form *****/
Act_FormEnd ();