More improvements e.g. flags and provision target
This commit is contained in:
+5
-1
@@ -242,7 +242,11 @@ if (isset($vessel->loa)) {
|
||||
$h = round($row['wy'] * $f);
|
||||
$x = round($row['x'] * $f - $w / 2.0);
|
||||
$y = round($row['y'] * $f + $shape['height'] / 2.0 - $h / 2.0);
|
||||
$rect = $g->addChild('rect');
|
||||
|
||||
$a = $g->addChild('a');
|
||||
$a->addAttribute('href', 'storage.php?f=view&id=' . $row['sid']);
|
||||
|
||||
$rect = $a->addChild('rect');
|
||||
$rect->addChild('title', $row['sname']);
|
||||
$rect->addAttribute('x', $x);
|
||||
$rect->addAttribute('y', $y);
|
||||
|
||||
Reference in New Issue
Block a user