mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
MDL-50683 user: add default choice
This commit is contained in:
parent
ff5b060c37
commit
97b1867f0f
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ echo '<div class="profileeditor">';
|
|||
// Create a new field link.
|
||||
$options = profile_list_datatypes();
|
||||
$popupurl = new moodle_url('/user/profile/index.php?id=0&action=editfield');
|
||||
echo $OUTPUT->single_select($popupurl, 'datatype', $options, '', null, 'newfieldform', array('label' => $strcreatefield));
|
||||
echo $OUTPUT->single_select($popupurl, 'datatype', $options, '', array('' => get_string('choosedots')), 'newfieldform', array('label' => $strcreatefield));
|
||||
|
||||
// Add a div with a class so themers can hide, style or reposition the text.
|
||||
html_writer::start_tag('div', array('class' => 'adminuseractionhint'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue