mirror of https://github.com/acanas/swad-core.git
Version 15.210.1
This commit is contained in:
parent
bb93a178a8
commit
f2808a6c77
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
|
@ -138,13 +138,17 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 15.210 (2016-05-05)"
|
#define Log_PLATFORM_VERSION "SWAD 15.210.1 (2016-05-05)"
|
||||||
#define CSS_FILE "swad15.210.css"
|
#define CSS_FILE "swad15.210.css"
|
||||||
#define JS_FILE "swad15.197.js"
|
#define JS_FILE "swad15.197.js"
|
||||||
|
|
||||||
// Number of lines (includes comments but not blank lines) has been got with the following command:
|
// 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
|
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1
|
||||||
/*
|
/*
|
||||||
|
Version 15.210.1: May 05, 2016 New icon to change logo of institution/centre/degree. (? lines)
|
||||||
|
1 change necessary in icons:
|
||||||
|
Copy file icon/logo64x64.png to public icon directory
|
||||||
|
|
||||||
Version 15.210: May 05, 2016 Commands/shortcuts in record are removed from left of window. (201389 lines)
|
Version 15.210: May 05, 2016 Commands/shortcuts in record are removed from left of window. (201389 lines)
|
||||||
Version 15.209: May 05, 2016 Commands/shortcuts in record are cloned to top of window. (201614 lines)
|
Version 15.209: May 05, 2016 Commands/shortcuts in record are cloned to top of window. (201614 lines)
|
||||||
Version 15.208.6: May 05, 2016 Integrated "Configure" link in tests at top of window, near "Edit" icon. (201463 lines)
|
Version 15.208.6: May 05, 2016 Integrated "Configure" link in tests at top of window, near "Edit" icon. (201463 lines)
|
||||||
|
|
|
@ -179,7 +179,6 @@ void Log_PutFormToChangeLogo (Sco_Scope_t Scope)
|
||||||
Act_Action_t Action;
|
Act_Action_t Action;
|
||||||
long Cod;
|
long Cod;
|
||||||
const char *Folder;
|
const char *Folder;
|
||||||
const char *Icon;
|
|
||||||
char PathLogo[PATH_MAX+1];
|
char PathLogo[PATH_MAX+1];
|
||||||
bool LogoExists;
|
bool LogoExists;
|
||||||
|
|
||||||
|
@ -190,19 +189,16 @@ void Log_PutFormToChangeLogo (Sco_Scope_t Scope)
|
||||||
Action = ActReqInsLog;
|
Action = ActReqInsLog;
|
||||||
Cod = Gbl.CurrentIns.Ins.InsCod;
|
Cod = Gbl.CurrentIns.Ins.InsCod;
|
||||||
Folder = Cfg_FOLDER_INS;
|
Folder = Cfg_FOLDER_INS;
|
||||||
Icon = "ins64x64.gif";
|
|
||||||
break;
|
break;
|
||||||
case Sco_SCOPE_CTR:
|
case Sco_SCOPE_CTR:
|
||||||
Action = ActReqCtrLog;
|
Action = ActReqCtrLog;
|
||||||
Cod = Gbl.CurrentCtr.Ctr.CtrCod;
|
Cod = Gbl.CurrentCtr.Ctr.CtrCod;
|
||||||
Folder = Cfg_FOLDER_CTR;
|
Folder = Cfg_FOLDER_CTR;
|
||||||
Icon = "ctr64x64.gif";
|
|
||||||
break;
|
break;
|
||||||
case Sco_SCOPE_DEG:
|
case Sco_SCOPE_DEG:
|
||||||
Action = ActReqDegLog;
|
Action = ActReqDegLog;
|
||||||
Cod = Gbl.CurrentDeg.Deg.DegCod;
|
Cod = Gbl.CurrentDeg.Deg.DegCod;
|
||||||
Folder = Cfg_FOLDER_DEG;
|
Folder = Cfg_FOLDER_DEG;
|
||||||
Icon = "deg64x64.gif";
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return; // Nothing to do
|
return; // Nothing to do
|
||||||
|
@ -217,7 +213,7 @@ void Log_PutFormToChangeLogo (Sco_Scope_t Scope)
|
||||||
LogoExists = Fil_CheckIfPathExists (PathLogo);
|
LogoExists = Fil_CheckIfPathExists (PathLogo);
|
||||||
|
|
||||||
/***** Link for changing / uploading the logo *****/
|
/***** Link for changing / uploading the logo *****/
|
||||||
Lay_PutContextualLink (Action,NULL,Icon,
|
Lay_PutContextualLink (Action,NULL,"logo64x64.png",
|
||||||
LogoExists ? Txt_Change_logo :
|
LogoExists ? Txt_Change_logo :
|
||||||
Txt_Upload_logo,
|
Txt_Upload_logo,
|
||||||
LogoExists ? Txt_Change_logo :
|
LogoExists ? Txt_Change_logo :
|
||||||
|
|
Loading…
Reference in New Issue