diff --git a/Makefile b/Makefile index 27ff17615..c1d5498c4 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ OBJS = swad_account.o swad_action.o swad_agenda.o swad_announcement.o \ swad_help.o swad_hierarchy.o swad_holiday.o \ swad_icon.o swad_ID.o swad_image.o swad_indicator.o \ swad_info.o swad_institution.o \ - swad_layout.o swad_link.o swad_logo.o \ + swad_layout.o swad_link.o swad_location.o swad_logo.o \ swad_mail.o swad_main.o swad_mark.o swad_menu.o swad_message.o \ swad_MFU.o \ swad_network.o swad_nickname.o swad_notice.o swad_notification.o \ diff --git a/icon/iconset/awesome/action64x64/mapmarker64x64.png b/icon/iconset/awesome/action64x64/mapmarker64x64.png new file mode 100644 index 000000000..32d61a7ed Binary files /dev/null and b/icon/iconset/awesome/action64x64/mapmarker64x64.png differ diff --git a/icon/iconset/nuvola/action64x64/mapmarker64x64.png b/icon/iconset/nuvola/action64x64/mapmarker64x64.png new file mode 100644 index 000000000..823867c6e Binary files /dev/null and b/icon/iconset/nuvola/action64x64/mapmarker64x64.png differ diff --git a/icon/mapmarker64x64.png b/icon/mapmarker64x64.png new file mode 100644 index 000000000..32d61a7ed Binary files /dev/null and b/icon/mapmarker64x64.png differ diff --git a/swad_action.c b/swad_action.c index e2173366f..25e23f9ab 100644 --- a/swad_action.c +++ b/swad_action.c @@ -49,6 +49,7 @@ #include "swad_global.h" #include "swad_ID.h" #include "swad_indicator.h" +#include "swad_location.h" #include "swad_mail.h" #include "swad_mark.h" #include "swad_MFU.h" @@ -1327,97 +1328,98 @@ Profile: 1141. ActMyCrs Select one of my courses 1142. ActSeeMyTT Show the timetable of all courses of the logged user 1143. ActSeeMyAgd Show my agenda (personal organizer) - 1144. ActFrmMyAcc Show form to the creation or change of user's account - 1145. ActReqEdiRecCom Request the edition of the record with the personal data of the user - 1146. ActEdiPrf Show forms to edit preferences - 1147. ActAdmBrf Show the briefcase of private archives + 1144. ActSeeMyLoc Show my location + 1145. ActFrmMyAcc Show form to the creation or change of user's account + 1146. ActReqEdiRecCom Request the edition of the record with the personal data of the user + 1147. ActEdiPrf Show forms to edit preferences + 1148. ActAdmBrf Show the briefcase of private archives - 1148. ActReqSndNewPwd Show form to send a new password via email - 1149. ActSndNewPwd Send a new password via email - 1150. ActLogOut Close session + 1149. ActReqSndNewPwd Show form to send a new password via email + 1150. ActSndNewPwd Send a new password via email + 1151. ActLogOut Close session - 1151. ActAutUsrInt Authentify user internally (directly from the platform) - 1152. ActAutUsrNew Authentify user internally (directly from the platform, only if user has not password) - 1153. ActAutUsrChgLan Change language to my language just after authentication - 1154. ActAnnSee Mark announcement as seen - 1155. ActChgMyRol Change type of logged user + 1152. ActAutUsrInt Authentify user internally (directly from the platform) + 1153. ActAutUsrNew Authentify user internally (directly from the platform, only if user has not password) + 1154. ActAutUsrChgLan Change language to my language just after authentication + 1155. ActAnnSee Mark announcement as seen + 1156. ActChgMyRol Change type of logged user - 1156. ActChkUsrAcc Check if already exists a new account without password associated to a ID - 1157. ActCreUsrAcc Create new user account - 1158. ActRemID_Me Remove one of my user's IDs - 1159. ActNewIDMe Create a new user's ID for me - 1160. ActRemOldNic Remove one of my old nicknames - 1161. ActChgNic Change my nickname - 1162. ActRemMaiMe Remove one of my old emails - 1163. ActNewMaiMe Change my email address - 1164. ActCnfMai Confirm email address - 1165. ActFrmChgMyPwd Show form to the change of the password - 1166. ActChgPwd Change the password - 1167. ActReqRemMyAcc Request the removal of my account - 1168. ActRemMyAcc Remove my account + 1157. ActChkUsrAcc Check if already exists a new account without password associated to a ID + 1158. ActCreUsrAcc Create new user account + 1159. ActRemID_Me Remove one of my user's IDs + 1160. ActNewIDMe Create a new user's ID for me + 1161. ActRemOldNic Remove one of my old nicknames + 1162. ActChgNic Change my nickname + 1163. ActRemMaiMe Remove one of my old emails + 1164. ActNewMaiMe Change my email address + 1165. ActCnfMai Confirm email address + 1166. ActFrmChgMyPwd Show form to the change of the password + 1167. ActChgPwd Change the password + 1168. ActReqRemMyAcc Request the removal of my account + 1169. ActRemMyAcc Remove my account - 1169. ActChgMyData Update my personal data + 1170. ActChgMyData Update my personal data - 1170. ActReqMyPho Show form to send my photo - 1171. ActDetMyPho Receive my photo and detect faces on it - 1172. ActUpdMyPho Update my photo - 1173. ActReqRemMyPho Request the removal of my photo - 1174. ActRemMyPho Remove my photo + 1171. ActReqMyPho Show form to send my photo + 1172. ActDetMyPho Receive my photo and detect faces on it + 1173. ActUpdMyPho Update my photo + 1174. ActReqRemMyPho Request the removal of my photo + 1175. ActRemMyPho Remove my photo - 1175. ActEdiPri Edit my privacy - 1176. ActChgPriPho Change privacy of my photo - 1177. ActChgPriPrf Change privacy of my public profile + 1176. ActEdiPri Edit my privacy + 1177. ActChgPriPho Change privacy of my photo + 1178. ActChgPriPrf Change privacy of my public profile - 1178. ActReqEdiMyIns Request the edition of my institution, centre and department - 1179. ActChgCtyMyIns Change the country of my institution - 1180. ActChgMyIns Change my institution - 1181. ActChgMyCtr Change my centre - 1182. ActChgMyDpt Change my department - 1183. ActChgMyOff Change my office - 1184. ActChgMyOffPho Change my office phone + 1179. ActReqEdiMyIns Request the edition of my institution, centre and department + 1180. ActChgCtyMyIns Change the country of my institution + 1181. ActChgMyIns Change my institution + 1182. ActChgMyCtr Change my centre + 1183. ActChgMyDpt Change my department + 1184. ActChgMyOff Change my office + 1185. ActChgMyOffPho Change my office phone - 1185. ActReqEdiMyNet Request the edition of my social networks - 1186. ActChgMyNet Change my web and social networks + 1186. ActReqEdiMyNet Request the edition of my social networks + 1187. ActChgMyNet Change my web and social networks - 1187. ActChgThe Change theme - 1188. ActReqChgLan Ask if change language - 1189. ActChgLan Change language - 1190. ActChg1stDay Change first day of the week - 1191. ActChgCol Change side columns - 1192. ActHidLftCol Hide left side column - 1193. ActHidRgtCol Hide right side column - 1194. ActShoLftCol Show left side column - 1195. ActShoRgtCol Show right side column - 1196. ActChgIco Change icon set - 1197. ActChgMnu Change menu - 1198. ActChgNtfPrf Change whether to notify by email new messages - 1199. ActPrnUsrQR Show my QR code ready to print + 1188. ActChgThe Change theme + 1189. ActReqChgLan Ask if change language + 1190. ActChgLan Change language + 1191. ActChg1stDay Change first day of the week + 1192. ActChgCol Change side columns + 1193. ActHidLftCol Hide left side column + 1194. ActHidRgtCol Hide right side column + 1195. ActShoLftCol Show left side column + 1196. ActShoRgtCol Show right side column + 1197. ActChgIco Change icon set + 1198. ActChgMnu Change menu + 1199. ActChgNtfPrf Change whether to notify by email new messages + 1200. ActPrnUsrQR Show my QR code ready to print - 1200. ActPrnMyTT Show the timetable listo to impresión of all my courses - 1201. ActEdiTut Edit the timetable of tutorías - 1202. ActChgTut Modify the timetable of tutorías - 1203. ActChgMyTT1stDay Change first day of week and show timetable of the course + 1201. ActPrnMyTT Show the timetable listo to impresión of all my courses + 1202. ActEdiTut Edit the timetable of tutorías + 1203. ActChgTut Modify the timetable of tutorías + 1204. ActChgMyTT1stDay Change first day of week and show timetable of the course - 1204. ActReqRemFilBrf Request removal of a file of the briefcase - 1205. ActRemFilBrf Remove a file of the briefcase - 1206. ActRemFolBrf Remove a folder empty of the briefcase - 1207. ActCopBrf Set source of copy in the briefcase - 1208. ActPasBrf Paste a folder or file in the briefcase - 1209. ActRemTreBrf Remove a folder no empty of the briefcase - 1210. ActFrmCreBrf Form to crear a folder or file in the briefcase - 1211. ActCreFolBrf Create a new folder in the briefcase - 1212. ActCreLnkBrf Create a new link in the briefcase - 1213. ActRenFolBrf Rename a folder of the briefcase - 1214. ActRcvFilBrfDZ Receive a file in the briefcase using Dropzone.js - 1215. ActRcvFilBrfCla Receive a file in the briefcase using the classic way - 1216. ActExpBrf Expand a folder in briefcase - 1217. ActConBrf Contract a folder in briefcase - 1218. ActZIPBrf Compress a folder in briefcase - 1219. ActReqDatBrf Ask for metadata of a file in the briefcase - 1220. ActChgDatBrf Change metadata of a file in the briefcase - 1221. ActDowBrf Download a file in the briefcase - 1222. ActReqRemOldBrf Ask for removing old files in the briefcase - 1223. ActRemOldBrf Remove old files in the briefcase + 1205. ActReqRemFilBrf Request removal of a file of the briefcase + 1206. ActRemFilBrf Remove a file of the briefcase + 1207. ActRemFolBrf Remove a folder empty of the briefcase + 1208. ActCopBrf Set source of copy in the briefcase + 1209. ActPasBrf Paste a folder or file in the briefcase + 1210. ActRemTreBrf Remove a folder no empty of the briefcase + 1211. ActFrmCreBrf Form to crear a folder or file in the briefcase + 1212. ActCreFolBrf Create a new folder in the briefcase + 1213. ActCreLnkBrf Create a new link in the briefcase + 1214. ActRenFolBrf Rename a folder of the briefcase + 1215. ActRcvFilBrfDZ Receive a file in the briefcase using Dropzone.js + 1216. ActRcvFilBrfCla Receive a file in the briefcase using the classic way + 1217. ActExpBrf Expand a folder in briefcase + 1218. ActConBrf Contract a folder in briefcase + 1219. ActZIPBrf Compress a folder in briefcase + 1220. ActReqDatBrf Ask for metadata of a file in the briefcase + 1221. ActChgDatBrf Change metadata of a file in the briefcase + 1222. ActDowBrf Download a file in the briefcase + 1223. ActReqRemOldBrf Ask for removing old files in the briefcase + 1224. ActRemOldBrf Remove old files in the briefcase */ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] = @@ -2766,10 +2768,11 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] = /* ActMyCrs */{ 987, 2,TabPrf,ActMyCrs ,0x1FE,0x1FE,0x1FE,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Crs_ReqSelectOneOfMyCourses ,"mygroups64x64.gif" }, /* ActSeeMyTT */{ 408, 3,TabPrf,ActSeeMyTT ,0x1FE,0x1FE,0x1FE,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,TT_ShowClassTimeTable ,"clock64x64.gif" }, /* ActSeeMyAgd */{1581, 4,TabPrf,ActSeeMyAgd ,0x100,0x100,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Agd_ShowMyAgenda ,"date64x64.gif" }, - /* ActFrmMyAcc */{ 36, 5,TabPrf,ActFrmMyAcc ,0x1FF,0x1FF,0x1FF,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Acc_ShowFormMyAccount ,"arroba64x64.gif" }, - /* ActReqEdiRecCom */{ 285, 6,TabPrf,ActReqEdiRecCom ,0x1FE,0x1FE,0x1FE,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Rec_ShowFormMySharedRecord ,"card64x64.gif" }, - /* ActEdiPrf */{ 673, 7,TabPrf,ActEdiPrf ,0x1FF,0x1FF,0x1FF,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Pre_EditPrefs ,"heart64x64.gif" }, - /* ActAdmBrf */{ 23, 8,TabPrf,ActAdmBrf ,0x1FE,0x1FE,0x1FE,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Brw_ShowFileBrowserOrWorks ,"pendrive64x64.gif" }, + /* ActSeeMyLoc */{1602, 5,TabPrf,ActSeeMyLoc ,0x100,0x100,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Loc_ShowMyLocation ,"mapmarker64x64.png" }, + /* ActFrmMyAcc */{ 36, 6,TabPrf,ActFrmMyAcc ,0x1FF,0x1FF,0x1FF,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Acc_ShowFormMyAccount ,"arroba64x64.gif" }, + /* ActReqEdiRecCom */{ 285, 7,TabPrf,ActReqEdiRecCom ,0x1FE,0x1FE,0x1FE,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Rec_ShowFormMySharedRecord ,"card64x64.gif" }, + /* ActEdiPrf */{ 673, 8,TabPrf,ActEdiPrf ,0x1FF,0x1FF,0x1FF,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Pre_EditPrefs ,"heart64x64.gif" }, + /* ActAdmBrf */{ 23, 9,TabPrf,ActAdmBrf ,0x1FE,0x1FE,0x1FE,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Brw_ShowFileBrowserOrWorks ,"pendrive64x64.gif" }, // Actions not in menu: /* ActReqSndNewPwd */{ 665,-1,TabUnk,ActFrmLogIn ,0x000,0x001,0x001,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Pwd_ShowFormSendNewPwd ,NULL}, @@ -4473,6 +4476,7 @@ Act_Action_t Act_FromActCodToAction[1+Act_MAX_ACTION_COD] = // Do not reuse uniq ActChgDegWWWCfg, // #1599 ActRenCrsFulCfg, // #1600 ActRenCrsShoCfg, // #1601 + ActSeeMyLoc, // #1602 }; /*****************************************************************************/ diff --git a/swad_action.h b/swad_action.h index df0b11b0b..868cde700 100644 --- a/swad_action.h +++ b/swad_action.h @@ -55,9 +55,9 @@ typedef enum typedef int Act_Action_t; // Must be a signed type, because -1 is used to indicate obsolete action -#define Act_NUM_ACTIONS (1+9+51+14+93+73+70+249+186+155+172+36+31+85) +#define Act_NUM_ACTIONS (1+9+51+14+93+73+70+249+186+155+172+36+31+86) -#define Act_MAX_ACTION_COD 1601 +#define Act_MAX_ACTION_COD 1602 #define Act_MAX_OPTIONS_IN_MENU_PER_TAB 11 @@ -1367,97 +1367,98 @@ typedef int Act_Action_t; // Must be a signed type, because -1 is used to indica #define ActMyCrs (ActSeeMyUsgRep+ 3) #define ActSeeMyTT (ActSeeMyUsgRep+ 4) #define ActSeeMyAgd (ActSeeMyUsgRep+ 5) -#define ActFrmMyAcc (ActSeeMyUsgRep+ 6) -#define ActReqEdiRecCom (ActSeeMyUsgRep+ 7) -#define ActEdiPrf (ActSeeMyUsgRep+ 8) -#define ActAdmBrf (ActSeeMyUsgRep+ 9) +#define ActSeeMyLoc (ActSeeMyUsgRep+ 6) +#define ActFrmMyAcc (ActSeeMyUsgRep+ 7) +#define ActReqEdiRecCom (ActSeeMyUsgRep+ 8) +#define ActEdiPrf (ActSeeMyUsgRep+ 9) +#define ActAdmBrf (ActSeeMyUsgRep+10) // Secondary actions -#define ActReqSndNewPwd (ActSeeMyUsgRep+10) -#define ActSndNewPwd (ActSeeMyUsgRep+11) -#define ActLogOut (ActSeeMyUsgRep+12) -#define ActAutUsrInt (ActSeeMyUsgRep+13) -#define ActAutUsrNew (ActSeeMyUsgRep+14) -#define ActAutUsrChgLan (ActSeeMyUsgRep+15) -#define ActAnnSee (ActSeeMyUsgRep+16) -#define ActChgMyRol (ActSeeMyUsgRep+17) -#define ActChkUsrAcc (ActSeeMyUsgRep+18) -#define ActCreUsrAcc (ActSeeMyUsgRep+19) -#define ActRemID_Me (ActSeeMyUsgRep+20) -#define ActNewIDMe (ActSeeMyUsgRep+21) -#define ActRemOldNic (ActSeeMyUsgRep+22) -#define ActChgNic (ActSeeMyUsgRep+23) -#define ActRemMaiMe (ActSeeMyUsgRep+24) -#define ActNewMaiMe (ActSeeMyUsgRep+25) -#define ActCnfMai (ActSeeMyUsgRep+26) -#define ActFrmChgMyPwd (ActSeeMyUsgRep+27) -#define ActChgPwd (ActSeeMyUsgRep+28) -#define ActReqRemMyAcc (ActSeeMyUsgRep+29) -#define ActRemMyAcc (ActSeeMyUsgRep+30) +#define ActReqSndNewPwd (ActSeeMyUsgRep+11) +#define ActSndNewPwd (ActSeeMyUsgRep+12) +#define ActLogOut (ActSeeMyUsgRep+13) +#define ActAutUsrInt (ActSeeMyUsgRep+14) +#define ActAutUsrNew (ActSeeMyUsgRep+15) +#define ActAutUsrChgLan (ActSeeMyUsgRep+16) +#define ActAnnSee (ActSeeMyUsgRep+17) +#define ActChgMyRol (ActSeeMyUsgRep+18) +#define ActChkUsrAcc (ActSeeMyUsgRep+19) +#define ActCreUsrAcc (ActSeeMyUsgRep+20) +#define ActRemID_Me (ActSeeMyUsgRep+21) +#define ActNewIDMe (ActSeeMyUsgRep+22) +#define ActRemOldNic (ActSeeMyUsgRep+23) +#define ActChgNic (ActSeeMyUsgRep+24) +#define ActRemMaiMe (ActSeeMyUsgRep+25) +#define ActNewMaiMe (ActSeeMyUsgRep+26) +#define ActCnfMai (ActSeeMyUsgRep+27) +#define ActFrmChgMyPwd (ActSeeMyUsgRep+28) +#define ActChgPwd (ActSeeMyUsgRep+29) +#define ActReqRemMyAcc (ActSeeMyUsgRep+30) +#define ActRemMyAcc (ActSeeMyUsgRep+31) -#define ActChgMyData (ActSeeMyUsgRep+31) +#define ActChgMyData (ActSeeMyUsgRep+32) -#define ActReqMyPho (ActSeeMyUsgRep+32) -#define ActDetMyPho (ActSeeMyUsgRep+33) -#define ActUpdMyPho (ActSeeMyUsgRep+34) -#define ActReqRemMyPho (ActSeeMyUsgRep+35) -#define ActRemMyPho (ActSeeMyUsgRep+36) +#define ActReqMyPho (ActSeeMyUsgRep+33) +#define ActDetMyPho (ActSeeMyUsgRep+34) +#define ActUpdMyPho (ActSeeMyUsgRep+35) +#define ActReqRemMyPho (ActSeeMyUsgRep+36) +#define ActRemMyPho (ActSeeMyUsgRep+37) -#define ActEdiPri (ActSeeMyUsgRep+37) -#define ActChgPriPho (ActSeeMyUsgRep+38) -#define ActChgPriPrf (ActSeeMyUsgRep+39) +#define ActEdiPri (ActSeeMyUsgRep+38) +#define ActChgPriPho (ActSeeMyUsgRep+39) +#define ActChgPriPrf (ActSeeMyUsgRep+40) -#define ActReqEdiMyIns (ActSeeMyUsgRep+40) -#define ActChgCtyMyIns (ActSeeMyUsgRep+41) -#define ActChgMyIns (ActSeeMyUsgRep+42) -#define ActChgMyCtr (ActSeeMyUsgRep+43) -#define ActChgMyDpt (ActSeeMyUsgRep+44) -#define ActChgMyOff (ActSeeMyUsgRep+45) -#define ActChgMyOffPho (ActSeeMyUsgRep+46) +#define ActReqEdiMyIns (ActSeeMyUsgRep+41) +#define ActChgCtyMyIns (ActSeeMyUsgRep+42) +#define ActChgMyIns (ActSeeMyUsgRep+43) +#define ActChgMyCtr (ActSeeMyUsgRep+44) +#define ActChgMyDpt (ActSeeMyUsgRep+45) +#define ActChgMyOff (ActSeeMyUsgRep+46) +#define ActChgMyOffPho (ActSeeMyUsgRep+47) -#define ActReqEdiMyNet (ActSeeMyUsgRep+47) -#define ActChgMyNet (ActSeeMyUsgRep+48) +#define ActReqEdiMyNet (ActSeeMyUsgRep+48) +#define ActChgMyNet (ActSeeMyUsgRep+49) -#define ActChgThe (ActSeeMyUsgRep+49) -#define ActReqChgLan (ActSeeMyUsgRep+50) -#define ActChgLan (ActSeeMyUsgRep+51) -#define ActChg1stDay (ActSeeMyUsgRep+52) -#define ActChgCol (ActSeeMyUsgRep+53) -#define ActHidLftCol (ActSeeMyUsgRep+54) -#define ActHidRgtCol (ActSeeMyUsgRep+55) -#define ActShoLftCol (ActSeeMyUsgRep+56) -#define ActShoRgtCol (ActSeeMyUsgRep+57) -#define ActChgIco (ActSeeMyUsgRep+58) -#define ActChgMnu (ActSeeMyUsgRep+59) -#define ActChgNtfPrf (ActSeeMyUsgRep+60) +#define ActChgThe (ActSeeMyUsgRep+50) +#define ActReqChgLan (ActSeeMyUsgRep+51) +#define ActChgLan (ActSeeMyUsgRep+52) +#define ActChg1stDay (ActSeeMyUsgRep+53) +#define ActChgCol (ActSeeMyUsgRep+54) +#define ActHidLftCol (ActSeeMyUsgRep+55) +#define ActHidRgtCol (ActSeeMyUsgRep+56) +#define ActShoLftCol (ActSeeMyUsgRep+57) +#define ActShoRgtCol (ActSeeMyUsgRep+58) +#define ActChgIco (ActSeeMyUsgRep+59) +#define ActChgMnu (ActSeeMyUsgRep+60) +#define ActChgNtfPrf (ActSeeMyUsgRep+61) -#define ActPrnUsrQR (ActSeeMyUsgRep+61) +#define ActPrnUsrQR (ActSeeMyUsgRep+62) -#define ActPrnMyTT (ActSeeMyUsgRep+62) -#define ActEdiTut (ActSeeMyUsgRep+63) -#define ActChgTut (ActSeeMyUsgRep+64) -#define ActChgMyTT1stDay (ActSeeMyUsgRep+65) +#define ActPrnMyTT (ActSeeMyUsgRep+63) +#define ActEdiTut (ActSeeMyUsgRep+64) +#define ActChgTut (ActSeeMyUsgRep+65) +#define ActChgMyTT1stDay (ActSeeMyUsgRep+66) -#define ActReqRemFilBrf (ActSeeMyUsgRep+66) -#define ActRemFilBrf (ActSeeMyUsgRep+67) -#define ActRemFolBrf (ActSeeMyUsgRep+68) -#define ActCopBrf (ActSeeMyUsgRep+69) -#define ActPasBrf (ActSeeMyUsgRep+70) -#define ActRemTreBrf (ActSeeMyUsgRep+71) -#define ActFrmCreBrf (ActSeeMyUsgRep+72) -#define ActCreFolBrf (ActSeeMyUsgRep+73) -#define ActCreLnkBrf (ActSeeMyUsgRep+74) -#define ActRenFolBrf (ActSeeMyUsgRep+75) -#define ActRcvFilBrfDZ (ActSeeMyUsgRep+76) -#define ActRcvFilBrfCla (ActSeeMyUsgRep+77) -#define ActExpBrf (ActSeeMyUsgRep+78) -#define ActConBrf (ActSeeMyUsgRep+79) -#define ActZIPBrf (ActSeeMyUsgRep+80) -#define ActReqDatBrf (ActSeeMyUsgRep+81) -#define ActChgDatBrf (ActSeeMyUsgRep+82) -#define ActDowBrf (ActSeeMyUsgRep+83) +#define ActReqRemFilBrf (ActSeeMyUsgRep+67) +#define ActRemFilBrf (ActSeeMyUsgRep+68) +#define ActRemFolBrf (ActSeeMyUsgRep+69) +#define ActCopBrf (ActSeeMyUsgRep+70) +#define ActPasBrf (ActSeeMyUsgRep+71) +#define ActRemTreBrf (ActSeeMyUsgRep+72) +#define ActFrmCreBrf (ActSeeMyUsgRep+73) +#define ActCreFolBrf (ActSeeMyUsgRep+74) +#define ActCreLnkBrf (ActSeeMyUsgRep+75) +#define ActRenFolBrf (ActSeeMyUsgRep+76) +#define ActRcvFilBrfDZ (ActSeeMyUsgRep+77) +#define ActRcvFilBrfCla (ActSeeMyUsgRep+78) +#define ActExpBrf (ActSeeMyUsgRep+79) +#define ActConBrf (ActSeeMyUsgRep+80) +#define ActZIPBrf (ActSeeMyUsgRep+81) +#define ActReqDatBrf (ActSeeMyUsgRep+82) +#define ActChgDatBrf (ActSeeMyUsgRep+83) +#define ActDowBrf (ActSeeMyUsgRep+84) -#define ActReqRemOldBrf (ActSeeMyUsgRep+84) -#define ActRemOldBrf (ActSeeMyUsgRep+85) +#define ActReqRemOldBrf (ActSeeMyUsgRep+85) +#define ActRemOldBrf (ActSeeMyUsgRep+86) /*****************************************************************************/ /******************************** Public types *******************************/ diff --git a/swad_changelog.h b/swad_changelog.h index e5339d0db..15b313682 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -176,13 +176,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 16.74.1 (2016-11-28)" +#define Log_PLATFORM_VERSION "SWAD 16.75 (2016-11-28)" #define CSS_FILE "swad16.69.css" #define JS_FILE "swad16.46.1.js" // 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 /* + Version 16.75: Nov 28, 2016 New option to show my location. (207947 lines) Version 16.74.1: Nov 28, 2016 Changed icon to show places. (207807 lines) Copy icon/mapmarker64x64.png to public icons directory Copy icon/iconset/awesome/action64x64/mapmarker64x64.png to public icons directory diff --git a/swad_menu.c b/swad_menu.c index 892bbe15f..a80c700dc 100644 --- a/swad_menu.c +++ b/swad_menu.c @@ -187,6 +187,7 @@ const Act_Action_t Mnu_MenuActions[Tab_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB ActMyCrs, ActSeeMyTT, ActSeeMyAgd, + ActSeeMyLoc, ActFrmMyAcc, ActReqEdiRecCom, ActEdiPrf, diff --git a/swad_text.c b/swad_text.c index 84fe3e446..3c2fb78da 100644 --- a/swad_text.c +++ b/swad_text.c @@ -19258,6 +19258,27 @@ const char *Txt_MENU_TITLE[Tab_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB] = "Pamiętnik" #elif L==9 "Agenda" +#endif + , + // ActSeeMyLoc +#if L==1 + "Ubicació" +#elif L==2 + "Standort" +#elif L==3 + "Location" +#elif L==4 + "Ubicación" +#elif L==5 + "Emplacement" +#elif L==6 + "Ubicación" // Okoteve traducción +#elif L==7 + "Posizione" +#elif L==8 + "Lokacja" +#elif L==9 + "Localização" #endif , // ActFrmMyAcc @@ -21131,6 +21152,27 @@ const char *Txt_MENU_SUBTITLE[Tab_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB] = "Pamiętnik" #elif L==9 "Agenda" +#endif + , + // ActSeeMyLoc +#if L==1 + "La meva ubicació" +#elif L==2 + "Mein Standort" +#elif L==3 + "My location" +#elif L==4 + "Mi ubicación" +#elif L==5 + "Mon emplacement" +#elif L==6 + "Mi ubicación" // Okoteve traducción +#elif L==7 + "La mia posizione" +#elif L==8 + "Moja lokacja" +#elif L==9 + "Minha localização" #endif , // ActFrmMyAcc