Skip to content

Commit

Permalink
V2.5.3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
gjb2048 committed Sep 22, 2014
1 parent 82ae6c7 commit 624b137
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions format.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,16 @@

<?php
// Dynamically changing widths with language.
if ((!$PAGE->user_is_editing()) && ($portable == 0)) {
echo '.course-content ul.ctopics li.section.main .content, .course-content ul.ctopics li.tcsection .content {';
echo 'margin: 0 ' . get_string('topcollsidewidth', 'format_topcoll');
echo '}';
if ((!$PAGE->user_is_editing()) && ($portable == 0)) { ?>
.course-content ul.ctopics li.section.main .content, .course-content ul.ctopics li.tcsection .content {
margin: 0 <?php echo get_string('topcollsidewidth', 'format_topcoll'); ?>;
}
<?php
} else if ($PAGE->user_is_editing()) { ?>
.course-content ul.ctopics li.section.main .content, .course-content ul.ctopics li.tcsection .content {
margin: 0 40px;
}
<?php
}

// Make room for editing icons.
Expand Down

0 comments on commit 624b137

Please sign in to comment.