mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-13 12:14:06 +02:00
Version 16.42.1
This commit is contained in:
parent
d22b315c73
commit
dd5655d0e9
|
@ -149,13 +149,15 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 16.42 (2016-10-24)"
|
#define Log_PLATFORM_VERSION "SWAD 16.42.1 (2016-10-25)"
|
||||||
#define CSS_FILE "swad16.32.1.css"
|
#define CSS_FILE "swad16.32.1.css"
|
||||||
#define JS_FILE "swad15.238.1.js"
|
#define JS_FILE "swad15.238.1.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.42.1: Oct 25, 2016 Added button "New question" in survey when the survey has no questions.
|
||||||
|
Change in layout of survey questions. (205485 lines)
|
||||||
Version 16.42: Oct 24, 2016 Changres in rules to admin other user and change other user's photo. (205481 lines)
|
Version 16.42: Oct 24, 2016 Changres in rules to admin other user and change other user's photo. (205481 lines)
|
||||||
Version 16.41.10: Oct 24, 2016 Column ID in statistic of hits in a course is now left aligned. (205474 lines)
|
Version 16.41.10: Oct 24, 2016 Column ID in statistic of hits in a course is now left aligned. (205474 lines)
|
||||||
Version 16.41.9: Oct 24, 2016 Changed permissions to edit institution logo and institution WWW. (205474 lines)
|
Version 16.41.9: Oct 24, 2016 Changed permissions to edit institution logo and institution WWW. (205474 lines)
|
||||||
|
|
|
@ -2958,13 +2958,15 @@ static void Svy_ListSvyQuestions (struct Survey *Svy,struct SurveyQuestion *SvyQ
|
||||||
else // This survey has no questions
|
else // This survey has no questions
|
||||||
Lay_ShowAlert (Lay_INFO,Txt_This_survey_has_no_questions);
|
Lay_ShowAlert (Lay_INFO,Txt_This_survey_has_no_questions);
|
||||||
|
|
||||||
/***** Free structure that stores the query result *****/
|
if (Svy->Status.ICanEdit && // I can edit
|
||||||
DB_FreeMySQLResult (&mysql_res);
|
(!NumQsts || // This survey has no questions
|
||||||
|
Editing)) // I am editing
|
||||||
if (Svy->Status.ICanEdit && Editing)
|
|
||||||
/***** Put button to add a new question in this survey *****/
|
/***** Put button to add a new question in this survey *****/
|
||||||
Svy_PutButtonToCreateNewQuestion ();
|
Svy_PutButtonToCreateNewQuestion ();
|
||||||
|
|
||||||
|
/***** Free structure that stores the query result *****/
|
||||||
|
DB_FreeMySQLResult (&mysql_res);
|
||||||
|
|
||||||
/***** End frame *****/
|
/***** End frame *****/
|
||||||
Lay_EndRoundFrame ();
|
Lay_EndRoundFrame ();
|
||||||
}
|
}
|
||||||
|
@ -3040,7 +3042,7 @@ static void Svy_WriteAnswersOfAQst (struct Survey *Svy,struct SurveyQuestion *Sv
|
||||||
/***** Write the answers *****/
|
/***** Write the answers *****/
|
||||||
if (NumAnswers)
|
if (NumAnswers)
|
||||||
{
|
{
|
||||||
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_5\" style=\"width:100%%;\">");
|
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_5\">");
|
||||||
for (NumAns = 0;
|
for (NumAns = 0;
|
||||||
NumAns < NumAnswers;
|
NumAns < NumAnswers;
|
||||||
NumAns++)
|
NumAns++)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user