Version 15.202.19

This commit is contained in:
Antonio Cañas Vargas 2016-04-23 17:12:01 +02:00
parent 8bb7ff2ed0
commit 4f26a5db39
4 changed files with 40 additions and 12 deletions

View File

@ -1647,8 +1647,6 @@ a:hover img.CENTRE_PHOTO_SHOW
.LST_EDIT_REC {color:#008000; font-weight:bold; font-size:11pt; height:20px; padding-top:0; padding-bottom:0; margin-top:-1px; margin-bottom:-1px; border-width:1px; border-style:solid; border-color:#ECE9D8;}
.LST_EDIT_REC_HID {color:#89BE87; font-weight:bold; font-size:11pt; height:20px; padding-top:0; padding-bottom:0; margin-top:-1px; margin-bottom:-1px; border-width:1px; border-style:solid; border-color:#ECE9D8;}
.USR_ID {color:#404040; font-size:18pt; font-weight:bold;}
.DAT {color:#404040; font-size:13pt;}
.DAT_NOBR {color:#404040; font-size:13pt; white-space:nowrap;}
.DAT_BOLD {color:#404040; font-size:13pt; font-weight:bold;}
@ -1680,6 +1678,7 @@ a:hover img.CENTRE_PHOTO_SHOW
.DAT_SMALL_YELLOW {font-family:"Arial Narrow","Nimbus Sans L","DejaVu LGC Sans Condensed",sans-serif; color:#C0C000; font-size:12pt;}
/******************************** User's IDs *********************************/
.USR_ID {font-size:18pt; font-weight:bold;}
.USR_ID_C {color:#408020}
.USR_ID_NC {color:#A02020}

View File

@ -435,6 +435,7 @@ void ID_ShowFormChangeUsrID (const struct UsrData *UsrDat,bool ItsMe)
extern const char *The_ClassForm[The_NUM_THEMES];
extern const char *Txt_ID;
extern const char *Txt_ID_X_confirmed;
extern const char *Txt_ID_X_not_confirmed;
extern const char *Txt_Another_ID;
extern const char *Txt_Add_this_ID;
extern const char *Txt_If_there_are_multiple_versions_of_the_ID_;
@ -481,8 +482,15 @@ void ID_ShowFormChangeUsrID (const struct UsrData *UsrDat,bool ItsMe)
}
/* User's ID */
fprintf (Gbl.F.Out,"<span class=\"USR_ID\">%s</span>",
UsrDat->IDs.List[NumID].ID);
sprintf (Gbl.Title,
UsrDat->IDs.List[NumID].Confirmed ? Txt_ID_X_confirmed :
Txt_ID_X_not_confirmed,
UsrDat->IDs.List[NumID].ID);
fprintf (Gbl.F.Out,"<span class=\"USR_ID %s\" title=\"%s\">%s</span>",
UsrDat->IDs.List[NumID].Confirmed ? "USR_ID_C" :
"USR_ID_NC",
Gbl.Title,
UsrDat->IDs.List[NumID].ID);
/* ID confirmed? */
if (UsrDat->IDs.List[NumID].Confirmed)

View File

@ -134,14 +134,14 @@
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.202.18 (2016-04-23)"
#define Log_PLATFORM_VERSION "SWAD 15.202.19 (2016-04-23)"
#define CSS_FILE "swad15.202.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.202.19:Apr 23, 2016 User's ID is shown in green or red in user's account. (? lines)
Version 15.202.19:Apr 23, 2016 User's ID is shown in green or red in user's account. (201120 lines)
Version 15.202.18:Apr 23, 2016 Change of message about ID in user's account. (201092 lines)
Version 15.202.17:Apr 23, 2016 Code refactoring in record card. (201081 lines)
Version 15.202.16:Apr 23, 2016 Code refactoring in record card. (201070 lines)

View File

@ -14052,23 +14052,44 @@ const char *Txt_ID =
const char *Txt_ID_X_confirmed = // Warning: it is very important to include %s in the following sentences
#if L==1
"ID (DNI/c&eacute;dula) %s confirmado"; // Necessita traduccio
"ID (DNI/c&eacute;dula) %s confirmat";
#elif L==2
"ID %s confirmed"; // Need Übersetzung
"ID %s best&auml;tigt";
#elif L==3
"ID %s confirmed";
#elif L==4
"ID (DNI/c&eacute;dula) %s confirmado";
#elif L==5
"ID %s confirmed"; // Besoin de traduction
"ID %s confirm&eacute;";
#elif L==6
"ID (DNI/c&eacute;dula) %s confirmado"; // Okoteve traducción
#elif L==7
"ID %s confirmed"; // Bisogno di traduzione
"ID %s confermato";
#elif L==8
"ID %s confirmed"; // Potrzebujesz tlumaczenie
"ID %s potwierdzone";
#elif L==9
"ID %s confirmed"; // Necessita de tradução
"ID %s confirmado";
#endif
const char *Txt_ID_X_not_confirmed = // Warning: it is very important to include %s in the following sentences
#if L==1
"ID (DNI/c&eacute;dula) %s no confirmat";
#elif L==2
"ID %s nicht best&auml;tigt";
#elif L==3
"ID %s not confirmed";
#elif L==4
"ID (DNI/c&eacute;dula) %s no confirmado";
#elif L==5
"ID %s pas confirm&eacute;";
#elif L==6
"ID (DNI/c&eacute;dula) %s no confirmado"; // Okoteve traducción
#elif L==7
"ID %s non confermato";
#elif L==8
"ID %s nie potwierdzone";
#elif L==9
"ID %s n&atilde;o confirmado";
#endif
const char *Txt_ID_X_removed = // Warning: it is very important to include %s in the following sentences