Version 16.21.2

This commit is contained in:
Antonio Cañas Vargas 2016-10-12 14:10:55 +02:00
parent 9b9c89634e
commit 37ab5fe159
3 changed files with 2 additions and 22 deletions

View File

@ -4487,26 +4487,6 @@ const char *Act_GetSubtitleAction (Act_Action_t Action)
return Txt_MENU_SUBTITLE[Act_Actions[Act_Actions[Action].SuperAction].Tab][Act_Actions[Act_Actions[Action].SuperAction].IndexInMenu];
}
/*****************************************************************************/
/***************** Create a breadcrumb string to an action *******************/
/*****************************************************************************/
void Act_GetBreadcrumbStrForAction (Act_Action_t Action,bool HTML,char *BreadcrumbStr)
{
extern const char *Txt_TABS_FULL_TXT[Tab_NUM_TABS];
extern const char *Txt_MENU_TITLE[Tab_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB];
Act_Action_t Superaction = Act_Actions[Action].SuperAction;
Tab_Tab_t Tab = Act_Actions[Superaction].Tab;
char *Arrow;
Arrow = HTML ? ">" :
">";
sprintf (BreadcrumbStr,"%s %s %s %s %s",
Cfg_URL_SWAD_CGI,Arrow,
Txt_TABS_FULL_TXT[Tab],Arrow,
Txt_MENU_TITLE[Tab][Act_Actions[Superaction].IndexInMenu]);
}
/*****************************************************************************/
/********************* Get text for action from database *********************/
/*****************************************************************************/

View File

@ -1480,7 +1480,6 @@ struct Act_Actions
bool Act_CheckIfIHavePermissionToExecuteAction (Act_Action_t Action);
const char *Act_GetTitleAction (Act_Action_t Action);
const char *Act_GetSubtitleAction (Act_Action_t Action);
void Act_GetBreadcrumbStrForAction (Act_Action_t Action,bool HTML,char *BreadcrumbStr);
char *Act_GetActionTextFromDB (long ActCod,char *Txt);
void Act_FormGoToStart (Act_Action_t NextAction);

View File

@ -148,13 +148,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.21.1 (2016-10-12)"
#define Log_PLATFORM_VERSION "SWAD 16.21.2 (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.2: Oct 12, 2016 Unused code removed from actions. (205263 lines)
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)