diff --git a/protected/config/appConfig.php b/protected/config/appConfig.php index 93a9772b..3c5e33bc 100644 --- a/protected/config/appConfig.php +++ b/protected/config/appConfig.php @@ -73,10 +73,16 @@ ); $params=array( + //Information to connect reformal account + 'reformal_prj_id' => '71829', + 'reformal_prj_host' => 'rosdostup.reformal.ru', + //Search word for Twitter search plugin + 'twtr_srchword'=>'rosdostup', // Path to Logo image 'logo_path'=>'/images/prj_specific/rosdostup/logout.png', // this is used in contact page 'adminEmail'=>'admin@rosdostup.ru', + //Yandex map's key 'YMapKey'=>'AKtzDVABAAAAbnnpfAIAZPFgkjAuQV52QNsahNkE7plr4F0AAAAAAAAAAAAyrGSHDyaYbEfL1i8AVZDhjT4VHQ==', 'gibddOn' => false, // True, если ГИБДД участвует в форме дефекта; false, если она исключается из формы //'layout'=>'startpage', diff --git a/protected/views/layouts/main.php b/protected/views/layouts/main.php index 41cf649a..b125d5f4 100644 --- a/protected/views/layouts/main.php +++ b/protected/views/layouts/main.php @@ -3,7 +3,7 @@ - + <?php echo CHtml::encode($this->pageTitle); ?> @@ -56,10 +56,10 @@ var startSearchWidth=$('.search').width(); var startSearchInputWidth=$('.search .textInput').width(); var time=200; - + var searchWidth=230; var searchInputWidth=searchWidth-30; - + searchInputWidth-=47; searchWidth-=47; if ($.browser.msie && $.browser.version == 9) { @@ -75,7 +75,7 @@ $('.search .textInput').animate({width:searchInputWidth},time); }) $('.search .textInput').blur(function(){ - + if ($(this).val()=='') { $(this).val('Поиск по адресу').addClass('inactive'); @@ -101,43 +101,37 @@ { width: 150px !important; } - + - + - + - + - - + + user->isGuest && $flash=$this->user->getFlash('user')):?>
- + Продолжить
- + - + - \ No newline at end of file + diff --git a/protected/widgets/social/views/left.php b/protected/widgets/social/views/left.php index 4ee69fc0..e645e5a3 100755 --- a/protected/widgets/social/views/left.php +++ b/protected/widgets/social/views/left.php @@ -12,7 +12,7 @@ new TWTR.Widget({ version: 2, type: 'search', - search: 'rosyama', + search: 'params['twtr_srchword'] ?>', interval: 6000, title: '', subject: '',