Version 16.21.1

This commit is contained in:
Antonio Cañas Vargas 2016-10-12 14:06:57 +02:00
parent 31d41db036
commit 9b9c89634e
2 changed files with 4 additions and 2 deletions

View File

@ -4467,10 +4467,11 @@ bool Act_CheckIfIHavePermissionToExecuteAction (Act_Action_t Action)
const char *Act_GetTitleAction (Act_Action_t Action)
{
extern const char *Txt_MENU_TITLE[Tab_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB];
Act_Action_t SuperAction = Act_Actions[Action].SuperAction;
if (Action < 0 || Action >= Act_NUM_ACTIONS)
return NULL;
return Txt_MENU_TITLE[Act_Actions[Act_Actions[Action].SuperAction].Tab][Act_Actions[Act_Actions[Action].SuperAction].IndexInMenu];
return Txt_MENU_TITLE[Act_Actions[SuperAction].Tab][Act_Actions[SuperAction].IndexInMenu];
}
/*****************************************************************************/

View File

@ -148,13 +148,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.21 (2016-10-12)"
#define Log_PLATFORM_VERSION "SWAD 16.21.1 (2016-10-12)"
#define CSS_FILE "swad15.229.css"
#define JS_FILE "swad15.238.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.21.1: Oct 12, 2016 Code refactoring in actions. (205280 lines)
Version 16.21: Oct 12, 2016 Code refactoring related with warning about e-mail notifications.
Notification mail is sent only if e-mail is confirmed. (205278 lines)
Version 16.20: Oct 11, 2016 New button to edit/view file browser. (205241 lines)