Permalink
Browse files

MDL-45135 mod_glossary: fix RTL alignment of table

Tablelib has a specific 'hook' to allow alignment to be corrected for
RTL languages, but needs to be specified direction in lowercase.
  • Loading branch information...
danpoltawski authored and Sam Hemelryk committed May 12, 2014
1 parent bb56528 commit 553b1e6f6d29209801e7010d296f71597e99dfb4
Showing with 3 additions and 3 deletions.
  1. +3 −3 mod/glossary/index.php
View
@@ -60,16 +60,16 @@
if ($usesections) {
$strsectionname = get_string('sectionname', 'format_'.$course->format);
$table->head = array ($strsectionname, $strname, $strentries);
$table->align = array ("CENTER", "LEFT", "CENTER");
$table->align = array ('center', 'left', 'center');
} else {
$table->head = array ($strname, $strentries);
$table->align = array ("LEFT", "CENTER");
$table->align = array ('left', 'center');
}
if ($show_rss = (isset($CFG->enablerssfeeds) && isset($CFG->glossary_enablerssfeeds) &&
$CFG->enablerssfeeds && $CFG->glossary_enablerssfeeds)) {
$table->head[] = $strrss;
$table->align[] = "CENTER";
$table->align[] = 'center';
}
$currentsection = "";

0 comments on commit 553b1e6

Please sign in to comment.