Version 16.222

This commit is contained in:
Antonio Cañas Vargas 2017-05-23 19:54:08 +02:00
parent 3fa0f27557
commit 58ee00375c
5 changed files with 42 additions and 3 deletions

View File

@ -1498,9 +1498,20 @@ a:hover /* Default ==> underlined */
border-radius:2px; border-radius:2px;
box-shadow: 0 2px 2px 0 rgba(124,121,109,0.14), 0 2px 1px -2px rgba(124,121,109,0.2), 0 1px 5px 0 rgba(124,121,109,0.12); box-shadow: 0 2px 2px 0 rgba(124,121,109,0.14), 0 2px 1px -2px rgba(124,121,109,0.2), 0 1px 5px 0 rgba(124,121,109,0.12);
} }
.ALERT_CLOSE
{
float:right;
margin:-8px -8px 8px 8px;
opacity:0.3;
}
.ALERT_CLOSE:hover
{
opacity:1;
}
.ALERT_TXT .ALERT_TXT
{ {
padding:8px 8px 8px 40px; box-sizing:border-box;
padding:8px 0 8px 40px;
background-position:8px 8px; background-position:8px 8px;
background-size:20px 20px; background-size:20px 20px;
background-repeat:no-repeat; background-repeat:no-repeat;

BIN
icon/close64x64.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -233,13 +233,17 @@
/****************************** Public constants *****************************/ /****************************** Public constants *****************************/
/*****************************************************************************/ /*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.221.1 (2017-05-23)" #define Log_PLATFORM_VERSION "SWAD 16.222 (2017-05-23)"
#define CSS_FILE "swad16.209.3.css" #define CSS_FILE "swad16.222.css"
#define JS_FILE "swad16.206.3.js" #define JS_FILE "swad16.206.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 16.222: May 23, 2017 Alerts can be closed. (220313 lines)
Copy the following icon to icon public directory:
sudo cp -a icon/close64x64.png /var/www/html/swad/icon/
Version 16.221.1: May 23, 2017 Fixed bugs related with new role. Version 16.221.1: May 23, 2017 Fixed bugs related with new role.
Fixed bug in surveys. Fixed bug in surveys.
Fixed bug in attendance events. (220260 lines) Fixed bug in attendance events. (220260 lines)

View File

@ -352,8 +352,11 @@ static void Pho_ReqPhoto (const struct UsrData *UsrDat,const char *PhotoURL)
} }
/***** Show current photo and help message *****/ /***** Show current photo and help message *****/
fprintf (Gbl.F.Out,"<p>");
Pho_ShowUsrPhoto (UsrDat,PhotoURL, Pho_ShowUsrPhoto (UsrDat,PhotoURL,
"PHOTO186x248",Pho_NO_ZOOM,false); "PHOTO186x248",Pho_NO_ZOOM,false);
fprintf (Gbl.F.Out,"</p>");
Ale_ShowAlert (Ale_INFO,Txt_You_can_send_a_file_with_an_image_in_JPEG_format_); Ale_ShowAlert (Ale_INFO,Txt_You_can_send_a_file_with_an_image_in_JPEG_format_);
/***** Form to upload photo *****/ /***** Form to upload photo *****/

View File

@ -4886,6 +4886,27 @@ const char *Txt_Clicks_per_day =
"Cliques por dia"; "Cliques por dia";
#endif #endif
const char *Txt_Close =
#if L==1
"Tancar";
#elif L==2
"Schlie&szlig;en";
#elif L==3
"Close";
#elif L==4
"Cerrar";
#elif L==5
"Fermer";
#elif L==6
"S&#7869;";
#elif L==7
"Chiudi";
#elif L==8
"Zamknij";
#elif L==9
"Fechar";
#endif
const char *Txt_Closed_survey = const char *Txt_Closed_survey =
#if L==1 #if L==1
"Enquesta tancada"; "Enquesta tancada";