Version 15.200.1

This commit is contained in:
Antonio Cañas Vargas 2016-04-18 10:50:12 +02:00
parent 0a5eaca762
commit a804922e17
2 changed files with 19 additions and 10 deletions

View File

@ -130,18 +130,20 @@
// TODO: Messages in msg_content_deleted older than a certain time should be deleted to ensure the protection of personal data
// TODO: Request confirmation to remove user's photo
// TODO: FIX BUG: In Statistics > Indicators, if we select only 5 indicators, the message "The list is too big..." is shown.
// TODO: FIX BUG: A theacher uploads a document in course documents zone, then he/she unregister from course, the he/she search for his/her documents, a document is shown in results but he/she can not view it
/*****************************************************************************/
/****************************** Public constants *****************************/
/*****************************************************************************/
#define Log_PLATFORM_VERSION "SWAD 15.200 (2016-04-18)"
#define Log_PLATFORM_VERSION "SWAD 15.200.1 (2016-04-18)"
#define CSS_FILE "swad15.198.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.200.1: Apr 18, 2016 Fixed bug in searching for documents. (199726 lines)
Version 15.200: Apr 18, 2016 New layout of search form. (199718 lines)
Version 15.199.8: Apr 18, 2016 Changes in title of results of searching documents. (199723 lines)
Version 15.199.7: Apr 17, 2016 Changes in title of results of searching users. (199639 lines)

View File

@ -5697,7 +5697,7 @@ static void Brw_PutIconFile (unsigned Size,Brw_FileType_t FileType,const char *F
fprintf (Gbl.F.Out,"xxx%ux%u.gif\" alt=\"\"",
Size,Size);
}
fprintf (Gbl.F.Out,(Size == 16) ? " class=\"ICON20x20B\"/>" :
fprintf (Gbl.F.Out,(Size == 16) ? " class=\"ICON20x20\"/>" :
" class=\"ICON40x40\"/>");
}
@ -11414,29 +11414,36 @@ static void Brw_WriteRowDocData (unsigned *NumDocsNotHidden,MYSQL_ROW row)
Act_FormStart (Brw_ActReqDatFile[FileMetadata.FileBrowser]);
if (GrpCod > 0)
Grp_PutParamGrpCod (GrpCod);
Brw_PutParamsPathAndFile (FileMetadata.FileType,
FileMetadata.PathInTreeUntilFilFolLnk,
FileMetadata.FilFolLnkName);
Act_LinkFormSubmit (FileNameToShow,"DAT_N");
/* Parameters to go to file / folder */
if (FileMetadata.FileType == Brw_IS_FOLDER)
/* Params path and folder */
Brw_PutParamsPathAndFile (FileMetadata.FileType,
FileMetadata.PathInTreeUntilFilFolLnk,
FileMetadata.FilFolLnkName);
else
/* Param with file code */
Brw_PutHiddenParamFilCod (FileMetadata.FilCod);
/* File or folder icon */
Act_LinkFormSubmit (FileNameToShow,"DAT_N");
if (FileMetadata.FileType == Brw_IS_FOLDER)
/* Icon with folder */
fprintf (Gbl.F.Out,"<img src=\"%s/folder-closed16x16.gif\""
" alt=\"%s\" title=\"%s\""
" class=\"ICON20x20B\" />",
" class=\"ICON20x20\" />",
Gbl.Prefs.IconsURL,
Txt_Folder,Txt_Folder);
else
/* Icon with file type or link */
Brw_PutIconFile (16,FileMetadata.FileType,FileMetadata.FilFolLnkName);
/* File name and end of form */
fprintf (Gbl.F.Out,"%s"
fprintf (Gbl.F.Out,"&nbsp;%s"
"</a>",
FileNameToShow);
/* End form */
Act_FormEnd ();
fprintf (Gbl.F.Out,"</td>"
"</tr>");