mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-26 18:35:44 +02:00
Version 15.10.4
This commit is contained in:
parent
2d39d78b47
commit
8635715235
|
@ -98,13 +98,14 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 15.10.3 (2015/10/07)"
|
#define Log_PLATFORM_VERSION "SWAD 15.10.4 (2015/10/07)"
|
||||||
|
|
||||||
// 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
|
||||||
/*
|
/*
|
||||||
TODO: If photo zoom is out of the screen at left, put on right
|
TODO: If photo zoom is out of the screen at left, put on right
|
||||||
|
|
||||||
|
Version 15.10.4: Oct 07, 2015 Change in layout of removal of old courses. (185665 lines)
|
||||||
Version 15.10.3: Oct 07, 2015 New contextual link in visits to last clicks. (185641 lines)
|
Version 15.10.3: Oct 07, 2015 New contextual link in visits to last clicks. (185641 lines)
|
||||||
Version 15.10.2: Oct 07, 2015 Fixed bug in nicknames, reported by Javier Fdez. Baldomero.
|
Version 15.10.2: Oct 07, 2015 Fixed bug in nicknames, reported by Javier Fdez. Baldomero.
|
||||||
New MIME type, suggested by Javier Fdez. Baldomero.
|
New MIME type, suggested by Javier Fdez. Baldomero.
|
||||||
|
|
|
@ -3412,15 +3412,20 @@ void Crs_UpdateCrsLast (void)
|
||||||
void Crs_AskRemoveOldCrss (void)
|
void Crs_AskRemoveOldCrss (void)
|
||||||
{
|
{
|
||||||
extern const char *The_ClassForm[The_NUM_THEMES];
|
extern const char *The_ClassForm[The_NUM_THEMES];
|
||||||
|
extern const char *Txt_Eliminate_old_courses;
|
||||||
extern const char *Txt_Eliminate_all_courses_whithout_users_PART_1_OF_2;
|
extern const char *Txt_Eliminate_all_courses_whithout_users_PART_1_OF_2;
|
||||||
extern const char *Txt_Eliminate_all_courses_whithout_users_PART_2_OF_2;
|
extern const char *Txt_Eliminate_all_courses_whithout_users_PART_2_OF_2;
|
||||||
extern const char *Txt_Eliminate;
|
extern const char *Txt_Eliminate;
|
||||||
unsigned MonthsWithoutAccess = Crs_DEF_MONTHS_WITHOUT_ACCESS_TO_REMOVE_OLD_CRSS;
|
unsigned MonthsWithoutAccess = Crs_DEF_MONTHS_WITHOUT_ACCESS_TO_REMOVE_OLD_CRSS;
|
||||||
unsigned i;
|
unsigned i;
|
||||||
|
|
||||||
/***** Form to request number of months without clicks *****/
|
/***** Start form *****/
|
||||||
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\">");
|
|
||||||
Act_FormStart (ActRemOldCrs);
|
Act_FormStart (ActRemOldCrs);
|
||||||
|
|
||||||
|
/***** Start frame *****/
|
||||||
|
Lay_StartRoundFrame (NULL,Txt_Eliminate_old_courses);
|
||||||
|
|
||||||
|
/***** Form to request number of months without clicks *****/
|
||||||
fprintf (Gbl.F.Out,"<span class=\"%s\">%s </span>",
|
fprintf (Gbl.F.Out,"<span class=\"%s\">%s </span>",
|
||||||
The_ClassForm[Gbl.Prefs.Theme],
|
The_ClassForm[Gbl.Prefs.Theme],
|
||||||
Txt_Eliminate_all_courses_whithout_users_PART_1_OF_2);
|
Txt_Eliminate_all_courses_whithout_users_PART_1_OF_2);
|
||||||
|
@ -3441,10 +3446,11 @@ void Crs_AskRemoveOldCrss (void)
|
||||||
Cfg_PLATFORM_SHORT_NAME);
|
Cfg_PLATFORM_SHORT_NAME);
|
||||||
fprintf (Gbl.F.Out,"</span>");
|
fprintf (Gbl.F.Out,"</span>");
|
||||||
|
|
||||||
/***** Send button*****/
|
/***** End frame *****/
|
||||||
Lay_PutRemoveButton (Txt_Eliminate);
|
Lay_EndRoundFrameWithButton (Lay_REMOVE_BUTTON,Txt_Eliminate);
|
||||||
|
|
||||||
|
/***** End form *****/
|
||||||
Act_FormEnd ();
|
Act_FormEnd ();
|
||||||
fprintf (Gbl.F.Out,"</div>");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
21
swad_text.c
21
swad_text.c
|
@ -9605,6 +9605,27 @@ const char *Txt_Eliminate_from_the_platform_the_users_indicated_in_step_1 =
|
||||||
" os utilizadores que estão na lista";
|
" os utilizadores que estão na lista";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
const char *Txt_Eliminate_old_courses =
|
||||||
|
#if L==0
|
||||||
|
"Eliminar assignatures antics";
|
||||||
|
#elif L==1
|
||||||
|
"Frühere Kursen entfernen";
|
||||||
|
#elif L==2
|
||||||
|
"Eliminate old courses";
|
||||||
|
#elif L==3
|
||||||
|
"Eliminar asignaturas antiguas";
|
||||||
|
#elif L==4
|
||||||
|
"Éliminer anciens matières";
|
||||||
|
#elif L==5
|
||||||
|
"Eliminar asignaturas antiguas"; // Okoteve traducción
|
||||||
|
#elif L==6
|
||||||
|
"Rimuovere vecchi corsi";
|
||||||
|
#elif L==7
|
||||||
|
"Wyeleminuj starych kursów";
|
||||||
|
#elif L==8
|
||||||
|
"Eliminar antigas disciplinas";
|
||||||
|
#endif
|
||||||
|
|
||||||
const char *Txt_Eliminating_X_courses_whithout_users_and_with_more_than_Y_months_without_access = // Warning: it is very important to include %lu and %u in the following sentences
|
const char *Txt_Eliminating_X_courses_whithout_users_and_with_more_than_Y_months_without_access = // Warning: it is very important to include %lu and %u in the following sentences
|
||||||
#if L==0
|
#if L==0
|
||||||
"Eliminando %lu asignatura(s) sin usuarios"
|
"Eliminando %lu asignatura(s) sin usuarios"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user