diff --git a/swad_changelog.h b/swad_changelog.h index 670b9b648..de261ef58 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -98,11 +98,12 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 15.7.1 (2015/10/03)" +#define Log_PLATFORM_VERSION "SWAD 15.7.2 (2015/10/04)" // 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.7.2: Oct 04, 2015 New layout in enrollment requests. (185018 lines) Version 15.7.1: Oct 03, 2015 Message translated. (184984 lines) Version 15.7: Oct 03, 2015 Height of tabs reduced. Changes in layout of students record cards in course. (184962 lines) diff --git a/swad_enrollment.c b/swad_enrollment.c index f10c8d3de..53f2bb987 100644 --- a/swad_enrollment.c +++ b/swad_enrollment.c @@ -2127,6 +2127,7 @@ void Enr_ShowEnrollmentRequests (void) { extern const char *The_ClassForm[The_NUM_THEMES]; extern const char *The_ClassFormBold[The_NUM_THEMES]; + extern const char *Txt_Enrollment_requests; extern const char *Txt_Scope; extern const char *Txt_Users; extern const char *Txt_Update; @@ -2156,6 +2157,9 @@ void Enr_ShowEnrollmentRequests (void) char PhotoURL[PATH_MAX+1]; Rol_Role_t DesiredRole; + /***** Start frame *****/ + Lay_StartRoundFrame (NULL,Txt_Enrollment_requests); + /***** Selection of scope and roles *****/ /* Start form */ Act_FormStart (ActSeeSignUpReq); @@ -2502,8 +2506,8 @@ void Enr_ShowEnrollmentRequests (void) Usr_UsrDataConstructor (&UsrDat); /* Start table */ - Lay_StartRoundFrameTable (NULL,2,NULL); - fprintf (Gbl.F.Out,"" + fprintf (Gbl.F.Out,"" "" ""); @@ -2640,14 +2644,17 @@ void Enr_ShowEnrollmentRequests (void) Enr_RemoveEnrollmentRequest (Crs.CrsCod,UsrDat.UsrCod); } - /* End frame */ - Lay_EndRoundFrameTable (); + /* End table */ + fprintf (Gbl.F.Out,"
" "%s" @@ -2617,7 +2621,7 @@ void Enr_ShowEnrollmentRequests (void) ActReqMdfTch); Crs_PutParamCrsCod (Crs.CrsCod); Usr_PutParamUsrCodEncrypted (UsrDat.EncryptedUsrCod); - Lay_PutCreateButton (Txt_Register); + Lay_PutCreateButtonInline (Txt_Register); Act_FormEnd (); fprintf (Gbl.F.Out,""); @@ -2626,7 +2630,7 @@ void Enr_ShowEnrollmentRequests (void) Act_FormStart (ActReqRejSignUp); Crs_PutParamCrsCod (Crs.CrsCod); Usr_PutParamUsrCodEncrypted (UsrDat.EncryptedUsrCod); - Lay_PutConfirmButton (Txt_Reject); + Lay_PutRemoveButtonInline (Txt_Reject); Act_FormEnd (); fprintf (Gbl.F.Out,"" "
"); /* Free memory used for user's data */ Usr_UsrDataDestructor (&UsrDat); } - else // There are no requests + else // There are no requests Lay_ShowAlert (Lay_INFO,Txt_No_enrollment_requests); + + /***** End frame *****/ + Lay_EndRoundFrame (); } /*****************************************************************************/ diff --git a/swad_layout.c b/swad_layout.c index eb37e2898..220890bd0 100644 --- a/swad_layout.c +++ b/swad_layout.c @@ -1124,6 +1124,14 @@ void Lay_PutRemoveButton (const char *Text) Text); } +void Lay_PutRemoveButtonInline (const char *Text) + { + fprintf (Gbl.F.Out,"", + Text); + } + /*****************************************************************************/ /************ Write a centered message with the title of a table *************/ /*****************************************************************************/ diff --git a/swad_layout.h b/swad_layout.h index 5e3f63bd3..7f37f8cbe 100644 --- a/swad_layout.h +++ b/swad_layout.h @@ -96,6 +96,7 @@ void Lay_PutCreateButtonInline (const char *Text); void Lay_PutConfirmButton (const char *Text); void Lay_PutConfirmButtonInline (const char *Text); void Lay_PutRemoveButton (const char *Text); +void Lay_PutRemoveButtonInline (const char *Text); void Lay_StartRoundFrameTable (const char *Width,unsigned CellPadding,const char *Title); void Lay_StartRoundFrame (const char *Width,const char *Title); diff --git a/swad_text.c b/swad_text.c index 59b5c9d02..fd075f1ee 100644 --- a/swad_text.c +++ b/swad_text.c @@ -781,9 +781,9 @@ const char *Txt_The_following_password_has_been_assigned_to_you_to_log_in_X_NO_H " Un cop hagi entrat, pot canviar la contrasenya per una altra.\n" "Si no accedeix amb aquesta nova contrasenya," " seguirà tenint la contrasenya que tingués fins ara.\n" - "Si ha rebut aquest missatge sense sol·licitar-lo," + "Si ha rebut aquest missatge sense sol·licitar-lo," " es deu a que algú que coneix el seu ID (DNI/cédula), el seu sobrenom o el seu e-mail" - " ha sol·licitat l'enviament de una nova contrasenya per a vostè.\n" + " ha sol·licitat l'enviament de una nova contrasenya per a vostè.\n" "Aquesta nova contrasenya se ha enviat només a la adreça de correu %s," " que és la que apareix a la seva fitxa.\n\n"; #elif L==1 @@ -4690,9 +4690,9 @@ const char *Txt_Congratulations_You_have_created_your_account_X_Now_Y_will_reque #if L==0 "Enhorabona! Ha creat el seu compte @%s." " Ara %s li demanarà algunes dades per completar el seu perfil." - " Després podrà sol·licitar la seva inscripció en assignatures." + " Després podrà sol·licitar la seva inscripció en assignatures." " Si no hi ha una assignatura," - " vostè pot crear abans de sol·licitar la seva inscripció en ella" + " vostè pot crear abans de sol·licitar la seva inscripció en ella" " (el mateix és aplicable a institucions, centres i titulacions)."; #elif L==1 "Herzlichen Glückwunsch! Du hast Dein Konto @%s erstellt." @@ -9863,7 +9863,6 @@ const char *Txt_Enroll_in_groups = "Inscreva-me em grupos "; #endif - const char *Txt_Enrollment_confirmed = #if L==0 "Inscripción confirmada"; // Necessita traduccio @@ -9927,6 +9926,27 @@ const char *Txt_Enrollment_not_confirmed = "Enrollment not confirmed"; // Necessita de tradução #endif +const char *Txt_Enrollment_requests = +#if L==0 + "Peticions d'inscripció"; +#elif L==1 + "Registrierungsanforderungen"; +#elif L==2 + "Enrollment requests"; +#elif L==3 + "Solicitudes de inscripción"; +#elif L==4 + "Demandes d'inscription"; +#elif L==5 + "Solicitudes de inscripción"; // Okoteve traducción +#elif L==6 + "Richieste di registrazione"; +#elif L==7 + "Prośby o rejestracji"; +#elif L==8 + "Pedidos de inscrição"; +#endif + const char *Txt_Enter_a_new_item_here = #if L==0 "Escriba aquí un nuevo apartado"; // Necessita traduccio @@ -19521,7 +19541,7 @@ const char *Txt_MENU_SUBTITLE[Tab_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB] = , // ActReqSignUp #if L==0 - "Sol·licitar inscripció" + "Sol·licitar inscripció" #elif L==1 "Registrierung beantragen" #elif L==2 @@ -19546,13 +19566,13 @@ const char *Txt_MENU_SUBTITLE[Tab_NUM_TABS][Act_MAX_OPTIONS_IN_MENU_PER_TAB] = #elif L==1 "Registrierungsanforderungen" #elif L==2 - "Requests for enrollment in this course pending verification" + "Enrollment requests in this course pending verification" #elif L==3 "Peticiones de inscripción pendientes de verificar" #elif L==4 "Demandes d'inscription" #elif L==5 - "Peticiones de inscripción pendientes de verificar"// Okoteve traducción + "Peticiones de inscripción pendientes de verificar" // Okoteve traducción #elif L==6 "Richieste di iscrizione" #elif L==7 @@ -23012,17 +23032,17 @@ const char *Txt_No_degrees_have_been_created_in_this_centre = const char *Txt_No_enrollment_requests = #if L==0 - "No hay peticiones de inscripción."; // Necessita traduccio + "No hay solicitudes de inscripción."; // Necessita traduccio #elif L==1 "No enrollment requests."; // Need Übersetzung #elif L==2 "No enrollment requests."; #elif L==3 - "No hay peticiones de inscripción."; + "No hay solicitudes de inscripción."; #elif L==4 "No enrollment requests."; // Besoin de traduction #elif L==5 - "No hay peticiones de inscripción."; // Okoteve traducción + "No hay solicitudes de inscripción."; // Okoteve traducción #elif L==6 "No enrollment requests."; // Bisogno di traduzione #elif L==7 @@ -29260,7 +29280,7 @@ const char *Txt_Reply_again = const char *Txt_Requester = #if L==0 - "Sol·licitant"; + "Sol·licitant"; #elif L==1 "Requester"; #elif L==2 @@ -34758,7 +34778,7 @@ const char *Txt_Shuffle = const char *Txt_Sign_up = #if L==0 - "Sol·licitar inscripció"; + "Sol·licitar inscripció"; #elif L==1 "Registrierung beantragen"; #elif L==2 @@ -41544,7 +41564,7 @@ const char *Txt_The_record_field_X_has_been_renamed_as_Y = // Warning: it is ver const char *Txt_The_requested_group_changes_were_successful = #if L==0 - "Els canvis de grup sol·licitats s'han realitzat correctament."; + "Els canvis de grup sol·licitats s'han realitzat correctament."; #elif L==1 "The requested group changes were successful."; // Need Übersetzung #elif L==2 @@ -43176,7 +43196,7 @@ const char *Txt_There_are_no_banners = const char *Txt_There_are_no_centres_with_requests_for_degrees_to_be_confirmed = #if L==0 - "No hi ha centres amb sol·licituds de titulacions pendents de confirmar."; + "No hi ha centres amb sol·licituds de titulacions pendents de confirmar."; #elif L==1 "There are no centres with requests for degrees to be confirmed"; // Need Übersetzung #elif L==2 @@ -43197,7 +43217,7 @@ const char *Txt_There_are_no_centres_with_requests_for_degrees_to_be_confirmed = const char *Txt_There_are_no_countries_with_requests_for_institutions_to_be_confirmed = #if L==0 - "No hi ha països amb sol·licituds de institucions pendents de confirmar."; + "No hi ha països amb sol·licituds de institucions pendents de confirmar."; #elif L==1 "There are no countries with requests for institutions to be confirmed"; // Need Übersetzung #elif L==2 @@ -43218,7 +43238,7 @@ const char *Txt_There_are_no_countries_with_requests_for_institutions_to_be_conf const char *Txt_There_are_no_degrees_with_requests_for_courses_to_be_confirmed = #if L==0 - "No hi ha titulacions amb sol·licituds d'assignatures pendents de confirmar."; + "No hi ha titulacions amb sol·licituds d'assignatures pendents de confirmar."; #elif L==1 "There are no degrees with requests for courses to be confirmed"; // Need Übersetzung #elif L==2 @@ -43239,7 +43259,7 @@ const char *Txt_There_are_no_degrees_with_requests_for_courses_to_be_confirmed = const char *Txt_There_are_no_institutions_with_requests_for_centres_to_be_confirmed = #if L==0 - "No hi ha institucions amb sol·licituds de centres pendents de confirmar."; + "No hi ha institucions amb sol·licituds de centres pendents de confirmar."; #elif L==1 "There are no institutions with requests for centres to be confirmed"; // Need Übersetzung #elif L==2 @@ -49719,7 +49739,7 @@ const char *Txt_You_can_register_voluntarily_in_one_or_more_groups_of_type_X = / const char *Txt_You_can_search_for_courses_select_them_and_request_your_enrollment_in_them = #if L==0 "Podeu cercar assignatures, seleccionar-les" - " i sol·licitar la seva inscripció en elles."; + " i sol·licitar la seva inscripció en elles."; #elif L==1 "Sie können für Kurse zu suchen, wählen Sie sie aus" " und fordern Sie Ihre Anmeldung in ihnen.";