mirror of https://github.com/acanas/swad-core.git
Version19.188.1
This commit is contained in:
parent
e682976b35
commit
7d20df7447
|
@ -0,0 +1 @@
|
||||||
|
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="address-card" class="svg-inline--fa fa-address-card fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="#404040" d="M528 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-352 96c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm112 236.8c0 10.6-10 19.2-22.4 19.2H86.4C74 384 64 375.4 64 364.8v-19.2c0-31.8 30.1-57.6 67.2-57.6h5c12.3 5.1 25.7 8 39.8 8s27.6-2.9 39.8-8h5c37.1 0 67.2 25.8 67.2 57.6v19.2zM512 312c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-64c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-64c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16z"></path></svg>
|
After Width: | Height: | Size: 853 B |
|
@ -0,0 +1 @@
|
||||||
|
<svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="address-card" class="svg-inline--fa fa-address-card fa-w-18" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="#404040" d="M528 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-352 96c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm112 236.8c0 10.6-10 19.2-22.4 19.2H86.4C74 384 64 375.4 64 364.8v-19.2c0-31.8 30.1-57.6 67.2-57.6h5c12.3 5.1 25.7 8 39.8 8s27.6-2.9 39.8-8h5c37.1 0 67.2 25.8 67.2 57.6v19.2zM512 312c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-64c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-64c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16z"></path></svg>
|
After Width: | Height: | Size: 853 B |
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 40 KiB |
|
@ -1668,7 +1668,7 @@ const struct Act_Actions Act_Actions[Act_NUM_ACTIONS] =
|
||||||
[ActSeeMyTT ] = { 408, 2,TabPrf,ActSeeMyTT ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,TT_ShowClassTimeTable ,"clock" },
|
[ActSeeMyTT ] = { 408, 2,TabPrf,ActSeeMyTT ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,TT_ShowClassTimeTable ,"clock" },
|
||||||
[ActSeeMyAgd ] = {1602, 3,TabPrf,ActSeeMyAgd ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Agd_GetParamsAndShowMyAgenda ,"calendar" },
|
[ActSeeMyAgd ] = {1602, 3,TabPrf,ActSeeMyAgd ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Agd_GetParamsAndShowMyAgenda ,"calendar" },
|
||||||
[ActFrmMyAcc ] = { 36, 4,TabPrf,ActFrmMyAcc ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Acc_ShowFormMyAccount ,"at" },
|
[ActFrmMyAcc ] = { 36, 4,TabPrf,ActFrmMyAcc ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Acc_ShowFormMyAccount ,"at" },
|
||||||
[ActReqEdiRecSha ] = { 285, 5,TabPrf,ActReqEdiRecSha ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Rec_ShowMySharedRecordAndMore ,"card" },
|
[ActReqEdiRecSha ] = { 285, 5,TabPrf,ActReqEdiRecSha ,0x3F8,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,0x3C6,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Rec_ShowMySharedRecordAndMore ,"address-card" },
|
||||||
[ActReqEdiSet ] = { 673, 6,TabPrf,ActReqEdiSet ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Set_EditSettings ,"cog" },
|
[ActReqEdiSet ] = { 673, 6,TabPrf,ActReqEdiSet ,0x3F8,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,0x3C7,Act_CONT_NORM,Act_BRW_1ST_TAB,NULL ,Set_EditSettings ,"cog" },
|
||||||
|
|
||||||
// Actions not in menu:
|
// Actions not in menu:
|
||||||
|
|
|
@ -750,12 +750,12 @@ static void Agd_PutIconsOtherPublicAgenda (void *EncryptedUsrCod)
|
||||||
/* View student's records: common record card and course record card */
|
/* View student's records: common record card and course record card */
|
||||||
Lay_PutContextualLinkOnlyIcon (ActSeeRecOneStd,NULL,
|
Lay_PutContextualLinkOnlyIcon (ActSeeRecOneStd,NULL,
|
||||||
Usr_PutParamOtherUsrCodEncrypted,EncryptedUsrCod,
|
Usr_PutParamOtherUsrCodEncrypted,EncryptedUsrCod,
|
||||||
"card.svg",
|
"address-card.svg",
|
||||||
Txt_View_record_for_this_course);
|
Txt_View_record_for_this_course);
|
||||||
else if (Usr_CheckIfICanViewRecordTch (&Gbl.Usrs.Other.UsrDat))
|
else if (Usr_CheckIfICanViewRecordTch (&Gbl.Usrs.Other.UsrDat))
|
||||||
Lay_PutContextualLinkOnlyIcon (ActSeeRecOneTch,NULL,
|
Lay_PutContextualLinkOnlyIcon (ActSeeRecOneTch,NULL,
|
||||||
Usr_PutParamOtherUsrCodEncrypted,EncryptedUsrCod,
|
Usr_PutParamOtherUsrCodEncrypted,EncryptedUsrCod,
|
||||||
"card.svg",
|
"address-card.svg",
|
||||||
Txt_View_record_and_office_hours);
|
Txt_View_record_and_office_hours);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -497,7 +497,7 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
|
||||||
En OpenSWAD:
|
En OpenSWAD:
|
||||||
ps2pdf source.ps destination.pdf
|
ps2pdf source.ps destination.pdf
|
||||||
*/
|
*/
|
||||||
#define Log_PLATFORM_VERSION "SWAD 19.188 (2020-04-15)"
|
#define Log_PLATFORM_VERSION "SWAD 19.188.1 (2020-04-16)"
|
||||||
#define CSS_FILE "swad19.187.css"
|
#define CSS_FILE "swad19.187.css"
|
||||||
#define JS_FILE "swad19.172.1.js"
|
#define JS_FILE "swad19.172.1.js"
|
||||||
/*
|
/*
|
||||||
|
@ -547,6 +547,13 @@ Funci
|
||||||
// TODO: Miguel Damas: al principio de los exámenes tendría que poner cuánto resta cada pregunta
|
// TODO: Miguel Damas: al principio de los exámenes tendría que poner cuánto resta cada pregunta
|
||||||
// TODO: Oresti Baños: cambiar ojos por candados en descriptores para prohibir/permitir y dejar los ojos para poder elegir descriptores
|
// TODO: Oresti Baños: cambiar ojos por candados en descriptores para prohibir/permitir y dejar los ojos para poder elegir descriptores
|
||||||
// TODO: Integrar pull requests con traducciones del alemán del usuario eruedin en GitHub
|
// TODO: Integrar pull requests con traducciones del alemán del usuario eruedin en GitHub
|
||||||
|
// TODO: Cambiar icono de inicio a "house-user.svg", notificaciones nuevas con "bell-on.svg"
|
||||||
|
|
||||||
|
Version 19.188.1: Apr 16, 2020 Changed some icons. (287746 lines)
|
||||||
|
Copy the following icons to icon public directory:
|
||||||
|
sudo cp icon/address-card.svg /var/www/html/swad/icon/
|
||||||
|
sudo cp icon/iconset/awesome/address-card.svg /var/www/html/swad/icon/iconset/awesome/
|
||||||
|
sudo cp icon/iconset/nuvola/address-card.svg /var/www/html/swad/icon/iconset/nuvola/
|
||||||
|
|
||||||
Version 19.188: Apr 15, 2020 Changes in listing and edition of rooms. (287713 lines)
|
Version 19.188: Apr 15, 2020 Changes in listing and edition of rooms. (287713 lines)
|
||||||
1 change necessary in database:
|
1 change necessary in database:
|
||||||
|
|
|
@ -2474,12 +2474,12 @@ static void Rec_PutIconsCommands (__attribute__((unused)) void *Args)
|
||||||
/* View student's records: common record card and course record card */
|
/* View student's records: common record card and course record card */
|
||||||
Lay_PutContextualLinkOnlyIcon (ActSeeRecOneStd,NULL,
|
Lay_PutContextualLinkOnlyIcon (ActSeeRecOneStd,NULL,
|
||||||
Rec_PutParamUsrCodEncrypted,NULL,
|
Rec_PutParamUsrCodEncrypted,NULL,
|
||||||
"card.svg",
|
"address-card.svg",
|
||||||
Txt_View_record_for_this_course);
|
Txt_View_record_for_this_course);
|
||||||
else if (Usr_CheckIfICanViewRecordTch (Gbl.Record.UsrDat))
|
else if (Usr_CheckIfICanViewRecordTch (Gbl.Record.UsrDat))
|
||||||
Lay_PutContextualLinkOnlyIcon (ActSeeRecOneTch,NULL,
|
Lay_PutContextualLinkOnlyIcon (ActSeeRecOneTch,NULL,
|
||||||
Rec_PutParamUsrCodEncrypted,NULL,
|
Rec_PutParamUsrCodEncrypted,NULL,
|
||||||
"card.svg",
|
"address-card.svg",
|
||||||
Txt_View_record_and_office_hours);
|
Txt_View_record_and_office_hours);
|
||||||
|
|
||||||
/***** Button to view user's agenda *****/
|
/***** Button to view user's agenda *****/
|
||||||
|
|
28
swad_room.h
28
swad_room.h
|
@ -44,6 +44,34 @@
|
||||||
#define Roo_UNLIMITED_CAPACITY INT_MAX // This number can be stored in database as an integer...
|
#define Roo_UNLIMITED_CAPACITY INT_MAX // This number can be stored in database as an integer...
|
||||||
// ...and means that a room has no limited capacity
|
// ...and means that a room has no limited capacity
|
||||||
|
|
||||||
|
typedef enum
|
||||||
|
{
|
||||||
|
Roo_ADMINISTRATION = 0, // "user-tie.svg" // "Administración"
|
||||||
|
Roo_AUDITORIUM = 1, // "landmark.svg" "university.svg" "theater-masks.svg" // "Auditorio"
|
||||||
|
Roo_CAFETERIA = 2, // "coffee.svg" "mug-hot.svg" // "Cafetería"
|
||||||
|
Roo_CANTEEN = 3, // "utensils.svg" // "Comedor"
|
||||||
|
Roo_CLASSROOM = 4, // "chalkboard-teacher.svg" "chalkboard.svg" // "Aula"
|
||||||
|
Roo_CONCIERGE = 5, // "concierge-bell" "user-cog.svg" "house-user.svg" // "Conserjería/Portería"
|
||||||
|
Roo_CORRIDOR = 6, // "walking.svg" "map-signs.svg" "door-open.svg" // "Pasillo"
|
||||||
|
Roo_GYM = 7, // "dumbbell.svg" // "Gimnasio"
|
||||||
|
Roo_HALL = 8, // "map-signs.svg" "archway.svg" "hotel.svg" "concierge-bell.svg" "door-open.svg" "street-view.svg" // "Vestíbulo"
|
||||||
|
Roo_KINDERGARTEN = 9, // "child.svg" "baby.svg" "baby-carriage.svg" // "Guardería"
|
||||||
|
Roo_LABORATORY = 10, // "flask.svg" "microscope.svg" // "Laboratorio"
|
||||||
|
Roo_LIBRARY = 11, // "book.svg" "book-reader.svg" // "Biblioteca"
|
||||||
|
Roo_OFFICE = 12, // "house-user.svg" "door-open.svg" // "Oficina/Despacho"
|
||||||
|
Roo_OUTDOORS = 13, // "cloud-sun.svg" // "Exteriores"
|
||||||
|
Roo_PARKING = 14, // "car.svg" // "Parking"
|
||||||
|
Roo_PAVILION = 15, // "volleyball-ball.svg" "running.svg" // "Pabellón"
|
||||||
|
Roo_ROOM = 16, // // "Sala"
|
||||||
|
Roo_SECRETARIAT = 17, // "stamp.svg" "pen-alt.svg" "file-alt.svg" "user-tie.svg" // "Secretaría"
|
||||||
|
Roo_SEMINAR = 18, // "chalkboard-teacher.svg" "chalkboard.svg" // "Seminario"
|
||||||
|
Roo_SHOP = 19, // "shopping-cart.svg" "shopping-basket.svg" "store-alt.svg" shopping-bag // "Tienda"
|
||||||
|
Roo_STORE = 20, // "daily.svg" "boxes.svg" "box-open.svg" "box.svg" // "Almacén"
|
||||||
|
Roo_TOILETS = 21, // "toilet.svg" // "Aseos"
|
||||||
|
Roo_VIRTUAL = 22, // "laptop-house.svg" "cloud.svg" // "Virtual"
|
||||||
|
Roo_YARD = 23, // "canadian-mapple-leaf.svg" // "Patio/Jardín"
|
||||||
|
} Roo_RoomType_t;
|
||||||
|
|
||||||
struct Roo_Room
|
struct Roo_Room
|
||||||
{
|
{
|
||||||
long RooCod; // Room code
|
long RooCod; // Room code
|
||||||
|
|
Loading…
Reference in New Issue