From 37ab5fe159ae650967cb932ce35a4d34aee4c5c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Wed, 12 Oct 2016 14:10:55 +0200 Subject: [PATCH] Version 16.21.2 --- swad_action.c | 20 -------------------- swad_action.h | 1 - swad_changelog.h | 3 ++- 3 files changed, 2 insertions(+), 22 deletions(-) diff --git a/swad_action.c b/swad_action.c index 6e96e985c..31fe98c8a 100644 --- a/swad_action.c +++ b/swad_action.c @@ -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 *********************/ /*****************************************************************************/ diff --git a/swad_action.h b/swad_action.h index f1ae861d0..b0a4f5f6e 100644 --- a/swad_action.h +++ b/swad_action.h @@ -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); diff --git a/swad_changelog.h b/swad_changelog.h index c7705ebaa..ee5a1d750 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -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)