mirror of https://github.com/acanas/swad-core.git
Version 16.183.1
This commit is contained in:
parent
77461e8ef9
commit
91d7c3f717
|
@ -214,13 +214,14 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.183 (2017-04-18)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.183.1 (2017-04-18)"
|
||||
#define CSS_FILE "swad16.181.css"
|
||||
#define JS_FILE "swad16.181.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.183.1: Apr 18, 2017 Changes in layout of forums. (217719 lines)
|
||||
Version 16.183: Apr 18, 2017 Code refactoring in forums. (217738 lines)
|
||||
Version 16.182: Apr 18, 2017 Code refactoring in forums and pagination. (217678 lines)
|
||||
Version 16.181.7: Apr 18, 2017 Changes in layout of forums. (217641 lines)
|
||||
|
|
|
@ -3508,10 +3508,10 @@ static void For_GetThrData (struct ForumThread *Thr)
|
|||
row = mysql_fetch_row (mysql_res);
|
||||
|
||||
/***** Get the code of the first post in this thread (row[0]) *****/
|
||||
//Thr->PstCod[For_FIRST_MSG] = Str_ConvertStrCodToLongCod (row[0]);
|
||||
Thr->PstCod[For_FIRST_MSG] = Str_ConvertStrCodToLongCod (row[0]);
|
||||
|
||||
/***** Get the code of the last post in this thread (row[1]) *****/
|
||||
//Thr->PstCod[For_LAST_MSG ] = Str_ConvertStrCodToLongCod (row[1]);
|
||||
Thr->PstCod[For_LAST_MSG ] = Str_ConvertStrCodToLongCod (row[1]);
|
||||
|
||||
/***** Get the code of the first message in this thread (row[0]) *****/
|
||||
if (sscanf (row[0],"%ld",&(Thr->PstCod[For_FIRST_MSG])) != 1)
|
||||
|
@ -3546,8 +3546,8 @@ static void For_GetThrData (struct ForumThread *Thr)
|
|||
for (Order = For_FIRST_MSG;
|
||||
Order <= For_LAST_MSG;
|
||||
Order++)
|
||||
// Thr->Enabled[Order] = For_GetIfPstIsEnabled (Thr->PstCod[Order]);
|
||||
Thr->Enabled[Order] = true;
|
||||
Thr->Enabled[Order] = For_GetIfPstIsEnabled (Thr->PstCod[Order]);
|
||||
// Thr->Enabled[Order] = true;
|
||||
|
||||
/***** Get number of posts in this thread *****/
|
||||
Thr->NumPosts = For_GetNumPstsInThr (Thr->ThrCod);
|
||||
|
|
|
@ -142,7 +142,7 @@ void Pag_WriteLinksToPages (Pag_WhatPaginate_t WhatPaginate,
|
|||
{
|
||||
extern const char *Txt_Page;
|
||||
extern const char *Txt_See_page_X_of_Y;
|
||||
extern const char *Txt_first_message_not_allowed;
|
||||
extern const char *Txt_Post_banned;
|
||||
unsigned NumPage;
|
||||
|
||||
/***** Link to page 1, including a text *****/
|
||||
|
@ -227,7 +227,7 @@ void Pag_WriteLinksToPages (Pag_WhatPaginate_t WhatPaginate,
|
|||
fprintf (Gbl.F.Out,"%s",Subject);
|
||||
else
|
||||
fprintf (Gbl.F.Out,"[%s]",
|
||||
Txt_first_message_not_allowed);
|
||||
Txt_Post_banned);
|
||||
if (LinkToPagCurrent)
|
||||
{
|
||||
fprintf (Gbl.F.Out,"</a>");
|
||||
|
|
21
swad_text.c
21
swad_text.c
|
@ -12788,27 +12788,6 @@ const char *Txt_First_day_of_the_week =
|
|||
"Primeiro dia da semana";
|
||||
#endif
|
||||
|
||||
const char *Txt_first_message_not_allowed =
|
||||
#if L==1
|
||||
"primer mensaje no permitido"; // Necessita traduccio
|
||||
#elif L==2
|
||||
"erste Nachricht nicht erlaubt";
|
||||
#elif L==3
|
||||
"first message not allowed";
|
||||
#elif L==4
|
||||
"primer mensaje no permitido";
|
||||
#elif L==5
|
||||
"premier message non admis";
|
||||
#elif L==6
|
||||
"primer mensaje no permitido"; // Okoteve traducción
|
||||
#elif L==7
|
||||
"primo messaggio non ammesso";
|
||||
#elif L==8
|
||||
"Pierwszy komunikat nie jest dozwolony";
|
||||
#elif L==9
|
||||
"primeira mensagem não permitida";
|
||||
#endif
|
||||
|
||||
const char *Txt_First_name =
|
||||
#if L==1
|
||||
"Nom";
|
||||
|
|
Loading…
Reference in New Issue