Skip to content

Commit

Permalink
MDL-20501 survey module: fix text alignment for right to left languag…
Browse files Browse the repository at this point in the history
…e. Change undefined string to
  • Loading branch information
Rossiani Wijaya committed Aug 1, 2011
1 parent ca3e8e9 commit 63d25e4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions mod/survey/index.php
Expand Up @@ -38,13 +38,12 @@
} }


$table = new html_table(); $table = new html_table();
$table->width = '100%';


if ($usesections) { if ($usesections) {
$table->head = array ($strsectionname, $strname, $strintro); $table->head = array ($strsectionname, $strname, $strstatus);
$table->align = array ('CENTER', 'LEFT', 'LEFT');
} else { } else {
$table->head = array ($strname, $strintro); $table->head = array ($strname, $strstatus);
$table->align = array ('LEFT', 'LEFT');
} }


$currentsection = ''; $currentsection = '';
Expand Down

0 comments on commit 63d25e4

Please sign in to comment.