diff --git a/swad_changelog.h b/swad_changelog.h
index 1963385e3..0f4096f1d 100644
--- a/swad_changelog.h
+++ b/swad_changelog.h
@@ -162,17 +162,21 @@
// TODO: Hay un problema cuando se eliminan usuarios de una asignatura: quedan sus trabajos sin eliminar para siempre, ocupando espacio
// TODO: Se elimina un único estudiante de la asignatura. ¿Se eliminan sus trabajos? Si no, habría que cambiar el mensaje "eliminando sus trabajos...".
+// TODO: Los administradores deberían ver el DNI de los usuarios no confirmados?
+
/*****************************************************************************/
/****************************** Public constants *****************************/
/*****************************************************************************/
-#define Log_PLATFORM_VERSION "SWAD 16.64.3 (2016-11-17)"
+#define Log_PLATFORM_VERSION "SWAD 16.64.5 (2016-11-17)"
#define CSS_FILE "swad16.60.1.css"
#define JS_FILE "swad16.46.1.js"
// 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 16.64.5: Nov 17, 2016 Input fields required in record card. (207268 lines)
+ Version 16.64.4: Nov 17, 2016 Contextual help on guests and administrators. (207264 lines)
Version 16.64.3: Nov 17, 2016 Contextual help on teachers. (207259 lines)
Version 16.64.2: Nov 17, 2016 Code refactoring in record cards. (207253 lines)
Version 16.64.1: Nov 17, 2016 Changes in texts related to record cards. (207252 lines)
diff --git a/swad_help.c b/swad_help.c
index 29e87b194..85031302e 100644
--- a/swad_help.c
+++ b/swad_help.c
@@ -101,7 +101,8 @@ const char *Hlp_USERS_Teachers = WIKI "USERS.Teachers";
const char *Hlp_USERS_Teachers_shared_record_card = WIKI "USERS.Teachers#shared-record-card";
const char *Hlp_USERS_Teachers_timetable = WIKI "USERS.Teachers#timetable";
-const char *Hlp_USERS_Others_guests = WIKI "USERS.Others#guests";
+const char *Hlp_USERS_Others_administrators = WIKI "USERS.Others#administrators";
+const char *Hlp_USERS_Others_guests = WIKI "USERS.Others#guests";
const char *Hlp_USERS_Attendance = WIKI "USERS.Attendance";
diff --git a/swad_record.c b/swad_record.c
index 48d876cd4..620efa688 100644
--- a/swad_record.c
+++ b/swad_record.c
@@ -2021,6 +2021,7 @@ void Rec_ShowSharedUsrRecord (Rec_SharedRecordViewType_t TypeOfView,
{
extern struct Act_Actions Act_Actions[Act_NUM_ACTIONS];
extern const char *Hlp_PROFILE_Record;
+ extern const char *Hlp_USERS_Others_guests;
extern const char *Hlp_USERS_Students_shared_record_card;
extern const char *Hlp_USERS_Teachers_shared_record_card;
extern const char *The_ClassForm[The_NUM_THEMES];
@@ -2045,7 +2046,7 @@ void Rec_ShowSharedUsrRecord (Rec_SharedRecordViewType_t TypeOfView,
const char *Rec_RecordListHelp[Rol_NUM_ROLES] =
{
NULL, // Rol_UNKNOWN
- NULL, // Rol__GUEST_
+ Hlp_USERS_Others_guests, // Rol__GUEST_
NULL, // Rol_VISITOR
Hlp_USERS_Students_shared_record_card, // Rol_STUDENT
Hlp_USERS_Teachers_shared_record_card, // Rol_TEACHER
@@ -2826,7 +2827,7 @@ static void Rec_ShowRole (struct UsrData *UsrDat,
fprintf (Gbl.F.Out,""
+ fprintf (Gbl.F.Out," required=\"required\" />"
""
@@ -2877,7 +2878,8 @@ static void Rec_ShowSurname1 (struct UsrData *UsrDat,
if (DataForm)
fprintf (Gbl.F.Out,"",
+ " class=\"REC_C2_BOT_INPUT\""
+ " required=\"required\" />",
Usr_MAX_LENGTH_USR_NAME_OR_SURNAME,
UsrDat->Surname1);
else if (UsrDat->Surname1[0])
@@ -2937,8 +2939,9 @@ static void Rec_ShowFirstName (struct UsrData *UsrDat,
" class=\"REC_C2_BOT REC_DAT_BOLD LEFT_MIDDLE\">");
if (DataForm)
fprintf (Gbl.F.Out,"",
+ " maxlength=\"%u\" value=\"%s\""
+ " class=\"REC_C2_BOT_INPUT\""
+ " required=\"required\" />",
Usr_MAX_LENGTH_USR_NAME_OR_SURNAME,
UsrDat->FirstName);
else if (UsrDat->FirstName[0])
@@ -2977,8 +2980,9 @@ static void Rec_ShowCountry (struct UsrData *UsrDat,
" class=\"REC_C2_BOT REC_DAT_BOLD LEFT_MIDDLE\">");
/***** Selector of country *****/
- fprintf (Gbl.F.Out,"