admin MDL-23259 made the add user profile field/add category UI a little more logical...
authorAndrew Davis <andrew@affinitysoftware.net>
Thu, 15 Jul 2010 02:52:52 +0000 (02:52 +0000)
committerAndrew Davis <andrew@affinitysoftware.net>
Thu, 15 Jul 2010 02:52:52 +0000 (02:52 +0000)
user/profile/index.php

index 2dbdfc1..5bd8b31 100644 (file)
@@ -149,6 +149,11 @@ $options = profile_list_datatypes();
 $popupurl = new moodle_url('/user/profile/index.php?id=0&action=editfield');
 echo $OUTPUT->single_select($popupurl, 'datatype', $options, '', array(''=>$strcreatefield), 'newfieldform');
 
+//add a div with a class so themers can hide, style or reposition the text
+html_writer::start_tag('div',array('class'=>'adminuseractionhint'));
+echo get_string('or', 'lesson');
+html_writer::end_tag('div');
+
 /// Create a new category link
 $options = array('action'=>'editcategory');
 echo $OUTPUT->single_button(new moodle_url('index.php', $options), get_string('profilecreatecategory', 'admin'));