Version 16.177.4

This commit is contained in:
Antonio Cañas Vargas 2017-04-14 01:27:19 +02:00
parent b485a62011
commit ecd3fa399f
2 changed files with 3 additions and 1 deletions

View File

@ -212,13 +212,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.177.3 (2017-04-14)"
#define Log_PLATFORM_VERSION "SWAD 16.177.4 (2017-04-14)"
#define CSS_FILE "swad16.177.css"
#define JS_FILE "swad16.144.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.177.4: Apr 14, 2017 Changes in layout of forums. (217611 lines)
Version 16.177.3: Apr 14, 2017 Highlight current thread in forums. (217609 lines)
Version 16.177.2: Apr 14, 2017 Code refactoring in forums. (217604 lines)
Version 16.177.1: Apr 13, 2017 Changes in layout of forums. (217590 lines)

View File

@ -1052,6 +1052,7 @@ static void For_ShowThreadPosts (long ThrCod)
PaginationPsts.NumItems = NumPsts;
PaginationPsts.CurrentPage = (int) Gbl.Forum.CurrentPagePsts;
Pag_CalculatePagination (&PaginationPsts);
PaginationPsts.Anchor = For_ID_FORUM_POSTS_SECTION;
Gbl.Forum.CurrentPagePsts = (unsigned) PaginationPsts.CurrentPage;
/***** Write links to pages *****/