From 58ee00375c0f690577206f975fb0bf5947bc04bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Tue, 23 May 2017 19:54:08 +0200 Subject: [PATCH] Version 16.222 --- css/{swad16.209.3.css => swad16.222.css} | 13 ++++++++++++- icon/close64x64.png | Bin 0 -> 1066 bytes swad_changelog.h | 8 ++++++-- swad_photo.c | 3 +++ swad_text.c | 21 +++++++++++++++++++++ 5 files changed, 42 insertions(+), 3 deletions(-) rename css/{swad16.209.3.css => swad16.222.css} (99%) create mode 100644 icon/close64x64.png diff --git a/css/swad16.209.3.css b/css/swad16.222.css similarity index 99% rename from css/swad16.209.3.css rename to css/swad16.222.css index 31b0c4302..bf72107de 100644 --- a/css/swad16.209.3.css +++ b/css/swad16.222.css @@ -1498,9 +1498,20 @@ a:hover /* Default ==> underlined */ 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); } +.ALERT_CLOSE + { + float:right; + margin:-8px -8px 8px 8px; + opacity:0.3; + } +.ALERT_CLOSE:hover + { + opacity:1; + } .ALERT_TXT { - padding:8px 8px 8px 40px; + box-sizing:border-box; + padding:8px 0 8px 40px; background-position:8px 8px; background-size:20px 20px; background-repeat:no-repeat; diff --git a/icon/close64x64.png b/icon/close64x64.png new file mode 100644 index 0000000000000000000000000000000000000000..f4e4eb1af357e7fe635326ff1ba382857d6822ad GIT binary patch literal 1066 zcmV+_1l9YAP)}Xpo(dw?+7S|RnnulNskycyk?AqP< z)3})3#GkYjT0$UiB?JP+r_#qF2!%eh>O(DR{98$}T3x0>D6|j=NfEIv**v7$n6;uJ z$?VL{!>)hL?7eqJALo19*>lhN?mgc<=ga^O95`^`zyTKl0Dw=vNJLkJr4|_g8U$=z zJOc$WG~|~>lI`o|mG}SL>cCxAXe{7#+14joOIcR+{iv?s9>>4HuIk*`%LK=Ulz`Pe&PYCnQ={sZBG&+r9E+LKiR??XkM8`JQC?tiX% z9{d!k1Umk=d!RLt7&;Ihp!ghLy_c;rX)-)o{W~`X*4uaG7$&1Q z?^_?z-6jdHk@DV-P3V?SKp~IAw8{KG?fCNVmx~6`nO6QN?NC-{k_G10^wPhI9Syip znt7S#S-SI)H+36E5%I75Y{(gnvyFTk1fHkTCQH4VXL&kY2>`8uwIN1$0OYZ)YuHq= zeS?;>9A_=O8r*ziZTOkoA3Vyr?DnZuTXmqd;=f<%OHAi+>Nawi7I(e1eH*swKnUZD zMJLG`%e`L83qSd0-$tjsLKH;^gZJ`kq`&O8G1q))ZH}I~bPJT?5Tab9pxU%S#1Td>)LP6{V{Ft^BK1HEgjUQSA>D&)n4i9)Bqy=)M zxwoMOa>Ti}tOato+><|0K#LEf1%?KKRb+r2-ZfwGR<6S75gsxUD75op;?mBr_vV^E z*7nWT#NrEKHU)Yr`K}EDNkU)b^!pFSmjU3%+quo`W=)^7LBOq(xLCjE%?sp-{Ky7@ z5$YPkq)5N#&I@0AV>Sr*F`K}rhye#*PE)z>-PqsnqX=Q#ObZl1w{fjE*H0#f>{YUy+DPUL>tD^#&fJ$Z$}GcF@24? z={1$|`XRR)Dp29il^eAxX$cc^3HGcPLKK15^bpB6ZWhG`lVURg2dOVKL3vDgMF(kh k?S0^L;J|?c2M*YH3UUr;)%y3=fdBvi07*qoM6N<$f)CjEX#fBK literal 0 HcmV?d00001 diff --git a/swad_changelog.h b/swad_changelog.h index ebe0a3f4d..1751c70aa 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -233,13 +233,17 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.221.1 (2017-05-23)" -#define CSS_FILE "swad16.209.3.css" +#define Log_PLATFORM_VERSION "SWAD 16.222 (2017-05-23)" +#define CSS_FILE "swad16.222.css" #define JS_FILE "swad16.206.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 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. Fixed bug in surveys. Fixed bug in attendance events. (220260 lines) diff --git a/swad_photo.c b/swad_photo.c index a97a4fb5c..4c9157869 100644 --- a/swad_photo.c +++ b/swad_photo.c @@ -352,8 +352,11 @@ static void Pho_ReqPhoto (const struct UsrData *UsrDat,const char *PhotoURL) } /***** Show current photo and help message *****/ + fprintf (Gbl.F.Out,"

"); Pho_ShowUsrPhoto (UsrDat,PhotoURL, "PHOTO186x248",Pho_NO_ZOOM,false); + fprintf (Gbl.F.Out,"

"); + Ale_ShowAlert (Ale_INFO,Txt_You_can_send_a_file_with_an_image_in_JPEG_format_); /***** Form to upload photo *****/ diff --git a/swad_text.c b/swad_text.c index a8167d8a1..8eef69d89 100644 --- a/swad_text.c +++ b/swad_text.c @@ -4886,6 +4886,27 @@ const char *Txt_Clicks_per_day = "Cliques por dia"; #endif +const char *Txt_Close = +#if L==1 + "Tancar"; +#elif L==2 + "Schließen"; +#elif L==3 + "Close"; +#elif L==4 + "Cerrar"; +#elif L==5 + "Fermer"; +#elif L==6 + "Sẽ"; +#elif L==7 + "Chiudi"; +#elif L==8 + "Zamknij"; +#elif L==9 + "Fechar"; +#endif + const char *Txt_Closed_survey = #if L==1 "Enquesta tancada";