mirror of
https://github.com/acanas/swad-core.git
synced 2024-09-20 00:02:42 +02:00
Version 15.161.4
This commit is contained in:
parent
f844244c4a
commit
f1a77a77ff
|
@ -97,12 +97,11 @@ void Ann_ShowAllAnnouncements (void)
|
|||
" FROM announcements"
|
||||
" ORDER BY AnnCod DESC");
|
||||
else if (Gbl.Usrs.Me.Logged)
|
||||
/* Select only active announcements I can see */
|
||||
/* Select only announcements I can see */
|
||||
sprintf (Query,"SELECT AnnCod,Status,Roles,Subject,Content"
|
||||
" FROM announcements"
|
||||
" WHERE Status='%u' AND (Roles&%u)<>0 "
|
||||
" WHERE (Roles&%u)<>0 "
|
||||
" ORDER BY AnnCod DESC",
|
||||
(unsigned) Ann_ACTIVE_ANNOUNCEMENT,
|
||||
Gbl.Usrs.Me.UsrDat.Roles); // All my roles in different courses
|
||||
else // No user logged
|
||||
/* Select only active announcements for unknown users */
|
||||
|
|
|
@ -129,19 +129,18 @@
|
|||
// TODO: Icon to the left in list of forums is not correct when scope is system
|
||||
// TODO: Move info about number of files to bottom of file browsers
|
||||
|
||||
// TODO: In MESSAGES > Announcements, any user should see obsolete announcements, not only system admins
|
||||
|
||||
/*****************************************************************************/
|
||||
/****************************** Public constants *****************************/
|
||||
/*****************************************************************************/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.161.3 (2016-03-24)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 15.161.4 (2016-03-24)"
|
||||
#define CSS_FILE "swad15.160.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.161.4: Mar 24, 2016 In MESSAGES > Announcements, any user can see obsolete announcements, not only system admins. (196576 lines)
|
||||
Version 15.161.3: Mar 24, 2016 Changed icon to reset survey. (196577 lines)
|
||||
Copy file recycle64x64.png to icon directory
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user