Version 15.66.3

This commit is contained in:
Antonio Cañas Vargas 2015-12-15 01:33:09 +01:00
parent 87e29ea9fd
commit 30ddce4ad4
8 changed files with 30 additions and 19 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 479 B

BIN
icon/sys64x64.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 410 B

View File

@ -331,11 +331,11 @@ static void Ban_ListBannersForEdition (void)
Act_FormStart (Ban->IsHidden ? ActShoBan :
ActHidBan);
Ban_PutParamBanCod (Ban->BanCod);
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s_on16x16.gif\""
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/%s\""
" alt=\"%s\" title=\"%s\" class=\"ICON20x20\" />",
Gbl.Prefs.IconsURL,
Ban->IsHidden ? "hidden" :
"visible",
Ban->IsHidden ? "eye-slash-on64x64.png" :
"eye-on64x64.png",
Ban->IsHidden ? Txt_Show :
Txt_Hide,
Ban->IsHidden ? Txt_Show :

View File

@ -120,12 +120,18 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.66.2 (2015/12/14)"
#define Log_PLATFORM_VERSION "SWAD 15.66.3 (2015/12/15)"
#define CSS_FILE "swad15.65.1.css"
// 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.66.3: Dec 15, 2015 Changes in some small icons.
Fixed bug in record card. (187004 lines)
2 changes necessary in database:
UPDATE actions SET Txt='Ver informaci&oacute;n pa&iacute;s' WHERE ActCod='1155' AND Language='es';
UPDATE actions SET Txt='Imprimir informaci&oacute;n pa&iacute;s' WHERE ActCod='1156' AND Language='es';
Version 15.66.2: Dec 14, 2015 Changes in edition of institutions, centres and degrees. (186994 lines)
Version 15.66.1: Dec 14, 2015 Removed unused code related to list of countries, institutions and centres by reasons of speed. (186966 lines)
Version 15.66: Dec 14, 2015 Number of teachers and number of students removed from list of countries, institutions and centres by reasons of speed. (187057 lines)
@ -2237,8 +2243,8 @@ INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1151','es','N','Ver
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1152','es','N','Imprimir informaci&oacute;n centro');
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1153','es','N','Ver informaci&oacute;n instituci&oacute;n');
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1154','es','N','Imprimir informaci&oacute;n instituci&oacute;n');
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1155','es','N','Ver informaci&oacute;n instituci&oacute;n');
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1156','es','N','Imprimir informaci&oacute;n instituci&oacute;n');
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1155','es','N','Ver informaci&oacute;n pa&iacute;s');
INSERT INTO actions (ActCod,Language,Obsolete,Txt) VALUES ('1156','es','N','Imprimir informaci&oacute;n pa&iacute;s');
Version 13.20: Dec 12, 2013 Course configuration is integrated with course introduction.
New option to view degree configuration. (159558 lines)

View File

@ -1120,13 +1120,19 @@ void Cty_WriteCountryName (long CtyCod,const char *Class)
/***** Get country name *****/
Cty_GetCountryName (CtyCod,CtyName);
/***** Link to country information *****/
Act_FormStart (ActSeeCtyInf);
Cty_PutParamCtyCod (CtyCod);
Act_LinkFormSubmit (Act_GetActionTextFromDB (Act_Actions[ActSeeCtyInf].ActCod,ActTxt),
Class);
fprintf (Gbl.F.Out,"%s</a>",CtyName);
Act_FormEnd ();
if (Gbl.InsideForm) // If we are writing another form
/***** Write country name without link *****/
fprintf (Gbl.F.Out,"%s",CtyName);
else
{
/***** Write country name with link to country information *****/
Act_FormStart (ActSeeCtyInf);
Cty_PutParamCtyCod (CtyCod);
Act_LinkFormSubmit (Act_GetActionTextFromDB (Act_Actions[ActSeeCtyInf].ActCod,ActTxt),
Class);
fprintf (Gbl.F.Out,"%s</a>",CtyName);
Act_FormEnd ();
}
}
/*****************************************************************************/

View File

@ -506,7 +506,7 @@ void Crs_ChangeCourseConfig (void)
/************************ Write menu with my courses *************************/
/*****************************************************************************/
#define Crs_MAX_BYTES_TXT_LINK 60
#define Crs_MAX_BYTES_TXT_LINK 40
static void Crs_WriteListMyCoursesToSelectOne (void)
{
@ -551,7 +551,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void)
Par_PutHiddenParamUnsigned ("NxtTab",(unsigned) TabSys);
Act_LinkFormSubmit (Txt_System,
The_ClassForm[Gbl.Prefs.Theme]);
fprintf (Gbl.F.Out,"<img src=\"%s/sys16x16.gif\""
fprintf (Gbl.F.Out,"<img src=\"%s/sys64x64.gif\""
" alt=\"%s\" title=\"%s\""
" class=\"ICON20x20\" />",
Gbl.Prefs.IconsURL,
@ -742,8 +742,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void)
Act_FormStart (ActSeeCrsInf);
Crs_PutParamCrsCod (Crs.CrsCod);
sprintf (Gbl.Title,Txt_Go_to_X,Crs.ShortName);
Act_LinkFormSubmit (Gbl.Title,
The_ClassForm[Gbl.Prefs.Theme]);
Act_LinkFormSubmit (Gbl.Title,The_ClassForm[Gbl.Prefs.Theme]);
fprintf (Gbl.F.Out,"<img src=\"%s/dot64x64.png\""
" alt=\"%s\" title=\"%s\""
" class=\"ICON20x20\" />",

View File

@ -1314,7 +1314,7 @@ static void Deg_ListOneDegreeForSeeing (struct Degree *Deg,unsigned NumDeg)
BgColor,
Gbl.Prefs.IconsURL,
Deg->NumCrss ? "ok_green" :
"tr",
"tr",
Deg->NumCrss ? Txt_DEGREE_With_courses :
Txt_DEGREE_Without_courses,
Deg->NumCrss ? Txt_DEGREE_With_courses :

View File

@ -152,7 +152,7 @@ void Enr_PutLinkToRequestSignUp (void)
extern const char *Txt_Sign_up;
/***** Show the form *****/
Lay_PutContextualLink (ActReqSignUp,NULL,"signup16x16.gif",
Lay_PutContextualLink (ActReqSignUp,NULL,"enrollmentrequest64x64.gif",
Txt_Sign_up,Txt_Sign_up);
}