mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-34575: fixed string typo and string duplication for label
This commit is contained in:
parent
2134ddcba1
commit
58f85786cd
@ -107,7 +107,7 @@ foreach ($users as $k => $v) {
|
||||
if(!$user = $DB->get_record('user', array('id'=>$v))) {
|
||||
continue;
|
||||
}
|
||||
$checkbox = html_writer::label(get_string('selectnotestate', 'note'), 'menustates', false, array('class' => 'accesshide'));
|
||||
$checkbox = html_writer::label(get_string('selectnotestate', 'notes'), 'menustates', false, array('class' => 'accesshide'));
|
||||
$checkbox .= html_writer::select($state_names, 'states[' . $k . ']', empty($states[$k]) ? NOTES_STATE_PUBLIC : $states[$k], false, array('id' => 'menustates'));
|
||||
$table->data[] = array(
|
||||
'<input type="hidden" name="userid['.$k.']" value="'.$v.'" />'. fullname($user, true),
|
||||
|
@ -803,8 +803,8 @@
|
||||
}
|
||||
|
||||
if (has_capability('moodle/site:viewparticipants', $context) && $totalcount > ($perpage*3)) {
|
||||
echo '<form action="index.php" class="searchform"><div><input type="hidden" name="id" value="'.$course->id.'" />'.get_string('search').': '."\n";
|
||||
echo '<label class="accesshide" for="search">' . get_string('search', 'search') . '</label>';
|
||||
echo '<form action="index.php" class="searchform"><div><input type="hidden" name="id" value="'.$course->id.'" />';
|
||||
echo '<label for="search">' . get_string('search', 'search') . ' </label>';
|
||||
echo '<input type="text" id="search" name="search" value="'.s($search).'" /> <input type="submit" value="'.get_string('search').'" /></div></form>'."\n";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user