mirror of https://github.com/acanas/swad-core.git
Version 14.48.2
This commit is contained in:
parent
a7a89fc65e
commit
63f8afe1ae
|
@ -35,11 +35,12 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 14.48.1 (2014/12/30)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 14.48.2 (2014/12/30)"
|
||||
|
||||
// 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.48.2 :Dec 30, 2014 New links to see the results of test exams. (174539 lines)
|
||||
Version 14.48.1 :Dec 30, 2014 The text of some menu items has been reduced to a single word.
|
||||
Fixed bugs in layout. (174502 lines)
|
||||
Version 14.48 :Dec 30, 2014 Changes in layout and CSS. (174502 lines)
|
||||
|
|
21
swad_test.c
21
swad_test.c
|
@ -131,6 +131,7 @@ extern struct Globals Gbl;
|
|||
/***************************** Internal prototypes ***************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
static void Tst_PutFormToSeeResultsOfUsersTests (void);
|
||||
static void Tst_PutFormToEdit (void);
|
||||
static void Tst_PutFormToConfigure (void);
|
||||
|
||||
|
@ -251,10 +252,12 @@ void Tst_ShowFormAskTst (void)
|
|||
Tst_GetConfigTstFromDB ();
|
||||
|
||||
/***** Put form to go to test edition and configuration *****/
|
||||
if (Gbl.Usrs.Me.LoggedRole == Rol_ROLE_TEACHER ||
|
||||
if (Gbl.Usrs.Me.LoggedRole == Rol_ROLE_STUDENT ||
|
||||
Gbl.Usrs.Me.LoggedRole == Rol_ROLE_TEACHER ||
|
||||
Gbl.Usrs.Me.LoggedRole == Rol_ROLE_SUPERUSER)
|
||||
{
|
||||
fprintf (Gbl.F.Out,"<div style=\"text-align:center;\">");
|
||||
Tst_PutFormToSeeResultsOfUsersTests ();
|
||||
Tst_PutFormToEdit ();
|
||||
Tst_PutFormToConfigure ();
|
||||
fprintf (Gbl.F.Out,"</div>");
|
||||
|
@ -304,6 +307,22 @@ void Tst_ShowFormAskTst (void)
|
|||
DB_FreeMySQLResult (&mysql_res);
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/*************** Write a form to go to result of users' tests ****************/
|
||||
/*****************************************************************************/
|
||||
|
||||
static void Tst_PutFormToSeeResultsOfUsersTests (void)
|
||||
{
|
||||
extern const char *The_ClassFormul[The_NUM_THEMES];
|
||||
extern const char *Txt_Results_tests;
|
||||
|
||||
Act_FormStart (Gbl.Usrs.Me.LoggedRole == Rol_ROLE_STUDENT ? ActReqSeeMyTstExa:
|
||||
ActReqSeeUsrTstExa);
|
||||
Act_LinkFormSubmit (Txt_Results_tests,The_ClassFormul[Gbl.Prefs.Theme]);
|
||||
Lay_PutSendIcon ("file",Txt_Results_tests,Txt_Results_tests);
|
||||
fprintf (Gbl.F.Out,"</form>");
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/************** Write a form to go to edition of test questions **************/
|
||||
/*****************************************************************************/
|
||||
|
|
21
swad_text.c
21
swad_text.c
|
@ -30451,6 +30451,27 @@ const char *Txt_results_per_page =
|
|||
"results per page"; // Necessita de tradução
|
||||
#endif
|
||||
|
||||
const char *Txt_Results_tests =
|
||||
#if L==0
|
||||
"Resultats tests";
|
||||
#elif L==1
|
||||
"Ergebnisse Tests";
|
||||
#elif L==2
|
||||
"Results tests";
|
||||
#elif L==3
|
||||
"Resultados tests";
|
||||
#elif L==4
|
||||
"Résultats tests";
|
||||
#elif L==5
|
||||
"Resultados tests"; // Okoteve traducción
|
||||
#elif L==6
|
||||
"Risultati test";
|
||||
#elif L==7
|
||||
"Wyniki testów";
|
||||
#elif L==8
|
||||
"Resultados testes";
|
||||
#endif
|
||||
|
||||
const char *Txt_Retype_new_password =
|
||||
#if L==0
|
||||
"Reescriviu la nova contrasenya";
|
||||
|
|
Loading…
Reference in New Issue