mirror of
https://github.com/acanas/swad-core.git
synced 2024-05-31 13:55:28 +02:00
Version 15.97.1
This commit is contained in:
parent
7f72b603b7
commit
b6c9bc0268
|
@ -1527,10 +1527,10 @@ a:hover img.CENTRE_PHOTO_SHOW
|
||||||
|
|
||||||
.USR_ID {color:#404040; font-size:18pt; font-weight:bold;}
|
.USR_ID {color:#404040; font-size:18pt; font-weight:bold;}
|
||||||
|
|
||||||
.DAT {color:#707070; font-size:13pt;}
|
.DAT {color:#404040; font-size:13pt;}
|
||||||
.DAT_GREEN {color:#008000; font-size:13pt;}
|
.DAT_GREEN {color:#008000; font-size:13pt;}
|
||||||
.DAT_LIGHT {color:#A0A0A0; font-size:13pt;}
|
.DAT_LIGHT {color:#A0A0A0; font-size:13pt;}
|
||||||
.DAT_NOBR {color:#707070; font-size:13pt; white-space:nowrap;}
|
.DAT_NOBR {color:#404040; font-size:13pt; white-space:nowrap;}
|
||||||
.DAT_N {color:black; font-size:13pt;}
|
.DAT_N {color:black; font-size:13pt;}
|
||||||
.DAT_NOBR_N {color:black; font-size:13pt; white-space:nowrap;}
|
.DAT_NOBR_N {color:black; font-size:13pt; white-space:nowrap;}
|
||||||
.DAT_N_BOLD {color:black; font-size:13pt; font-weight:bold;}
|
.DAT_N_BOLD {color:black; font-size:13pt; font-weight:bold;}
|
||||||
|
|
|
@ -110,20 +110,21 @@
|
||||||
// TODO: Fix bug at the end of ranking (number too low) when a course is selected
|
// TODO: Fix bug at the end of ranking (number too low) when a course is selected
|
||||||
// TODO: Reply to all
|
// TODO: Reply to all
|
||||||
// TODO: Hour in exam announcement should start at six a.m.
|
// TODO: Hour in exam announcement should start at six a.m.
|
||||||
// TODO: Change "Actividad pública" to "Actividad de Antonio" in user's profile
|
|
||||||
// TODO: Forums For_FORUM_GLOBAL_USRS and For_FORUM_SWAD_USRS should be available for guests for coherence with social timeline?
|
// TODO: Forums For_FORUM_GLOBAL_USRS and For_FORUM_SWAD_USRS should be available for guests for coherence with social timeline?
|
||||||
|
// TODO: Actividad pública: (*) Visible por cualquier usuario identificado
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 15.97 (2016-01-04)"
|
#define Log_PLATFORM_VERSION "SWAD 15.97.1 (2016-01-04)"
|
||||||
#define CSS_FILE "swad15.97.css"
|
#define CSS_FILE "swad15.97.css"
|
||||||
#define JS_FILE "swad15.77.7.js"
|
#define JS_FILE "swad15.77.7.js"
|
||||||
|
|
||||||
// Number of lines (includes comments but not blank lines) has been got with the following command:
|
// 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
|
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1
|
||||||
/*
|
/*
|
||||||
|
Version 15.97.1: Jan 04, 2016 User's timeline below user's profile visible only by logged users. (190719 lines)
|
||||||
Version 15.97: Jan 04, 2016 Show list of some users who has shared a social note. (190718 lines)
|
Version 15.97: Jan 04, 2016 Show list of some users who has shared a social note. (190718 lines)
|
||||||
3 changes necessary in database:
|
3 changes necessary in database:
|
||||||
CREATE TABLE IF NOT EXISTS social_timeline_new (PubCod BIGINT NOT NULL AUTO_INCREMENT, NotCod BIGINT NOT NULL, PublisherCod INT NOT NULL, AuthorCod INT NOT NULL, TimePublish DATETIME NOT NULL, UNIQUE INDEX(PubCod), UNIQUE INDEX(NotCod,PublisherCod), INDEX(PublisherCod), INDEX(AuthorCod), INDEX(TimePublish)) SELECT PubCod,NotCod,PublisherCod,AuthorCod,TimePublish FROM social_timeline ORDER BY PubCod;
|
CREATE TABLE IF NOT EXISTS social_timeline_new (PubCod BIGINT NOT NULL AUTO_INCREMENT, NotCod BIGINT NOT NULL, PublisherCod INT NOT NULL, AuthorCod INT NOT NULL, TimePublish DATETIME NOT NULL, UNIQUE INDEX(PubCod), UNIQUE INDEX(NotCod,PublisherCod), INDEX(PublisherCod), INDEX(AuthorCod), INDEX(TimePublish)) SELECT PubCod,NotCod,PublisherCod,AuthorCod,TimePublish FROM social_timeline ORDER BY PubCod;
|
||||||
|
|
|
@ -207,7 +207,7 @@ static void Prf_GetUsrDatAndShowUserProfile (void)
|
||||||
/***** Request nickname again *****/
|
/***** Request nickname again *****/
|
||||||
Prf_RequestUserProfileWithDefaultNickname ("");
|
Prf_RequestUserProfileWithDefaultNickname ("");
|
||||||
}
|
}
|
||||||
else
|
else if (Gbl.Usrs.Me.Logged) // Timeline visible only by logged users
|
||||||
{
|
{
|
||||||
/***** Start section *****/
|
/***** Start section *****/
|
||||||
fprintf (Gbl.F.Out,"<section id=\"timeline\">");
|
fprintf (Gbl.F.Out,"<section id=\"timeline\">");
|
||||||
|
|
|
@ -114,7 +114,7 @@ struct SocialNote
|
||||||
long Cod; // Code of file, forum post, notice,...
|
long Cod; // Code of file, forum post, notice,...
|
||||||
bool Unavailable; // File, forum post, notice,... unavailable (removed)
|
bool Unavailable; // File, forum post, notice,... unavailable (removed)
|
||||||
time_t DateTimeUTC;
|
time_t DateTimeUTC;
|
||||||
unsigned NumShared; // Number of times this note has been shared
|
unsigned NumShared; // Number of times (users) this note has been shared
|
||||||
};
|
};
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
@ -1817,13 +1817,13 @@ static void Soc_GetDataOfSocialNoteByCod (struct SocialNote *SocNot)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/***** Reset fields of social note *****/
|
/***** Reset fields of social note *****/
|
||||||
SocNot->NoteType = Soc_NOTE_UNKNOWN;
|
SocNot->NoteType = Soc_NOTE_UNKNOWN;
|
||||||
SocNot->UsrCod = -1L;
|
SocNot->UsrCod = -1L;
|
||||||
SocNot->HieCod = -1L;
|
SocNot->HieCod = -1L;
|
||||||
SocNot->Cod = -1L;
|
SocNot->Cod = -1L;
|
||||||
SocNot->Unavailable = false;
|
SocNot->Unavailable = false;
|
||||||
SocNot->DateTimeUTC = (time_t) 0;
|
SocNot->DateTimeUTC = (time_t) 0;
|
||||||
SocNot->NumShared = 0;
|
SocNot->NumShared = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23858,17 +23858,17 @@ const char *Txt_No_of_users_who_will_be_notified_by_e_mail =
|
||||||
|
|
||||||
const char *Txt_No_public_activity =
|
const char *Txt_No_public_activity =
|
||||||
#if L==1
|
#if L==1
|
||||||
"No hi ha activitat pública";
|
"Cap activitat pública";
|
||||||
#elif L==2
|
#elif L==2
|
||||||
"Keine öffentliche Aktivität";
|
"Keine öffentliche Aktivität";
|
||||||
#elif L==3
|
#elif L==3
|
||||||
"No public activity";
|
"No public activity";
|
||||||
#elif L==4
|
#elif L==4
|
||||||
"No hay actividad pública";
|
"Ninguna actividad pública";
|
||||||
#elif L==5
|
#elif L==5
|
||||||
"Aucune activité public";
|
"Aucune activité public";
|
||||||
#elif L==6
|
#elif L==6
|
||||||
"No hay actividad pública"; // Okoteve traducción
|
"Ninguna actividad pública"; // Okoteve traducción
|
||||||
#elif L==7
|
#elif L==7
|
||||||
"Nessuna attività pubblica";
|
"Nessuna attività pubblica";
|
||||||
#elif L==8
|
#elif L==8
|
||||||
|
|
Loading…
Reference in New Issue
Block a user