openstamanager/templates/dashboard/settings.php

10 lines
280 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,
2018-05-08 15:55:46 +02:00
];