openstamanager/templates/dashboard/settings.php

10 lines
284 B
PHP

<?php
$format = (isset($_SESSION['dashboard']['format'])) ? $_SESSION['dashboard']['format'] : 'A4';
$orientation = (isset($_SESSION['dashboard']['orientation'])) ? $_SESSION['dashboard']['orientation'] : 'L';
return [
'format' => $format,
'orientation' => $orientation,
];