From 41db073b85955bfab7a01f8a00f0e995733e5881 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Thu, 2 Apr 2015 19:07:51 +0200 Subject: [PATCH] Version 14.107.2 --- swad_changelog.h | 3 ++- swad_survey.c | 46 +++++++--------------------------------------- 2 files changed, 9 insertions(+), 40 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index c20009ddd..23e4b8995 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -103,11 +103,12 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 14.107.1 (2015/04/02)" +#define Log_PLATFORM_VERSION "SWAD 14.107.2 (2015/04/02)" // 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 14.107.2: Apr 02, 2015 Changes in icons in surveys. (183717 lines) Version 14.107.1: Apr 02, 2015 Changes in icons in assignments. (183748 lines) Version 14.107: Apr 02, 2015 Refactoring contextual menus. (183776 lines) Version 14.106.2: Apr 02, 2015 Refactoring some contextual menus. (183747 lines) diff --git a/swad_survey.c b/swad_survey.c index bf6f876c1..5ef0c60eb 100644 --- a/swad_survey.c +++ b/swad_survey.c @@ -724,41 +724,25 @@ static void Svy_PutFormsToRemEditOneSvy (long SvyCod,bool Visible) extern const char *Txt_Hide; extern const char *Txt_Edit; - fprintf (Gbl.F.Out,"" - ""); + fprintf (Gbl.F.Out,"
"); /***** Put form to remove survey *****/ - fprintf (Gbl.F.Out,"
"); + Act_PutIconLink ("delon",Txt_Remove); /***** Put form to reset survey *****/ - fprintf (Gbl.F.Out,""); + Act_PutIconLink ("reset",Txt_Reset); /***** Put form to hide/show survey *****/ - fprintf (Gbl.F.Out,""); + Act_PutIconLink ("hidden_on",Txt_Show); /***** Put form to edit survey *****/ - fprintf (Gbl.F.Out,""); + Act_PutIconLink ("edit",Txt_Edit); - fprintf (Gbl.F.Out,"" - "
"); Act_FormStart (ActReqRemSvy); Svy_PutParamSvyCod (SvyCod); Svy_PutHiddenParamSvyOrderType (); Grp_PutParamWhichGrps (); Pag_PutHiddenParamPagNum (Gbl.Pag.CurrentPage); - fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, - Txt_Remove, - Txt_Remove); - Act_FormEnd (); - fprintf (Gbl.F.Out,""); Act_FormStart (ActReqRstSvy); Svy_PutParamSvyCod (SvyCod); Svy_PutHiddenParamSvyOrderType (); Grp_PutParamWhichGrps (); Pag_PutHiddenParamPagNum (Gbl.Pag.CurrentPage); - fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, - Txt_Reset, - Txt_Reset); - Act_FormEnd (); - fprintf (Gbl.F.Out,""); Act_FormStart (Visible ? ActHidSvy : ActShoSvy); Svy_PutParamSvyCod (SvyCod); @@ -766,35 +750,19 @@ static void Svy_PutFormsToRemEditOneSvy (long SvyCod,bool Visible) Grp_PutParamWhichGrps (); Pag_PutHiddenParamPagNum (Gbl.Pag.CurrentPage); if (Visible) - fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, - Txt_Hide,Txt_Hide); + Act_PutIconLink ("visible_on",Txt_Hide); else - fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, - Txt_Show,Txt_Show); - Act_FormEnd (); - fprintf (Gbl.F.Out,""); Act_FormStart (ActEdiOneSvy); Svy_PutParamSvyCod (SvyCod); Svy_PutHiddenParamSvyOrderType (); Grp_PutParamWhichGrps (); Pag_PutHiddenParamPagNum (Gbl.Pag.CurrentPage); - fprintf (Gbl.F.Out,"", - Gbl.Prefs.IconsURL, - Txt_Edit, - Txt_Edit); - Act_FormEnd (); - fprintf (Gbl.F.Out,"
"); + fprintf (Gbl.F.Out,""); } /*****************************************************************************/