47 Commits

Author SHA1 Message Date
skodak
51f7c052c2 MDL-14473 added missing $files param; merged from MOODLE_19_STABLE 2008-04-25 12:20:46 +00:00
dongsheng
ef35441d27 MDL-14460, fix get_context_instance, merged from MOODLE_19_STABLE, see tracker. 2008-04-22 06:24:14 +00:00
dongsheng
5a2a53316f MDL-14129, remove all the other error() call 2008-04-04 02:54:20 +00:00
ikawhero
258db59a44 Fixed typo that was affecting the reordering of custom profile fields.
MDL-13909.
2008-03-20 09:16:23 +00:00
stronk7
093c3b907b Change some conditions to properly check if the custom-profile-field really is using a duplicate shortname. MDL-13288 ; merged from 19_STABLE 2008-02-01 17:19:33 +00:00
scyrma
2803993c02 Let the admin choose if a textfield is to be shown as plain text or as a password (with '*' in place of normal text) 2007-12-21 08:19:14 +00:00
poltawski
bbebbc0c57 MDL-12446 - profile signup page not respect custom user profile field
sortorder

Merged from MOODLE_19_STABLE
2007-12-05 14:33:10 +00:00
skodak
a78890d593 MDL-12133 validate() method tidying up; merged from MOODLE_19_STABLE 2007-11-23 22:15:07 +00:00
stronk7
b77bbd2f83 New profilefield_ lang files are now supported with
safe fallback to the "old" ones (stored in admin.php)

Merged from MOODLE_19_STABLE
2007-11-09 20:11:43 +00:00
ikawhero
91cddbc454 Only include data from field types that are "small" 2007-10-08 08:10:45 +00:00
ikawhero
66643c0aa8 New function to return a partial user object with the custom profile fields
set.
2007-10-08 07:21:32 +00:00
ikawhero
cfdb170609 Check to ensure custom profile fields do not have same name as current
fields in the $USER record
2007-10-08 06:59:00 +00:00
ikawhero
831d450e3f Adding custom profile fields to the signup page.
The only two authentication plugins this affects are email and ldap.
2007-08-20 08:30:34 +00:00
ikawhero
62ebb00033 Additional settings for the custom profile fields 2007-08-15 13:37:52 +00:00
skodak
1ae083e424 MDL-9647 simplify dealing with headers/footers in admin sections 2007-04-30 17:08:34 +00:00
ikawhero
86e95dfa9c New textarea profile field type 2007-04-28 03:07:43 +00:00
ikawhero
c3af90961c Merged changes from stable.
Fixed typo.
Made constructor variables optional to reflect parent class
2007-04-19 07:42:40 +00:00
ikawhero
4a7030e0e5 Changes merged from 1.8
Fix for MDL-9415
New method is_empty() added.
2007-04-18 02:10:15 +00:00
moodler
3212d2f240 Merged change to format_text from stable 2007-04-16 06:22:17 +00:00
ikawhero
334415e93f Merging changes from 1.8
Display custom profile fields in profile page - see MDL-9285
Menu type stores the value rather than the index - see comments on MDL-9285
General tidy up and renaming of funtions in field class.
2007-04-16 02:49:33 +00:00
nicolasconnault
008bc40114 Added rows and cols to menu options textarea, fixing xhtml break. 2007-04-04 04:39:23 +00:00
nicolasconnault
7d4db46aa8 MDL-9136: Added a $selected attribute to the profile_field_menu object, which gets set during initialisation. 2007-04-04 04:09:47 +00:00
moodler
6ba65fa08d Merged Nicolas' changes from MDL-8582 into HEAD. 2007-02-28 06:25:22 +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
ikawhero
7240a6ea65 Placed the work behind printing out the categories and fields into a
function.
2007-01-25 05:20:10 +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
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
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
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
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
ikawhero
d0c33889c5 Customisable user profile fields.
Still some tidy up work to be completed.
2007-01-12 07:05:52 +00:00
ikawhero
eed54b4840 Can delete last profile category if there are no fields in it. 2007-01-12 06:48:05 +00:00
ikawhero
8c33bc76d0 Language string changes 2007-01-12 06:03:49 +00:00
ikawhero
d052a81328 Added some functions for the admin GUI 2007-01-12 05:22:03 +00:00
ikawhero
1f4cd1bef5 Various changes for GUI. 2007-01-12 01:01:57 +00:00
ikawhero
9ac33264f4 Various changes for customisable user profiles GUI.
Changed locked fields to use freeze() method rather than js based
disabledIf() method.
2007-01-12 00:59:40 +00:00
ikawhero
901d26dbf4 Locked fields do not need to be required. 2007-01-05 06:54:26 +00:00
ikawhero
b1c700238c Form fieldname set to shortname of field.
General tidy up.
2007-01-05 06:27:25 +00:00
ikawhero
6b64d3b39b Customisable user profile fields 2007-01-05 02:12:33 +00:00