More webgui code improvements and some new vessel data

This commit is contained in:
thooge committed 2026-10-11 18:42:25 +02:00
1 parent 72571ede53
commit 3a43f749f5
13 files changed
+398 -306

No files matched your search

+4
View File
@@ -14,12 +14,16 @@ $pagetitle = _('Projects');
$id = gpc_get_int($_REQUEST, 'id', 0);
/* OLD
$sql = "SELECT userid, displayname FROM user WHERE userid>0";
$sth = $pdo->query($sql);
$opt_user = array();
foreach ($sth->fetchAll() as $row) {
$opt_user[$row['userid']] = $row['displayname'];
}
*/
$opt_user = db_get_opt_user();
$opt_state = db_load_enum('project', 'projstate', true, true);
/* Nur für choices benötigt