Version 22.118.5: May 23, 2023 Changes in comments in surveys.

This commit is contained in:
acanas 2023-05-23 12:59:49 +02:00
parent d445591472
commit ad43d4bf93
4 changed files with 39 additions and 25 deletions

View File

@ -5,7 +5,7 @@
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuildCommandParser" id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser" keep-relative-paths="false" name="CDT GCC Build Output Parser" parameter="(g?cc)|([gc]\+\+)|(clang)" prefer-non-shared="true"/>
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="-824387446237442587" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="-823716718653090587" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>

View File

@ -1381,8 +1381,8 @@ a:hover /* Default ==> underlined */
}
#MFU_actions img
{
width:20px;
height:20px;
width:13px;
height:13px;
margin:1px;
vertical-align:middle;
}
@ -1393,8 +1393,8 @@ a:hover /* Default ==> underlined */
}
#MFU_actions_big img
{
width:40px;
height:40px;
width:26px;
height:26px;
margin:2px 4px 2px 0;
vertical-align:middle;
}

View File

@ -629,10 +629,12 @@ TODO: Emilce Barrera Mesa: Podr
TODO: Emilce Barrera Mesa: Mis estudiantes presentan muchas dificultades a la hora de poner la foto porque la plataforma es muy exigente respecto al fondo de la imagen.
*/
#define Log_PLATFORM_VERSION "SWAD 22.118.3 (2023-05-23)"
#define CSS_FILE "swad22.118.3.css"
#define Log_PLATFORM_VERSION "SWAD 22.118.5 (2023-05-23)"
#define CSS_FILE "swad22.118.5.css"
#define JS_FILE "swad22.49.js"
/*
Version 22.118.5: May 23, 2023 Changes in comments in surveys. (337360 lines)
Version 22.118.4: May 23, 2023 Fix CSS related to frequent actions. (337351 lines)
Version 22.118.3: May 23, 2023 Fix CSS related to left and right columns. (337351 lines)
Version 22.118.2: May 23, 2023 Changes in survey comments. (337339 lines)
Version 22.118.1: May 22, 2023 Remove survey comments from database. (337334 lines)

View File

@ -3030,31 +3030,43 @@ static void Svy_WriteCommentsOfAQst (struct Svy_Survey *Svy,
}
else if (Svy->Status.ICanViewComments)
{
/***** Get comments of this question *****/
NumComments = Svy_DB_GetCommentsQst (&mysql_res,SvyQst->QstCod);
HTM_DL_Begin ();
/***** Write the answers *****/
if (NumComments)
{
HTM_OL_Begin ();
HTM_DT_Begin ();
HTM_TxtColon (Txt_Comments);
HTM_DT_End ();
/* Write one row for each user who has commented */
for (NumCom = 0;
NumCom < NumComments;
NumCom++)
HTM_DD_Begin ();
/***** Get comments of this question *****/
NumComments = Svy_DB_GetCommentsQst (&mysql_res,SvyQst->QstCod);
/***** Write the answers *****/
if (NumComments)
{
row = mysql_fetch_row (mysql_res);
HTM_OL_Begin ();
HTM_LI_Begin (NULL);
HTM_Txt (row[0]);
HTM_LI_End ();
/* Write one row for each user who has commented */
for (NumCom = 0;
NumCom < NumComments;
NumCom++)
{
row = mysql_fetch_row (mysql_res);
HTM_LI_Begin (NULL);
HTM_Txt (row[0]);
HTM_LI_End ();
}
HTM_OL_End ();
}
HTM_OL_End ();
}
/***** Free structure that stores the query result *****/
DB_FreeMySQLResult (&mysql_res);
/***** Free structure that stores the query result *****/
DB_FreeMySQLResult (&mysql_res);
HTM_DD_End ();
HTM_DL_End ();
}
}