Version19.216.1

This commit is contained in:
acanas 2020-05-07 14:15:39 +02:00
parent ac9eef56b5
commit a04402a458
15 changed files with 567 additions and 559 deletions

View File

@ -548,10 +548,13 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
En OpenSWAD:
ps2pdf source.ps destination.pdf
*/
#define Log_PLATFORM_VERSION "SWAD 19.216 (2020-05-07)"
#define Log_PLATFORM_VERSION "SWAD 19.216.1 (2020-05-07)"
#define CSS_FILE "swad19.193.1.css"
#define JS_FILE "swad19.193.1.js"
/*
Version 19.217: May 07, 2020 Generate and show questions of each set in an exam print. (? lines)
Version 19.216.1: May 07, 2020 Fixed bug in edition of exam questions, reported by Antonio Cañas Martínez.
Changes in some texts. (301957 lines)
Version 19.216: May 07, 2020 New module exam_print to generate new exam prints. (301949 lines)
1 change necessary in database:
ALTER TABLE exa_sets CHANGE COLUMN NumQstsToExam NumQstsToPrint INT NOT NULL DEFAULT 0;

View File

@ -243,7 +243,7 @@ void Cht_ShowListOfChatRoomsWithUsrs (void)
{
extern const char *Txt_Rooms_with_users;
extern const char *Txt_CHAT_Room_code;
extern const char *Txt_No_of_users;
extern const char *Txt_Number_of_users;
MYSQL_RES *mysql_res;
MYSQL_ROW row;
unsigned long NumRows;
@ -266,7 +266,7 @@ void Cht_ShowListOfChatRoomsWithUsrs (void)
HTM_TR_Begin (NULL);
HTM_TH (1,1,"CM LIGHT_BLUE",Txt_CHAT_Room_code);
HTM_TH (1,1,"LM LIGHT_BLUE",Txt_No_of_users);
HTM_TH (1,1,"LM LIGHT_BLUE",Txt_Number_of_users);
HTM_TR_End ();

View File

@ -1372,7 +1372,7 @@ void ExaEvt_UnhideEvent (void)
/***** Unhide event *****/
DB_QueryUPDATE ("can not unhide exam event",
"UPDATE exa_events SET Hidden='N'",
"UPDATE exa_events SET Hidden='N'"
" WHERE EvtCod=%ld"
" AND ExaCod=%ld", // Extra check
Event.EvtCod,Event.ExaCod);

View File

@ -150,6 +150,8 @@ static void ExaPrn_PrintDestructor (struct ExaPrn_Print *Print)
static void ExaPrn_GetQuestionsForNewPrintFromDB (struct Exa_Exam *Exam,
struct ExaPrn_Print *Print)
{
extern const char *Txt_question;
extern const char *Txt_questions;
MYSQL_RES *mysql_res;
MYSQL_ROW row;
unsigned NumSets;
@ -209,6 +211,9 @@ static void ExaPrn_GetQuestionsForNewPrintFromDB (struct Exa_Exam *Exam,
/***** Number of questions to appear in exam print *****/
HTM_TD_Begin ("class=\"RT COLOR%u\"",Gbl.RowEvenOdd);
HTM_Unsigned (Set.NumQstsToPrint);
HTM_NBSP ();
HTM_Txt (Set.NumQstsToPrint == 1 ? Txt_question :
Txt_questions);
HTM_TD_End ();
/***** End first row *****/

View File

@ -1259,7 +1259,7 @@ static void ExaSet_PutTableHeadingForSets (void)
extern const char *Txt_No_INDEX;
extern const char *Txt_Set_of_questions;
extern const char *Txt_Number_of_questions;
extern const char *Txt_Number_of_questions_in_the_exam;
extern const char *Txt_Number_of_questions_to_show;
/***** Begin row *****/
HTM_TR_Begin (NULL);
@ -1269,7 +1269,7 @@ static void ExaSet_PutTableHeadingForSets (void)
HTM_TH (1,1,"RB",Txt_No_INDEX);
HTM_TH (1,1,"LB",Txt_Set_of_questions);
HTM_TH (1,1,"RB",Txt_Number_of_questions);
HTM_TH (1,1,"RB",Txt_Number_of_questions_in_the_exam);
HTM_TH (1,1,"RB",Txt_Number_of_questions_to_show);
/***** End row *****/
HTM_TR_End ();

View File

@ -382,7 +382,7 @@ static void Fig_GetAndShowUsersStats (void)
extern const char *Hlp_ANALYTICS_Figures_users;
extern const char *Txt_FIGURE_TYPES[Fig_NUM_FIGURES];
extern const char *Txt_Users;
extern const char *Txt_No_of_users;
extern const char *Txt_Number_of_users;
extern const char *Txt_Average_number_of_courses_to_which_a_user_belongs;
extern const char *Txt_Average_number_of_users_belonging_to_a_course;
@ -395,7 +395,7 @@ static void Fig_GetAndShowUsersStats (void)
HTM_TR_Begin (NULL);
HTM_TH (1,1,"RM",Txt_Users);
HTM_TH (1,1,"RM",Txt_No_of_users);
HTM_TH (1,1,"RM",Txt_Number_of_users);
HTM_TH (1,1,"RM",Txt_Average_number_of_courses_to_which_a_user_belongs);
HTM_TH (1,1,"RM",Txt_Average_number_of_users_belonging_to_a_course);
@ -2768,8 +2768,8 @@ static void Fig_GetAndShowOERsStats (void)
extern const char *Hlp_ANALYTICS_Figures_open_educational_resources_oer;
extern const char *Txt_FIGURE_TYPES[Fig_NUM_FIGURES];
extern const char *Txt_License;
extern const char *Txt_No_of_private_files;
extern const char *Txt_No_of_public_files;
extern const char *Txt_Number_of_private_files;
extern const char *Txt_Number_of_public_files;
extern const char *Txt_LICENSES[Brw_NUM_LICENSES];
Brw_License_t License;
unsigned long NumFiles[2];
@ -2783,8 +2783,8 @@ static void Fig_GetAndShowOERsStats (void)
HTM_TR_Begin (NULL);
HTM_TH (1,1,"LM",Txt_License);
HTM_TH (1,1,"RM",Txt_No_of_private_files);
HTM_TH (1,1,"RM",Txt_No_of_public_files);
HTM_TH (1,1,"RM",Txt_Number_of_private_files);
HTM_TH (1,1,"RM",Txt_Number_of_public_files);
HTM_TR_End ();
@ -3388,10 +3388,10 @@ static void Fig_GetAndShowTimelineActivityStats (void)
extern const char *Hlp_ANALYTICS_Figures_timeline;
extern const char *Txt_FIGURE_TYPES[Fig_NUM_FIGURES];
extern const char *Txt_Type;
extern const char *Txt_No_of_posts;
extern const char *Txt_No_of_users;
extern const char *Txt_Number_of_posts;
extern const char *Txt_Number_of_users;
extern const char *Txt_PERCENT_of_users;
extern const char *Txt_No_of_posts_BR_per_user;
extern const char *Txt_Number_of_posts_BR_per_user;
extern const char *Txt_TIMELINE_NOTE[TL_NUM_NOTE_TYPES];
extern const char *Txt_Total;
MYSQL_RES *mysql_res;
@ -3411,10 +3411,10 @@ static void Fig_GetAndShowTimelineActivityStats (void)
HTM_TR_Begin (NULL);
HTM_TH (1,1,"LM",Txt_Type);
HTM_TH (1,1,"RM",Txt_No_of_posts);
HTM_TH (1,1,"RM",Txt_No_of_users);
HTM_TH (1,1,"RM",Txt_Number_of_posts);
HTM_TH (1,1,"RM",Txt_Number_of_users);
HTM_TH (1,1,"RM",Txt_PERCENT_of_users);
HTM_TH (1,1,"RM",Txt_No_of_posts_BR_per_user);
HTM_TH (1,1,"RM",Txt_Number_of_posts_BR_per_user);
HTM_TR_End ();
@ -3699,7 +3699,7 @@ static void Fig_GetAndShowFollowStats (void)
extern const char *Hlp_ANALYTICS_Figures_followed_followers;
extern const char *Txt_FIGURE_TYPES[Fig_NUM_FIGURES];
extern const char *Txt_Users;
extern const char *Txt_No_of_users;
extern const char *Txt_Number_of_users;
extern const char *Txt_PERCENT_of_users;
extern const char *Txt_Followed;
extern const char *Txt_Followers;
@ -3725,7 +3725,7 @@ static void Fig_GetAndShowFollowStats (void)
HTM_TR_Begin (NULL);
HTM_TH (1,1,"LM",Txt_Users);
HTM_TH (1,1,"RM",Txt_No_of_users);
HTM_TH (1,1,"RM",Txt_Number_of_users);
HTM_TH (1,1,"RM",Txt_PERCENT_of_users);
HTM_TR_End ();
@ -3994,13 +3994,13 @@ static void Fig_GetAndShowForumStats (void)
extern const char *Txt_FIGURE_TYPES[Fig_NUM_FIGURES];
extern const char *Txt_Scope;
extern const char *Txt_Forums;
extern const char *Txt_No_of_forums;
extern const char *Txt_No_of_threads;
extern const char *Txt_No_of_posts;
extern const char *Txt_Number_of_forums;
extern const char *Txt_Number_of_threads;
extern const char *Txt_Number_of_posts;
extern const char *Txt_Number_of_BR_notifications;
extern const char *Txt_No_of_threads_BR_per_forum;
extern const char *Txt_No_of_posts_BR_per_thread;
extern const char *Txt_No_of_posts_BR_per_forum;
extern const char *Txt_Number_of_threads_BR_per_forum;
extern const char *Txt_Number_of_posts_BR_per_thread;
extern const char *Txt_Number_of_posts_BR_per_forum;
struct Fig_FiguresForum FiguresForum;
/***** Reset total stats *****/
@ -4021,13 +4021,13 @@ static void Fig_GetAndShowForumStats (void)
Ico_PutIcon ("comments.svg",Txt_Scope,"ICO16x16");
HTM_TH_End ();
HTM_TH (1,1,"LT",Txt_Forums);
HTM_TH (1,1,"RT",Txt_No_of_forums);
HTM_TH (1,1,"RT",Txt_No_of_threads);
HTM_TH (1,1,"RT",Txt_No_of_posts);
HTM_TH (1,1,"RT",Txt_Number_of_forums);
HTM_TH (1,1,"RT",Txt_Number_of_threads);
HTM_TH (1,1,"RT",Txt_Number_of_posts);
HTM_TH (1,1,"RT",Txt_Number_of_BR_notifications);
HTM_TH (1,1,"RT",Txt_No_of_threads_BR_per_forum);
HTM_TH (1,1,"RT",Txt_No_of_posts_BR_per_thread);
HTM_TH (1,1,"RT",Txt_No_of_posts_BR_per_forum);
HTM_TH (1,1,"RT",Txt_Number_of_threads_BR_per_forum);
HTM_TH (1,1,"RT",Txt_Number_of_posts_BR_per_thread);
HTM_TH (1,1,"RT",Txt_Number_of_posts_BR_per_forum);
HTM_TR_End ();
@ -4336,7 +4336,7 @@ static void Fig_GetAndShowNumUsrsPerNotifyEvent (void)
extern const char *Txt_FIGURE_TYPES[Fig_NUM_FIGURES];
extern const char *Txt_Event;
extern const char *Txt_NOTIFY_EVENTS_PLURAL[Ntf_NUM_NOTIFY_EVENTS];
extern const char *Txt_No_of_users;
extern const char *Txt_Number_of_users;
extern const char *Txt_PERCENT_of_users;
extern const char *Txt_Number_of_BR_events;
extern const char *Txt_Number_of_BR_emails;
@ -4362,7 +4362,7 @@ static void Fig_GetAndShowNumUsrsPerNotifyEvent (void)
HTM_TR_Begin (NULL);
HTM_TH (1,1,"LM",Txt_Event);
HTM_TH (1,1,"RM",Txt_No_of_users);
HTM_TH (1,1,"RM",Txt_Number_of_users);
HTM_TH (1,1,"RM",Txt_PERCENT_of_users);
HTM_TH (1,1,"RM",Txt_Number_of_BR_events);
HTM_TH (1,1,"RM",Txt_Number_of_BR_emails);
@ -4847,7 +4847,7 @@ static void Fig_GetAndShowNumUsrsPerPrivacyForAnObject (const char *TxtObject,
const char *FieldName,
unsigned MaskAllowedVisibility)
{
extern const char *Txt_No_of_users;
extern const char *Txt_Number_of_users;
extern const char *Txt_PERCENT_of_users;
extern const char *Pri_VisibilityDB[Pri_NUM_OPTIONS_PRIVACY];
extern const char *Txt_PRIVACY_OPTIONS[Pri_NUM_OPTIONS_PRIVACY];
@ -4860,7 +4860,7 @@ static void Fig_GetAndShowNumUsrsPerPrivacyForAnObject (const char *TxtObject,
HTM_TR_Begin (NULL);
HTM_TH (1,1,"LM",TxtObject);
HTM_TH (1,1,"RM",Txt_No_of_users);
HTM_TH (1,1,"RM",Txt_Number_of_users);
HTM_TH (1,1,"RM",Txt_PERCENT_of_users);
HTM_TR_End ();
@ -4917,7 +4917,7 @@ static void Fig_GetAndShowNumUsrsPerCookies (void)
extern const char *Hlp_ANALYTICS_Figures_cookies;
extern const char *Txt_FIGURE_TYPES[Fig_NUM_FIGURES];
extern const char *Txt_Cookies;
extern const char *Txt_No_of_users;
extern const char *Txt_Number_of_users;
extern const char *Txt_PERCENT_of_users;
unsigned i;
static const char AcceptedInDB[2] =
@ -4949,7 +4949,7 @@ static void Fig_GetAndShowNumUsrsPerCookies (void)
HTM_TR_Begin (NULL);
HTM_TH (1,1,"LM",Txt_Cookies);
HTM_TH (1,1,"RM",Txt_No_of_users);
HTM_TH (1,1,"RM",Txt_Number_of_users);
HTM_TH (1,1,"RM",Txt_PERCENT_of_users);
HTM_TR_End ();
@ -5009,7 +5009,7 @@ static void Fig_GetAndShowNumUsrsPerLanguage (void)
extern const char *Txt_Language;
extern const char *Lan_STR_LANG_ID[1 + Lan_NUM_LANGUAGES];
extern const char *Txt_STR_LANG_NAME[1 + Lan_NUM_LANGUAGES];
extern const char *Txt_No_of_users;
extern const char *Txt_Number_of_users;
extern const char *Txt_PERCENT_of_users;
Lan_Language_t Lan;
char *SubQuery;
@ -5025,7 +5025,7 @@ static void Fig_GetAndShowNumUsrsPerLanguage (void)
HTM_TR_Begin (NULL);
HTM_TH (1,1,"LM",Txt_Language);
HTM_TH (1,1,"RM",Txt_No_of_users);
HTM_TH (1,1,"RM",Txt_Number_of_users);
HTM_TH (1,1,"RM",Txt_PERCENT_of_users);
HTM_TR_End ();
@ -5086,7 +5086,7 @@ static void Fig_GetAndShowNumUsrsPerFirstDayOfWeek (void)
extern const char *Txt_Calendar;
extern const char *Txt_First_day_of_the_week_X;
extern const char *Txt_DAYS_SMALL[7];
extern const char *Txt_No_of_users;
extern const char *Txt_Number_of_users;
extern const char *Txt_PERCENT_of_users;
unsigned FirstDayOfWeek;
char *SubQuery;
@ -5103,7 +5103,7 @@ static void Fig_GetAndShowNumUsrsPerFirstDayOfWeek (void)
HTM_TR_Begin (NULL);
HTM_TH (1,1,"LM",Txt_Calendar);
HTM_TH (1,1,"RM",Txt_No_of_users);
HTM_TH (1,1,"RM",Txt_Number_of_users);
HTM_TH (1,1,"RM",Txt_PERCENT_of_users);
HTM_TR_End ();
@ -5171,7 +5171,7 @@ static void Fig_GetAndShowNumUsrsPerDateFormat (void)
extern const char *Hlp_ANALYTICS_Figures_dates;
extern const char *Txt_FIGURE_TYPES[Fig_NUM_FIGURES];
extern const char *Txt_Format;
extern const char *Txt_No_of_users;
extern const char *Txt_Number_of_users;
extern const char *Txt_PERCENT_of_users;
unsigned Format;
char *SubQuery;
@ -5187,7 +5187,7 @@ static void Fig_GetAndShowNumUsrsPerDateFormat (void)
HTM_TR_Begin (NULL);
HTM_TH (1,1,"LM",Txt_Format);
HTM_TH (1,1,"RM",Txt_No_of_users);
HTM_TH (1,1,"RM",Txt_Number_of_users);
HTM_TH (1,1,"RM",Txt_PERCENT_of_users);
HTM_TR_End ();
@ -5248,7 +5248,7 @@ static void Fig_GetAndShowNumUsrsPerIconSet (void)
extern const char *Ico_IconSetNames[Ico_NUM_ICON_SETS];
extern const char *Txt_FIGURE_TYPES[Fig_NUM_FIGURES];
extern const char *Txt_Icons;
extern const char *Txt_No_of_users;
extern const char *Txt_Number_of_users;
extern const char *Txt_PERCENT_of_users;
Ico_IconSet_t IconSet;
char *SubQuery;
@ -5265,7 +5265,7 @@ static void Fig_GetAndShowNumUsrsPerIconSet (void)
HTM_TR_Begin (NULL);
HTM_TH (1,1,"LM",Txt_Icons);
HTM_TH (1,1,"RM",Txt_No_of_users);
HTM_TH (1,1,"RM",Txt_Number_of_users);
HTM_TH (1,1,"RM",Txt_PERCENT_of_users);
HTM_TR_End ();
@ -5329,7 +5329,7 @@ static void Fig_GetAndShowNumUsrsPerMenu (void)
extern const char *Mnu_MenuIcons[Mnu_NUM_MENUS];
extern const char *Txt_FIGURE_TYPES[Fig_NUM_FIGURES];
extern const char *Txt_Menu;
extern const char *Txt_No_of_users;
extern const char *Txt_Number_of_users;
extern const char *Txt_PERCENT_of_users;
extern const char *Txt_MENU_NAMES[Mnu_NUM_MENUS];
Mnu_Menu_t Menu;
@ -5346,7 +5346,7 @@ static void Fig_GetAndShowNumUsrsPerMenu (void)
HTM_TR_Begin (NULL);
HTM_TH (1,1,"LM",Txt_Menu);
HTM_TH (1,1,"RM",Txt_No_of_users);
HTM_TH (1,1,"RM",Txt_Number_of_users);
HTM_TH (1,1,"RM",Txt_PERCENT_of_users);
HTM_TR_End ();
@ -5406,7 +5406,7 @@ static void Fig_GetAndShowNumUsrsPerTheme (void)
extern const char *The_ThemeNames[The_NUM_THEMES];
extern const char *Txt_FIGURE_TYPES[Fig_NUM_FIGURES];
extern const char *Txt_Theme_SKIN;
extern const char *Txt_No_of_users;
extern const char *Txt_Number_of_users;
extern const char *Txt_PERCENT_of_users;
The_Theme_t Theme;
char *SubQuery;
@ -5423,7 +5423,7 @@ static void Fig_GetAndShowNumUsrsPerTheme (void)
HTM_TR_Begin (NULL);
HTM_TH (1,1,"LM",Txt_Theme_SKIN);
HTM_TH (1,1,"RM",Txt_No_of_users);
HTM_TH (1,1,"RM",Txt_Number_of_users);
HTM_TH (1,1,"RM",Txt_PERCENT_of_users);
HTM_TR_End ();
@ -5486,7 +5486,7 @@ static void Fig_GetAndShowNumUsrsPerSideColumns (void)
extern const char *Hlp_ANALYTICS_Figures_columns;
extern const char *Txt_FIGURE_TYPES[Fig_NUM_FIGURES];
extern const char *Txt_Columns;
extern const char *Txt_No_of_users;
extern const char *Txt_Number_of_users;
extern const char *Txt_PERCENT_of_users;
unsigned SideCols;
char *SubQuery;
@ -5504,7 +5504,7 @@ static void Fig_GetAndShowNumUsrsPerSideColumns (void)
HTM_TR_Begin (NULL);
HTM_TH (1,1,"CM",Txt_Columns);
HTM_TH (1,1,"RM",Txt_No_of_users);
HTM_TH (1,1,"RM",Txt_Number_of_users);
HTM_TH (1,1,"RM",Txt_PERCENT_of_users);
HTM_TR_End ();

View File

@ -2433,7 +2433,7 @@ static void For_ShowForumThreadsHighlightingOneThread (struct For_Forums *Forums
extern const char *Txt_MSG_Subject;
extern const char *Txt_FORUM_THREAD_HELP_ORDER[Dat_NUM_START_END_TIME];
extern const char *Txt_FORUM_THREAD_ORDER[Dat_NUM_START_END_TIME];
extern const char *Txt_No_BR_msgs;
extern const char *Txt_Number_BR_msgs;
extern const char *Txt_Unread_BR_msgs;
extern const char *Txt_WriBRters;
extern const char *Txt_ReaBRders;
@ -2562,7 +2562,7 @@ static void For_ShowForumThreadsHighlightingOneThread (struct For_Forums *Forums
HTM_TH_End ();
}
HTM_TH (1,1,"RM",Txt_No_BR_msgs);
HTM_TH (1,1,"RM",Txt_Number_BR_msgs);
HTM_TH (1,1,"RM",Txt_Unread_BR_msgs);
HTM_TH (1,1,"RM",Txt_WriBRters);
HTM_TH (1,1,"RM",Txt_ReaBRders);

View File

@ -507,7 +507,7 @@ static void Gam_ShowOneGame (struct Gam_Games *Games,
struct Gam_Game *Game,bool ShowOnlyThisGame)
{
extern const char *Txt_View_game;
extern const char *Txt_No_of_questions;
extern const char *Txt_Number_of_questions;
extern const char *Txt_Maximum_grade;
extern const char *Txt_Result_visibility;
extern const char *Txt_Matches;
@ -591,7 +591,7 @@ static void Gam_ShowOneGame (struct Gam_Games *Games,
/* Number of questions, maximum grade, visibility of results */
HTM_DIV_Begin ("class=\"%s\"",Game->Hidden ? "ASG_GRP_LIGHT" :
"ASG_GRP");
HTM_TxtColonNBSP (Txt_No_of_questions);
HTM_TxtColonNBSP (Txt_Number_of_questions);
HTM_Unsigned (Game->NumQsts);
HTM_BR ();
HTM_TxtColonNBSP (Txt_Maximum_grade);

View File

@ -1458,7 +1458,7 @@ static void Grp_WriteHeadingGroupTypes (void)
extern const char *Txt_Mandatory_enrolment;
extern const char *Txt_Multiple_enrolment;
extern const char *Txt_Opening_of_groups;
extern const char *Txt_No_of_BR_groups;
extern const char *Txt_Number_of_BR_groups;
HTM_TR_Begin (NULL);
@ -1471,7 +1471,7 @@ static void Grp_WriteHeadingGroupTypes (void)
HTM_TH (1,1,"CM",Txt_Mandatory_enrolment);
HTM_TH (1,1,"CM",Txt_Multiple_enrolment);
HTM_TH (1,1,"CM",Txt_Opening_of_groups);
HTM_TH (1,1,"CM",Txt_No_of_BR_groups);
HTM_TH (1,1,"CM",Txt_Number_of_BR_groups);
HTM_TR_End ();
}

View File

@ -103,7 +103,7 @@ void Ind_ReqIndicatorsCourses (void)
extern const char *Txt_only_if_the_scope_is_X;
extern const char *Txt_Department;
extern const char *Txt_Any_department;
extern const char *Txt_No_of_indicators;
extern const char *Txt_Number_of_indicators;
extern const char *Txt_Indicators_of_courses;
extern const char *Txt_Show_more_details;
struct Ind_Indicators Indicators;
@ -188,7 +188,7 @@ void Ind_ReqIndicatorsCourses (void)
HTM_TR_Begin (NULL);
HTM_TD_Begin ("class=\"RT %s\"",The_ClassFormInBox[Gbl.Prefs.Theme]);
HTM_TxtF ("%s:",Txt_No_of_indicators);
HTM_TxtF ("%s:",Txt_Number_of_indicators);
HTM_TD_End ();
HTM_TD_Begin ("class=\"LT\"");
@ -741,8 +741,8 @@ static void Ind_ShowTableOfCoursesWithIndicators (const struct Ind_Indicators *I
extern const char *Txt_No_INDEX;
extern const char *Txt_Syllabus_of_the_course;
extern const char *Txt_INFO_TITLE[Inf_NUM_INFO_TYPES];
extern const char *Txt_No_of_files_in_SHARE_zones;
extern const char *Txt_No_of_files_in_DOCUM_zones;
extern const char *Txt_Number_of_files_in_SHARE_zones;
extern const char *Txt_Number_of_files_in_DOCUM_zones;
extern const char *Txt_Guided_academic_assignments;
extern const char *Txt_Assignments;
extern const char *Txt_Files_assignments;
@ -872,8 +872,8 @@ static void Ind_ShowTableOfCoursesWithIndicators (const struct Ind_Indicators *I
HTM_TH (1,1,"RM COLOR0",Txt_Messages_sent_by_teachers);
HTM_TH (1,1,"CM COLOR0",Txt_YES);
HTM_TH (1,1,"CM COLOR0",Txt_NO);
HTM_TH (1,1,"RM COLOR0",Txt_No_of_files_in_DOCUM_zones);
HTM_TH (1,1,"RM COLOR0",Txt_No_of_files_in_SHARE_zones);
HTM_TH (1,1,"RM COLOR0",Txt_Number_of_files_in_DOCUM_zones);
HTM_TH (1,1,"RM COLOR0",Txt_Number_of_files_in_SHARE_zones);
HTM_TH (1,1,"CM COLOR0",Txt_YES);
HTM_TH (1,1,"CM COLOR0",Txt_NO);
HTM_TH (1,1,"LM COLOR0",Txt_INFO_TITLE[Inf_ASSESSMENT]);

View File

@ -433,7 +433,7 @@ void Net_ShowWebAndSocialNetworksStats (void)
extern const char *Hlp_ANALYTICS_Figures_webs_social_networks;
extern const char *Txt_FIGURE_TYPES[Fig_NUM_FIGURES];
extern const char *Txt_Web_social_network;
extern const char *Txt_No_of_users;
extern const char *Txt_Number_of_users;
extern const char *Txt_PERCENT_of_users;
MYSQL_RES *mysql_res;
MYSQL_ROW row;
@ -559,7 +559,7 @@ void Net_ShowWebAndSocialNetworksStats (void)
HTM_TR_Begin (NULL);
HTM_TH (1,1,"LM",Txt_Web_social_network);
HTM_TH (1,1,"RM",Txt_No_of_users);
HTM_TH (1,1,"RM",Txt_Number_of_users);
HTM_TH (1,1,"RM",Txt_PERCENT_of_users);
HTM_TR_End ();

View File

@ -404,14 +404,14 @@ void Rec_ShowFormCreateRecordField (void)
static void Rec_WriteHeadingRecordFields (void)
{
extern const char *Txt_Field_BR_name;
extern const char *Txt_No_of_BR_lines;
extern const char *Txt_Number_of_BR_lines;
extern const char *Txt_Visible_by_BR_the_student;
HTM_TR_Begin (NULL);
HTM_TH_Empty (1);
HTM_TH (1,1,"CM",Txt_Field_BR_name);
HTM_TH (1,1,"CM",Txt_No_of_BR_lines);
HTM_TH (1,1,"CM",Txt_Number_of_BR_lines);
HTM_TH (1,1,"CM",Txt_Visible_by_BR_the_student);
HTM_TR_End ();

View File

@ -450,8 +450,8 @@ static void Svy_ShowOneSurvey (struct Svy_Surveys *Surveys,
extern const char *Hlp_ASSESSMENT_Surveys;
extern const char *Txt_Survey;
extern const char *Txt_View_survey;
extern const char *Txt_No_of_questions;
extern const char *Txt_No_of_users;
extern const char *Txt_Number_of_questions;
extern const char *Txt_Number_of_users;
extern const char *Txt_Scope;
extern const char *Txt_Country;
extern const char *Txt_Institution;
@ -571,10 +571,10 @@ static void Svy_ShowOneSurvey (struct Svy_Surveys *Surveys,
HTM_DIV_Begin ("class=\"%s\"",
Svy.Status.Visible ? "ASG_GRP" :
"ASG_GRP_LIGHT");
HTM_TxtColonNBSP (Txt_No_of_questions);
HTM_TxtColonNBSP (Txt_Number_of_questions);
HTM_Unsigned (Svy.NumQsts);
HTM_Txt ("; ");
HTM_TxtColonNBSP (Txt_No_of_users);
HTM_TxtColonNBSP (Txt_Number_of_users);
HTM_Unsigned (Svy.NumUsrs);
HTM_DIV_End ();

View File

@ -366,7 +366,7 @@ static void Tst_ShowFormRequestTest (struct Tst_Test *Test)
{
extern const char *Hlp_ASSESSMENT_Tests;
extern const char *Txt_Take_a_test;
extern const char *Txt_No_of_questions;
extern const char *Txt_Number_of_questions;
extern const char *Txt_Generate_test;
extern const char *Txt_No_test_questions;
MYSQL_RES *mysql_res;
@ -399,7 +399,7 @@ static void Tst_ShowFormRequestTest (struct Tst_Test *Test)
HTM_TR_Begin (NULL);
/* Label */
Frm_LabelColumn ("RT","NumQst",Txt_No_of_questions);
Frm_LabelColumn ("RT","NumQst",Txt_Number_of_questions);
/* Data */
HTM_TD_Begin ("class=\"LT\"");
@ -2017,7 +2017,7 @@ static void Tst_ShowFormConfigTst (void)
extern const char *Txt_Configure_tests;
extern const char *Txt_Plugins;
extern const char *Txt_TST_PLUGGABLE[TstCfg_NUM_OPTIONS_PLUGGABLE];
extern const char *Txt_No_of_questions;
extern const char *Txt_Number_of_questions;
extern const char *Txt_minimum;
extern const char *Txt_default;
extern const char *Txt_maximum;
@ -2073,7 +2073,7 @@ static void Tst_ShowFormConfigTst (void)
HTM_TR_Begin (NULL);
HTM_TD_Begin ("class=\"%s RT\"",The_ClassFormInBox[Gbl.Prefs.Theme]);
HTM_TxtF ("%s:",Txt_No_of_questions);
HTM_TxtF ("%s:",Txt_Number_of_questions);
HTM_TD_End ();
HTM_TD_Begin ("class=\"LB\"");

File diff suppressed because it is too large Load Diff