Commit Graph

584 Commits

Author SHA1 Message Date
nicolasconnault 7c08ef3653 Fixed MDL-8582
Not sure if the hotpot module is converting ampersands correctly. $heading and $title are set up differently than in other modules: instead of outputting $course->title, a temporary $title variable is created and assigned that value. That made it difficult for me to decide whether it was already formatted elsewhere or not.

Also I didn't format_string() any of the variables included in $navigation rings, because I assume these strings get processed by print_navigation(), which includes format_string().
2007-02-28 05:36:13 +00:00
skodak 8bd763d2da MDL-8590 auth cleanup - part 8; backported from HEAD 2007-02-21 21:57:09 +00:00
moodler fc1e2380e4 SMall formatting fix, no code change 2007-02-19 02:27:55 +00:00
skodak bf4846358f fixed problem on user edit page when user not fully setup, reverted guest handling; backported from HEAD 2007-02-15 22:04:51 +00:00
skodak e3c1819c36 fixed problem on user edit page when user not fully setup; backported from HEAD 2007-02-15 20:49:06 +00:00
moodler c3c9612c1c More fixes for format_time().. I removed weeks because they are a bit of a
language pack problem  (we already have a string 'week' = "Week" which we can not
re-use)
2007-02-15 03:13:32 +00:00
vyshane aa91a2f22c Merged from 1.7. 2007-02-14 02:57:37 +00:00
moodler 42044d0971 Fixes so that no-one can "login as" users with "doanything" MDL-8411 2007-02-13 08:31:10 +00:00
skodak 9152fc9938 MDL-8323 finished full conversion to proper $COURSE global - no more $CFG->coursetheme, $CFG->courselang - improved course_setup(), current_language() and current_theme(); and Chameleon theme fixes needed for global $COURSE
MDL-7962 chat seems to be completely broken in head (fixed wrong JS)
* reworked chat themes support
MDL-8338 Cron does not need cookies
MDL-8339 forum cron capabilities problems
* minor deprecated function current_encoding() cleanup
2007-01-28 21:18:08 +00:00
donal72 da249a3028 Auth: Fix for error creating admin user (if you choose a new username). Also addresses an issue in the user_update_password method. 2007-01-28 10:27:05 +00:00
skodak dcf6d93c9c MDL-8323 Add proper setup of course $CFG variables, fix use of global $COURSE
new function course_setup() thats does proper $CFG-> , locale and themes setup much sooner than print_header() originally (needed for MDL-8067), cleanup of forgotten global $course issues

MDL-8067 Fixed several $HTTPSREQUIRED issues - html editor now loads from https (the old hack did not wotk with IE7, new hack is uglier but works), fixed formlibs images (we can not set them in library global scope, we must wait for httpsrequired() and require_login() and od that in function), fixed links in meta.php, fixed help images

fixed setting of new $USER values in user edit forms
2007-01-27 19:56:08 +00:00
skodak 3cb03e47ee MDL-8096 user edit form - reintroduced httpsrequirequired() 2007-01-26 21:37:56 +00:00
skodak 9e7cd813e7 MDL-8277 userid field now PARAM_CLEAN 2007-01-26 20:20:27 +00:00
skodak 9d85247dab MDL-8319 avatar image is now deleted from disk, user/pix.php redirects to default picture if user picture not present(===deleted) 2007-01-26 20:15:54 +00:00
skodak 14a6b7e197 MDL-8096 user edit form - some more refactoring and fixes 2007-01-26 18:42:47 +00:00
skodak e61f870151 MDL-8096 - fixed default values 2007-01-26 17:17:21 +00:00
skodak 04f639a0f4 MDL-8096 - added proper trimming of usernames; site:config capability is now neede to change definition of custom profile fields 2007-01-26 16:19:33 +00:00
skodak a5d3b07224 MDL-8096 - some more fixes and minor refactoring in custom profile fields 2007-01-26 13:49:32 +00:00
skodak 1bf65e5880 MDL-8096 - some more fixes for custom profile fields 2007-01-26 13:33:56 +00:00
skodak 0a5c8ca42c MDL-8096 - fixed mutilang in custom category header 2007-01-26 13:13:13 +00:00
skodak bb6d3d3454 MDL-8096 - refactored and cleanedup custom profiles, user edit form fixes
TODO: fix comments and docs
2007-01-26 13:11:06 +00:00
skodak 478caed8e1 MDL-8096 - fixed use of formslib in custom profile field gui 2007-01-25 19:36:47 +00:00
skodak 4332512e07 MDL-8096 - edit form session fix 2007-01-25 18:18:33 +00:00
skodak d873478322 MDL-8096 - rewritten standard edit form and other fixes; new custom profile fields still missing 2007-01-25 18:02:48 +00:00
skodak e8e0bb2d7b MDL-8096 - advanced edit now mostly works, though still some parts missing; RIP changeme user :-) 2007-01-25 11:03:33 +00:00
ikawhero 88dda743cf Using new function to print out custom categories and fields. This shouldn't
interfere with skodaks work on splitting the user edit form.
2007-01-25 05:23:56 +00:00
ikawhero 7240a6ea65 Placed the work behind printing out the categories and fields into a
function.
2007-01-25 05:20:10 +00:00
skodak 25c09fc90c MDL-8096 - fixed footer 2007-01-25 00:17:06 +00:00
skodak ad6226fba2 MDL-8096 - user edit form splitting, refactoring, cleanup and fixing - work in progress ;-)
* new editadvanced form for creating of users and editing without restrictions
* elliminated fantom changeme user
* updated links and installation process
* see TODO comments in code
2007-01-25 00:04:02 +00:00
stronk7 2cf089c94f Changing some more incorrect uses of get_records and count_records with '1'. MDL-8280 2007-01-23 16:21:21 +00:00
stronk7 c4b654bc3c WHERE '1' is not cross-db. MDL-8280 2007-01-23 16:09:00 +00:00
skodak 5cd2273fe1 MDL-8096 two submit buttons not needed anymore now that we have advanced settings button; two submit buttons are accessibility problem anyway 2007-01-23 10:11:12 +00:00
skodak f017ea3045 MDL-8096 fixed country selection 2007-01-23 10:04:59 +00:00
moodler 3de34ccf68 FIxed extra debugging info 2007-01-23 02:14:29 +00:00
jamiesensei c0ae32d9ff made some changes to user/edit.php setAdvanced and header name changes for MDL-7780 2007-01-19 11:35:12 +00:00
skodak 91866a2631 some minor user edit fixes MDL-8096 2007-01-16 09:56:15 +00:00
ikawhero a756889587 Change to a table per category. 2007-01-13 05:32:15 +00:00
skodak beac4717de MDL-8166 rename in/out methods in formslib - HQ consensus 2007-01-12 18:52:09 +00:00
sam_marshall f8e1c7af38 MDL-8149 Added code to narrow down possibilities for get_my_courses, which reduces number of db queries required for profile page when site has many courses. 2007-01-12 17:05:32 +00:00
ikawhero 253625c5e3 Tidying up the interface.
Fixed default data bug in menu type.
2007-01-12 12:58:15 +00:00
ikawhero dbb3ecdb13 Fixing the table - accessibility and strrrrrrict 2007-01-12 12:15:53 +00:00
jamiesensei 9958e84f3c removed condition 'if ($userupdate) {' (ie if user has capability moodle/user:update) then freeze fields locked by admin / auth plug ins. Now fields are always frozen. 2007-01-12 09:41:21 +00:00
ikawhero c517d8f07e Changes to the redirects. 2007-01-12 08:44:35 +00:00
moodler 5a4ef4c55d Use names for the field types 2007-01-12 08:42:59 +00:00
ikawhero 63dbbf068b Strrrrrrict - keeping MD happy!!!! 2007-01-12 08:32:38 +00:00
jamiesensei 3c19571fed just amended some of the set_defaults stuff 2007-01-12 08:22:56 +00:00
ikawhero 5c11b818ec Making the interface friendlier:
- heading context sensitive
  - don't display the default category unless some fields have been defined
  - if no categories have been defined, then create the default category silently
2007-01-12 08:07:15 +00:00
toyomoyo 0db6adc9b0 MDL-8120, changes to roles to facilitate faster log in time 2007-01-12 07:41:33 +00:00
ikawhero ebc2df8a41 Only display non-empty categories 2007-01-12 07:32:58 +00:00
ikawhero d0c33889c5 Customisable user profile fields.
Still some tidy up work to be completed.
2007-01-12 07:05:52 +00:00