mirror of https://github.com/acanas/swad-core.git
Version 18.2.8
This commit is contained in:
parent
428697528d
commit
a64b8038c6
|
@ -355,10 +355,11 @@ En OpenSWAD:
|
|||
ps2pdf source.ps destination.pdf
|
||||
*/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 18.2.7 (2018-10-09)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 18.2.8 (2018-10-09)"
|
||||
#define CSS_FILE "swad18.2.2.css"
|
||||
#define JS_FILE "swad17.17.1.js"
|
||||
/*
|
||||
Version 18.2.8: Oct 09, 2018 Changes in edition of user's photo. (234889 lines)
|
||||
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)
|
||||
|
|
18
swad_photo.c
18
swad_photo.c
|
@ -282,7 +282,7 @@ static void Pho_ReqOtherUsrPhoto (void)
|
|||
Pho_ReqPhoto (&Gbl.Usrs.Other.UsrDat);
|
||||
|
||||
/***** Show another user's record card *****/
|
||||
Rec_ShowSharedUsrRecord (Rec_SHA_RECORD_PUBLIC,&Gbl.Usrs.Other.UsrDat,NULL);
|
||||
Rec_ShowPublicSharedRecordOtherUsr ();
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
@ -409,7 +409,7 @@ void Pho_RecOtherUsrPhotoDetFaces (void)
|
|||
Pho_ReqPhoto (&Gbl.Usrs.Other.UsrDat); // Request user's photograph again
|
||||
|
||||
/***** Show another user's record card *****/
|
||||
Rec_ShowSharedUsrRecord (Rec_SHA_RECORD_PUBLIC,&Gbl.Usrs.Other.UsrDat,NULL);
|
||||
Rec_ShowPublicSharedRecordOtherUsr ();
|
||||
}
|
||||
else
|
||||
Ale_ShowAlert (Ale_WARNING,Txt_User_not_found_or_you_do_not_have_permission_);
|
||||
|
@ -442,6 +442,9 @@ void Pho_ReqRemoveMyPhoto (void)
|
|||
}
|
||||
else
|
||||
Ale_ShowAlert (Ale_INFO,Txt_The_photo_no_longer_exists);
|
||||
|
||||
/***** Show my record and other data *****/
|
||||
Rec_ShowMySharedRecordAndOtherData ();
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
@ -461,6 +464,9 @@ void Pho_RemoveMyPhoto2 (void)
|
|||
{
|
||||
/***** Write success / warning message *****/
|
||||
Ale_ShowPendingAlert ();
|
||||
|
||||
/***** Show my record and other data *****/
|
||||
Rec_ShowMySharedRecordAndOtherData ();
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
@ -524,6 +530,9 @@ void Pho_ReqRemoveUsrPhoto (void)
|
|||
}
|
||||
else
|
||||
Ale_ShowAlert (Ale_WARNING,Txt_User_not_found_or_you_do_not_have_permission_);
|
||||
|
||||
/***** Show another user's record card *****/
|
||||
Rec_ShowPublicSharedRecordOtherUsr ();
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
@ -546,6 +555,9 @@ void Pho_RemoveUsrPhoto (void)
|
|||
}
|
||||
else
|
||||
Ale_ShowAlert (Ale_WARNING,Txt_User_not_found_or_you_do_not_have_permission_);
|
||||
|
||||
/***** Show another user's record card *****/
|
||||
Rec_ShowPublicSharedRecordOtherUsr ();
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
@ -848,7 +860,7 @@ void Pho_UpdateUsrPhoto2 (void)
|
|||
Pho_UpdatePhoto2 ();
|
||||
|
||||
/***** Show another user's record card *****/
|
||||
Rec_ShowSharedUsrRecord (Rec_SHA_RECORD_PUBLIC,&Gbl.Usrs.Other.UsrDat,NULL);
|
||||
Rec_ShowPublicSharedRecordOtherUsr ();
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
|
|
|
@ -2171,6 +2171,15 @@ void Rec_ShowSharedRecordUnmodifiable (struct UsrData *UsrDat)
|
|||
fprintf (Gbl.F.Out,"</div>");
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/************** Show public shared record card of another user ***************/
|
||||
/*****************************************************************************/
|
||||
|
||||
void Rec_ShowPublicSharedRecordOtherUsr (void)
|
||||
{
|
||||
Rec_ShowSharedUsrRecord (Rec_SHA_RECORD_PUBLIC,&Gbl.Usrs.Other.UsrDat,NULL);
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/************************** Show shared record card **************************/
|
||||
/*****************************************************************************/
|
||||
|
|
|
@ -163,6 +163,7 @@ void Rec_ShowFormSignUpInCrsWithMySharedRecord (void);
|
|||
void Rec_ShowFormOtherNewSharedRecord (struct UsrData *UsrDat,Rol_Role_t DefaultRole);
|
||||
void Rec_ShowMySharedRecordUpd (void);
|
||||
void Rec_ShowSharedRecordUnmodifiable (struct UsrData *UsrDat);
|
||||
void Rec_ShowPublicSharedRecordOtherUsr (void);
|
||||
void Rec_ShowSharedUsrRecord (Rec_SharedRecordViewType_t TypeOfView,
|
||||
struct UsrData *UsrDat,const char *Anchor);
|
||||
void Rec_PutParamUsrCodEncrypted (void);
|
||||
|
|
Loading…
Reference in New Issue