From 29a9d4cc4370d56cef3bc1cb4d67ba70fd034fc9 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 10 Feb 2017 14:03:40 +0200 Subject: [PATCH] add contacts seo link --- frontend/views/layouts/main.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/frontend/views/layouts/main.php b/frontend/views/layouts/main.php index 69d877e..a432f54 100755 --- a/frontend/views/layouts/main.php +++ b/frontend/views/layouts/main.php @@ -16,11 +16,16 @@ use yii\widgets\Breadcrumbs; AppAsset::register ($this); $this->registerJs(" - $('.seo-span').replaceWith ( + $('.login-span').replaceWith ( function (){ return''+$(this).html()+''; } ); + $('.seo-span').replaceWith ( + function (){ + return''+$(this).html()+''; + } + ); ", View::POS_READY); $this->registerJs (" $('.phone .more').bind('click',function(){ @@ -155,7 +160,7 @@ $this->registerJs("
@@ -168,7 +173,7 @@ $this->registerJs("
user->isGuest): ?> - Личный кабинет + user->identity->username, 20) ?> Выход -- libgit2 0.21.4