Version 18.2.10

This commit is contained in:
Antonio Cañas Vargas 2018-10-09 13:08:41 +02:00
parent bcc1c535c5
commit 340a5796e1
2 changed files with 9 additions and 13 deletions

View File

@ -355,10 +355,11 @@ En OpenSWAD:
ps2pdf source.ps destination.pdf
*/
#define Log_PLATFORM_VERSION "SWAD 18.2.9 (2018-10-09)"
#define Log_PLATFORM_VERSION "SWAD 18.2.10 (2018-10-09)"
#define CSS_FILE "swad18.2.2.css"
#define JS_FILE "swad17.17.1.js"
/*
Version 18.2.10: Oct 09, 2018 Button to search courses is moved to left top corner of my courses. (234888 lines)
Version 18.2.9: Oct 09, 2018 Changes in layout of user's record card. (234891 lines)
Version 18.2.8: Oct 09, 2018 Changes in edition of user's photo. (234889 lines)
Version 18.2.7: Oct 09, 2018 Changes in edition of preferences about privacy. (234872 lines)

View File

@ -120,7 +120,7 @@ static void Crs_UpdateCrsNameDB (long CrsCod,const char *FieldName,const char *N
static void Crs_PutButtonToGoToCrs (void);
static void Crs_PutButtonToRegisterInCrs (void);
static void Crs_PutLinkToSearchCourses (void);
static void Crs_PutIconToSearchCourses (void);
static void Sch_PutLinkToSearchCoursesParams (void);
static void Crs_PutParamOtherCrsCod (long CrsCod);
@ -547,7 +547,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void)
sprintf (ClassHighlight,"%s LIGHT_BLUE",The_ClassFormDark[Gbl.Prefs.Theme]);
/***** Start box *****/
Box_StartBox (NULL,Txt_My_courses,NULL,
Box_StartBox (NULL,Txt_My_courses,Crs_PutIconToSearchCourses,
Hlp_PROFILE_Courses,Box_NOT_CLOSABLE);
fprintf (Gbl.F.Out,"<ul class=\"LIST_LEFT\">");
@ -2877,15 +2877,10 @@ static void Crs_PutButtonToRegisterInCrs (void)
void Crs_ReqSelectOneOfMyCourses (void)
{
/***** Search / select more courses *****/
fprintf (Gbl.F.Out,"<div class=\"CONTEXT_MENU\">");
Crs_PutLinkToSearchCourses ();
fprintf (Gbl.F.Out,"</div>");
/***** Select one of my courses *****/
/* Fill the list with the courses I belong to, if not filled */
/***** Fill the list with the courses I belong to, if not filled *****/
Usr_GetMyCourses ();
/***** Select one of my courses *****/
if (Gbl.Usrs.Me.MyCrss.Num)
/* Show my courses */
Crs_WriteListMyCoursesToSelectOne ();
@ -2895,10 +2890,10 @@ void Crs_ReqSelectOneOfMyCourses (void)
}
/*****************************************************************************/
/******************* Put a link (form) to search courses *********************/
/******************* Put an icon (form) to search courses ********************/
/*****************************************************************************/
static void Crs_PutLinkToSearchCourses (void)
static void Crs_PutIconToSearchCourses (void)
{
extern const char *Txt_Search_courses;
@ -2911,7 +2906,7 @@ static void Crs_PutLinkToSearchCourses (void)
ActSysReqSch)))),
NULL,Sch_PutLinkToSearchCoursesParams,
"search64x64.gif",
Txt_Search_courses,Txt_Search_courses,
Txt_Search_courses,NULL,
NULL);
}