Adding option $_configuration['certificate_pdf_orientation']

See BT#9250
1.9.x
Julio Montoya 10 years ago
parent eb9b9fc3f5
commit b14bcb36ad
  1. 6
      main/gradebook/lib/be/category.class.php

@ -1680,7 +1680,13 @@ class Category implements GradebookItem
$catId,
$userList = array()
) {
$orientation = api_get_configuration_value('certificate_pdf_orientation');
$params['orientation'] = 'landscape';
if (!empty($orientation)) {
$params['orientation'] = $orientation;
}
$params['left'] = 0;
$params['right'] = 0;
$params['top'] = 0;

Loading…
Cancel
Save