From f29cb9d94e6dd2b0db73fd22a32200298430ae7a Mon Sep 17 00:00:00 2001 From: Krivchikov Dmitry Date: Fri, 29 May 2015 22:43:16 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B5=D0=B4=D0=B0=D0=BA=D1=82=D0=B8?= =?UTF-8?q?=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20=D1=81=D0=BE=20?= =?UTF-8?q?=D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=B8=D1=86=D1=8B=20=D1=82=D0=BE?= =?UTF-8?q?=D1=87=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ground/views/point.php | 4 ++++ public/js/map.js | 4 ++++ 2 files changed, 8 insertions(+) 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 += '
';