From c0a595ea765828bafb7698dda516a77c879b113c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Tue, 30 May 2017 11:43:50 +0200 Subject: [PATCH] Version 16.228.1 --- swad_changelog.h | 5 ++--- swad_global.c | 2 +- swad_user.h | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index bdc89611..554bb3e9 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -227,19 +227,18 @@ // TODO: Green lock in documents is not shown when name is shortened (see OpenSWAD -> Creative Commons -> Files -> Documents) -// TODO: Al listar administradores, deberķa estar marcado por defecto "Incluir fotos" - /*****************************************************************************/ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.228 (2017-05-30)" +#define Log_PLATFORM_VERSION "SWAD 16.228.1 (2017-05-30)" #define CSS_FILE "swad16.226.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.228.1: May 30, 2017 By default, photos are displayed in listing of users. (220722 lines) Version 16.228: May 30, 2017 Non-editing teachers can not change their selection of groups. Removed alert with origin of copy when pasting. (220722 lines) Version 16.227.2: May 30, 2017 Button to upload photo integrated in alert. (220694 lines) diff --git a/swad_global.c b/swad_global.c index 092abe77..a9abda71 100644 --- a/swad_global.c +++ b/swad_global.c @@ -374,7 +374,7 @@ void Gbl_InitializeGlobals (void) Gbl.Usrs.Listing.RecsUsrs = Rec_RECORD_USERS_UNKNOWN; Gbl.Usrs.Listing.RecsPerPag = Rec_DEF_RECORDS_PER_PAGE; - Gbl.Usrs.Listing.WithPhotos = true; + Gbl.Usrs.Listing.WithPhotos = Usr_LIST_WITH_PHOTOS_DEF; Gbl.Usrs.ClassPhoto.Cols = Usr_CLASS_PHOTO_COLS_DEF; diff --git a/swad_user.h b/swad_user.h index ee0ba5a2..17c8b914 100644 --- a/swad_user.h +++ b/swad_user.h @@ -74,7 +74,7 @@ #define Usr_CLASS_PHOTO_COLS_DEF 10 // Default number of columns in a class photo #define Usr_CLASS_PHOTO_COLS_MAX 50 // Maximum number of columns in a class photo -#define Usr_LIST_WITH_PHOTOS_DEF false +#define Usr_LIST_WITH_PHOTOS_DEF true #define Usr_MAX_BYTES_LIST_ENCRYPTED_USR_CODS (Cry_BYTES_ENCRYPTED_STR_SHA256_BASE64 * Cfg_MAX_USRS_IN_LIST)