60 Commits

Author SHA1 Message Date
jamiesensei
d004c4adcd MDL-16242 "'Required' does nothing for select fields in customisable user profiles" added an extra option 'Choose...' which is the default if no other default is specified. If the user leaves the select field set to 'Choose...' then the required rule fails and the form does not submit. 2008-08-28 06:44:49 +00:00
jerome
416afdbb66 MDL-12333: display custom field in categories box on the signup page 2008-08-18 08:26:41 +00:00
jerome
b587e914f7 MDL-16099: database migration on user/profil/field/checkbox/field.class.php 2008-08-18 07:25:09 +00:00
moodler
34c688c959 MDL-14299 Merged small credit fix 2008-07-15 04:30:37 +00:00
ikawhero
8750134a46 Merged from stable. Change language string file. 2008-07-15 04:03:33 +00:00
ikawhero
60d922d5f1 MDL-14299 New checkbox profile field type.
Credit to Brian King.
2008-07-15 03:31:32 +00:00
dongsheng
d32482383a "MDL-14129, fix print_error" 2008-06-15 09:48:42 +00:00
dongsheng
161ef22b3f "MDL-14129, fix print_error" 2008-06-15 09:48:42 +00:00
skodak
294ce9870f MDL-15189 magic quotes finally removed 2008-06-09 16:53:30 +00:00
skodak
c7da43571b MDL-14679 converted some count_records 2008-06-02 21:47:31 +00:00
skodak
1829e015e6 MDL-14679 converted some insert_records() 2008-06-02 21:25:40 +00:00
skodak
5849cfe28d MDL-14679 fixed regression 2008-06-01 10:20:23 +00:00
skodak
5d910388bb MDL-14679 towards /user conversion 2008-05-30 22:11:31 +00:00
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