mirror of https://github.com/acanas/swad-core.git
Version 16.201.4
This commit is contained in:
parent
078b027c71
commit
e180ec0900
|
@ -216,19 +216,18 @@
|
||||||
|
|
||||||
// TODO: Change numbers of notifications in program and database to match order in tabs
|
// TODO: Change numbers of notifications in program and database to match order in tabs
|
||||||
|
|
||||||
// TODO: Icon to view en "Fuente de información"
|
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 16.201.3 (2017-05-02)"
|
#define Log_PLATFORM_VERSION "SWAD 16.201.4 (2017-05-02)"
|
||||||
#define CSS_FILE "swad16.201.css"
|
#define CSS_FILE "swad16.201.css"
|
||||||
#define JS_FILE "swad16.181.js"
|
#define JS_FILE "swad16.181.js"
|
||||||
|
|
||||||
// Number of lines (includes comments but not blank lines) has been got with the following command:
|
// 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
|
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*?.h sql/swad*.sql | tail -1
|
||||||
/*
|
/*
|
||||||
|
Version 16.201.4: May 02, 2017 Icon to view course info when editing source of information. (218243 lines)
|
||||||
Version 16.201.3: May 02, 2017 Code refactoring in forums. (218237 lines)
|
Version 16.201.3: May 02, 2017 Code refactoring in forums. (218237 lines)
|
||||||
Version 16.201.2: May 02, 2017 Code refactoring in messages. (218242 lines)
|
Version 16.201.2: May 02, 2017 Code refactoring in messages. (218242 lines)
|
||||||
Version 16.201.1: May 02, 2017 Code refactoring in messages. (218241 lines)
|
Version 16.201.1: May 02, 2017 Code refactoring in messages. (218241 lines)
|
||||||
|
|
35
swad_info.c
35
swad_info.c
|
@ -298,6 +298,7 @@ extern const char *Hlp_ASSESSMENT_System_edit;
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
static void Inf_PutButtonToEditInfo (void);
|
static void Inf_PutButtonToEditInfo (void);
|
||||||
|
static void Inf_PutIconToViewInfo (void);
|
||||||
static void Inf_PutCheckboxForceStdsToReadInfo (bool MustBeRead);
|
static void Inf_PutCheckboxForceStdsToReadInfo (bool MustBeRead);
|
||||||
static void Inf_PutCheckboxConfirmIHaveReadInfo (void);
|
static void Inf_PutCheckboxConfirmIHaveReadInfo (void);
|
||||||
static bool Inf_CheckIfIHaveReadInfo (void);
|
static bool Inf_CheckIfIHaveReadInfo (void);
|
||||||
|
@ -465,6 +466,11 @@ static void Inf_PutButtonToEditInfo (void)
|
||||||
/************************ Put icon to edit course info ***********************/
|
/************************ Put icon to edit course info ***********************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
|
static void Inf_PutIconToViewInfo (void)
|
||||||
|
{
|
||||||
|
Lay_PutContextualIconToView (Inf_ActionsSeeInfo[Gbl.CurrentCrs.Info.Type],NULL);
|
||||||
|
}
|
||||||
|
|
||||||
void Inf_PutIconToEditInfo (void)
|
void Inf_PutIconToEditInfo (void)
|
||||||
{
|
{
|
||||||
Lay_PutContextualIconToEdit (Inf_ActionsEditInfo[Gbl.CurrentCrs.Info.Type],NULL);
|
Lay_PutContextualIconToEdit (Inf_ActionsEditInfo[Gbl.CurrentCrs.Info.Type],NULL);
|
||||||
|
@ -1068,14 +1074,14 @@ void Inf_FormsToSelSendInfo (void)
|
||||||
bool MustBeRead;
|
bool MustBeRead;
|
||||||
const char *HelpEdit[Inf_NUM_INFO_TYPES] =
|
const char *HelpEdit[Inf_NUM_INFO_TYPES] =
|
||||||
{
|
{
|
||||||
Hlp_COURSE_Information_edit, // Inf_INTRODUCTION
|
Hlp_COURSE_Information_edit, // Inf_INTRODUCTION
|
||||||
Hlp_COURSE_Guide_edit, // Inf_TEACHING_GUIDE
|
Hlp_COURSE_Guide_edit, // Inf_TEACHING_GUIDE
|
||||||
Hlp_COURSE_Syllabus_edit, // Inf_LECTURES
|
Hlp_COURSE_Syllabus_edit, // Inf_LECTURES
|
||||||
Hlp_COURSE_Syllabus_edit, // Inf_PRACTICALS
|
Hlp_COURSE_Syllabus_edit, // Inf_PRACTICALS
|
||||||
Hlp_COURSE_Bibliography_edit, // Inf_BIBLIOGRAPHY
|
Hlp_COURSE_Bibliography_edit, // Inf_BIBLIOGRAPHY
|
||||||
Hlp_COURSE_FAQ_edit, // Inf_FAQ
|
Hlp_COURSE_FAQ_edit, // Inf_FAQ
|
||||||
Hlp_COURSE_Links_edit, // Inf_LINKS
|
Hlp_COURSE_Links_edit, // Inf_LINKS
|
||||||
Hlp_ASSESSMENT_System_edit, // Inf_ASSESSMENT
|
Hlp_ASSESSMENT_System_edit, // Inf_ASSESSMENT
|
||||||
};
|
};
|
||||||
|
|
||||||
/***** Set info type *****/
|
/***** Set info type *****/
|
||||||
|
@ -1104,7 +1110,8 @@ void Inf_FormsToSelSendInfo (void)
|
||||||
/***** Form to choice between alternatives *****/
|
/***** Form to choice between alternatives *****/
|
||||||
/* Start of table */
|
/* Start of table */
|
||||||
Lay_StartRoundFrameTable (NULL,Txt_Source_of_information,
|
Lay_StartRoundFrameTable (NULL,Txt_Source_of_information,
|
||||||
NULL,HelpEdit[Gbl.CurrentCrs.Info.Type],4);
|
Inf_PutIconToViewInfo,
|
||||||
|
HelpEdit[Gbl.CurrentCrs.Info.Type],4);
|
||||||
|
|
||||||
/* Options */
|
/* Options */
|
||||||
for (InfoSrc = (Inf_InfoSrc_t) 0;
|
for (InfoSrc = (Inf_InfoSrc_t) 0;
|
||||||
|
@ -1755,13 +1762,13 @@ static bool Inf_CheckAndShowPlainTxt (void)
|
||||||
const char *Help[Inf_NUM_INFO_TYPES] =
|
const char *Help[Inf_NUM_INFO_TYPES] =
|
||||||
{
|
{
|
||||||
Hlp_COURSE_Information_textual_information, // Inf_INTRODUCTION
|
Hlp_COURSE_Information_textual_information, // Inf_INTRODUCTION
|
||||||
Hlp_COURSE_Guide, // Inf_TEACHING_GUIDE
|
Hlp_COURSE_Guide, // Inf_TEACHING_GUIDE
|
||||||
Hlp_COURSE_Syllabus, // Inf_LECTURES
|
Hlp_COURSE_Syllabus, // Inf_LECTURES
|
||||||
Hlp_COURSE_Syllabus, // Inf_PRACTICALS
|
Hlp_COURSE_Syllabus, // Inf_PRACTICALS
|
||||||
Hlp_COURSE_Bibliography, // Inf_BIBLIOGRAPHY
|
Hlp_COURSE_Bibliography, // Inf_BIBLIOGRAPHY
|
||||||
Hlp_COURSE_FAQ, // Inf_FAQ
|
Hlp_COURSE_FAQ, // Inf_FAQ
|
||||||
Hlp_COURSE_Links, // Inf_LINKS
|
Hlp_COURSE_Links, // Inf_LINKS
|
||||||
Hlp_ASSESSMENT_System, // Inf_ASSESSMENT
|
Hlp_ASSESSMENT_System, // Inf_ASSESSMENT
|
||||||
};
|
};
|
||||||
|
|
||||||
/***** Get info text from database *****/
|
/***** Get info text from database *****/
|
||||||
|
|
Loading…
Reference in New Issue