From 63d25e414f9945bdddc4d42033a71818ea76a372 Mon Sep 17 00:00:00 2001 From: Rossiani Wijaya Date: Mon, 1 Aug 2011 17:42:23 +0800 Subject: [PATCH] MDL-20501 survey module: fix text alignment for right to left language. Change undefined string to --- mod/survey/index.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/mod/survey/index.php b/mod/survey/index.php index 5e017ef6594..6154acfa2f5 100644 --- a/mod/survey/index.php +++ b/mod/survey/index.php @@ -38,13 +38,12 @@ } $table = new html_table(); + $table->width = '100%'; if ($usesections) { - $table->head = array ($strsectionname, $strname, $strintro); - $table->align = array ('CENTER', 'LEFT', 'LEFT'); + $table->head = array ($strsectionname, $strname, $strstatus); } else { - $table->head = array ($strname, $strintro); - $table->align = array ('LEFT', 'LEFT'); + $table->head = array ($strname, $strstatus); } $currentsection = '';