Version 16.86.11

This commit is contained in:
Antonio Cañas Vargas 2016-12-05 09:50:35 +01:00
parent f4fd3ff255
commit 26ad90468b
2 changed files with 11 additions and 7 deletions

View File

@ -38,6 +38,7 @@
#include "swad_pagination.h"
#include "swad_parameter.h"
#include "swad_photo.h"
#include "swad_QR.h"
#include "swad_string.h"
/*****************************************************************************/
@ -332,13 +333,15 @@ static void Agd_PutIconToCreateNewEvent (void)
static void Agd_PutIconToShowQR (void)
{
extern const char *Txt_QR_code;
char URL[Cns_MAX_BYTES_URL+1];
extern const char *Txt_STR_LANG_ID[1+Txt_NUM_LANGUAGES];
/***** Put form to create a new event *****/
Lay_PutContextualLink (ActFrmNewEvtMyAgd,NULL,
"qr64x64.gif",
Txt_QR_code,NULL,
NULL);
sprintf (URL,"%s/%s?agd=@%s",
Cfg_URL_SWAD_CGI,
Txt_STR_LANG_ID[Gbl.Prefs.Language],
Gbl.Usrs.Me.UsrDat.Nickname);
Gbl.QR.Str = URL;
QR_PutLinkToPrintQRCode (false);
}
/*****************************************************************************/

View File

@ -185,13 +185,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.86.10 (2016-12-05)"
#define Log_PLATFORM_VERSION "SWAD 16.86.11 (2016-12-05)"
#define CSS_FILE "swad16.86.5.css"
#define JS_FILE "swad16.84.2.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.86.11: Dec 05, 2016 Link to QR in user's agenda. (209908 lines)
Version 16.86.10: Dec 05, 2016 Code refactoring related to user's QR (nickname). (209904 lines)
Version 16.86.9: Dec 05, 2016 Link to QR in user's agenda. Not finished. (209889 lines)
Version 16.86.8: Dec 05, 2016 Changes in layout of user's agenda. (209864 lines)