mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-01 22:35:28 +02:00
Version 15.74.8
This commit is contained in:
parent
5d97fd9d92
commit
c8b3b0cf64
|
@ -114,12 +114,13 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 15.74.7 (2015-12-26)"
|
#define Log_PLATFORM_VERSION "SWAD 15.74.8 (2015-12-28)"
|
||||||
#define CSS_FILE "swad15.74.3.css"
|
#define CSS_FILE "swad15.74.3.css"
|
||||||
|
|
||||||
// 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 15.74.8: Dec 26, 2015 "Course" is moved to the top of the menu used to go directly to my courses. (187564 lines)
|
||||||
Version 15.74.7: Dec 26, 2015 Changes in small icons. (187563 lines)
|
Version 15.74.7: Dec 26, 2015 Changes in small icons. (187563 lines)
|
||||||
Version 15.74.6: Dec 26, 2015 Reply icon is shown without text. (187562 lines)
|
Version 15.74.6: Dec 26, 2015 Reply icon is shown without text. (187562 lines)
|
||||||
Version 15.74.5: Dec 26, 2015 Text in link to remove messages is now shorter.
|
Version 15.74.5: Dec 26, 2015 Text in link to remove messages is now shorter.
|
||||||
|
|
|
@ -1092,6 +1092,14 @@ void Crs_WriteSelectorMyCourses (void)
|
||||||
" onchange=\"document.getElementById('%s').submit();\">",
|
" onchange=\"document.getElementById('%s').submit();\">",
|
||||||
Gbl.FormId);
|
Gbl.FormId);
|
||||||
|
|
||||||
|
/***** Write an option when no course selected *****/
|
||||||
|
if (Gbl.CurrentCrs.Crs.CrsCod <= 0)
|
||||||
|
fprintf (Gbl.F.Out,"<option value=\"-1\" disabled=\"disabled\""
|
||||||
|
" selected=\"selected\">"
|
||||||
|
"%s"
|
||||||
|
"</option>",
|
||||||
|
Txt_Course);
|
||||||
|
|
||||||
if (Gbl.Usrs.Me.MyCourses.Num)
|
if (Gbl.Usrs.Me.MyCourses.Num)
|
||||||
{
|
{
|
||||||
/***** Write an option for each of my courses *****/
|
/***** Write an option for each of my courses *****/
|
||||||
|
@ -1141,13 +1149,6 @@ void Crs_WriteSelectorMyCourses (void)
|
||||||
Gbl.CurrentCrs.Crs.ShortName);
|
Gbl.CurrentCrs.Crs.ShortName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
|
||||||
/***** Write an option with no course selected *****/
|
|
||||||
fprintf (Gbl.F.Out,"<option value=\"-1\" disabled=\"disabled\""
|
|
||||||
" selected=\"selected\">"
|
|
||||||
"%s"
|
|
||||||
"</option>",
|
|
||||||
Txt_Course);
|
|
||||||
|
|
||||||
/***** End form *****/
|
/***** End form *****/
|
||||||
fprintf (Gbl.F.Out,"</select>");
|
fprintf (Gbl.F.Out,"</select>");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user