mirror of
https://github.com/acanas/swad-core.git
synced 2024-05-28 20:43:27 +02:00
Version 14.107.2
This commit is contained in:
parent
5a1f957255
commit
41db073b85
|
@ -103,11 +103,12 @@
|
||||||
/****************************** Public constants *****************************/
|
/****************************** 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:
|
// 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
|
||||||
/*
|
/*
|
||||||
|
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.1: Apr 02, 2015 Changes in icons in assignments. (183748 lines)
|
||||||
Version 14.107: Apr 02, 2015 Refactoring contextual menus. (183776 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)
|
Version 14.106.2: Apr 02, 2015 Refactoring some contextual menus. (183747 lines)
|
||||||
|
|
|
@ -724,41 +724,25 @@ static void Svy_PutFormsToRemEditOneSvy (long SvyCod,bool Visible)
|
||||||
extern const char *Txt_Hide;
|
extern const char *Txt_Hide;
|
||||||
extern const char *Txt_Edit;
|
extern const char *Txt_Edit;
|
||||||
|
|
||||||
fprintf (Gbl.F.Out,"<table class=\"CELLS_PAD_4\">"
|
fprintf (Gbl.F.Out,"<div style=\"padding:5px 0;\">");
|
||||||
"<tr>");
|
|
||||||
|
|
||||||
/***** Put form to remove survey *****/
|
/***** Put form to remove survey *****/
|
||||||
fprintf (Gbl.F.Out,"<td style=\"text-align:left;\">");
|
|
||||||
Act_FormStart (ActReqRemSvy);
|
Act_FormStart (ActReqRemSvy);
|
||||||
Svy_PutParamSvyCod (SvyCod);
|
Svy_PutParamSvyCod (SvyCod);
|
||||||
Svy_PutHiddenParamSvyOrderType ();
|
Svy_PutHiddenParamSvyOrderType ();
|
||||||
Grp_PutParamWhichGrps ();
|
Grp_PutParamWhichGrps ();
|
||||||
Pag_PutHiddenParamPagNum (Gbl.Pag.CurrentPage);
|
Pag_PutHiddenParamPagNum (Gbl.Pag.CurrentPage);
|
||||||
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/delon16x16.gif\""
|
Act_PutIconLink ("delon",Txt_Remove);
|
||||||
" alt=\"%s\" title=\"%s\" class=\"ICON16x16\" />",
|
|
||||||
Gbl.Prefs.IconsURL,
|
|
||||||
Txt_Remove,
|
|
||||||
Txt_Remove);
|
|
||||||
Act_FormEnd ();
|
|
||||||
fprintf (Gbl.F.Out,"</td>");
|
|
||||||
|
|
||||||
/***** Put form to reset survey *****/
|
/***** Put form to reset survey *****/
|
||||||
fprintf (Gbl.F.Out,"<td style=\"text-align:left;\">");
|
|
||||||
Act_FormStart (ActReqRstSvy);
|
Act_FormStart (ActReqRstSvy);
|
||||||
Svy_PutParamSvyCod (SvyCod);
|
Svy_PutParamSvyCod (SvyCod);
|
||||||
Svy_PutHiddenParamSvyOrderType ();
|
Svy_PutHiddenParamSvyOrderType ();
|
||||||
Grp_PutParamWhichGrps ();
|
Grp_PutParamWhichGrps ();
|
||||||
Pag_PutHiddenParamPagNum (Gbl.Pag.CurrentPage);
|
Pag_PutHiddenParamPagNum (Gbl.Pag.CurrentPage);
|
||||||
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/reset16x16.gif\""
|
Act_PutIconLink ("reset",Txt_Reset);
|
||||||
" alt=\"%s\" title=\"%s\" class=\"ICON16x16\" />",
|
|
||||||
Gbl.Prefs.IconsURL,
|
|
||||||
Txt_Reset,
|
|
||||||
Txt_Reset);
|
|
||||||
Act_FormEnd ();
|
|
||||||
fprintf (Gbl.F.Out,"</td>");
|
|
||||||
|
|
||||||
/***** Put form to hide/show survey *****/
|
/***** Put form to hide/show survey *****/
|
||||||
fprintf (Gbl.F.Out,"<td style=\"text-align:left;\">");
|
|
||||||
Act_FormStart (Visible ? ActHidSvy :
|
Act_FormStart (Visible ? ActHidSvy :
|
||||||
ActShoSvy);
|
ActShoSvy);
|
||||||
Svy_PutParamSvyCod (SvyCod);
|
Svy_PutParamSvyCod (SvyCod);
|
||||||
|
@ -766,35 +750,19 @@ static void Svy_PutFormsToRemEditOneSvy (long SvyCod,bool Visible)
|
||||||
Grp_PutParamWhichGrps ();
|
Grp_PutParamWhichGrps ();
|
||||||
Pag_PutHiddenParamPagNum (Gbl.Pag.CurrentPage);
|
Pag_PutHiddenParamPagNum (Gbl.Pag.CurrentPage);
|
||||||
if (Visible)
|
if (Visible)
|
||||||
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/visible_on16x16.gif\""
|
Act_PutIconLink ("visible_on",Txt_Hide);
|
||||||
" alt=\"%s\" title=\"%s\" class=\"ICON16x16\" />",
|
|
||||||
Gbl.Prefs.IconsURL,
|
|
||||||
Txt_Hide,Txt_Hide);
|
|
||||||
else
|
else
|
||||||
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/hidden_on16x16.gif\""
|
Act_PutIconLink ("hidden_on",Txt_Show);
|
||||||
" alt=\"%s\" title=\"%s\" class=\"ICON16x16\" />",
|
|
||||||
Gbl.Prefs.IconsURL,
|
|
||||||
Txt_Show,Txt_Show);
|
|
||||||
Act_FormEnd ();
|
|
||||||
fprintf (Gbl.F.Out,"</td>");
|
|
||||||
|
|
||||||
/***** Put form to edit survey *****/
|
/***** Put form to edit survey *****/
|
||||||
fprintf (Gbl.F.Out,"<td style=\"text-align:left;\">");
|
|
||||||
Act_FormStart (ActEdiOneSvy);
|
Act_FormStart (ActEdiOneSvy);
|
||||||
Svy_PutParamSvyCod (SvyCod);
|
Svy_PutParamSvyCod (SvyCod);
|
||||||
Svy_PutHiddenParamSvyOrderType ();
|
Svy_PutHiddenParamSvyOrderType ();
|
||||||
Grp_PutParamWhichGrps ();
|
Grp_PutParamWhichGrps ();
|
||||||
Pag_PutHiddenParamPagNum (Gbl.Pag.CurrentPage);
|
Pag_PutHiddenParamPagNum (Gbl.Pag.CurrentPage);
|
||||||
fprintf (Gbl.F.Out,"<input type=\"image\" src=\"%s/edit16x16.gif\""
|
Act_PutIconLink ("edit",Txt_Edit);
|
||||||
" alt=\"%s\" title=\"%s\" class=\"ICON16x16\" />",
|
|
||||||
Gbl.Prefs.IconsURL,
|
|
||||||
Txt_Edit,
|
|
||||||
Txt_Edit);
|
|
||||||
Act_FormEnd ();
|
|
||||||
fprintf (Gbl.F.Out,"</td>");
|
|
||||||
|
|
||||||
fprintf (Gbl.F.Out,"</tr>"
|
fprintf (Gbl.F.Out,"</div>");
|
||||||
"</table>");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user