From 5de6795ec0a6d4efbf4053b82d9da869e9dbf5c8 Mon Sep 17 00:00:00 2001 From: shashirepo Date: Sat, 9 Aug 2014 00:11:36 +0530 Subject: [PATCH] MDL-46477 chat:hard coded string in mod/chat --- mod/chat/gui_header_js/users.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod/chat/gui_header_js/users.php b/mod/chat/gui_header_js/users.php index e523de8cd57..b75c5bdf985 100644 --- a/mod/chat/gui_header_js/users.php +++ b/mod/chat/gui_header_js/users.php @@ -95,7 +95,8 @@ foreach ($chatusers as $chatuser) { ob_start(); echo $OUTPUT->header(); -echo html_writer::tag('div', html_writer::tag('a', 'Refresh link', array('href'=>$refreshurl, 'id'=>'refreshLink')), array('style'=>'display:none')); //TODO: localize +echo html_writer::tag('div', html_writer::tag('a', get_string('refresh'), + array('href' => $refreshurl, 'id' => 'refreshLink')), array('style' => 'display:none')); echo html_writer::table($table); echo $OUTPUT->footer();