Some more minor GUI improvements
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user