Version 15.10.4

This commit is contained in:
Antonio Cañas Vargas 2015-10-07 23:03:30 +02:00
parent 2d39d78b47
commit 8635715235
3 changed files with 34 additions and 6 deletions

View File

@ -98,13 +98,14 @@
/****************************** 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:
// 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
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.2: Oct 07, 2015 Fixed bug in nicknames, reported by Javier Fdez. Baldomero.
New MIME type, suggested by Javier Fdez. Baldomero.

View File

@ -3412,15 +3412,20 @@ void Crs_UpdateCrsLast (void)
void Crs_AskRemoveOldCrss (void)
{
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_2_OF_2;
extern const char *Txt_Eliminate;
unsigned MonthsWithoutAccess = Crs_DEF_MONTHS_WITHOUT_ACCESS_TO_REMOVE_OLD_CRSS;
unsigned i;
/***** Form to request number of months without clicks *****/
fprintf (Gbl.F.Out,"<div class=\"CENTER_MIDDLE\">");
/***** Start form *****/
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>",
The_ClassForm[Gbl.Prefs.Theme],
Txt_Eliminate_all_courses_whithout_users_PART_1_OF_2);
@ -3441,10 +3446,11 @@ void Crs_AskRemoveOldCrss (void)
Cfg_PLATFORM_SHORT_NAME);
fprintf (Gbl.F.Out,"</span>");
/***** Send button*****/
Lay_PutRemoveButton (Txt_Eliminate);
/***** End frame *****/
Lay_EndRoundFrameWithButton (Lay_REMOVE_BUTTON,Txt_Eliminate);
/***** End form *****/
Act_FormEnd ();
fprintf (Gbl.F.Out,"</div>");
}
/*****************************************************************************/

View File

@ -9605,6 +9605,27 @@ const char *Txt_Eliminate_from_the_platform_the_users_indicated_in_step_1 =
" os utilizadores que est&atilde;o na lista";
#endif
const char *Txt_Eliminate_old_courses =
#if L==0
"Eliminar assignatures antics";
#elif L==1
"Fr&uuml;here Kursen entfernen";
#elif L==2
"Eliminate old courses";
#elif L==3
"Eliminar asignaturas antiguas";
#elif L==4
"&Eacute;liminer anciens mati&egrave;res";
#elif L==5
"Eliminar asignaturas antiguas"; // Okoteve traducción
#elif L==6
"Rimuovere vecchi corsi";
#elif L==7
"Wyeleminuj starych kurs&oacute;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
#if L==0
"Eliminando %lu asignatura(s) sin usuarios"