Commit d42386f5e836d6b0a538aedc65b6cb5e70fbbeaa

Authored by Eugeny Galkovskiy
1 parent 1869f185

123

Showing 1 changed file with 5 additions and 7 deletions   Show diff stats
src/app/frontend/controllers/PageController.php
... ... @@ -100,7 +100,11 @@ class PageController extends \controllers\ControllerBase
100 100 $static_page_alias = '/';
101 101  
102 102 unset($catalog['1']);
103   -
  103 +
  104 + if($subtype==='test_about_ua')
  105 + $this->view->setMainView('about_ukr');
  106 + elseif($subtype==='test_about_eng')
  107 + $this->view->setMainView('about_eng');
104 108 $meta_title =
105 109 [
106 110 '1' => 'Професійне насіння поштою Україна | Купити насіння оптом Львів, Київ | Інтернет магазин насіння Semena.in.ua',
... ... @@ -422,12 +426,6 @@ class PageController extends \controllers\ControllerBase
422 426 $this->view->setMainView('landing');
423 427 elseif($subtype==='nasinnja_gazonnikh_trav_1c1')
424 428 $this->view->setMainView('landing_ukr');
425   -
426   -
427   - if($subtype==='test_about_ua')
428   - $this->view->setMainView('about_ukr');
429   - elseif($subtype==='test_about_eng')
430   - $this->view->setMainView('about_eng');
431 429  
432 430 if(!empty($_GET['calc']))$this->view->setMainView('calc');
433 431 $this->view->setVars([
... ...