mirror of https://github.com/acanas/swad-core.git
Version 15.212.8
This commit is contained in:
parent
fd9e4cac2c
commit
e31be67346
|
@ -140,13 +140,14 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.212.7 (2016-05-30)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.212.8 (2016-05-30)"
|
||||
#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.212.8: May 30, 2016 Link to list centres of institution in institution configuration. (201555 lines)
|
||||
Version 15.212.7: May 30, 2016 Link to list degrees of centre in centre configuration. (201547 lines)
|
||||
Version 15.212.6: May 30, 2016 Link to list courses of degree in degree configuration. (201539 lines)
|
||||
Version 15.212.5: May 30, 2016 Fixed bug in number of courses of a degree. (201531 lines)
|
||||
|
|
|
@ -241,13 +241,14 @@ void Ins_PrintConfiguration (void)
|
|||
static void Ins_Configuration (bool PrintView)
|
||||
{
|
||||
extern const char *The_ClassForm[The_NUM_THEMES];
|
||||
extern const char *Txt_Centres;
|
||||
extern const char *Txt_Institution;
|
||||
extern const char *Txt_Short_name;
|
||||
extern const char *Txt_Web;
|
||||
extern const char *Txt_Shortcut;
|
||||
extern const char *Txt_STR_LANG_ID[1+Txt_NUM_LANGUAGES];
|
||||
extern const char *Txt_QR_code;
|
||||
extern const char *Txt_Centres;
|
||||
extern const char *Txt_Centres_of_INSTITUTION_X;
|
||||
extern const char *Txt_Degrees;
|
||||
extern const char *Txt_Courses;
|
||||
extern const char *Txt_Departments;
|
||||
|
@ -383,15 +384,23 @@ static void Ins_Configuration (bool PrintView)
|
|||
/***** Number of centres *****/
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
"<td class=\"%s RIGHT_MIDDLE\">"
|
||||
"%s:"
|
||||
"</td>"
|
||||
"<td class=\"DAT LEFT_MIDDLE\">"
|
||||
"%u"
|
||||
"</td>"
|
||||
"</tr>",
|
||||
"%s:"
|
||||
"</td>"
|
||||
"<td class=\"LEFT_MIDDLE\">",
|
||||
The_ClassForm[Gbl.Prefs.Theme],
|
||||
Txt_Centres,
|
||||
Txt_Centres);
|
||||
|
||||
/* Form to go to see centres of this institution */
|
||||
Act_FormGoToStart (ActSeeCtr);
|
||||
Deg_PutParamDegCod (Gbl.CurrentIns.Ins.InsCod);
|
||||
sprintf (Gbl.Title,Txt_Centres_of_INSTITUTION_X,Gbl.CurrentIns.Ins.ShortName);
|
||||
Act_LinkFormSubmit (Gbl.Title,"DAT");
|
||||
fprintf (Gbl.F.Out,"%u</a>",
|
||||
Ctr_GetNumCtrsInIns (Gbl.CurrentIns.Ins.InsCod));
|
||||
Act_FormEnd ();
|
||||
|
||||
fprintf (Gbl.F.Out,"</td>"
|
||||
"</tr>");
|
||||
|
||||
/***** Number of degrees *****/
|
||||
fprintf (Gbl.F.Out,"<tr>"
|
||||
|
|
Loading…
Reference in New Issue