moodler
a1d72936b1
Strip tags from module names .... sigh
2004-04-02 13:42:20 +00:00
defacer
f30fe8d063
As per Martin's suggestion:
...
Added new function: get_user_timezone($timezone = 99) which retrieves
the user's timezone, respecting the $USER->timezone and $CFG->timezone
settings.
Modified all date/time library functions to use this.
2004-04-01 12:27:37 +00:00
defacer
f3d142dae4
Fix for the fix: Turns out that next() returns false if an array element's
...
value is 0 (the php docs speak only about the key... :/). Good thing that my
test user's timezone is set to GMT+0. This should work no matter what.
2004-04-01 11:29:25 +00:00
defacer
a36166d327
The timezone selection didn't work correctly... if there WAS a $USER->timezone
...
set but it was set to 99, it didn't check the $CFG->timezone setting.
Fixed now. Fancy implementation, forgive me please! ;)
2004-04-01 10:39:06 +00:00
defacer
d8ba183c39
Checking for the $CFG->timezone value as a last resort in the various user
...
date/time functions didn't work because there was no global $CFG; :O
2004-04-01 10:11:20 +00:00
moodler
07c270c127
Upgraded to latest version and fixed some undefined variables
2004-04-01 03:16:25 +00:00
moodler
47b307976b
Removing a line from stripslashes_safe ... not sure why we were replacing
...
these double slashes ...
2004-03-31 08:45:11 +00:00
moodler
09cbeb40a2
An improvemement, I think, in the way Javascript is stripped in clean_text
2004-03-28 06:31:27 +00:00
julmis
cfa3f2622e
Cleaning up javascript and trying to make code less
...
memory consuming.
2004-03-26 09:29:44 +00:00
moodler
1265952149
- Fixed timezone calculations when user isn't present, and
...
- format_float now defaults to one decimal place
2004-03-25 15:29:40 +00:00
moodler
8dcd43f3fe
Checking in Eloy's Javascript/smiley fixes from bug 1185 Thanks!
2004-03-25 06:31:44 +00:00
moodler
9a11957599
SOme fixes for formatting from Koen in bug 1183
2004-03-25 05:43:36 +00:00
julmis
85334fdc0a
Adding missing slash in tr -tag line 258
2004-03-24 23:14:20 +00:00
moodler
d0ec93fbd6
Guests can no longer see email addresses if "show only to course participants"
...
has been set by that user
2004-03-24 12:23:43 +00:00
moodler
427fdf6669
Primary admin is now the lowest-numbered entry in user_admins, rather than
...
the admin with the lowest userid. This makes it easier to change the
primary admin.
2004-03-24 09:38:47 +00:00
moodler
20439c700b
Add idnumber to list of course students
2004-03-21 03:30:27 +00:00
moodler
488acd1be9
Some fixes to the functions for fetching users (some of it is backing
...
out Scott's changes, sorry Scott!) and some fixes to the interface
for the admin user page.
2004-03-20 06:58:52 +00:00
moodler
1579586ced
Some blank index.html files to prevent browsing
2004-03-20 04:10:26 +00:00
moodler
6670a7f214
Dummy index to prevent browsing
2004-03-20 04:08:19 +00:00
moodler
36ec6afea6
Added a small security check
2004-03-20 04:04:15 +00:00
julmis
d5a55d2388
Styles enabled on table-operations dialogs
2004-03-19 19:09:35 +00:00
selliott
5a4aa257c1
On second thought, let's display the lastaccess in the lastaccess column of admin/user.php ;)
2004-03-19 04:39:20 +00:00
selliott
73fc8c1af7
Added search parameter to get_course_students.
...
Modified get_course_students and count_course_students to handle a request for course 0 (will get all users, even if they are in no other course).
Changes done to for admin/user.php, should be compatible with all previous function calls.
2004-03-19 04:26:35 +00:00
julmis
1e77b7122e
table-operations file that seems to only working...
2004-03-16 23:22:50 +00:00
julmis
825c4c8878
makefile.xml
2004-03-16 23:21:47 +00:00
julmis
63830e903d
Fixing typos :-( sorry!!!
2004-03-16 23:00:45 +00:00
julmis
723ee6a111
Removelink feature added
2004-03-16 21:40:42 +00:00
julmis
bc1e9d4590
Updates
2004-03-16 21:39:57 +00:00
julmis
a9c48ae08d
Removelink image
2004-03-16 21:39:18 +00:00
julmis
bf5f1e7676
TableOperations enabled on fullscreen mode, finally :-)
2004-03-16 21:21:21 +00:00
moodler
6c61fd041e
Whoops! Just realised I never fully finished the deleteunconfirmed
...
feature! All done now.
2004-03-16 10:59:42 +00:00
moodler
f038d9a313
Fixed bug with empty string
2004-03-16 07:11:14 +00:00
stronk7
54be24ecec
Avoid login as himself to teachers. One missing USER
...
variable was the cause ;-)
2004-03-14 02:17:26 +00:00
moodler
06b1db82d2
Decalre some globals so debugging works better
2004-03-13 16:04:52 +00:00
moodler
4e3a60929c
Finally fixed those annoying 'loginas' links on the main user listing
2004-03-13 14:34:32 +00:00
moodler
60b025d1cc
Function name change ... hope it doesn't break any third-party code,
...
sorry if it does!
get_users_in_group ---> get_group_users
... to be more consistent with other functions
Also a new function: get_group_students()
2004-03-13 14:25:27 +00:00
julmis
95c1bce09e
Sections, create folder and fileupload enabled also on link dialog.
2004-03-13 00:14:54 +00:00
julmis
6e4c0f6164
Some fixes of students dialog's placement on the screen
...
and a little fix for event handling
2004-03-11 08:21:55 +00:00
moodler
3cf4ab978b
Added an option on the filters page to control whether uploaded
...
files are parsed by filters. bug 1128
2004-03-11 02:14:15 +00:00
moodler
84bbca5355
When unenrolling a student from ALL courses, delete group memberships
2004-03-10 13:45:23 +00:00
moodler
abc3b857a2
Fixed some copyrights
2004-03-10 13:23:00 +00:00
moodler
2eef791f9c
Make sure $CFG->debug is defined before using it
2004-03-10 07:59:32 +00:00
moodler
4a5644e51a
New generic function to break up long words
2004-03-10 02:19:17 +00:00
selliott
ea5d48ee8d
Modified function get_users_listing to:
...
1. also return confirmed field from user table and
2. include users in dataset who have not confirmed
(Used to display unconfirmed users in admin/user.php)
2004-03-09 21:12:54 +00:00
moodler
9c7fee6c21
Lots of error checking now on most database functions ... if debugging
...
is turned on then you get notifications printed in the web page.
Good for catching bad SQL.
Thanks to Howard Miller for the boot up the bum! :-)
2004-03-09 16:32:24 +00:00
moodler
4855286e27
Use DISTINCT instead of GROUP BY in get_site_users
2004-03-09 15:35:07 +00:00
moodler
3a954ad47f
Fix for PostgreSQL and user searching Thanks Ulrik! bug 1101
2004-03-09 12:46:03 +00:00
moodler
13d7ed45db
No doubling up on get_site_users() bug 1110
2004-03-09 12:18:52 +00:00
moodler
b7a3d3b24c
Filter text files as well
2004-03-09 06:44:27 +00:00
julmis
9174b41dc6
removing resizeTo -functions from dialogs
2004-03-07 14:40:39 +00:00