diff --git a/swad_ID.c b/swad_ID.c index 4a7b291c6..08c453e7b 100644 --- a/swad_ID.c +++ b/swad_ID.c @@ -65,6 +65,7 @@ extern struct Globals Gbl; static bool ID_CheckIfUsrIDIsValidUsingMinDigits (const char *UsrID,unsigned MinDigits); static bool ID_ICanSeeAnotherUsrID (struct UsrData *UsrDat); +static void ID_PutButtonToConfirmID (void); static void ID_RemoveUsrID (const struct UsrData *UsrDat,bool ItsMe); static bool ID_CheckIfConfirmed (long UsrCod,const char *UsrID); @@ -386,7 +387,7 @@ void ID_WriteUsrIDs (struct UsrData *UsrDat) if (ICanConfirmUsrID && !UsrDat->IDs.List[NumID].Confirmed) - fprintf (Gbl.F.Out," Confirmar ID"); // TODO: Need translation!!!! + ID_PutButtonToConfirmID (); } } @@ -424,6 +425,15 @@ static bool ID_ICanSeeAnotherUsrID (struct UsrData *UsrDat) } } +/*****************************************************************************/ +/******************* Put a button to confirm user's ID ***********************/ +/*****************************************************************************/ + +static void ID_PutButtonToConfirmID (void) + { + fprintf (Gbl.F.Out," Confirmar ID"); // TODO: Need translation!!!! + } + /*****************************************************************************/ /*********** Put a link to the action used to request user's IDs *************/ /*****************************************************************************/ diff --git a/swad_changelog.h b/swad_changelog.h index 21e0896b3..9a48f8f55 100644 --- a/swad_changelog.h +++ b/swad_changelog.h @@ -134,13 +134,14 @@ /****************************** Public constants *****************************/ /*****************************************************************************/ -#define Log_PLATFORM_VERSION "SWAD 15.203.2 (2016-04-23)" +#define Log_PLATFORM_VERSION "SWAD 15.203.4 (2016-04-23)" #define CSS_FILE "swad15.203.css" #define JS_FILE "swad15.197.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 15.203.3: Apr 23, 2016 New form to confirm another user's ID. Not finished. (201113 lines) Version 15.203.2: Apr 23, 2016 New form to confirm another user's ID. Not finished. (201104 lines) Version 15.203.1: Apr 23, 2016 New form to confirm another user's ID. Not finished. (201090 lines) Version 15.203: Apr 23, 2016 Changes in layout and CSS related to record card. (201076 lines)