mirror of https://github.com/acanas/swad-core.git
Version 18.2.7
This commit is contained in:
parent
8ace83206f
commit
428697528d
|
@ -355,10 +355,11 @@ En OpenSWAD:
|
|||
ps2pdf source.ps destination.pdf
|
||||
*/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 18.2.6 (2018-10-09)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 18.2.7 (2018-10-09)"
|
||||
#define CSS_FILE "swad18.2.2.css"
|
||||
#define JS_FILE "swad17.17.1.js"
|
||||
/*
|
||||
Version 18.2.7: Oct 09, 2018 Changes in edition of preferences about privacy. (234872 lines)
|
||||
Version 18.2.6: Oct 09, 2018 Changes in edition of preferences about privacy. (234905 lines)
|
||||
Version 18.2.5: Oct 08, 2018 Changes in edition of user's shared record card. (234943 lines)
|
||||
Version 18.2.4: Oct 08, 2018 Changes in edition of user's photo. (234953 lines)
|
||||
|
|
25
swad_photo.c
25
swad_photo.c
|
@ -88,8 +88,6 @@ const char *Pho_StrAvgPhotoPrograms[Pho_NUM_AVERAGE_PHOTO_TYPES] =
|
|||
/*****************************************************************************/
|
||||
|
||||
static void Pho_PutIconToRequestRemoveMyPhoto (void);
|
||||
static void Pho_PutIconsMyPhoto (void);
|
||||
static void Pho_PutIconsOtherUsrPhoto (void);
|
||||
static void Pho_PutIconToRequestRemoveOtherUsrPhoto (void);
|
||||
static void Pho_ReqOtherUsrPhoto (void);
|
||||
|
||||
|
@ -209,25 +207,6 @@ void Pho_PutLinkToChangeOtherUsrPhoto (void)
|
|||
}
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/************************* Put contextual icons ******************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
static void Pho_PutIconsMyPhoto (void)
|
||||
{
|
||||
/***** Put icon to remove my photo *****/
|
||||
Pho_PutIconToRequestRemoveMyPhoto ();
|
||||
|
||||
/***** Put icon to change my privacy *****/
|
||||
Pri_PutLinkToChangeMyPrivacy ();
|
||||
}
|
||||
|
||||
static void Pho_PutIconsOtherUsrPhoto (void)
|
||||
{
|
||||
/***** Put icon to remove another user's photo *****/
|
||||
Pho_PutIconToRequestRemoveOtherUsrPhoto ();
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/************** Put a link to request the removal of my photo ****************/
|
||||
/*****************************************************************************/
|
||||
|
@ -322,8 +301,8 @@ static void Pho_ReqPhoto (const struct UsrData *UsrDat)
|
|||
Act_Action_t NextAction;
|
||||
|
||||
/***** Start box *****/
|
||||
Box_StartBox (NULL,Txt_Photo,ItsMe ? Pho_PutIconsMyPhoto :
|
||||
Pho_PutIconsOtherUsrPhoto,
|
||||
Box_StartBox (NULL,Txt_Photo,ItsMe ? Pho_PutIconToRequestRemoveMyPhoto :
|
||||
Pho_PutIconToRequestRemoveOtherUsrPhoto,
|
||||
Hlp_PROFILE_Photo,Box_NOT_CLOSABLE);
|
||||
|
||||
/***** Start form *****/
|
||||
|
|
|
@ -71,21 +71,6 @@ static void Pri_PutFormVisibility (const char *TxtLabel,
|
|||
Pri_Visibility_t CurrentVisibilityInDB,
|
||||
unsigned MaskAllowedVisibility);
|
||||
|
||||
/*****************************************************************************/
|
||||
/*************** Put a link to the action to edit my privacy *****************/
|
||||
/*****************************************************************************/
|
||||
|
||||
void Pri_PutLinkToChangeMyPrivacy (void)
|
||||
{
|
||||
extern const char *Txt_Privacy;
|
||||
|
||||
/***** Link to edit my privacy *****/
|
||||
Lay_PutContextualLink (ActEdiPri,Pri_PRIVACY_ID,NULL,
|
||||
"lock64x64.png",
|
||||
Txt_Privacy,NULL,
|
||||
NULL);
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/******************************* Edit my privacy *****************************/
|
||||
/*****************************************************************************/
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
/***************************** Public prototypes *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
void Pri_PutLinkToChangeMyPrivacy (void);
|
||||
void Pri_EditMyPrivacy (void);
|
||||
|
||||
Pri_Visibility_t Pri_GetVisibilityFromStr (const char *Str);
|
||||
|
|
|
@ -2688,11 +2688,6 @@ static void Rec_PutIconsCommands (void)
|
|||
/***** Button to change user's photo *****/
|
||||
Pho_PutLinkToChangeOtherUsrPhoto ();
|
||||
|
||||
/* Button to change my privacy */
|
||||
if (ItsMe)
|
||||
/* Button to change my privacy */
|
||||
Pri_PutLinkToChangeMyPrivacy ();
|
||||
|
||||
/***** End container *****/
|
||||
fprintf (Gbl.F.Out,"</div>");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue