Skip to content
Browse files

MDL-20501 survey module: fix text alignment for right to left languag…

…e. Change undefined string to
  • Loading branch information...
1 parent f84058a commit b7342c4c7b9c7e876bfe053a08cd8d1a158a9bab @rwijaya rwijaya committed Aug 1, 2011
Showing with 3 additions and 4 deletions.
  1. +3 −4 mod/survey/index.php
View
7 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 = '';

0 comments on commit b7342c4

Please sign in to comment.
Something went wrong with that request. Please try again.