defacer
1610aa4916
Rewriting "!$course->category" to "$course->id == SITEID" to make it clear.
2005-02-05 02:08:25 +00:00
moodler
cdf3925518
Messaging can now be completely disabled using $CFG->messaging
2005-01-31 07:11:42 +00:00
moodler
b77c41c103
Removed some THEME colours
2005-01-25 13:43:09 +00:00
defacer
9407d4563f
According to the final comments in SC#65:
...
Made isteacher() require that the first parameter (course id) be
specified and non-empty. If it is empty, [i.e., 0, which was used to
simulate what has now become isteacherinanycourse()], then the return
value IS correct but a warning is printed on screen. This should allow
us to track down any such calls in legacy modules without breaking Moodle.
The correct way to check for teacher status in ANY course is now to
call isteacherinanycourse().
2005-01-23 21:38:01 +00:00
moodler
2fc1b1feb8
Add messaging buttons to the user profile
2004-12-28 13:49:44 +00:00
moodler
c6c558d785
Merged in changes for lastaccess on site level from stable
2004-10-27 06:01:20 +00:00
paca70
e09ecb0604
Allow password changes with standard password change dialog if
...
$CFG->{'auth_'.$USER->auth.'_stdchangepassword'} is true.
2004-10-10 06:26:29 +00:00
moodler
e41ddc4b02
user id and course id are both now optional
2004-09-25 12:53:35 +00:00
moodler
09e8a2f8e8
Changes for XHTML and accessibility compliance
2004-09-23 11:01:22 +00:00
gustav_delius
8f0cd6ef0f
Resolved problems with previous replacement of
...
& to & and fixed redirect() to entity encode the
inut where needed.
Julian Sedding
2004-09-21 11:41:58 +00:00
moodler
7c7d9120c2
Tidied up some XHTML
2004-09-21 10:52:55 +00:00
gustav_delius
839f2456bb
XHTML compliance
...
- fixed (hopefully) all <img> tags
- global replace on <br> to <br />
- & in URLs
- got the forum module XHTML compliant
Julian Sedding
2004-09-16 17:13:57 +00:00
gustav_delius
9a58f7cb85
towards XHTML compliance
2004-09-12 21:43:59 +00:00
moodler
031c49fabb
HTML code tidy up
2004-09-07 08:05:25 +00:00
moodler
37d83d9951
Admin can now also 'login as' course creators
2004-09-06 14:03:17 +00:00
moodler
7a2292aede
merged from stable (removed excess clean_text)
2004-08-26 15:24:45 +00:00
moodler
a9cbf8cc58
Always let a user see themselves.
2004-08-16 02:15:24 +00:00
moodler
f5ecf2e91a
When displaying users at site level:
...
- teachers can see everyone
- everyone can see teachers
but everyone else is prevented from seeing users. This is regardless
of the forceloginforprofiles setting and is designed to stop mass collection
of user names by browsing through all user names.
2004-08-12 06:57:53 +00:00
moodler
dee51de29f
Slight improvment to icons for enable/disale email address
2004-07-24 06:37:44 +00:00
moodler
fa92b42f60
Use new icons for enable/disable email address on user profile page
2004-07-24 06:25:14 +00:00
moodler
ddc1d46fa1
Merging Stable fixes
2004-07-07 17:33:54 +00:00
julmis
ab1324e415
$CFG->loginhttps changes, change password and admin user edit.
2004-06-22 18:34:35 +00:00
gustav_delius
f7f2ff6dba
Only editing teachers are allowed to unenrol students
2004-05-30 20:54:58 +00:00
moodler
555b85139f
Better protection against Googlers
2004-05-03 15:03:31 +00:00
moodler
1ffb5c8989
Forcelogin works on user profiles, and a new setting can now forcelogin
...
just for these pages even if the site forcelogin is off.
$CFG->forceloginforprofiles
2004-05-03 14:55:33 +00:00
moodler
d552efcee0
Links to enrolled courses in user profile page now link to the
...
user profile page in that course.
Makes it easy to see their discussions etc
2004-04-03 07:08:16 +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
stronk7
dadbd7586b
Changed border=1 to border=0. Included in previous version to test a bug. Sorry.
2004-03-23 23:58:09 +00:00
stronk7
340ccd3e8d
Small typo. Detected by aroberti. Bug 1178. Closed now.
2004-03-23 23:53:05 +00:00
moodler
b1d530d202
Cleanups for bug 1117
2004-03-13 15:22:33 +00:00
stronk7
dd780a3b4c
Now, in SEPARATE groups courses, a user cannot access to the info about users
...
in other groups.
Please check !!
2004-03-09 23:07:35 +00:00
moodler
cadb96f29e
GUI to allow disabling of user email addresses (from user profile)
2004-02-20 10:27:24 +00:00
moodler
088cbaab7b
Fixed a typo
2004-02-14 17:33:24 +00:00
moodler
d7df380b78
Extra parameter for robustness
2004-01-14 17:53:51 +00:00
moodler
a2c3b87eda
Clean output for old entries
2004-01-14 13:33:00 +00:00
moodler
aeb23d0a02
User descriptions weren't being filtered! They are now. :-)
2004-01-14 13:07:29 +00:00
moodler
951b22a829
Completely got rid of user/lib.php
...
- print_user() went to weblib.php and got tidied up
- The graphics functions went to lib/gdlib.php
See Bug 922
2004-01-10 16:41:29 +00:00
moodler
8c8c9bafa5
Align rows to top
2003-12-14 02:54:10 +00:00
moodler
5fde0ca615
Use the new fullname function
2003-11-19 16:15:56 +00:00
moodler
9c72928dc3
Show enrolled courses on user page to teachers
...
See http://moodle.org/mod/forum/discuss.php?d=3562
2003-11-19 07:55:00 +00:00
moodler
6a7585f259
SECURITY FIX: This patch prevents teachers from logging in as admins or
...
course creators! I'll make an announcement to registered
administrators.
2003-11-14 12:48:26 +00:00
moodler
8f85017285
Show activity button for students on their profile page
2003-10-31 06:50:19 +00:00
moodler
97ac9019a9
Print "never" on profile page if the user has never logged in
2003-10-28 04:09:03 +00:00
moodler
f1603208db
The last access date is now that of the course.
2003-10-27 14:15:05 +00:00
moodler
1b6a4b1db2
Some cleanups for some of the HTML, including addition of new styles
2003-10-21 06:40:39 +00:00
moodler
5204d8316a
A new configuration parameter 'allowunenroll' will enable/disable the
...
"unenrol me" buttons on user pages and course pages.
2003-10-12 18:03:50 +00:00
moodler
5833a6c8eb
The list of countries has finally been moved into the language packs
...
so it can be translated.
There is now a new function get_list_of_countries() which will return a
sorted array of countries in the best current language.
get_string("AU", "countries") will also work if needed
2003-09-26 08:04:48 +00:00
moodler
ecac660cd6
Use the new is_internal_auth function
2003-09-22 14:01:45 +00:00
moodler
61a5e1e902
Sometimes changepassword is 0 or 1 ... so deal with that
2003-08-25 17:42:21 +00:00
moodler
35d01c7f31
When using the "manual" method, I've disabled the external method of
...
changing passwords, and enabled the internal "change password" button
just like "email" and "none".
Thanks to Danilo Massa for pointing out the inconsistency.
2003-07-21 15:20:58 +00:00