Commit Graph

25 Commits

Author SHA1 Message Date
Marina Glancy b47fda7191 MDL-60029 core_user: new api functions rearranged 2017-10-10 10:34:55 +08:00
Mike Churchward 860f59b13c MDL-60029 core_user: Added new api function to reduce db calls. 2017-10-09 14:10:38 +08:00
John Okely 40ca0bd914 MDL-58916 user_profile: Pass site context when determining menu options 2017-05-15 12:12:54 +08:00
Juan Leyva 3ee392c8e8 MDL-56092 core_user: Changes in profilelib to support WS 2016-10-04 09:50:02 +01:00
Marina Glancy c4d0b752a2 MDL-51784 various: use __construct() for PHP7 compatibility 2015-12-11 12:48:24 +08:00
Brent Boghosian f1c0061daa MDL-43205 user profile fields: Menu multi-lang improvements.
Improve custom user profile multi-language menu options
support, so that it is not set to a specific language.
2014-11-10 13:46:39 +08:00
Marina Glancy 65ae0a1bde MDL-45469 profile: make sure profile fields can be initialised without arguments 2014-05-21 11:40:43 +08:00
Sam Hemelryk a2ed6e69f9 MDL-44255 user: tidied up phpdocs and coding style 2014-02-24 09:23:47 +13:00
Frederic Massart 4373103084 MDL-34460 Librairies: Replaced deprecated get_context_instance() 2012-07-26 13:23:28 +08:00
Petr Skoda c990e4bfcb MDL-32405 fix PHP4isms and other E_STRICT issues in custom profile fields 2012-04-15 17:15:50 +02:00
Rajesh Taneja 1b4d2d56d9 MDL-31654 users: Added check for custom profile fields, if wrong data is passed then user will not be able to proceed 2012-03-23 10:13:37 +08:00
Rajesh Taneja bd8dc9ba0a MDL-31654 users: removed hardcoding and added docblock on top of tim's patch 2012-03-23 10:13:37 +08:00
Petr Skoda aa6c1ced0a MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-04 08:11:02 +00:00
skodak 4d3e28a06c MDL-18265 fixed regression in menu field - discovered and patched by Vlas Voloshin, thanks!; merged from MOODLE_19_STABLE 2009-03-15 13:44:28 +00:00
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
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 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 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
skodak a5d3b07224 MDL-8096 - some more fixes and minor refactoring in custom profile fields 2007-01-26 13:49:32 +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 253625c5e3 Tidying up the interface.
Fixed default data bug in menu type.
2007-01-12 12:58:15 +00:00
ikawhero 8c33bc76d0 Language string changes 2007-01-12 06:03:49 +00:00
ikawhero 1f4cd1bef5 Various changes for GUI. 2007-01-12 01:01:57 +00:00
ikawhero 6b64d3b39b Customisable user profile fields 2007-01-05 02:12:33 +00:00