diff --git a/ground/controllers/PointController.php b/ground/controllers/PointController.php index 2c46e21..51eae01 100644 --- a/ground/controllers/PointController.php +++ b/ground/controllers/PointController.php @@ -99,6 +99,7 @@ class PointController extends Controller 'user' => App::$user, 'photoLinks' => $photoLinksRes, 'articles' => $articles, + 'extraParams' => $point->getExtraParams(), )); } else { App::error404(); diff --git a/ground/views/modals/addPoint.php b/ground/views/modals/addPoint.php index a520144..21ebf3c 100644 --- a/ground/views/modals/addPoint.php +++ b/ground/views/modals/addPoint.php @@ -78,8 +78,8 @@
diff --git a/ground/views/point.php b/ground/views/point.php index 0c37a8d..b12f927 100644 --- a/ground/views/point.php +++ b/ground/views/point.php @@ -66,6 +66,27 @@ $index = 0; } ?> + +| Параметр | +Значение | +'.$extraParam->name.' | '; + print ''.$extraParam->value.' | '; + print ''; + } + ?> +
|---|