mirror of
https://github.com/acanas/swad-core.git
synced 2024-06-03 07:15:26 +02:00
Version 15.192.12
This commit is contained in:
parent
c18faadc81
commit
abcca2c490
|
@ -2077,7 +2077,7 @@ a:hover img.CENTRE_PHOTO_SHOW
|
||||||
{
|
{
|
||||||
width:100%;
|
width:100%;
|
||||||
border-radius:4px;
|
border-radius:4px;
|
||||||
margin:10px 0;
|
margin:20px 0;
|
||||||
}
|
}
|
||||||
.FOR_IMG_TIT
|
.FOR_IMG_TIT
|
||||||
{
|
{
|
||||||
|
|
|
@ -130,18 +130,22 @@
|
||||||
// TODO: In social refreshing via AJAX, an error occurs when session expirates
|
// TODO: In social refreshing via AJAX, an error occurs when session expirates
|
||||||
// TODO: Messages in msg_content_deleted older than a certain time should be deleted to ensure the protection of personal data
|
// 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: Request confirmation to remove user's photo
|
||||||
|
// TODO: Optional link in images to original file
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/****************************** Public constants *****************************/
|
/****************************** Public constants *****************************/
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
|
|
||||||
#define Log_PLATFORM_VERSION "SWAD 15.192.10 (2016-04-11)"
|
#define Log_PLATFORM_VERSION "SWAD 15.192.12 (2016-04-12)"
|
||||||
#define CSS_FILE "swad15.192.9.css"
|
#define CSS_FILE "swad15.192.9.css"
|
||||||
#define JS_FILE "swad15.190.1.js"
|
#define JS_FILE "swad15.190.1.js"
|
||||||
|
|
||||||
// Number of lines (includes comments but not blank lines) has been got with the following command:
|
// 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
|
// nl swad*.c swad*.h css/swad*.css py/swad*.py js/swad*.js soap/swad*.h sql/swad*.sql | tail -1
|
||||||
/*
|
/*
|
||||||
|
Version 15.192.12:Apr 12, 2016 Fixed bug in groups reported by user raistmaj in GitHub. (199339 lines)
|
||||||
|
Version 15.192.11:Apr 12, 2016 Image quality in social posts reduced to 50 in order to speed up page loading.
|
||||||
|
Change in layout of message post. (199337 lines)
|
||||||
Version 15.192.10:Apr 11, 2016 Fixed bug in edition of test questions. (199335 lines)
|
Version 15.192.10:Apr 11, 2016 Fixed bug in edition of test questions. (199335 lines)
|
||||||
Version 15.192.9: Apr 11, 2016 Changed layout of form to send attached image in forum posts and messages. (199333 lines)
|
Version 15.192.9: Apr 11, 2016 Changed layout of form to send attached image in forum posts and messages. (199333 lines)
|
||||||
Version 15.192.8: Apr 11, 2016 Contextual icon to remove user's photo. (199331 lines)
|
Version 15.192.8: Apr 11, 2016 Contextual icon to remove user's photo. (199331 lines)
|
||||||
|
|
|
@ -1308,8 +1308,7 @@ static void For_ShowAForumPost (struct ForumThread *Thr,unsigned PstNum,long Pst
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
fprintf (Gbl.F.Out,"%s",Txt_This_post_has_been_banned_probably_for_not_satisfy_the_rules_of_the_forums);
|
fprintf (Gbl.F.Out,"%s",Txt_This_post_has_been_banned_probably_for_not_satisfy_the_rules_of_the_forums);
|
||||||
fprintf (Gbl.F.Out,"<br /> "
|
fprintf (Gbl.F.Out,"</td>"
|
||||||
"</td>"
|
|
||||||
"</tr>");
|
"</tr>");
|
||||||
|
|
||||||
/***** Free image *****/
|
/***** Free image *****/
|
||||||
|
|
|
@ -2727,7 +2727,7 @@ bool Grp_CheckIfGroupExists (long GrpCod)
|
||||||
|
|
||||||
bool Grp_CheckIfGroupBelongsToCourse (long GrpCod,long CrsCod)
|
bool Grp_CheckIfGroupBelongsToCourse (long GrpCod,long CrsCod)
|
||||||
{
|
{
|
||||||
char Query[128];
|
char Query[256];
|
||||||
|
|
||||||
/***** Get if a group exists from database *****/
|
/***** Get if a group exists from database *****/
|
||||||
sprintf (Query,"SELECT COUNT(*) FROM crs_grp,crs_grp_types"
|
sprintf (Query,"SELECT COUNT(*) FROM crs_grp,crs_grp_types"
|
||||||
|
|
|
@ -88,7 +88,8 @@ typedef enum
|
||||||
// - maintaining the original aspect ratio (aspect ratio recommended: 3:2)
|
// - maintaining the original aspect ratio (aspect ratio recommended: 3:2)
|
||||||
#define Soc_IMAGE_SAVED_MAX_WIDTH 768
|
#define Soc_IMAGE_SAVED_MAX_WIDTH 768
|
||||||
#define Soc_IMAGE_SAVED_MAX_HEIGHT 512
|
#define Soc_IMAGE_SAVED_MAX_HEIGHT 512
|
||||||
#define Soc_IMAGE_SAVED_QUALITY 75 // 1 to 100
|
#define Soc_IMAGE_SAVED_QUALITY 50 // 1 to 100
|
||||||
|
// in social posts, the quality is low in order to speed up the loading of images
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
/****************************** Internal types *******************************/
|
/****************************** Internal types *******************************/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user