1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <?php
-
- $view
- ->fetch('title', 'main/data.config#name')
- ->fetch('.logo img@src', 'main/data.config#logo')
- ->fetch('.logo img@alt', 'main/data.config#name')
- ->fetch('.logo a@href', 'main/data.config#link')
- /*
- ->fetch(array('.header-top__info_text--big', 1), 'main/data.config#phone')
- ->fetch(array('.header-top__info_text--big', 2), 'main/data.config#email')
- ->fetch(array('.header-top__info_text--big', 3), 'main/data.config#address')
- ->fetch(array('.facebook@href', 0), 'main/data.config#facebook')
- ->fetch(array('.twitter@href', 0), 'main/data.config#twitter')
- ->fetch(array('.linkedin@href', 0), 'main/data.config#linkedin')
- ->fetch(array('.instagram@href', 0), 'main/data.config#instagram')
- */
- ->fetch(array('.facebook@href', 1), 'main/data.config#facebook')
- ->fetch(array('.twitter@href', 1), 'main/data.config#twitter')
- ->fetch(array('.linkedin@href', 1), 'main/data.config#linkedin')
- ->fetch(array('.instagram@href', 1), 'main/data.config#instagram')
- ->fetch('.header-top__info_time@style', 'display:none')
- ->fetch('.pinterest@style', 'display:none')
- ->fetch('.header-search@style', 'display:none')
- ->loop
- (
- '.main-menu__nav li',
- 'main/data.menu',
- array
- (
- 'a' => array
- (
- 'html' => '$v.name',
- 'href' => '$v.link',
- ),
- 'class' => '$v.class',
- 'ul' => array
- (
- 'style' => 'display:none',
- ),
- )
- )
- ->loop
- (
- '.menu-main-primary-container li',
- 'main/data.menu',
- array
- (
- 'a' => array
- (
- 'html' => '$v.name',
- 'href' => '$v.link',
- ),
- 'class' => '$v.class',
- 'ul' => array
- (
- 'style' => 'display:none',
- ),
- )
- )
- ;
|