|
Moodle
2.2.1
http://www.collinsharper.com
|
Go to the source code of this file.
Functions | |
| profile_category_icons ($category) | |
| profile_field_icons ($field) | |
Variables | |
| $action = optional_param('action', '', PARAM_ALPHA) | |
| $redirect = $CFG->wwwroot.'/user/profile/index.php' | |
| $strchangessaved = get_string('changessaved') | |
| $strcancelled = get_string('cancelled') | |
| $strdefaultcategory = get_string('profiledefaultcategory', 'admin') | |
| $strnofields = get_string('profilenofieldsdefined', 'admin') | |
| $strcreatefield = get_string('profilecreatefield', 'admin') | |
| switch ($action) | |
| Do we have any actions to perform before printing the header. | |
| if($DB->count_records('user_info_category')==0) | $categories = $DB->get_records('user_info_category', null, 'sortorder ASC') |
| Check that we have at least one category defined. | |
| foreach ($categories as $category) | |
| End of $categories foreach. | |
| $options = profile_list_datatypes() | |
| Create a new field link. | |
| $popupurl = new moodle_url('/user/profile/index.php?id=0&action=editfield') | |
| die | |
| profile_category_icons | ( | $ | category | ) |
Create a string containing the editing icons for the user profile categories
| object | the category object |
Edit
Delete Can only delete the last category if there are no fields in it
Move up
Move down
Definition at line 159 of file index.php.

| profile_field_icons | ( | $ | field | ) |
| $action = optional_param('action', '', PARAM_ALPHA) |
| if ($DB->count_records('user_info_category')==0) $categories = $DB->get_records('user_info_category', null, 'sortorder ASC') |
| $options = profile_list_datatypes() |
| $popupurl = new moodle_url('/user/profile/index.php?id=0&action=editfield') |
| $strcancelled = get_string('cancelled') |
| $strchangessaved = get_string('changessaved') |
| $strcreatefield = get_string('profilecreatefield', 'admin') |
| $strdefaultcategory = get_string('profiledefaultcategory', 'admin') |
| $strnofields = get_string('profilenofieldsdefined', 'admin') |