mirror of https://github.com/acanas/swad-core.git
Version 16.73.6
This commit is contained in:
parent
f273a02183
commit
2ceed502a2
|
@ -176,13 +176,14 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.73.5 (2016-11-28)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.73.6 (2016-11-28)"
|
||||
#define CSS_FILE "swad16.69.css"
|
||||
#define JS_FILE "swad16.46.1.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.73.6: Nov 28, 2016 Contextual help on email domains. (207764 lines)
|
||||
Version 16.73.5: Nov 28, 2016 Contextual help on types of degrees. (207757 lines)
|
||||
Version 16.73.4: Nov 28, 2016 Contextual help on old courses. (207749 lines)
|
||||
Version 16.73.3: Nov 27, 2016 Better contextual help on attendance. (207746 lines)
|
||||
|
|
|
@ -52,6 +52,9 @@ const char *Hlp_SYSTEM_Old = WIKI "SYSTEM.Old";
|
|||
const char *Hlp_SYSTEM_Studies = WIKI "SYSTEM.Studies";
|
||||
const char *Hlp_SYSTEM_Studies_edit = WIKI "SYSTEM.Studies#edit";
|
||||
|
||||
const char *Hlp_SYSTEM_Domains = WIKI "SYSTEM.Domains";
|
||||
const char *Hlp_SYSTEM_Domains_edit = WIKI "SYSTEM.Domains#edit";
|
||||
|
||||
/***** COUNTRY tab *****/
|
||||
|
||||
const char *Hlp_COUNTRY_Information = WIKI "COUNTRY.Information";
|
||||
|
|
10
swad_mail.c
10
swad_mail.c
|
@ -88,6 +88,7 @@ static void Mai_InsertMailKey (const char *Email,const char MailKey[Mai_LENGTH_E
|
|||
|
||||
void Mai_SeeMailDomains (void)
|
||||
{
|
||||
extern const char *Hlp_SYSTEM_Domains;
|
||||
extern const char *Txt_Email_domains_allowed_for_notifications;
|
||||
extern const char *Txt_EMAIL_DOMAIN_HELP_ORDER[3];
|
||||
extern const char *Txt_EMAIL_DOMAIN_ORDER[3];
|
||||
|
@ -104,7 +105,7 @@ void Mai_SeeMailDomains (void)
|
|||
Lay_StartRoundFrameTable (NULL,Txt_Email_domains_allowed_for_notifications,
|
||||
Gbl.Usrs.Me.LoggedRole == Rol_SYS_ADM ? Mai_PutIconToEditMailDomains :
|
||||
NULL,
|
||||
NULL,2);
|
||||
Hlp_SYSTEM_Domains,2);
|
||||
fprintf (Gbl.F.Out,"<tr>");
|
||||
for (Order = Mai_ORDER_BY_DOMAIN;
|
||||
Order <= Mai_ORDER_BY_USERS;
|
||||
|
@ -423,12 +424,13 @@ void Mai_FreeListMailDomains (void)
|
|||
|
||||
static void Mai_ListMailDomainsForEdition (void)
|
||||
{
|
||||
extern const char *Hlp_SYSTEM_Domains_edit;
|
||||
extern const char *Txt_Email_domains_allowed_for_notifications;
|
||||
unsigned NumMai;
|
||||
struct Mail *Mai;
|
||||
|
||||
Lay_StartRoundFrameTable (NULL,Txt_Email_domains_allowed_for_notifications,
|
||||
NULL,NULL,2);
|
||||
NULL,Hlp_SYSTEM_Domains_edit,2);
|
||||
|
||||
/***** Table head *****/
|
||||
Mai_PutHeadMailDomains ();
|
||||
|
@ -671,6 +673,7 @@ static bool Mai_CheckIfMailDomainNameExists (const char *FieldName,const char *N
|
|||
|
||||
static void Mai_PutFormToCreateMailDomain (void)
|
||||
{
|
||||
extern const char *Hlp_SYSTEM_Domains_edit;
|
||||
extern const char *Txt_New_email_domain;
|
||||
extern const char *Txt_EMAIL_DOMAIN_ORDER[3];
|
||||
extern const char *Txt_Create_email_domain;
|
||||
|
@ -682,7 +685,8 @@ static void Mai_PutFormToCreateMailDomain (void)
|
|||
Act_FormStart (ActNewMai);
|
||||
|
||||
/***** Start of frame *****/
|
||||
Lay_StartRoundFrameTable (NULL,Txt_New_email_domain,NULL,NULL,2);
|
||||
Lay_StartRoundFrameTable (NULL,Txt_New_email_domain,
|
||||
NULL,Hlp_SYSTEM_Domains_edit,2);
|
||||
|
||||
/***** Write heading *****/
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
|
|
Loading…
Reference in New Issue