Some more minor GUI improvements

This commit is contained in:
2023-03-03 07:48:35 +01:00
parent 6ebaea2d45
commit f0992b4b64
8 changed files with 71 additions and 10 deletions

View File

@@ -16,6 +16,7 @@ $sql = "SELECT location_id AS id, location_name AS value, location_parent AS par
ORDER BY location_parent, location_sort, location_name";
$sth = $dbh->query($sql);
$locations = $sth->fetchAll();
$smarty->assign('location_count', count($locations));
// function for recursion
function build_tree($parent_id, $level) {