From c3436355599888c0ba11c8217f779e789a5ed00c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ca=C3=B1as=20Vargas?= Date: Sun, 8 Feb 2015 18:39:58 +0100 Subject: [PATCH] Version 14.74.5 --- swad_changelog.h | 3 ++- swad_enrollment.c | 35 +++++++++++++++++++++++++++-------- swad_group.c | 3 ++- swad_text.c | 21 +++++++++++++++++++++ 4 files changed, 52 insertions(+), 10 deletions(-) diff --git a/swad_changelog.h b/swad_changelog.h index 1e400cc3e..0cfa1562c 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -42,11 +42,12 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 14.74.4 (2015/02/08)" +#define Log_PLATFORM_VERSION "SWAD 14.74.5 (2015/02/08)" // 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 | tail -1 /* + Version 14.74.5: Feb 08, 2015 Changes in layout of form to register/remove users. (178038 lines) Version 14.74.4: Feb 08, 2015 Changes in layout of form to register/remove users. (178000 lines) Version 14.74.3: Feb 08, 2015 Button to view banners. Button to view mail domains. diff --git a/swad_enrollment.c b/swad_enrollment.c index 8f21f6f0c..ddd6217f6 100644 --- a/swad_enrollment.c +++ b/swad_enrollment.c @@ -500,6 +500,7 @@ void Enr_ReqAdminUsrs (void) static void Enr_ShowFormRegRemSeveralUsrs (void) { extern const char *The_ClassTitle[The_NUM_THEMES]; + extern const char *Txt_Admin_users; extern const char *Txt_Step_1_Provide_a_list_of_users; extern const char *Txt_Option_a_Import_students_from_the_official_lists; extern const char *Txt_Select_the_groups_of_students_you_want_to_register_in_remove_from_this_course; @@ -527,12 +528,17 @@ static void Enr_ShowFormRegRemSeveralUsrs (void) if (Gbl.Usrs.Me.LoggedRole == Rol_ROLE_SYS_ADM) Enr_PutFormToRemOldUsrs (); + /***** Start frame *****/ + Lay_StartRoundFrameTable10 (NULL,2,Txt_Admin_users); + fprintf (Gbl.F.Out,"" + ""); + /***** Form to send students to be enrolled / removed *****/ Act_FormStart (ActRcvFrmMdfUsrCrs); /***** Step 1: List of students to be enrolled / removed *****/ fprintf (Gbl.F.Out,"
" - "
%s" + "%s" "
", The_ClassTitle[Gbl.Prefs.Theme], Txt_Step_1_Provide_a_list_of_users); @@ -541,7 +547,7 @@ static void Enr_ShowFormRegRemSeveralUsrs (void) { /* Option a: get students from official lists */ fprintf (Gbl.F.Out,"
" - "
%s
 " + "%s" "
", The_ClassTitle[Gbl.Prefs.Theme], Txt_Option_a_Import_students_from_the_official_lists); @@ -550,7 +556,7 @@ static void Enr_ShowFormRegRemSeveralUsrs (void) /* Option b: get students' IDs from pasted text */ fprintf (Gbl.F.Out,"
" - "
%s
 " + "%s" "
", The_ClassTitle[Gbl.Prefs.Theme], Txt_Option_b_Type_or_paste_a_list_of_users); @@ -561,7 +567,7 @@ static void Enr_ShowFormRegRemSeveralUsrs (void) /***** Step 2: Select type of user to register/remove to/from current course *****/ fprintf (Gbl.F.Out,"
" - "
%s
 " + "%s" "
", The_ClassTitle[Gbl.Prefs.Theme], Txt_Step_2_Select_the_type_of_user_to_register_remove); @@ -570,7 +576,7 @@ static void Enr_ShowFormRegRemSeveralUsrs (void) /***** Step 3: Put different actions to register/remove students to/from current course *****/ fprintf (Gbl.F.Out,"
" - "
%s
 " + "%s" "
", The_ClassTitle[Gbl.Prefs.Theme], Txt_Step_3_Select_the_desired_action); @@ -578,7 +584,7 @@ static void Enr_ShowFormRegRemSeveralUsrs (void) /***** Step 4: Select groups in which register / remove students *****/ fprintf (Gbl.F.Out,"
" - "
%s
 " + "%s" "
", The_ClassTitle[Gbl.Prefs.Theme], Txt_Step_4_Optionally_select_groups); @@ -600,7 +606,7 @@ static void Enr_ShowFormRegRemSeveralUsrs (void) /***** Step 5: Button to register / remove students *****/ fprintf (Gbl.F.Out,"
" - "
%s
 " + "%s" "
", The_ClassTitle[Gbl.Prefs.Theme], Txt_Step_5_Confirm_the_enrollment_removing); @@ -610,6 +616,11 @@ static void Enr_ShowFormRegRemSeveralUsrs (void) /***** End of form *****/ fprintf (Gbl.F.Out,"" ""); + + /***** Frame end *****/ + fprintf (Gbl.F.Out,"" + ""); + Lay_EndRoundFrameTable10 (); } /*****************************************************************************/ @@ -767,7 +778,7 @@ static void Enr_PutAreaToEnterUsrsIDs (void) "%s: " "" "" - "