Version 16.64.28

This commit is contained in:
Antonio Cañas Vargas 2016-11-19 20:37:01 +01:00
parent dfb368b8d2
commit af03a4e197
2 changed files with 14 additions and 7 deletions

View File

@ -170,13 +170,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.64.27 (2016-11-19)"
#define Log_PLATFORM_VERSION "SWAD 16.64.28 (2016-11-19)"
#define CSS_FILE "swad16.60.1.css"
#define JS_FILE "swad16.46.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 16.64.28: Nov 19, 2016 Input fields required in new plugin. (207364 lines)
Version 16.64.27: Nov 19, 2016 Input fields required in new institutional link. (207357 lines)
Version 16.64.26: Nov 19, 2016 Input fields required in new banner form. (207353 lines)
Version 16.64.25: Nov 19, 2016 Input fields required in new email domain form. (207348 lines)

View File

@ -872,42 +872,48 @@ static void Plg_PutFormToCreatePlugin (void)
/***** Plugin name *****/
fprintf (Gbl.F.Out,"<td class=\"CENTER_MIDDLE\">"
"<input type=\"text\" name=\"Name\""
" size=\"10\" maxlength=\"%u\" value=\"%s\" />"
" size=\"10\" maxlength=\"%u\" value=\"%s\""
" required=\"required\" />"
"</td>",
Plg_MAX_LENGTH_PLUGIN_NAME,Plg->Name);
/***** Plugin description *****/
fprintf (Gbl.F.Out,"<td class=\"CENTER_MIDDLE\">"
"<input type=\"text\" name=\"Description\""
" size=\"30\" maxlength=\"%u\" value=\"%s\" />"
" size=\"30\" maxlength=\"%u\" value=\"%s\""
" required=\"required\" />"
"</td>",
Plg_MAX_LENGTH_PLUGIN_DESCRIPTION,Plg->Description);
/***** Plugin logo *****/
fprintf (Gbl.F.Out,"<td class=\"CENTER_MIDDLE\">"
"<input type=\"text\" name=\"Logo\""
" size=\"4\" maxlength=\"%u\" value=\"%s\" />"
" size=\"4\" maxlength=\"%u\" value=\"%s\""
" required=\"required\" />"
"</td>",
Plg_MAX_LENGTH_PLUGIN_LOGO,Plg->Logo);
/***** Plugin application key *****/
fprintf (Gbl.F.Out,"<td class=\"CENTER_MIDDLE\">"
"<input type=\"text\" name=\"AppKey\""
" size=\"16\" maxlength=\"%u\" value=\"%s\" />"
" size=\"16\" maxlength=\"%u\" value=\"%s\""
" required=\"required\" />"
"</td>",
Plg_MAX_LENGTH_PLUGIN_APP_KEY,Plg->AppKey);
/***** Plugin URL *****/
fprintf (Gbl.F.Out,"<td class=\"CENTER_MIDDLE\">"
"<input type=\"text\" name=\"URL\""
" size=\"15\" maxlength=\"%u\" value=\"%s\" />"
" size=\"15\" maxlength=\"%u\" value=\"%s\""
" required=\"required\" />"
"</td>",
Cns_MAX_LENGTH_WWW,Plg->URL);
/***** Plugin IP address *****/
fprintf (Gbl.F.Out,"<td class=\"CENTER_MIDDLE\">"
"<input type=\"text\" name=\"IP\""
" size=\"10\" maxlength=\"%u\" value=\"%s\" />"
" size=\"10\" maxlength=\"%u\" value=\"%s\""
" required=\"required\" />"
"</td>"
"</tr>",
Cns_MAX_LENGTH_IP,Plg->IP);