mirror of https://github.com/acanas/swad-core.git
Version 16.41.9
This commit is contained in:
parent
67485b6f5c
commit
a7931d7df6
|
@ -1539,10 +1539,10 @@ struct Act_Actions Act_Actions[Act_NUM_ACTIONS] =
|
|||
/* ActChgInsCtyCfg */{1590,-1,TabUnk,ActSeeInsInf ,0x100,0x100,0x100,Act_CONT_NORM,Act_THIS_WINDOW,Ins_ChangeInsCtyInConfig ,Ins_ContEditAfterChgInsInConfig,NULL},
|
||||
/* ActRenInsShoCfg */{1592,-1,TabUnk,ActSeeInsInf ,0x100,0x100,0x100,Act_CONT_NORM,Act_THIS_WINDOW,Ins_RenameInsShortInConfig ,Ins_ContEditAfterChgInsInConfig,NULL},
|
||||
/* ActRenInsFulCfg */{1591,-1,TabUnk,ActSeeInsInf ,0x100,0x100,0x100,Act_CONT_NORM,Act_THIS_WINDOW,Ins_RenameInsFullInConfig ,Ins_ContEditAfterChgInsInConfig,NULL},
|
||||
/* ActChgInsWWWCfg */{1593,-1,TabUnk,ActSeeInsInf ,0x100,0x100,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Ins_ChangeInsWWWInConfig ,NULL},
|
||||
/* ActReqInsLog */{1245,-1,TabUnk,ActSeeInsInf ,0x100,0x100,0x100,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Ins_RequestLogo ,NULL},
|
||||
/* ActRecInsLog */{ 699,-1,TabUnk,ActSeeInsInf ,0x100,0x100,0x100,Act_CONT_DATA,Act_THIS_WINDOW,Ins_ReceiveLogo ,Ins_ShowConfiguration ,NULL},
|
||||
/* ActRemInsLog */{1341,-1,TabUnk,ActSeeInsInf ,0x100,0x100,0x100,Act_CONT_DATA,Act_THIS_WINDOW,Ins_RemoveLogo ,Ins_ShowConfiguration ,NULL},
|
||||
/* ActChgInsWWWCfg */{1593,-1,TabUnk,ActSeeInsInf ,0x180,0x180,0x180,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Ins_ChangeInsWWWInConfig ,NULL},
|
||||
/* ActReqInsLog */{1245,-1,TabUnk,ActSeeInsInf ,0x180,0x180,0x180,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Ins_RequestLogo ,NULL},
|
||||
/* ActRecInsLog */{ 699,-1,TabUnk,ActSeeInsInf ,0x180,0x180,0x180,Act_CONT_DATA,Act_THIS_WINDOW,Ins_ReceiveLogo ,Ins_ShowConfiguration ,NULL},
|
||||
/* ActRemInsLog */{1341,-1,TabUnk,ActSeeInsInf ,0x180,0x180,0x180,Act_CONT_DATA,Act_THIS_WINDOW,Ins_RemoveLogo ,Ins_ShowConfiguration ,NULL},
|
||||
|
||||
/* ActEdiCtr */{ 681,-1,TabUnk,ActSeeCtr ,0x1FE,0x1FE,0x1FE,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Ctr_EditCentres ,NULL},
|
||||
/* ActReqCtr */{1208,-1,TabUnk,ActSeeCtr ,0x1FE,0x1FE,0x1FE,Act_CONT_NORM,Act_THIS_WINDOW,NULL ,Ctr_RecFormReqCtr ,NULL},
|
||||
|
|
|
@ -152,13 +152,14 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.41.8 (2016-10-24)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.41.9 (2016-10-24)"
|
||||
#define CSS_FILE "swad16.32.1.css"
|
||||
#define JS_FILE "swad15.238.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.41.9: Oct 24, 2016 Changed permissions to edit institution logo and institution WWW. (205474 lines)
|
||||
Version 16.41.8: Oct 24, 2016 Changed permissions to edit degree logo and degree WWW. (205472 lines)
|
||||
Version 16.41.7: Oct 24, 2016 Changed permissions to edit centre WWW. (205466 lines)
|
||||
Version 16.41.6: Oct 24, 2016 Changed permissions to edit logo, photo and photo attribution of centre. (205464 lines)
|
||||
|
|
|
@ -417,8 +417,9 @@ static void Ins_Configuration (bool PrintView)
|
|||
The_ClassForm[Gbl.Prefs.Theme],
|
||||
Txt_Web);
|
||||
if (!PrintView &&
|
||||
Gbl.Usrs.Me.LoggedRole == Rol_SYS_ADM)
|
||||
// Only system admins can change institution WWW
|
||||
Gbl.Usrs.Me.LoggedRole >= Rol_INS_ADM)
|
||||
// Only institution admins and system admins
|
||||
// can change institution WWW
|
||||
{
|
||||
/* Form to change institution WWW */
|
||||
Act_FormStart (ActChgInsWWWCfg);
|
||||
|
|
Loading…
Reference in New Issue