Version 16.164.5

This commit is contained in:
Antonio Cañas Vargas 2017-03-24 19:27:45 +01:00
parent 8ded27bdfe
commit 4799acbb5d
3 changed files with 31 additions and 1 deletions

View File

@ -209,13 +209,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.164.4 (2017-03-24)"
#define Log_PLATFORM_VERSION "SWAD 16.164.5 (2017-03-24)"
#define CSS_FILE "swad16.161.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.164.5: Mar 24, 2017 Link in notifications to allowed mail domains. (217632 lines)
Version 16.164.4: Mar 24, 2017 Link to figures in types of degree. (217604 lines)
Version 16.164.3: Mar 24, 2017 Fixed bug in types of degree.
Types of degree in system tab restricted to system admins only. (217579 lines)

View File

@ -289,6 +289,8 @@ void Ntf_ShowMyNotifications (void)
extern const char *Hlp_MESSAGES_Notifications;
extern const char *Txt_Change_preferences;
extern const char *Txt_Preferences;
extern const char *Txt_Email_domains_allowed_for_notifications;
extern const char *Txt_Domains;
extern const char *Txt_Mark_all_notifications_as_read;
extern const char *Txt_Mark_all_NOTIFICATIONS_as_read;
extern const char *Txt_Notifications;
@ -367,6 +369,12 @@ void Ntf_ShowMyNotifications (void)
Txt_Change_preferences,Txt_Preferences,
NULL);
/* Put form to view allowed mail domains */
Lay_PutContextualLink (ActSeeMai,NULL,
"msg64x64.gif",
Txt_Email_domains_allowed_for_notifications,Txt_Domains,
NULL);
fprintf (Gbl.F.Out,"</div>");
/***** Start frame *****/

View File

@ -9870,6 +9870,27 @@ const char *Txt_documents_management_area =
"zona de gest&atilde;o de documentos";
#endif
const char *Txt_Domains =
#if L==1
"Dominis";
#elif L==2
"Dom&auml;nen";
#elif L==3
"Domains";
#elif L==4
"Dominios";
#elif L==5
"Domaines";
#elif L==6
"Dominios"; // Okoteve traducción
#elif L==7
"Campi";
#elif L==8
"Domen";
#elif L==9
"Dom&iacute;nios";
#endif
const char *Txt_Done =
#if L==1
"Fet";