From 79a94535fcaf6eaa2bc891a1132f2df3f998d0ec Mon Sep 17 00:00:00 2001 From: Krivchikov Dmitry Date: Sat, 11 Oct 2014 23:17:05 +0400 Subject: [PATCH] FIX size of fotorama --- ground/controllers/PageController.php | 1 + ground/views/modals/image.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ground/controllers/PageController.php b/ground/controllers/PageController.php index 9604783..4fb652d 100644 --- a/ground/controllers/PageController.php +++ b/ground/controllers/PageController.php @@ -62,6 +62,7 @@ class PageController extends Controller $point = Point::model()->getByPK($id); $point->descriptionHtml = nl2br($point->description); $point->name = htmlspecialchars($point->name); + App::setConfig('title', $point->name. ' - wikipoints.ru'); $categories = Category::model()->getAll(array('order' => 'ord ASC', 'asArray' => true)); diff --git a/ground/views/modals/image.php b/ground/views/modals/image.php index d4a0c36..13a6e39 100644 --- a/ground/views/modals/image.php +++ b/ground/views/modals/image.php @@ -7,7 +7,7 @@