273 Commits

Author SHA1 Message Date
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 />
- &amp; 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
moodler
4337380421 Email addresses are now well and truly obfuscated on public profile pages 2003-07-11 08:38:39 +00:00
moodler
02e44e7cf4 Print better loggedin info at the top of the page 2003-05-26 07:54:34 +00:00
moodler
b0e3a92523 Clean sweep through all the important changing all include(), include_once()
and require() to require_once()
2003-01-05 14:19:20 +00:00
moodler
61e96406df Robustness fixes 2003-01-02 10:35:11 +00:00
moodler
ebc3bd2b24 Changes throughout Moodle to remove any reserved words from the
Moodle tables.

ie user -> userid in many tables, plus in user_students
   start -> starttime and end -> endtime

I've just done all this as carefully as I could ... I don't think
I missed anything but it's pretty intensive work and I'd be fooling myself
if I didn't think I'd missed a couple.

Note that this version should pretty much be able to bootstrap itself
using PostgreSQL now ... but this is untested
2002-12-23 09:39:26 +00:00
moodler
3086f3f6cf With external authentication, the change password button on the user
page now does the same thing as the one on the login page.  It takes you
to the specified URL is it exists, and just doesn't appear if there is no URL
2002-11-28 12:31:46 +00:00
moodler
bcd6e7184f Hide password and unenrolment buttons from guest users 2002-11-22 09:59:31 +00:00
moodler
15e4b2ecd9 User pictures no longer are links on main view page 2002-11-20 14:58:24 +00:00
moodler
e1ac42728d Added a 'change password' button 2002-10-17 12:25:25 +00:00