From 1396a2b4ea0c951c7f5ddd91602ad96fb77f9589 Mon Sep 17 00:00:00 2001 From: Krivchikov Dmitry Date: Fri, 2 May 2014 13:43:39 +0400 Subject: [PATCH] =?UTF-8?q?FIX=20-=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B0?= =?UTF-8?q?=20=D0=B2=20JS=20=D0=BF=D1=80=D0=B8=20=D0=BE=D1=82=D0=BA=D1=80?= =?UTF-8?q?=D1=8B=D1=82=D0=B8=D0=B8=20=D1=81=D1=82=D1=80=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D1=86=D1=8B=20=D0=B1=D0=B5=D0=B7=20=D0=BF=D0=B0=D1=80=D0=B0?= =?UTF-8?q?=D0=BC=D0=B5=D1=82=D1=80=D0=B0=20point.=20=D0=9F=D0=B5=D1=80?= =?UTF-8?q?=D0=B5=D0=BD=D1=91=D1=81=20=D0=BC=D0=BE=D0=B4=D0=B0=D0=BB=D0=BA?= =?UTF-8?q?=D0=B8=20=D0=B2=20=D0=BE=D1=82=D0=B4=D0=B5=D0=BB=D1=8C=D0=BD?= =?UTF-8?q?=D1=83=D1=8E=20=D0=B4=D0=B8=D1=80=D0=B5=D0=BA=D1=82=D0=BE=D1=80?= =?UTF-8?q?=D0=B8=D1=8E,=20=D1=81=D0=B4=D0=B5=D0=BB=D0=B0=D0=BB=20=D0=B8?= =?UTF-8?q?=D1=85=20=D0=BF=D0=BE=D0=B4=D0=B3=D1=80=D1=83=D0=B7=D0=BA=D1=83?= =?UTF-8?q?=20=D1=87=D0=B5=D1=80=D0=B5=D0=B7=20renderPartial?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ground/views/indexTemplate.php | 90 ++---------------------------- ground/views/modals/addPoint.php | 51 +++++++++++++++++ ground/views/modals/categories.php | 18 ++++++ ground/views/modals/login.php | 16 ++++++ public/js/main.js | 2 +- 5 files changed, 90 insertions(+), 87 deletions(-) create mode 100644 ground/views/modals/addPoint.php create mode 100644 ground/views/modals/categories.php create mode 100644 ground/views/modals/login.php diff --git a/ground/views/indexTemplate.php b/ground/views/indexTemplate.php index 92fc474..1ea634d 100644 --- a/ground/views/indexTemplate.php +++ b/ground/views/indexTemplate.php @@ -29,94 +29,12 @@ Выйти - + - - - + + + diff --git a/ground/views/modals/addPoint.php b/ground/views/modals/addPoint.php new file mode 100644 index 0000000..6a59024 --- /dev/null +++ b/ground/views/modals/addPoint.php @@ -0,0 +1,51 @@ + diff --git a/ground/views/modals/categories.php b/ground/views/modals/categories.php new file mode 100644 index 0000000..803932b --- /dev/null +++ b/ground/views/modals/categories.php @@ -0,0 +1,18 @@ + \ No newline at end of file diff --git a/ground/views/modals/login.php b/ground/views/modals/login.php new file mode 100644 index 0000000..a9bfd88 --- /dev/null +++ b/ground/views/modals/login.php @@ -0,0 +1,16 @@ + diff --git a/public/js/main.js b/public/js/main.js index d7ba916..6df6013 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -96,7 +96,7 @@ function getPoints() myMap.geoObjects.add(constructPoint(data[k])); } - if (getURLParameter('point') != null) + if (getURLParameter('point') != 'null') { showInfo(getURLParameter('point')); }