Version 14.47.3

This commit is contained in:
Antonio Cañas Vargas 2014-12-29 20:44:10 +01:00
parent ba2ec0a62d
commit 22decf3906
11 changed files with 5 additions and 185 deletions

View File

@ -506,25 +506,6 @@ static void Ctr_Configuration (bool PrintView)
}
}
/*****************************************************************************/
/********* Put a link (form) to view centres of current institution **********/
/*****************************************************************************/
// Gbl.CurrentIns.Ins.InsCod must be > 0
/*
void Ctr_PutLinkToViewCentresOfCurrentIns (void)
{
extern const char *The_ClassFormul[The_NUM_THEMES];
extern const char *Txt_Centres_of_INSTITUTION_X;
***** Put form to view centres of current institution *****
Act_FormStart (ActSeeCtr);
sprintf (Gbl.Title,Txt_Centres_of_INSTITUTION_X,
Gbl.CurrentIns.Ins.ShortName);
Act_LinkFormSubmit (Gbl.Title,The_ClassFormul[Gbl.Prefs.Theme]);
Lay_PutSendIcon ("ctr",Gbl.Title,Gbl.Title);
fprintf (Gbl.F.Out,"</form>");
}
*/
/*****************************************************************************/
/*************** Show the centres of the current institution *****************/
/*****************************************************************************/

View File

@ -90,7 +90,6 @@ void Ctr_SeeCtrWithPendingDegs (void);
void Ctr_ShowConfiguration (void);
void Ctr_PrintConfiguration (void);
// void Ctr_PutLinkToViewCentresOfCurrentIns (void);
void Ctr_ShowCtrsOfCurrentIns (void);
void Ctr_EditCentres (void);
void Ctr_GetListCentres (long InsCod);

View File

@ -35,11 +35,12 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 14.47.2 (2014/12/29)"
#define Log_PLATFORM_VERSION "SWAD 14.47.3 (2014/12/29)"
// 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 | tail -1
/*
Version 14.47.3 :Dic 29, 2014 Removed old code not used. (174499 lines)
Version 14.47.2 :Dic 29, 2014 Changes in listing of chat rooms, forums and user's courses. (174677 lines)
Version 14.47.1 :Dic 29, 2014 Changes in listing of chat rooms, forums and user's courses.
Fixed bugs in CSS. (174619 lines)

View File

@ -472,22 +472,6 @@ static void Cty_Configuration (bool PrintView)
}
}
/*****************************************************************************/
/******************** Put a link (form) to view countries ********************/
/*****************************************************************************/
/*
void Cty_PutLinkToViewCountries (void)
{
extern const char *The_ClassFormul[The_NUM_THEMES];
extern const char *Txt_Countries;
***** Put form to view institutions of current country *****
Act_FormStart (ActSeeCty);
Act_LinkFormSubmit (Txt_Countries,The_ClassFormul[Gbl.Prefs.Theme]);
Lay_PutSendIcon ("earth",Txt_Countries,Txt_Countries);
fprintf (Gbl.F.Out,"</form>");
}
*/
/*****************************************************************************/
/*************************** List all the countries **************************/
/*****************************************************************************/

View File

@ -75,7 +75,6 @@ void Cty_SeeCtyWithPendingInss (void);
void Cty_ShowConfiguration (void);
void Cty_PrintConfiguration (void);
// void Cty_PutLinkToViewCountries (void);
void Cty_ListCountries (void);
void Cty_ListCountries1 (void);
void Cty_ListCountries2 (void);

View File

@ -75,7 +75,6 @@ static void Crs_PutFormToConfigLogIn (bool IsForm);
static void Crs_WriteListMyCoursesToSelectOne (void);
// static void Crs_PutLinkToViewCoursesOfCurrentDeg (void);
static void Crs_GetListCoursesInDegree (Crs_WhatCourses_t WhatCourses);
static void Crs_ListCourses (void);
static void Crs_EditCourses (void);
@ -919,25 +918,6 @@ unsigned Crs_GetNumCrssWithUsrs (Rol_Role_t Role,const char *SubQuery)
return (unsigned) DB_QueryCOUNT (Query,"can not get number of courses with users");
}
/*****************************************************************************/
/************ Put a link (form) to view courses of current degree ************/
/*****************************************************************************/
// Gbl.CurrentDeg.Deg.DegCod must be > 0
/*
static void Crs_PutLinkToViewCoursesOfCurrentDeg (void)
{
extern const char *The_ClassFormul[The_NUM_THEMES];
extern const char *Txt_Courses_of_DEGREE_X;
***** Put form to view courses of current degree *****
Act_FormStart (ActSeeCrs);
sprintf (Gbl.Title,Txt_Courses_of_DEGREE_X,
Gbl.CurrentDeg.Deg.ShortName);
Act_LinkFormSubmit (Gbl.Title,The_ClassFormul[Gbl.Prefs.Theme]);
Lay_PutSendIcon ("hierarchy",Gbl.Title,Gbl.Title);
fprintf (Gbl.F.Out,"</form>");
}
*/
/*****************************************************************************/
/************************** Show courses of a degree *************************/
/*****************************************************************************/
@ -2980,18 +2960,6 @@ void Crs_ReqSelectOneOfMyCourses (void)
/***** Search / select more courses *****/
fprintf (Gbl.F.Out,"<div style=\"text-align:center;\">");
Crs_PutLinkToSearchCourses ();
/*
if (Gbl.CurrentDeg.Deg.DegCod > 0)
Crs_PutLinkToViewCoursesOfCurrentDeg ();
else if (Gbl.CurrentCtr.Ctr.CtrCod > 0)
Deg_PutLinkToViewDegreesOfCurrentCtr ();
else if (Gbl.CurrentIns.Ins.InsCod > 0)
Ctr_PutLinkToViewCentresOfCurrentIns ();
else if (Gbl.CurrentCty.Cty.CtyCod > 0)
Ins_PutLinkToViewInstitutionsOfCurrentCty ();
else
Cty_PutLinkToViewCountries ();
*/
fprintf (Gbl.F.Out,"</div>");
/***** Select one of my courses *****/

View File

@ -966,25 +966,6 @@ void Deg_ReqEditDegreeTypes (void)
Deg_FreeListDegTypes ();
}
/*****************************************************************************/
/*********** Put a link (form) to view degrees of current centre *************/
/*****************************************************************************/
// Gbl.CurrentCtr.Ctr.CtrCod must be > 0
/*
void Deg_PutLinkToViewDegreesOfCurrentCtr (void)
{
extern const char *The_ClassFormul[The_NUM_THEMES];
extern const char *Txt_Degrees_of_CENTRE_X;
***** Put form to view degrees of current centre *****
Act_FormStart (ActSeeDeg);
sprintf (Gbl.Title,Txt_Degrees_of_CENTRE_X,
Gbl.CurrentCtr.Ctr.ShortName);
Act_LinkFormSubmit (Gbl.Title,The_ClassFormul[Gbl.Prefs.Theme]);
Lay_PutSendIcon ("deg",Gbl.Title,Gbl.Title);
fprintf (Gbl.F.Out,"</form>");
}
*/
/*****************************************************************************/
/************* Show the degrees belonging to the current centre **************/
/*****************************************************************************/

View File

@ -114,7 +114,6 @@ void Deg_InitCurrentCourse (void);
void Deg_WriteSelectorDegTypes (void);
void Deg_SeeDegTypes (void);
void Deg_ReqEditDegreeTypes (void);
// void Deg_PutLinkToViewDegreesOfCurrentCtr (void);
void Deg_ShowDegsOfCurrentCtr (void);
unsigned Deg_ConvStrToYear (const char *StrYear);

View File

@ -459,25 +459,6 @@ static void Ins_Configuration (bool PrintView)
}
}
/*****************************************************************************/
/********* Put a link (form) to view institutions of current country *********/
/*****************************************************************************/
// Gbl.CurrentCty.Cty.CtyCod must be > 0
/*
void Ins_PutLinkToViewInstitutionsOfCurrentCty (void)
{
extern const char *The_ClassFormul[The_NUM_THEMES];
extern const char *Txt_Institutions_of_COUNTRY_X;
***** Put form to view institutions of current country *****
Act_FormStart (ActSeeIns);
sprintf (Gbl.Title,Txt_Institutions_of_COUNTRY_X,
Gbl.CurrentCty.Cty.Name[Gbl.Prefs.Language]);
Act_LinkFormSubmit (Gbl.Title,The_ClassFormul[Gbl.Prefs.Theme]);
Lay_PutSendIcon ("ins",Gbl.Title,Gbl.Title);
fprintf (Gbl.F.Out,"</form>");
}
*/
/*****************************************************************************/
/**************** List the institutions of the current country ***************/
/*****************************************************************************/

View File

@ -97,7 +97,6 @@ void Ins_SeeInsWithPendingCtrs (void);
void Ins_ShowConfiguration (void);
void Ins_PrintConfiguration (void);
// void Ins_PutLinkToViewInstitutionsOfCurrentCty (void);
void Ins_ShowInssOfCurrentCty (void);
void Ins_EditInstitutions (void);
void Ins_GetListInstitutions (long CtyCod,Ins_GetExtraData_t GetExtraData);

View File

@ -12245,28 +12245,7 @@ const char *Txt_Guided_academic_assignments =
#elif L==8
"Atividades acad&eacute;micas guided";
#endif
/*
const char *Txt_X_header_rows_Y_student_rows_and_Z_footer_rows_found = // Warning: it is very important to include three %u in the following sentences
#if L==0
"Se han detectado %u fila(s) de cabecera, %u fila(s) de estudiantes y %u fila(s) de pie."; // Necessita traduccio
#elif L==1
"%u header row(s), %u student row(s) and %u footer row(s) found."; // Need Übersetzung
#elif L==2
"%u header row(s), %u student row(s) and %u footer row(s) found.";
#elif L==3
"Se han detectado %u fila(s) de cabecera, %u fila(s) de estudiantes y %u fila(s) de pie.";
#elif L==4
"%u header row(s), %u student row(s) and %u footer row(s) found."; // Besoin de traduction
#elif L==5
"Se han detectado %u fila(s) de cabecera, %u fila(s) de estudiantes y %u fila(s) de pie."; // Okoteve traducción
#elif L==6
"Si &egrave;/sono individuata/e %u riga/righe di intestazione, %u righe di studenti e %u righe a pi&egrave; di pagina.";
#elif L==7
"%u wiersz nagl&oacute;wka(s) %u wierszu studenta i wierszu stopki(s) znaleziono.";
#elif L==8
"%u header row(s), %u student row(s) and %u footer row(s) found."; // Necessita de tradução
#endif
*/
const char *Txt_Help_on_the_file_browser =
#if L==0
"Ajuda sobre el explorador de fitxers";
@ -14301,37 +14280,7 @@ const char *Txt_IP = // Internet Protocol address
#elif L==8
"IP";
#endif
/*
const char *Txt_X_is_busy_at_the_moment_Try_again_in_a_few_seconds = // Warning: it is very important to include %s in the following sentences
#if L==0
"%s est&aacute; ocupado en este momento."
" Vuelva a intentarlo dentro de unos segundos."; // Necessita traduccio
#elif L==1
"%s ist im Moment besch&auml;ftigt."
" Wieder in ein paar Sekunden noch einmal.";
#elif L==2
"%s is busy at the moment."
" Try again in a few seconds.";
#elif L==3
"%s est&aacute; ocupado en este momento."
" Vuelva a intentarlo dentro de unos segundos.";
#elif L==4
"%s est occup&eacute; en ce moment."
" Essayez &agrave; nouveau dans quelques secondes.";
#elif L==5
"%s est&aacute; ocupado en este momento."
" Vuelva a intentarlo dentro de unos segundos."; // Okoteve traducción
#elif L==6
"%s &egrave; occupato in questo momento."
" Riprova tra pochi secondi.";
#elif L==7
"%s jest zajety."
" Spr&oacute;buj ponownie za kilka sekund.";
#elif L==8
"%s est&aacute; ocupado no momento."
" Tente novamente em alguns segundos.";
#endif
*/
const char *Txt_It_is_mandatory_to_choose_a_group =
#if L==0
"Elegir grupo es obligatorio"; // Necessita traduccio
@ -15376,28 +15325,7 @@ const char *Txt_Mandatory_enrollment = // (to a type of group)
#elif L==8
"Inscri&ccedil;&atilde;o obrigat&oacute;ria?";
#endif
/*
const char *Txt_Mandatory_rules_to_compose_messages =
#if L==0
"Normas obligatorias al redactar mensajes (netiquette)"; // Necessita traduccio
#elif L==1
"Verbindliche Regeln zum Verfassen von Nachrichten (Netiquette)";
#elif L==2
"Mandatory rules to compose messages (netiquette)";
#elif L==3
"Normas obligatorias al redactar mensajes (netiquette)";
#elif L==4
"R&wgrave;gles imp&eacute;ratives de composer des messages (netiquette)";
#elif L==5
"Normas obligatorias al redactar mensajes (netiquette)"; // Okoteve traducción
#elif L==6
"Norme obbligatorie per comporre messaggi (netiquette)";
#elif L==7
"Przepisy bezwzglednie obowiazujace do redagowania wiadomosci (netykieta)";
#elif L==8
"Regras obrigat&oacute;rias para compor mensagens (netiquette)";
#endif
*/
const char *Txt_Mark_all_notifications_as_read =
#if L==0
"Marca totes les notificacions com llegides";