MDL-37211 Backup: Migrate hard-coded strings to language string for the table header labels on the restore page

This commit is contained in:
Nadav Kavalerchik 2013-08-16 12:24:10 +03:00
parent 838d78a9ff
commit 1a46c81c87
2 changed files with 4 additions and 1 deletions

View file

@ -140,7 +140,7 @@ class core_backup_renderer extends plugin_renderer_base {
}
if (empty($table)) {
$table = new html_table();
$table->head = array('Module', 'Title', 'Userinfo');
$table->head = array(get_string('module','backup'), get_string('title','backup'), get_string('userinfo','backup'));
$table->colclasses = array('modulename', 'moduletitle', 'userinfoincluded');
$table->align = array('left','left', 'center');
$table->attributes = array('class'=>'activitytable generaltable');