Version 15.73.3

This commit is contained in:
Antonio Cañas Vargas 2015-12-25 22:05:28 +01:00
parent afb7bf5469
commit a8f3c97a49
4 changed files with 26 additions and 12 deletions

View File

@ -483,7 +483,7 @@ a:hover /* Default ==> underlined */
.WHITE_TAB_OFF {color:#707070;} .WHITE_TAB_OFF {color:#707070;}
.GREY_TAB_OFF {color:#505050;} .GREY_TAB_OFF {color:#505050;}
.BLUE_TAB_OFF {color:#365E6E;} .BLUE_TAB_OFF {color:#365E6E;}
.YELLOW_TAB_OFF {color:#7C4D2A;} .YELLOW_TAB_OFF {color:#4A2E19;}
.WHITE_TAB_ON {color:#4D88A1;} .WHITE_TAB_ON {color:#4D88A1;}
.GREY_TAB_ON {color:#606060;} .GREY_TAB_ON {color:#606060;}
@ -1410,6 +1410,11 @@ a:hover img.CENTRE_PHOTO_SHOW
.BLUE_FORM {color:#4D88A1; font-size:13pt;} .BLUE_FORM {color:#4D88A1; font-size:13pt;}
.YELLOW_FORM {color:#7C4D2A; font-size:13pt;} .YELLOW_FORM {color:#7C4D2A; font-size:13pt;}
.WHITE_FORM_DARK {color:#365E6E; font-size:13pt;}
.GREY_FORM_DARK {color:#365E6E; font-size:13pt;}
.BLUE_FORM_DARK {color:#365E6E; font-size:13pt;}
.YELLOW_FORM_DARK {color:#4A2E19; font-size:13pt;}
.WHITE_FORM_NOWRAP {color:#4D88A1; font-size:13pt; white-space:nowrap;} .WHITE_FORM_NOWRAP {color:#4D88A1; font-size:13pt; white-space:nowrap;}
.GREY_FORM_NOWRAP {color:#4D88A1; font-size:13pt; white-space:nowrap;} .GREY_FORM_NOWRAP {color:#4D88A1; font-size:13pt; white-space:nowrap;}
.BLUE_FORM_NOWRAP {color:#4D88A1; font-size:13pt; white-space:nowrap;} .BLUE_FORM_NOWRAP {color:#4D88A1; font-size:13pt; white-space:nowrap;}

View File

@ -117,12 +117,13 @@
/****************************** Public constants *****************************/ /****************************** Public constants *****************************/
/*****************************************************************************/ /*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.73.2 (2015-12-25)" #define Log_PLATFORM_VERSION "SWAD 15.73.3 (2015-12-25)"
#define CSS_FILE "swad15.72.4.css" #define CSS_FILE "swad15.73.3.css"
// 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.73.3: Dec 25, 2015 Select one of my courses goes to the current action. (187710 lines)
Version 15.73.2: Dec 25, 2015 Background of selected course in light blue. (187698 lines) Version 15.73.2: Dec 25, 2015 Background of selected course in light blue. (187698 lines)
Version 15.73.1: Dec 25, 2015 Background of selected privacy options in light blue. (187704 lines) Version 15.73.1: Dec 25, 2015 Background of selected privacy options in light blue. (187704 lines)
Version 15.73: Dec 24, 2015 Fixed bug in privacy form. Version 15.73: Dec 24, 2015 Fixed bug in privacy form.

View File

@ -488,7 +488,7 @@ void Crs_ChangeCourseConfig (void)
static void Crs_WriteListMyCoursesToSelectOne (void) static void Crs_WriteListMyCoursesToSelectOne (void)
{ {
extern const char *The_ClassForm[The_NUM_THEMES]; extern const char *The_ClassForm[The_NUM_THEMES];
extern const char *The_ClassFormBold[The_NUM_THEMES]; extern const char *The_ClassFormDark[The_NUM_THEMES];
extern const char *Txt_My_courses; extern const char *Txt_My_courses;
extern const char *Txt_System; extern const char *Txt_System;
extern const char *Txt_Go_to_X; extern const char *Txt_Go_to_X;
@ -520,7 +520,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void)
char ClassHighlight[64]; char ClassHighlight[64];
strcpy (ClassNormal,The_ClassForm[Gbl.Prefs.Theme]); strcpy (ClassNormal,The_ClassForm[Gbl.Prefs.Theme]);
sprintf (ClassHighlight,"%s LIGHT_BLUE",The_ClassFormBold[Gbl.Prefs.Theme]); sprintf (ClassHighlight,"%s LIGHT_BLUE",The_ClassFormDark[Gbl.Prefs.Theme]);
/***** Table start *****/ /***** Table start *****/
Lay_StartRoundFrame (NULL,Txt_My_courses); Lay_StartRoundFrame (NULL,Txt_My_courses);
@ -533,8 +533,8 @@ static void Crs_WriteListMyCoursesToSelectOne (void)
fprintf (Gbl.F.Out,"<li class=\"%s\" style=\"height:25px;\">", fprintf (Gbl.F.Out,"<li class=\"%s\" style=\"height:25px;\">",
Highlight ? ClassHighlight : Highlight ? ClassHighlight :
ClassNormal); ClassNormal);
Act_FormGoToStart (ActMnu); Act_FormStart (ActMyCrs);
Par_PutHiddenParamUnsigned ("NxtTab",(unsigned) TabSys); Cty_PutParamCtyCod (-1L);
Act_LinkFormSubmit (Txt_System, Act_LinkFormSubmit (Txt_System,
Highlight ? ClassHighlight : Highlight ? ClassHighlight :
ClassNormal); ClassNormal);
@ -570,7 +570,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void)
ClassNormal); ClassNormal);
IsLastItemInLevel[1] = (NumCty == NumCtys - 1); IsLastItemInLevel[1] = (NumCty == NumCtys - 1);
Lay_IndentDependingOnLevel (1,IsLastItemInLevel); Lay_IndentDependingOnLevel (1,IsLastItemInLevel);
Act_FormStart (ActSeeCtyInf); Act_FormStart (ActMyCrs);
Cty_PutParamCtyCod (Cty.CtyCod); Cty_PutParamCtyCod (Cty.CtyCod);
Act_LinkFormSubmit (Act_GetActionTextFromDB (Act_Actions[ActSeeCtyInf].ActCod,ActTxt), Act_LinkFormSubmit (Act_GetActionTextFromDB (Act_Actions[ActSeeCtyInf].ActCod,ActTxt),
Highlight ? ClassHighlight : Highlight ? ClassHighlight :
@ -611,7 +611,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void)
ClassNormal); ClassNormal);
IsLastItemInLevel[2] = (NumIns == NumInss - 1); IsLastItemInLevel[2] = (NumIns == NumInss - 1);
Lay_IndentDependingOnLevel (2,IsLastItemInLevel); Lay_IndentDependingOnLevel (2,IsLastItemInLevel);
Act_FormStart (ActSeeInsInf); Act_FormStart (ActMyCrs);
Ins_PutParamInsCod (Ins.InsCod); Ins_PutParamInsCod (Ins.InsCod);
Act_LinkFormSubmit (Act_GetActionTextFromDB (Act_Actions[ActSeeInsInf].ActCod,ActTxt), Act_LinkFormSubmit (Act_GetActionTextFromDB (Act_Actions[ActSeeInsInf].ActCod,ActTxt),
Highlight ? ClassHighlight : Highlight ? ClassHighlight :
@ -646,7 +646,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void)
ClassNormal); ClassNormal);
IsLastItemInLevel[3] = (NumCtr == NumCtrs - 1); IsLastItemInLevel[3] = (NumCtr == NumCtrs - 1);
Lay_IndentDependingOnLevel (3,IsLastItemInLevel); Lay_IndentDependingOnLevel (3,IsLastItemInLevel);
Act_FormStart (ActSeeCtrInf); Act_FormStart (ActMyCrs);
Ctr_PutParamCtrCod (Ctr.CtrCod); Ctr_PutParamCtrCod (Ctr.CtrCod);
Act_LinkFormSubmit (Act_GetActionTextFromDB (Act_Actions[ActSeeCtrInf].ActCod,ActTxt), Act_LinkFormSubmit (Act_GetActionTextFromDB (Act_Actions[ActSeeCtrInf].ActCod,ActTxt),
Highlight ? ClassHighlight : Highlight ? ClassHighlight :
@ -681,7 +681,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void)
ClassNormal); ClassNormal);
IsLastItemInLevel[4] = (NumDeg == NumDegs - 1); IsLastItemInLevel[4] = (NumDeg == NumDegs - 1);
Lay_IndentDependingOnLevel (4,IsLastItemInLevel); Lay_IndentDependingOnLevel (4,IsLastItemInLevel);
Act_FormStart (ActSeeDegInf); Act_FormStart (ActMyCrs);
Deg_PutParamDegCod (Deg.DegCod); Deg_PutParamDegCod (Deg.DegCod);
Act_LinkFormSubmit (Act_GetActionTextFromDB (Act_Actions[ActSeeDegInf].ActCod,ActTxt), Act_LinkFormSubmit (Act_GetActionTextFromDB (Act_Actions[ActSeeDegInf].ActCod,ActTxt),
Highlight ? ClassHighlight : Highlight ? ClassHighlight :
@ -715,7 +715,7 @@ static void Crs_WriteListMyCoursesToSelectOne (void)
ClassNormal); ClassNormal);
IsLastItemInLevel[5] = (NumCrs == NumCrss - 1); IsLastItemInLevel[5] = (NumCrs == NumCrss - 1);
Lay_IndentDependingOnLevel (5,IsLastItemInLevel); Lay_IndentDependingOnLevel (5,IsLastItemInLevel);
Act_FormStart (ActSeeCrsInf); Act_FormStart (ActMyCrs);
Crs_PutParamCrsCod (Crs.CrsCod); Crs_PutParamCrsCod (Crs.CrsCod);
sprintf (Gbl.Title,Txt_Go_to_X,Crs.ShortName); sprintf (Gbl.Title,Txt_Go_to_X,Crs.ShortName);
Act_LinkFormSubmit (Gbl.Title, Act_LinkFormSubmit (Gbl.Title,

View File

@ -207,6 +207,14 @@ const char *The_ClassForm[The_NUM_THEMES] =
"YELLOW_FORM", "YELLOW_FORM",
}; };
const char *The_ClassFormDark[The_NUM_THEMES] =
{
"WHITE_FORM_DARK",
"GREY_FORM_DARK",
"BLUE_FORM_DARK",
"YELLOW_FORM_DARK",
};
const char *The_ClassFormNoWrap[The_NUM_THEMES] = const char *The_ClassFormNoWrap[The_NUM_THEMES] =
{ {
"WHITE_FORM_NOWRAP", "WHITE_FORM_NOWRAP",