mirror of
https://github.com/acanas/swad-core.git
synced 2024-09-20 00:02:42 +02:00
Version 16.71.3
This commit is contained in:
parent
7657843d96
commit
fcc432367c
|
@ -172,17 +172,20 @@
|
||||||
|
|
||||||
// TODO: List only confirmed emails to send a message with MESSAGES > Email ?
|
// TODO: List only confirmed emails to send a message with MESSAGES > Email ?
|
||||||
|
|
||||||
|
// TODO: Link "Show office hours" in bold when activated
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 16.71.2 (2016-11-25)"
|
#define Log_PLATFORM_VERSION "SWAD 16.71.3 (2016-11-26)"
|
||||||
#define CSS_FILE "swad16.69.css"
|
#define CSS_FILE "swad16.69.css"
|
||||||
#define JS_FILE "swad16.46.1.js"
|
#define JS_FILE "swad16.46.1.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 16.71.3: Nov 26, 2016 Change in layout of notifications. (207597 lines)
|
||||||
Version 16.71.2: Nov 25, 2016 Fix bug in shared record card. (207569 lines)
|
Version 16.71.2: Nov 25, 2016 Fix bug in shared record card. (207569 lines)
|
||||||
Version 16.71.1: Nov 25, 2016 Contextual help on test results. (207568 lines)
|
Version 16.71.1: Nov 25, 2016 Contextual help on test results. (207568 lines)
|
||||||
Version 16.71: Nov 25, 2016 Fixed bugs and changes in layout related with selection of groups. (207560 lines)
|
Version 16.71: Nov 25, 2016 Fixed bugs and changes in layout related with selection of groups. (207560 lines)
|
||||||
|
|
|
@ -302,7 +302,8 @@ void Ntf_ShowMyNotifications (void)
|
||||||
extern const char *Txt_Centre;
|
extern const char *Txt_Centre;
|
||||||
extern const char *Txt_Institution;
|
extern const char *Txt_Institution;
|
||||||
extern const char *Txt_NOTIFICATION_STATUS[Ntf_NUM_STATUS_TXT];
|
extern const char *Txt_NOTIFICATION_STATUS[Ntf_NUM_STATUS_TXT];
|
||||||
extern const char *Txt_No_notifications_for_you;
|
extern const char *Txt_You_have_no_notifications;
|
||||||
|
extern const char *Txt_You_have_no_unread_notifications;
|
||||||
char Query[512];
|
char Query[512];
|
||||||
char SubQuery[128];
|
char SubQuery[128];
|
||||||
MYSQL_RES *mysql_res;
|
MYSQL_RES *mysql_res;
|
||||||
|
@ -366,6 +367,10 @@ void Ntf_ShowMyNotifications (void)
|
||||||
|
|
||||||
fprintf (Gbl.F.Out,"</div>");
|
fprintf (Gbl.F.Out,"</div>");
|
||||||
|
|
||||||
|
/***** Start frame *****/
|
||||||
|
Lay_StartRoundFrame (NULL,Txt_Notifications,
|
||||||
|
Ntf_PutIconsNotif,Hlp_MESSAGES_Notifications);
|
||||||
|
|
||||||
/***** List my notifications *****/
|
/***** List my notifications *****/
|
||||||
if (NumNotifications) // Notifications found
|
if (NumNotifications) // Notifications found
|
||||||
{
|
{
|
||||||
|
@ -376,10 +381,9 @@ void Ntf_ShowMyNotifications (void)
|
||||||
/***** Initialize structure with user's data *****/
|
/***** Initialize structure with user's data *****/
|
||||||
Usr_UsrDataConstructor (&UsrDat);
|
Usr_UsrDataConstructor (&UsrDat);
|
||||||
|
|
||||||
/***** Table start *****/
|
/***** Start table *****/
|
||||||
Lay_StartRoundFrameTable (NULL,Txt_Notifications,
|
fprintf (Gbl.F.Out,"<table class=\"FRAME_TBL CELLS_PAD_2\">"
|
||||||
Ntf_PutIconsNotif,Hlp_MESSAGES_Notifications,2);
|
"<tr>"
|
||||||
fprintf (Gbl.F.Out,"<tr>"
|
|
||||||
"<th colspan=\"2\" class=\"LEFT_MIDDLE\">"
|
"<th colspan=\"2\" class=\"LEFT_MIDDLE\">"
|
||||||
"%s"
|
"%s"
|
||||||
"</th>"
|
"</th>"
|
||||||
|
@ -620,7 +624,7 @@ void Ntf_ShowMyNotifications (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
/***** End table *****/
|
/***** End table *****/
|
||||||
Lay_EndRoundFrameTable ();
|
fprintf (Gbl.F.Out,"</table>");
|
||||||
|
|
||||||
/***** Free memory used for user's data *****/
|
/***** Free memory used for user's data *****/
|
||||||
Usr_UsrDataDestructor (&UsrDat);
|
Usr_UsrDataDestructor (&UsrDat);
|
||||||
|
@ -629,7 +633,11 @@ void Ntf_ShowMyNotifications (void)
|
||||||
free ((void *) SummaryStr);
|
free ((void *) SummaryStr);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
Lay_ShowAlert (Lay_INFO,Txt_No_notifications_for_you);
|
Lay_ShowAlert (Lay_INFO,AllNotifications ? Txt_You_have_no_notifications :
|
||||||
|
Txt_You_have_no_unread_notifications);
|
||||||
|
|
||||||
|
/***** End frame *****/
|
||||||
|
Lay_EndRoundFrame ();
|
||||||
|
|
||||||
/***** Free structure that stores the query result *****/
|
/***** Free structure that stores the query result *****/
|
||||||
DB_FreeMySQLResult (&mysql_res);
|
DB_FreeMySQLResult (&mysql_res);
|
||||||
|
|
63
swad_text.c
63
swad_text.c
|
@ -24402,27 +24402,6 @@ const char *Txt_No_notices =
|
||||||
"Não há avisos.";
|
"Não há avisos.";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const char *Txt_No_notifications_for_you =
|
|
||||||
#if L==1
|
|
||||||
"No tiene notificaciones."; // Necessita traduccio
|
|
||||||
#elif L==2
|
|
||||||
"Keine Anmeldungen für Sie.";
|
|
||||||
#elif L==3
|
|
||||||
"No notifications for you.";
|
|
||||||
#elif L==4
|
|
||||||
"No tiene notificaciones.";
|
|
||||||
#elif L==5
|
|
||||||
"Il n'y a pas de notifications pour vous.";
|
|
||||||
#elif L==6
|
|
||||||
"No tiene notificaciones."; // Okoteve traducción
|
|
||||||
#elif L==7
|
|
||||||
"Non ci sono notifiche per te.";
|
|
||||||
#elif L==8
|
|
||||||
"Brak powiadomienia dla Ciebie.";
|
|
||||||
#elif L==9
|
|
||||||
"Não há notificações para você.";
|
|
||||||
#endif
|
|
||||||
|
|
||||||
const char *Txt_No_of_files =
|
const char *Txt_No_of_files =
|
||||||
#if L==1
|
#if L==1
|
||||||
"Nombre d'arxius";
|
"Nombre d'arxius";
|
||||||
|
@ -53016,6 +52995,48 @@ const char *Txt_You_have_eliminated_the_confirmation_that_you_have_read_this_inf
|
||||||
" that you have read this information."; // Necessita de tradução
|
" that you have read this information."; // Necessita de tradução
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
const char *Txt_You_have_no_notifications =
|
||||||
|
#if L==1
|
||||||
|
"No tens notificacions.";
|
||||||
|
#elif L==2
|
||||||
|
"Sie haben keine Benachrichtigungen.";
|
||||||
|
#elif L==3
|
||||||
|
"You have no notifications.";
|
||||||
|
#elif L==4
|
||||||
|
"No tiene notificaciones.";
|
||||||
|
#elif L==5
|
||||||
|
"Vous n'avez aucune notification.";
|
||||||
|
#elif L==6
|
||||||
|
"No tiene notificaciones."; // Okoteve traducción
|
||||||
|
#elif L==7
|
||||||
|
"Non ci sono notifiche.";
|
||||||
|
#elif L==8
|
||||||
|
"Nie masz żadnych powiadomień.";
|
||||||
|
#elif L==9
|
||||||
|
"Você não tem notificações.";
|
||||||
|
#endif
|
||||||
|
|
||||||
|
const char *Txt_You_have_no_unread_notifications =
|
||||||
|
#if L==1
|
||||||
|
"No tens notificacions sense llegir.";
|
||||||
|
#elif L==2
|
||||||
|
"Sie haben keine ungelesenen Benachrichtigungen.";
|
||||||
|
#elif L==3
|
||||||
|
"You have no unread notifications.";
|
||||||
|
#elif L==4
|
||||||
|
"No tiene notificaciones sin leer.";
|
||||||
|
#elif L==5
|
||||||
|
"Vous n'avez aucune notification non lue.";
|
||||||
|
#elif L==6
|
||||||
|
"No tiene notificaciones sin leer."; // Okoteve traducción
|
||||||
|
#elif L==7
|
||||||
|
"Non ci sono notifiche non lette.";
|
||||||
|
#elif L==8
|
||||||
|
"Nie masz nieprzeczytanych powiadomień.";
|
||||||
|
#elif L==9
|
||||||
|
"Você não tem notificações não lidas.";
|
||||||
|
#endif
|
||||||
|
|
||||||
const char *Txt_You_have_not_banned_any_sender =
|
const char *Txt_You_have_not_banned_any_sender =
|
||||||
#if L==1
|
#if L==1
|
||||||
"Usted no ha bloqueado ningún remitente."; // Necessita traduccio
|
"Usted no ha bloqueado ningún remitente."; // Necessita traduccio
|
||||||
|
|
Loading…
Reference in New Issue
Block a user