From 25f8e4f2417018d454f7a0cbe3ffa51733a88927 Mon Sep 17 00:00:00 2001 From: Rossiani Wijaya Date: Wed, 8 Aug 2012 11:37:40 +0800 Subject: [PATCH] MDL-34575: fixed string typo and string duplication for label --- user/addnote.php | 2 +- user/index.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/user/addnote.php b/user/addnote.php index 79a8263b14e..074891ecc0e 100644 --- a/user/addnote.php +++ b/user/addnote.php @@ -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( ''. fullname($user, true), diff --git a/user/index.php b/user/index.php index 0f4a64ade54..b3abbbfaa4a 100644 --- a/user/index.php +++ b/user/index.php @@ -812,8 +812,8 @@ } if (has_capability('moodle/site:viewparticipants', $context) && $totalcount > ($perpage*3)) { - echo '
'.get_string('search').': '."\n"; - echo ''; + echo '
'; + echo ''; echo ' 
'."\n"; }