Commit Graph

39 Commits

Author SHA1 Message Date
Rossiani Wijaya e1bde19170 MDL-4633: remove 'required' rule for user's profile description 2011-03-10 15:56:20 +08:00
Dan Poltawski ed5a88a715 user/edit_form MDL-20683 - allow user to edit description if set with
$CFG->profilesforenrolledusersonly

The original intention seems to be to allow the user to edit the description
if its not empty, however it was not ever allowing that to happen. This was
already correct in HEAD.
2010-02-24 08:38:24 +00:00
skodak 6ab0935e93 MDL-10498 fixed handling of username and emails with single quotes 2009-09-27 19:13:22 +00:00
skodak 65a2e5fe0e MDL-20353 adding missing data types of hidden form fields 2009-09-26 16:23:34 +00:00
skodak 734e6125ed MDL-18265 fixed regressions by hardfreeze security workaround - defaults were overriding locked values - backported from HEAD 2009-03-07 21:01:39 +00:00
peterbulmer 489b503378 MDL-10498: Apostrophe / Quote in username or email breaks profile update
Author: Aaron Barnes <aaronb@catalyst.net.nz>
2009-01-12 02:05:12 +00:00
skodak 2fa8ad59f9 MDL-17559 user edit: fixed undefined email property warnings 2008-12-08 20:15:39 +00:00
stronk7 b0a9e1c532 MDL-17143 Some improvements suggested by Petr applied. 2008-11-11 19:00:48 +00:00
stronk7 e9a53fb1ba MDL-17143 Avoid notices caused by not existing profilesforenrolledusersonly setting 2008-11-11 18:31:07 +00:00
dongsheng 85f1f34c85 "MDL-17143, don't display the user description at all when user isn't enrolled in any courses" 2008-11-10 02:57:00 +00:00
skodak 8c5ea44aaf MDL-16839 forms: workaround for problematic hard frozen values 2008-10-13 19:38:49 +00:00
stronk7 f6a81a6698 Detect non-utf8 langs in user edition forms. MDL-16845 MDL-11829 2008-10-10 21:27:42 +00:00
skodak ccceaab929 MDL-16365 domain restrictions are now optional when changing email address 2008-09-24 16:58:36 +00:00
skodak 5623276da8 MDL-13450 and MDL-13303 - sorry for changing forum API so late, but it was needed; major perf improvement for forum; fixed printing of user pictures 2008-02-13 17:01:41 +00:00
skodak ef4ad6c66e MDL-12133 validate() method tidying up 2007-11-23 22:12:34 +00:00
nfreear c8149f0f4f Fixes MDL-11648, "Required" is inappropriate text for legend in user profile edit form. 2007-10-08 13:55:53 +00:00
skodak 1545d7f0d4 MDL-6236 user editing - Default language not used instead of nonexisting one in user lang field - first lang chosen instead; merged from MODOLE_18_STABLE 2007-04-16 18:30:52 +00:00
skodak b4c46a8b0f MDL-8913 use proper returned reference assignment for forms elements (PHP4 trouble); merged from MOODLE_18_STABLE 2007-03-15 12:42:39 +00:00
skodak b0c90e6ede (MDL-8820) moodle/user:editprofile now works in user contexts - reverted previous fix, adding new one; merged from MOODLE_18_STABLE 2007-03-14 23:37:28 +00:00
moodler 3eff81468f Just some formatting 2007-02-25 06:58:10 +00:00
skodak 14a6b7e197 MDL-8096 user edit form - some more refactoring and fixes 2007-01-26 18:42:47 +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 d873478322 MDL-8096 - rewritten standard edit form and other fixes; new custom profile fields still missing 2007-01-25 18:02:48 +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
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
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
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
jamiesensei 3c19571fed just amended some of the set_defaults stuff 2007-01-12 08:22:56 +00:00
ikawhero ebc2df8a41 Only display non-empty categories 2007-01-12 07:32:58 +00:00
jamiesensei acc9c3e037 added hardFreeze method and used it in edit_form.php it ensures frozen elements have persistantFreeze property set to false. 2007-01-12 06:19:39 +00:00
ikawhero 1a4f426bc7 More changes from disabledIf() to freeze().
Moved set_defaults() into edit.php
2007-01-12 05:15:26 +00:00
ikawhero bd749a7c29 Authplugin locked fields now use freeze() method rather than rely on js
based disabledIf().
Thanks to Jamie P and Petr S.
2007-01-12 00:51:53 +00:00
skodak e8a29d251c MDL-8096 New user edit form does not work properly - fixed timezone handling + other minor fixes 2007-01-06 21:29:16 +00:00
skodak 2c94b1cea6 can not insert two buttons with the same IS on one page - fixed by custom buttons instead of add_action_buttons() 2007-01-06 20:36:31 +00:00
ikawhero 68e9d36802 Fields set as locked are now disabled using the forms class rather than
javascript.
2007-01-05 06:57:30 +00:00
ikawhero c9c74c47ab Profile page using the new forms class.
Code to allow customisable fields.
2007-01-05 02:14:06 +00:00