1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-27 08:12:47 +01:00
openstamanager/templates/dashboard/settings.php

11 lines
309 B
PHP
Raw Normal View History

2018-05-08 15:55:46 +02:00
<?php
2018-05-22 17:42:19 +02:00
$format = (isset($_SESSION['settings']['format'])) ? $_SESSION['settings']['format'] : 'A4';
$orientation = (isset($_SESSION['settings']['orientation'])) ? $_SESSION['settings']['orientation'] : 'L';
2018-05-08 15:55:46 +02:00
return [
2018-05-22 17:42:19 +02:00
'format' => $format,
'orientation' => $orientation,
// 'header-height' => 0,
2018-05-08 15:55:46 +02:00
];