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

10 lines
284 B
PHP
Raw Normal View History

2018-05-08 15:55:46 +02:00
<?php
2019-11-22 16:28:03 +01:00
$format = (isset($_SESSION['dashboard']['format'])) ? $_SESSION['dashboard']['format'] : 'A4';
$orientation = (isset($_SESSION['dashboard']['orientation'])) ? $_SESSION['dashboard']['orientation'] : 'L';
2018-05-22 17:42:19 +02:00
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
];