mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-09 10:15:24 +02:00
Version 16.62.1
This commit is contained in:
parent
c2a6fcc2b3
commit
3ca8676541
|
@ -157,13 +157,14 @@
|
|||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.62 (2016-11-14)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 16.62.1 (2016-11-14)"
|
||||
#define CSS_FILE "swad16.60.1.css"
|
||||
#define JS_FILE "swad16.46.1.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 16.62.1: Nov 14, 2016 Code refactoring in clipboard. (207151 lines)
|
||||
Version 16.62: Nov 14, 2016 Copy of all files inside root folder is now allowed (root folder not copied). (207165 lines)
|
||||
Version 16.61.8: Nov 14, 2016 Code refactoring in clipboard. (207148 lines)
|
||||
Version 16.61.7: Nov 14, 2016 Code refactoring in clipboard. (207155 lines)
|
||||
|
|
|
@ -1513,7 +1513,6 @@ static void Brw_AskConfirmRemoveFolderNotEmpty (void);
|
|||
static void Brw_WriteCurrentClipboard (void);
|
||||
|
||||
static bool Brw_GetMyClipboard (void);
|
||||
static void Brw_SetClipboardLevel (void);
|
||||
static bool Brw_CheckIfClipboardIsInThisTree (void);
|
||||
static void Brw_AddPathToClipboards (void);
|
||||
static void Brw_UpdatePathInClipboard (void);
|
||||
|
@ -6863,7 +6862,7 @@ static bool Brw_GetMyClipboard (void)
|
|||
|
||||
/* Set clipboard level
|
||||
(number of slashes in full path, including file or folder) */
|
||||
Brw_SetClipboardLevel ();
|
||||
Gbl.FileBrowser.Clipboard.Level = Brw_NumLevelsInPath (Gbl.FileBrowser.Clipboard.Path);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -6876,23 +6875,6 @@ static bool Brw_GetMyClipboard (void)
|
|||
return (bool) (NumRows == 1);
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/**************************** Set clipboard level ****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
static void Brw_SetClipboardLevel (void)
|
||||
{
|
||||
const char *Ptr;
|
||||
|
||||
/***** Compute level = number of slashes in full path, including file or folder *****/
|
||||
for (Gbl.FileBrowser.Clipboard.Level = 0,
|
||||
Ptr = Gbl.FileBrowser.Clipboard.Path;
|
||||
*Ptr;
|
||||
Ptr++)
|
||||
if (*Ptr == '/')
|
||||
Gbl.FileBrowser.Clipboard.Level++;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/********* Check if the clipboard is in the current file browser *************/
|
||||
/*****************************************************************************/
|
||||
|
|
Loading…
Reference in New Issue
Block a user