Version 15.210.1

This commit is contained in:
Antonio Cañas Vargas 2016-05-05 18:28:25 +02:00
parent bb93a178a8
commit f2808a6c77
3 changed files with 6 additions and 6 deletions

BIN
icon/logo64x64.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -138,13 +138,17 @@
/****************************** 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 JS_FILE "swad15.197.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 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.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)

View File

@ -179,7 +179,6 @@ void Log_PutFormToChangeLogo (Sco_Scope_t Scope)
Act_Action_t Action;
long Cod;
const char *Folder;
const char *Icon;
char PathLogo[PATH_MAX+1];
bool LogoExists;
@ -190,19 +189,16 @@ void Log_PutFormToChangeLogo (Sco_Scope_t Scope)
Action = ActReqInsLog;
Cod = Gbl.CurrentIns.Ins.InsCod;
Folder = Cfg_FOLDER_INS;
Icon = "ins64x64.gif";
break;
case Sco_SCOPE_CTR:
Action = ActReqCtrLog;
Cod = Gbl.CurrentCtr.Ctr.CtrCod;
Folder = Cfg_FOLDER_CTR;
Icon = "ctr64x64.gif";
break;
case Sco_SCOPE_DEG:
Action = ActReqDegLog;
Cod = Gbl.CurrentDeg.Deg.DegCod;
Folder = Cfg_FOLDER_DEG;
Icon = "deg64x64.gif";
break;
default:
return; // Nothing to do
@ -217,7 +213,7 @@ void Log_PutFormToChangeLogo (Sco_Scope_t Scope)
LogoExists = Fil_CheckIfPathExists (PathLogo);
/***** Link for changing / uploading the logo *****/
Lay_PutContextualLink (Action,NULL,Icon,
Lay_PutContextualLink (Action,NULL,"logo64x64.png",
LogoExists ? Txt_Change_logo :
Txt_Upload_logo,
LogoExists ? Txt_Change_logo :