mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
MDL-21217, MDL-21198 simplified/improved outputlib help icon related apis + several fixed regresions
This commit is contained in:
parent
48a67d9f01
commit
4bcc51185c
113 changed files with 442 additions and 970 deletions
|
@ -116,11 +116,11 @@ echo get_string('users'). ': ' . implode(', ', $userlist) . '.';
|
|||
echo '</p>';
|
||||
|
||||
echo '<p>' . get_string('content', 'notes');
|
||||
echo $OUTPUT->help_icon(moodle_help_icon::make('writing', get_string('helpwriting')));
|
||||
echo $OUTPUT->help_icon('writing', get_string('helpwriting'));
|
||||
echo '<br /><textarea name="content" rows="5" cols="50">' . strip_tags(@$content) . '</textarea></p>';
|
||||
|
||||
echo '<p>' . $strpublishstate;
|
||||
echo $OUTPUT->help_icon(moodle_help_icon::make('status', $strpublishstate, 'notes'));
|
||||
echo $OUTPUT->help_icon('status', $strpublishstate, 'notes');
|
||||
echo $OUTPUT->select(html_select::make($state_names, 'state', empty($state) ? NOTES_STATE_PUBLIC : $state, false));
|
||||
echo '</p>';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue