Version 16.170

This commit is contained in:
Antonio Cañas Vargas 2017-03-27 00:48:50 +02:00
parent a98d2082f7
commit 3d9a03baa7
5 changed files with 61 additions and 100 deletions

View File

@ -99,28 +99,28 @@ System:
11. ActSeeCty List countries
12. ActSeePen List pending institutions, centres, degrees and courses
13. ActReqRemOldCrs Request the total removal of old courses
14. ActSeeBan See banners
15. ActSeeLnk See institutional links
16. ActLstPlg List plugins
17. ActSetUp Initial set up
18. ActSeeCalSys Show the academic calendar
14. ActSeeLnk See institutional links
15. ActLstPlg List plugins
16. ActSetUp Initial set up
17. ActSeeCalSys Show the academic calendar
19. ActSysSch Search for courses, teachers, documents...
18. ActSysSch Search for courses, teachers, documents...
20. ActEdiCty Edit countries
21. ActNewCty Request the creation of a country
22. ActRemCty Remove a country
23. ActRenCty Change the name of a country
24. ActChgCtyWWW Change web of country
19. ActEdiCty Edit countries
20. ActNewCty Request the creation of a country
21. ActRemCty Remove a country
22. ActRenCty Change the name of a country
23. ActChgCtyWWW Change web of country
25. ActSeeDegTyp List types of degrees
26. ActEdiDegTyp Request edition of types of degrees
27. ActNewDegTyp Request the creation of a type of degree
28. ActRemDegTyp Request the removal of a type of degree
29. ActRenDegTyp Request renaming of a type of degree
24. ActSeeDegTyp List types of degrees
25. ActEdiDegTyp Request edition of types of degrees
26. ActNewDegTyp Request the creation of a type of degree
27. ActRemDegTyp Request the removal of a type of degree
28. ActRenDegTyp Request renaming of a type of degree
30. ActRemOldCrs Remove completely old courses
29. ActRemOldCrs Remove completely old courses
30. ActSeeBan See banners
31. ActEdiBan Edit banners
32. ActNewBan Request the creation of a banner
33. ActRemBan Request the removal of a banner
@ -1520,11 +1520,10 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] =
/* ActSeeCty */{ 862, 1,TabSys,ActSeeCty , 0, 0, 0, 0, 0, 0,0x1FF,Act_CONT_NORM,Act_THIS_WINDOW,Cty_ListCountries1 ,Cty_ListCountries2 ,"earth64x64.gif" },
/* ActSeePen */{1060, 2,TabSys,ActSeePen , 0, 0, 0, 0, 0, 0,0x1E0,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Deg_SeePending ,"hierarchy64x64.png" },
/* ActReqRemOldCrs */{1109, 3,TabSys,ActReqRemOldCrs , 0, 0, 0, 0, 0, 0,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Crs_AskRemoveOldCrss ,"removeusers64x64.gif" },
/* ActSeeBan */{1137, 4,TabSys,ActSeeBan , 0, 0, 0, 0, 0, 0,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Ban_SeeBanners ,"picture64x64.gif" },
/* ActSeeLnk */{ 748, 5,TabSys,ActSeeLnk , 0, 0, 0, 0, 0, 0,0x1FF,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Lnk_SeeLinks ,"link64x64.gif" },
/* ActLstPlg */{ 777, 6,TabSys,ActLstPlg , 0, 0, 0, 0, 0, 0,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Plg_ListPlugins ,"blocks64x64.gif" },
/* ActSetUp */{ 840, 7,TabSys,ActSetUp , 0, 0, 0, 0, 0, 0,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Set_Setup ,"lightning64x64.gif" },
/* ActSeeCalSys */{1622, 8,TabSys,ActSeeCalSys , 0, 0, 0, 0, 0, 0,0x1FF,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Cal_DrawCalendarSys ,"calendar64x64.png" },
/* ActSeeLnk */{ 748, 4,TabSys,ActSeeLnk , 0, 0, 0, 0, 0, 0,0x1FF,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Lnk_SeeLinks ,"link64x64.gif" },
/* ActLstPlg */{ 777, 5,TabSys,ActLstPlg , 0, 0, 0, 0, 0, 0,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Plg_ListPlugins ,"blocks64x64.gif" },
/* ActSetUp */{ 840, 6,TabSys,ActSetUp , 0, 0, 0, 0, 0, 0,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Set_Setup ,"lightning64x64.gif" },
/* ActSeeCalSys */{1622, 7,TabSys,ActSeeCalSys , 0, 0, 0, 0, 0, 0,0x1FF,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Cal_DrawCalendarSys ,"calendar64x64.png" },
// Actions not in menu:
/* ActSysSch */{ 628,-1,TabUnk,ActSysReqSch , 0, 0, 0, 0, 0, 0,0x1FF,Act_CONT_NORM,Act_THIS_WINDOW,Sch_GetParamsSearch ,Sch_SysSearch ,NULL},
@ -1537,16 +1536,17 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] =
/* ActRemOldCrs */{1110,-1,TabUnk,ActReqRemOldCrs , 0, 0, 0, 0, 0, 0,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Crs_RemoveOldCrss ,NULL},
/* ActEdiBan */{1138,-1,TabUnk,ActSeeBan , 0, 0, 0, 0, 0, 0,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Ban_EditBanners ,NULL},
/* ActNewBan */{1139,-1,TabUnk,ActSeeBan , 0, 0, 0, 0, 0, 0,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Ban_RecFormNewBanner ,NULL},
/* ActRemBan */{1140,-1,TabUnk,ActSeeBan , 0, 0, 0, 0, 0, 0,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Ban_RemoveBanner ,NULL},
/* ActShoBan */{1212,-1,TabUnk,ActSeeBan , 0, 0, 0, 0, 0, 0,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Ban_ShowBanner ,NULL},
/* ActHidBan */{1213,-1,TabUnk,ActSeeBan , 0, 0, 0, 0, 0, 0,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Ban_HideBanner ,NULL},
/* ActRenBanSho */{1141,-1,TabUnk,ActSeeBan , 0, 0, 0, 0, 0, 0,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Ban_RenameBannerShort ,NULL},
/* ActRenBanFul */{1142,-1,TabUnk,ActSeeBan , 0, 0, 0, 0, 0, 0,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Ban_RenameBannerFull ,NULL},
/* ActChgBanImg */{1144,-1,TabUnk,ActSeeBan , 0, 0, 0, 0, 0, 0,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Ban_ChangeBannerImg ,NULL},
/* ActChgBanWWW */{1143,-1,TabUnk,ActSeeBan , 0, 0, 0, 0, 0, 0,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Ban_ChangeBannerWWW ,NULL},
/* ActClkBan */{1145,-1,TabUnk,ActSeeBan , 0, 0, 0, 0, 0, 0,0x1FF,Act_CONT_NORM,Act_DOWNLD_FILE,Ban_ClickOnBanner ,NULL ,NULL},
/* ActSeeBan */{1137,-1,TabUnk,ActSeeLnk , 0, 0, 0, 0, 0, 0,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Ban_SeeBanners ,NULL},
/* ActEdiBan */{1138,-1,TabUnk,ActSeeLnk , 0, 0, 0, 0, 0, 0,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Ban_EditBanners ,NULL},
/* ActNewBan */{1139,-1,TabUnk,ActSeeLnk , 0, 0, 0, 0, 0, 0,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Ban_RecFormNewBanner ,NULL},
/* ActRemBan */{1140,-1,TabUnk,ActSeeLnk , 0, 0, 0, 0, 0, 0,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Ban_RemoveBanner ,NULL},
/* ActShoBan */{1212,-1,TabUnk,ActSeeLnk , 0, 0, 0, 0, 0, 0,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Ban_ShowBanner ,NULL},
/* ActHidBan */{1213,-1,TabUnk,ActSeeLnk , 0, 0, 0, 0, 0, 0,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Ban_HideBanner ,NULL},
/* ActRenBanSho */{1141,-1,TabUnk,ActSeeLnk , 0, 0, 0, 0, 0, 0,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Ban_RenameBannerShort ,NULL},
/* ActRenBanFul */{1142,-1,TabUnk,ActSeeLnk , 0, 0, 0, 0, 0, 0,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Ban_RenameBannerFull ,NULL},
/* ActChgBanImg */{1144,-1,TabUnk,ActSeeLnk , 0, 0, 0, 0, 0, 0,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Ban_ChangeBannerImg ,NULL},
/* ActChgBanWWW */{1143,-1,TabUnk,ActSeeLnk , 0, 0, 0, 0, 0, 0,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Ban_ChangeBannerWWW ,NULL},
/* ActClkBan */{1145,-1,TabUnk,ActSeeLnk , 0, 0, 0, 0, 0, 0,0x1FF,Act_CONT_NORM,Act_DOWNLD_FILE,Ban_ClickOnBanner ,NULL ,NULL},
/* ActEdiLnk */{ 749,-1,TabUnk,ActSeeLnk , 0, 0, 0, 0, 0, 0,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Lnk_EditLinks ,NULL},
/* ActNewLnk */{ 750,-1,TabUnk,ActSeeLnk , 0, 0, 0, 0, 0, 0,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Lnk_RecFormNewLink ,NULL},

View File

@ -91,22 +91,22 @@ typedef signed int Act_Action_t; // Must be a signed type, because -1 is used to
#define ActSeeCty (ActWebSvc + 2)
#define ActSeePen (ActWebSvc + 3)
#define ActReqRemOldCrs (ActWebSvc + 4)
#define ActSeeBan (ActWebSvc + 5)
#define ActSeeLnk (ActWebSvc + 6)
#define ActLstPlg (ActWebSvc + 7)
#define ActSetUp (ActWebSvc + 8)
#define ActSeeCalSys (ActWebSvc + 9)
#define ActSeeLnk (ActWebSvc + 5)
#define ActLstPlg (ActWebSvc + 6)
#define ActSetUp (ActWebSvc + 7)
#define ActSeeCalSys (ActWebSvc + 8)
// Secondary actions
#define ActSysSch (ActWebSvc + 10)
#define ActEdiCty (ActWebSvc + 11)
#define ActNewCty (ActWebSvc + 12)
#define ActRemCty (ActWebSvc + 13)
#define ActRenCty (ActWebSvc + 14)
#define ActChgCtyWWW (ActWebSvc + 15)
#define ActSysSch (ActWebSvc + 9)
#define ActEdiCty (ActWebSvc + 10)
#define ActNewCty (ActWebSvc + 11)
#define ActRemCty (ActWebSvc + 12)
#define ActRenCty (ActWebSvc + 13)
#define ActChgCtyWWW (ActWebSvc + 14)
#define ActRemOldCrs (ActWebSvc + 16)
#define ActRemOldCrs (ActWebSvc + 15)
#define ActSeeBan (ActWebSvc + 16)
#define ActEdiBan (ActWebSvc + 17)
#define ActNewBan (ActWebSvc + 18)
#define ActRemBan (ActWebSvc + 19)

View File

@ -211,13 +211,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 16.169.3 (2017-03-26)"
#define Log_PLATFORM_VERSION "SWAD 16.170 (2017-03-27)"
#define CSS_FILE "swad16.166.css"
#define JS_FILE "swad16.144.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.170: Mar 27, 2017 Action to view banners removed from main menu. (217553 lines)
Version 16.169.3: Mar 26, 2017 Link to banners from institutional links. (217592 lines)
Copy the following icon to icon public directory:
sudo cp -a icon/picture64x64.gif /var/www/html/swad/icon/

View File

@ -90,11 +90,11 @@ const Act_Action_t Mnu_MenuActions[Tab_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB
ActSeePen, // 2
ActReqRemOldCrs, // 3
ActSeeDegTyp, // 4
ActSeeBan, // 5
ActSeeLnk, // 6
ActLstPlg, // 7
ActSetUp, // 8
ActSeeCalSys, // 9
ActSeeLnk, // 5
ActLstPlg, // 6
ActSetUp, // 7
ActSeeCalSys, // 8
0, // 9
0, // 10
0, // 11
},

View File

@ -18199,28 +18199,7 @@ const char *Txt_MENU_TITLE[Tab_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB] =
"Estudos"
#endif
,
// 5: ActSeeBan
#if L==1
"Banners"
#elif L==2
"Werbebanners"
#elif L==3
"Banners"
#elif L==4
"Banners"
#elif L==5
"Banniéres"
#elif L==6
"Banners"
#elif L==7
"Banners"
#elif L==8
"Banners"
#elif L==9
"Banners"
#endif
,
// 6: ActSeeLnk
// 5: ActSeeLnk
#if L==1
"Enllaços"
#elif L==2
@ -18241,7 +18220,7 @@ const char *Txt_MENU_TITLE[Tab_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB] =
"Ligações"
#endif
,
// 7: ActLstPlg
// 6: ActLstPlg
#if L==1
"Complements"
#elif L==2
@ -18262,7 +18241,7 @@ const char *Txt_MENU_TITLE[Tab_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB] =
"Plugins"
#endif
,
// 8: ActSetUp
// 7: ActSetUp
#if L==1
"Instal lar"
#elif L==2
@ -18283,7 +18262,7 @@ const char *Txt_MENU_TITLE[Tab_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB] =
"Instalar"
#endif
,
// 9: ActSeeCalSys
// 8: ActSeeCalSys
#if L==1
"Calendari"
#elif L==2
@ -18304,6 +18283,7 @@ const char *Txt_MENU_TITLE[Tab_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB] =
"Calendário"
#endif
,
NULL, // 9
NULL, // 10
NULL, // 11
},
@ -20152,28 +20132,7 @@ const char *Txt_MENU_SUBTITLE[Tab_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB] =
"Tipos de titulação"
#endif
,
// 5: ActSeeBan
#if L==1
"Llista de banners publicitaris"
#elif L==2
"Werbebanners Liste"
#elif L==3
"Banners list"
#elif L==4
"Lista de banners publicitarios"
#elif L==5
"Liste des banniéres publicitaires"
#elif L==6
"Lista de banners publicitarios"// Okoteve traducción
#elif L==7
"Lista di banners"
#elif L==8
"Lista banery"
#elif L==9
"Lista de banners publicitários"
#endif
,
// 6: ActSeeLnk
// 5: ActSeeLnk
#if L==1
"Llista d'enllaços institucionals"
#elif L==2
@ -20194,7 +20153,7 @@ const char *Txt_MENU_SUBTITLE[Tab_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB] =
"Ligações institucionais"
#endif
,
// 7: ActLstPlg
// 6: ActLstPlg
#if L==1
"Llista de complements (versió beta)"
#elif L==2
@ -20215,7 +20174,7 @@ const char *Txt_MENU_SUBTITLE[Tab_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB] =
"Lista de plugins"
#endif
,
// 8: ActSetUp
// 7: ActSetUp
#if L==1
"Instal lació de la plataforma (en proves)"
#elif L==2
@ -20236,7 +20195,7 @@ const char *Txt_MENU_SUBTITLE[Tab_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB] =
"Instalar"
#endif
,
// 9: ActSeeCalSys
// 8: ActSeeCalSys
#if L==1
"Calendari acadèmic"
#elif L==2
@ -20257,6 +20216,7 @@ const char *Txt_MENU_SUBTITLE[Tab_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB] =
"Calendário"
#endif
,
NULL, // 9
NULL, // 10
NULL, // 11
},