mirror of
https://github.com/acanas/swad-core.git
synced 2024-05-30 13:25:29 +02:00
Version 15.150.8
This commit is contained in:
parent
78edc3863e
commit
b0bbcab01f
|
@ -692,7 +692,7 @@ a:hover /* Default ==> underlined */
|
|||
#main_horizontal .MENU_OPT_OFF:hover, #main_horizontal .MENU_OPT_ON
|
||||
{
|
||||
opacity:1;
|
||||
transform:scale(1.2,1.2);
|
||||
transform:scale(1.25,1.25);
|
||||
}
|
||||
#main_horizontal .MENU_ICON
|
||||
{
|
||||
|
|
|
@ -129,19 +129,19 @@
|
|||
// TODO: Move info about number of files to bottom of file browsers
|
||||
// TODO: Show tagline at top, near logo
|
||||
// TODO: Show big header h1 when no country specified
|
||||
// TODO: Integrate "Print" link
|
||||
|
||||
/*****************************************************************************/
|
||||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.150.7 (2016-03-18)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.150.8 (2016-03-18)"
|
||||
#define CSS_FILE "swad15.150.2.css"
|
||||
#define JS_FILE "swad15.131.3.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.150.8: Mar 18, 2016 Icons to print/show-all guests integrated in frame. (195967 lines)
|
||||
Version 15.150.7: Mar 18, 2016 Icon to print degree configuration integrated in frame. (195970 lines)
|
||||
Version 15.150.6: Mar 18, 2016 Icon to print centre configuration integrated in frame. (195959 lines)
|
||||
Version 15.150.5: Mar 18, 2016 Icon to print institution configuration integrated in frame. (195961 lines)
|
||||
|
|
42
swad_user.c
42
swad_user.c
|
@ -172,6 +172,8 @@ static void Usr_UpdateMyPrefAboutListWithPhotosPhotoInDB (void);
|
|||
|
||||
static void Usr_PutLinkToSeeAdmins (void);
|
||||
static void Usr_PutLinkToSeeGuests (void);
|
||||
static void Usr_PutIconToPrintGuests (void);
|
||||
static void Usr_PutIconToShowAllDataGuests (void);
|
||||
static void Usr_PutLinkToShowGuestsAllDataParams (void);
|
||||
static void Usr_PutLinkToShowStdsAllDataParams (void);
|
||||
static void Usr_PutLinkToShowTchsAllDataParams (void);
|
||||
|
@ -6599,8 +6601,6 @@ void Usr_SeeGuests (void)
|
|||
{
|
||||
extern const char *The_ClassForm[The_NUM_THEMES];
|
||||
extern const char *Txt_Scope;
|
||||
extern const char *Txt_Print;
|
||||
extern const char *Txt_Show_all_data;
|
||||
extern const char *Txt_ROLES_PLURAL_Abc[Rol_NUM_ROLES][Usr_NUM_SEXS];
|
||||
extern const char *Txt_Show_records;
|
||||
|
||||
|
@ -6659,26 +6659,10 @@ void Usr_SeeGuests (void)
|
|||
/***** Get list of selected users *****/
|
||||
Usr_GetListsSelectedUsrs ();
|
||||
|
||||
fprintf (Gbl.F.Out,"<div class=\"CONTEXT_MENU\">");
|
||||
switch (Gbl.Usrs.Me.ListType)
|
||||
{
|
||||
case Usr_CLASS_PHOTO:
|
||||
/***** Link to print view *****/
|
||||
Lay_PutContextualLink (ActPrnGstPho,Usr_PutLinkToShowGuestsAllDataParams,
|
||||
"print64x64.png",
|
||||
Txt_Print,Txt_Print);
|
||||
break;
|
||||
case Usr_LIST:
|
||||
/****** Link to show all the data ******/
|
||||
Lay_PutContextualLink (ActLstGstAll,Usr_PutLinkToShowGuestsAllDataParams,
|
||||
"table64x64.gif",
|
||||
Txt_Show_all_data,Txt_Show_all_data);
|
||||
break;
|
||||
}
|
||||
fprintf (Gbl.F.Out,"</div>");
|
||||
|
||||
/***** Start frame *****/
|
||||
Lay_StartRoundFrame (NULL,Txt_ROLES_PLURAL_Abc[Rol__GUEST_][Usr_SEX_UNKNOWN],NULL);
|
||||
Lay_StartRoundFrame (NULL,Txt_ROLES_PLURAL_Abc[Rol__GUEST_][Usr_SEX_UNKNOWN],
|
||||
(Gbl.Usrs.Me.ListType == Usr_CLASS_PHOTO) ? Usr_PutIconToPrintGuests :
|
||||
Usr_PutIconToShowAllDataGuests);
|
||||
|
||||
/***** Form to select type of list of users *****/
|
||||
Usr_ShowFormsToSelectUsrListType (ActLstGst);
|
||||
|
@ -6734,6 +6718,22 @@ void Usr_SeeGuests (void)
|
|||
Usr_FreeUsrsList (&Gbl.Usrs.LstGsts);
|
||||
}
|
||||
|
||||
static void Usr_PutIconToPrintGuests (void)
|
||||
{
|
||||
extern const char *Txt_Print;
|
||||
|
||||
Lay_PutContextualLink (ActPrnGstPho,Usr_PutLinkToShowGuestsAllDataParams,
|
||||
"print64x64.png",Txt_Print,NULL);
|
||||
}
|
||||
|
||||
static void Usr_PutIconToShowAllDataGuests (void)
|
||||
{
|
||||
extern const char *Txt_Show_all_data;
|
||||
|
||||
Lay_PutContextualLink (ActLstGstAll,Usr_PutLinkToShowGuestsAllDataParams,
|
||||
"table64x64.gif",Txt_Show_all_data,NULL);
|
||||
}
|
||||
|
||||
static void Usr_PutLinkToShowGuestsAllDataParams (void)
|
||||
{
|
||||
Usr_PutParamListWithPhotos ();
|
||||
|
|
Loading…
Reference in New Issue
Block a user