Permalink
Browse files

MDL-34575: fixed string typo and string duplication for label

  • Loading branch information...
1 parent 2134ddc commit 58f85786cdbbf8de5b52b186336ff9b79c941e2d @rwijaya rwijaya committed Aug 8, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 user/addnote.php
  2. +2 −2 user/index.php
View
2 user/addnote.php
@@ -107,7 +107,7 @@
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),
View
4 user/index.php
@@ -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').':&nbsp;'."\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).'" />&nbsp;<input type="submit" value="'.get_string('search').'" /></div></form>'."\n";
}

0 comments on commit 58f8578

Please sign in to comment.