Version 22.101.9: Apr 21, 2023 Changes in edition of countries, links, banners, institutions, centers, places, degrees, degree types, buildings, rooms and courses.

This commit is contained in:
acanas 2023-04-21 00:30:34 +02:00
parent 36674253f1
commit 950d43d7b6
15 changed files with 28 additions and 75 deletions

View File

@ -357,7 +357,8 @@ static void Ban_GetBannerDataFromRow (MYSQL_RES *mysql_res,
static void Ban_PutIconsEditingBanners (__attribute__((unused)) void *Args) static void Ban_PutIconsEditingBanners (__attribute__((unused)) void *Args)
{ {
/***** Put icon to view banners *****/ /***** Put icon to view banners *****/
Ban_PutIconToViewBanners (); Ico_PutContextualIconToView (ActSeeBan,NULL,
NULL,NULL);
/***** Put icon to view links *****/ /***** Put icon to view links *****/
Lnk_PutIconToViewLinks (); Lnk_PutIconToViewLinks ();

View File

@ -277,18 +277,8 @@ static void Bld_EditBuildingsInternal (void)
static void Bld_PutIconsEditingBuildings (__attribute__((unused)) void *Args) static void Bld_PutIconsEditingBuildings (__attribute__((unused)) void *Args)
{ {
/***** Put icon to view buildings *****/ /***** Put icon to view buildings *****/
Bld_PutIconToViewBuildings (); Ico_PutContextualIconToView (ActSeeBld,NULL,
} NULL,NULL);
/*****************************************************************************/
/************************ Put icon to view buildings *************************/
/*****************************************************************************/
void Bld_PutIconToViewBuildings (void)
{
Lay_PutContextualLinkOnlyIcon (ActSeeBld,NULL,
NULL,NULL,
"building.svg",Ico_BLACK);
} }
/*****************************************************************************/ /*****************************************************************************/

View File

@ -82,7 +82,6 @@ void Bld_ResetBuildings (struct Bld_Buildings *Buildings);
void Bld_SeeBuildings (void); void Bld_SeeBuildings (void);
void Bld_EditBuildings (void); void Bld_EditBuildings (void);
void Bld_PutIconToViewBuildings (void);
void Bld_GetListBuildings (struct Bld_Buildings *Buildings, void Bld_GetListBuildings (struct Bld_Buildings *Buildings,
Bld_WhichData_t WhichData); Bld_WhichData_t WhichData);
void Bld_FreeListBuildings (struct Bld_Buildings *Buildings); void Bld_FreeListBuildings (struct Bld_Buildings *Buildings);

View File

@ -472,7 +472,8 @@ static void Ctr_EditCentersInternal (void)
static void Ctr_PutIconsEditingCenters (__attribute__((unused)) void *Args) static void Ctr_PutIconsEditingCenters (__attribute__((unused)) void *Args)
{ {
/***** Put icon to view centers *****/ /***** Put icon to view centers *****/
Ctr_PutIconToViewCenters (); Ico_PutContextualIconToView (ActSeeCtr,NULL,
NULL,NULL);
/***** Put icon to view places *****/ /***** Put icon to view places *****/
Plc_PutIconToViewPlaces (); Plc_PutIconToViewPlaces ();

View File

@ -629,10 +629,11 @@ TODO: Emilce Barrera Mesa: Podr
TODO: Emilce Barrera Mesa: Mis estudiantes presentan muchas dificultades a la hora de poner la foto porque la plataforma es muy exigente respecto al fondo de la imagen. TODO: Emilce Barrera Mesa: Mis estudiantes presentan muchas dificultades a la hora de poner la foto porque la plataforma es muy exigente respecto al fondo de la imagen.
*/ */
#define Log_PLATFORM_VERSION "SWAD 22.101.8 (2023-04-20)" #define Log_PLATFORM_VERSION "SWAD 22.101.9 (2023-04-21)"
#define CSS_FILE "swad22.95.css" #define CSS_FILE "swad22.95.css"
#define JS_FILE "swad22.49.js" #define JS_FILE "swad22.49.js"
/* /*
Version 22.101.9: Apr 21, 2023 Changes in edition of countries, links, banners, institutions, centers, places, degrees, degree types, buildings, rooms and courses. (337313 lines)
Version 22.101.8: Apr 20, 2023 Changes in edition of rubrics, degree types and departments. (337350 lines) Version 22.101.8: Apr 20, 2023 Changes in edition of rubrics, degree types and departments. (337350 lines)
Version 22.101.7: Apr 20, 2023 Changes in edition of exams and games. (337342 lines) Version 22.101.7: Apr 20, 2023 Changes in edition of exams and games. (337342 lines)
Version 22.101.6: Apr 20, 2023 Changes in edition of program items. (337370 lines) Version 22.101.6: Apr 20, 2023 Changes in edition of program items. (337370 lines)

View File

@ -77,7 +77,6 @@ static void Cty_GetParCtyOrder (void);
static void Cty_EditCountriesInternal (void); static void Cty_EditCountriesInternal (void);
static void Cty_PutIconsEditingCountries (__attribute__((unused)) void *Args); static void Cty_PutIconsEditingCountries (__attribute__((unused)) void *Args);
static void Cty_PutIconToViewCountries (void);
static void Cty_ListCountriesForEdition (void); static void Cty_ListCountriesForEdition (void);
static void Cty_PutParOthCtyCod (void *CtyCod); static void Cty_PutParOthCtyCod (void *CtyCod);
@ -718,23 +717,13 @@ static void Cty_EditCountriesInternal (void)
static void Cty_PutIconsEditingCountries (__attribute__((unused)) void *Args) static void Cty_PutIconsEditingCountries (__attribute__((unused)) void *Args)
{ {
/***** Put icon to view countries *****/ /***** Put icon to view countries *****/
Cty_PutIconToViewCountries (); Ico_PutContextualIconToView (ActSeeCty,NULL,
NULL,NULL);
/***** Put icon to show a figure *****/ /***** Put icon to show a figure *****/
Fig_PutIconToShowFigure (Fig_HIERARCHY); Fig_PutIconToShowFigure (Fig_HIERARCHY);
} }
/*****************************************************************************/
/************************ Put icon to view countries *************************/
/*****************************************************************************/
static void Cty_PutIconToViewCountries (void)
{
Lay_PutContextualLinkOnlyIcon (ActSeeCty,NULL,
NULL,NULL,
"globe-americas.svg",Ico_BLACK);
}
/*****************************************************************************/ /*****************************************************************************/
/********** Get basic list of countries ordered by name of country ***********/ /********** Get basic list of countries ordered by name of country ***********/
/*****************************************************************************/ /*****************************************************************************/

View File

@ -100,7 +100,6 @@ static bool Crs_ListCoursesOfAYearForSeeing (unsigned Year);
static void Crs_EditCoursesInternal (void); static void Crs_EditCoursesInternal (void);
static void Crs_PutIconsEditingCourses (__attribute__((unused)) void *Args); static void Crs_PutIconsEditingCourses (__attribute__((unused)) void *Args);
static void Crs_PutIconToViewCourses (void);
static void Crs_ListCoursesForEdition (void); static void Crs_ListCoursesForEdition (void);
static void Crs_ListCoursesOfAYearForEdition (unsigned Year); static void Crs_ListCoursesOfAYearForEdition (unsigned Year);
static bool Crs_CheckIfICanEdit (struct Crs_Course *Crs); static bool Crs_CheckIfICanEdit (struct Crs_Course *Crs);
@ -1070,24 +1069,14 @@ static void Crs_EditCoursesInternal (void)
static void Crs_PutIconsEditingCourses (__attribute__((unused)) void *Args) static void Crs_PutIconsEditingCourses (__attribute__((unused)) void *Args)
{ {
/***** Put icon to view degrees *****/ /***** Put icon to view courses *****/
Crs_PutIconToViewCourses (); Ico_PutContextualIconToView (ActSeeCrs,NULL,
NULL,NULL);
/***** Put icon to show a figure *****/ /***** Put icon to show a figure *****/
Fig_PutIconToShowFigure (Fig_HIERARCHY); Fig_PutIconToShowFigure (Fig_HIERARCHY);
} }
/*****************************************************************************/
/************************* Put icon to view courses **************************/
/*****************************************************************************/
static void Crs_PutIconToViewCourses (void)
{
Lay_PutContextualLinkOnlyIcon (ActSeeCrs,NULL,
NULL,NULL,
"chalkboard-teacher.svg",Ico_BLACK);
}
/*****************************************************************************/ /*****************************************************************************/
/********************* List current courses for edition **********************/ /********************* List current courses for edition **********************/
/*****************************************************************************/ /*****************************************************************************/

View File

@ -931,7 +931,8 @@ static void Deg_EditDegreesInternal (void)
static void Deg_PutIconsEditingDegrees (__attribute__((unused)) void *Args) static void Deg_PutIconsEditingDegrees (__attribute__((unused)) void *Args)
{ {
/***** Put icon to view degrees *****/ /***** Put icon to view degrees *****/
Deg_PutIconToViewDegrees (); Ico_PutContextualIconToView (ActSeeDeg,NULL,
NULL,NULL);
/***** Put icon to view types of degree *****/ /***** Put icon to view types of degree *****/
DegTyp_PutIconToViewDegreeTypes (); DegTyp_PutIconToViewDegreeTypes ();

View File

@ -297,7 +297,8 @@ static void DegTyp_EditDegreeTypesInternal (const struct DegTyp_DegTypes *DegTyp
static void DegTyp_PutIconsEditingDegreeTypes (__attribute__((unused)) void *Args) static void DegTyp_PutIconsEditingDegreeTypes (__attribute__((unused)) void *Args)
{ {
/***** Put icon to view degree types *****/ /***** Put icon to view degree types *****/
DegTyp_PutIconToViewDegreeTypes (); Ico_PutContextualIconToView (ActSeeDegTyp,NULL,
NULL,NULL);
/***** Put icon to view degrees *****/ /***** Put icon to view degrees *****/
Deg_PutIconToViewDegrees (); Deg_PutIconToViewDegrees ();

View File

@ -254,8 +254,9 @@ static void Hld_PutIconsSeeHolidays (__attribute__((unused)) void *Args)
static void Hld_PutIconsEditHolidays (__attribute__((unused)) void *Args) static void Hld_PutIconsEditHolidays (__attribute__((unused)) void *Args)
{ {
/***** See holidays *****/ /***** Put icon to view holidays *****/
Hld_PutIconToSeeHlds (); Ico_PutContextualIconToView (ActSeeHld,NULL,
NULL,NULL);
/***** View calendar *****/ /***** View calendar *****/
Cal_PutIconToSeeCalendar (); Cal_PutIconToSeeCalendar ();

View File

@ -83,7 +83,6 @@ static void Ins_GetParInsOrder (void);
static void Ins_EditInstitutionsInternal (void); static void Ins_EditInstitutionsInternal (void);
static void Ins_PutIconsEditingInstitutions (__attribute__((unused)) void *Args); static void Ins_PutIconsEditingInstitutions (__attribute__((unused)) void *Args);
static void Ins_PutIconToViewInstitutions (void);
static void Ins_GetInstitDataFromRow (MYSQL_RES *mysql_res, static void Ins_GetInstitDataFromRow (MYSQL_RES *mysql_res,
struct Ins_Instit *Ins, struct Ins_Instit *Ins,
@ -562,23 +561,13 @@ static void Ins_EditInstitutionsInternal (void)
static void Ins_PutIconsEditingInstitutions (__attribute__((unused)) void *Args) static void Ins_PutIconsEditingInstitutions (__attribute__((unused)) void *Args)
{ {
/***** Put icon to view institutions *****/ /***** Put icon to view institutions *****/
Ins_PutIconToViewInstitutions (); Ico_PutContextualIconToView (ActSeeIns,NULL,
NULL,NULL);
/***** Put icon to show a figure *****/ /***** Put icon to show a figure *****/
Fig_PutIconToShowFigure (Fig_INSTITS); Fig_PutIconToShowFigure (Fig_INSTITS);
} }
/*****************************************************************************/
/*********************** Put icon to view institutions ***********************/
/*****************************************************************************/
static void Ins_PutIconToViewInstitutions (void)
{
Lay_PutContextualLinkOnlyIcon (ActSeeIns,NULL,
NULL,NULL,
"university.svg",Ico_BLACK);
}
/*****************************************************************************/ /*****************************************************************************/
/******* Get basic list of institutions ordered by name of institution *******/ /******* Get basic list of institutions ordered by name of institution *******/
/*****************************************************************************/ /*****************************************************************************/

View File

@ -276,7 +276,8 @@ static void Lnk_EditLinksInternal (void)
static void Lnk_PutIconsEditingLinks (__attribute__((unused)) void *Args) static void Lnk_PutIconsEditingLinks (__attribute__((unused)) void *Args)
{ {
/***** Put icon to view links *****/ /***** Put icon to view links *****/
Lnk_PutIconToViewLinks (); Ico_PutContextualIconToView (ActSeeLnk,NULL,
NULL,NULL);
/***** Put icon to view banners *****/ /***** Put icon to view banners *****/
Ban_PutIconToViewBanners (); Ban_PutIconToViewBanners ();

View File

@ -321,7 +321,8 @@ static void Plc_EditPlacesInternal (void)
static void Plc_PutIconsEditingPlaces (__attribute__((unused)) void *Args) static void Plc_PutIconsEditingPlaces (__attribute__((unused)) void *Args)
{ {
/***** Put icon to view places *****/ /***** Put icon to view places *****/
Plc_PutIconToViewPlaces (); Ico_PutContextualIconToView (ActSeePlc,NULL,
NULL,NULL);
/***** Put icon to view centers *****/ /***** Put icon to view centers *****/
Ctr_PutIconToViewCenters (); Ctr_PutIconToViewCenters ();

View File

@ -462,18 +462,8 @@ static void Roo_EditRoomsInternal (void)
static void Roo_PutIconsEditingRooms (__attribute__((unused)) void *Args) static void Roo_PutIconsEditingRooms (__attribute__((unused)) void *Args)
{ {
/***** Put icon to view rooms *****/ /***** Put icon to view rooms *****/
Roo_PutIconToViewRooms (); Ico_PutContextualIconToView (ActSeeRoo,NULL,
} NULL,NULL);
/*****************************************************************************/
/************************** Put icon to view rooms ***************************/
/*****************************************************************************/
void Roo_PutIconToViewRooms (void)
{
Lay_PutContextualLinkOnlyIcon (ActSeeRoo,NULL,
NULL,NULL,
"chalkboard-teacher.svg",Ico_BLACK);
} }
/*****************************************************************************/ /*****************************************************************************/

View File

@ -124,7 +124,6 @@ void Roo_ResetRooms (struct Roo_Rooms *Rooms);
void Roo_SeeRooms (void); void Roo_SeeRooms (void);
void Roo_ChangeMAC (void); void Roo_ChangeMAC (void);
void Roo_EditRooms (void); void Roo_EditRooms (void);
void Roo_PutIconToViewRooms (void);
void Roo_GetListRooms (struct Roo_Rooms *Rooms,Roo_WhichData_t WhichData); void Roo_GetListRooms (struct Roo_Rooms *Rooms,Roo_WhichData_t WhichData);
void Roo_FreeListRooms (struct Roo_Rooms *Rooms); void Roo_FreeListRooms (struct Roo_Rooms *Rooms);