diff --git a/swad_changelog.h b/swad_changelog.h index 1d8439e5c..048ce110a 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -134,13 +134,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 15.159.3 (2016-03-21)" +#define Log_PLATFORM_VERSION "SWAD 15.159.4 (2016-03-21)" #define CSS_FILE "swad15.157.css" #define JS_FILE "swad15.131.3.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.159.4: Mar 21, 2016 Icon to print stats on degrees integrated in frame. (196426 lines) Version 15.159.3: Mar 21, 2016 Icon to add new announcement integrated in frame. Button to add new announcement. (196427 lines) Version 15.159.2: Mar 21, 2016 Button to add new notice. (196410 lines) diff --git a/swad_photo.c b/swad_photo.c index c2638d698..97d46f6bb 100644 --- a/swad_photo.c +++ b/swad_photo.c @@ -105,7 +105,7 @@ static Pho_HowComputePhotoSize_t Pho_GetHowComputePhotoSizeFromForm (void); static void Pho_PutSelectorForHowOrderDegrees (void); static Pho_HowOrderDegrees_t Pho_GetHowOrderDegreesFromForm (void); -static void Pho_PutLinkToPrintViewOfDegreeStats (void); +static void Pho_PutIconToPrintDegreeStats (void); static void Pho_PutLinkToPrintViewOfDegreeStatsParams (void); static void Pho_PutLinkToCalculateDegreeStats (void); @@ -1526,9 +1526,6 @@ void Pho_ShowOrPrintPhotoDegree (Pho_AvgPhotoSeeOrPrint_t SeeOrPrint) fprintf (Gbl.F.Out,""); - /***** Link to print view *****/ - Pho_PutLinkToPrintViewOfDegreeStats (); - /***** Link to computation of average photos *****/ Pho_PutLinkToCalculateDegreeStats (); } @@ -1756,18 +1753,15 @@ static Pho_HowOrderDegrees_t Pho_GetHowOrderDegreesFromForm (void) } /*****************************************************************************/ -/*************** Put a link to print view the stats of degrees ***************/ +/*************** Put icon to print view the stats of degrees ***************/ /*****************************************************************************/ -static void Pho_PutLinkToPrintViewOfDegreeStats (void) +static void Pho_PutIconToPrintDegreeStats (void) { extern const char *Txt_Print; - fprintf (Gbl.F.Out,"