diff --git a/ground/views/point.php b/ground/views/point.php index 46fceea..f693a32 100644 --- a/ground/views/point.php +++ b/ground/views/point.php @@ -19,6 +19,10 @@   /   На карте + isAdmin):?> +   /   + Редактировать +
diff --git a/public/js/map.js b/public/js/map.js index e186a0b..6d13d6d 100644 --- a/public/js/map.js +++ b/public/js/map.js @@ -251,6 +251,10 @@ function showInfo(id) if (isAdmin == '1') { description += ''; + if (getURLParameter('edit') == 'true') + { + editPoint(id); + } } description += '
';