description = "Static Layout" [session] security = "all" [staticPage] useContent = 0 default = 0 [searchInput] useAutoComplete = 1 autoCompleteResultCount = 4 showProviderBadge = 1 searchPage = "blog/search-posts.htm" [mailSignup] [account] paramCode = "code" forceSecure = 0 [localePicker] forceUrl = 0 [genericForm] rules[name] = "required" rules[email] = "required|email" rules[phone] = "required|number" messages_success = "Your form was successfully submitted" messages_errors = "There were errors with your submission" inline_errors = "disabled" allowed_fields[] = "name" allowed_fields[] = "email" allowed_fields[] = "subject" allowed_fields[] = "comments" allowed_fields[] = "phone" sanitize_data = "disabled" anonymize_ip = "disabled" recaptcha_theme = "light" recaptcha_type = "image" recaptcha_size = "normal" skip_database = 0 == page['apiBag']['staticPage']->getParent(); $url = $this->page['apiBag']['staticPage']['viewBag']['url']; $currentPage = null; if($parent) { $children = $parent->getChildren(); foreach( $children as $key => $page){ if($page['viewBag']['url'] == $url) $currentPage = $key; } // previous page if ( array_key_exists($currentPage - 1, $children) ) { $this['prev_url'] = $children[$currentPage - 1]['viewBag']['url']; $this['prev_title'] = $children[$currentPage -1 ]['viewBag']['title']; } if ( array_key_exists($currentPage + 1, $children) ) { $this['next_url'] = $children[$currentPage + 1]['viewBag']['url']; $this['next_title'] = $children[$currentPage + 1]['viewBag']['title']; } // parent page $this['parent_title'] = $parent['viewBag']['title']; $this['parent_url'] = $parent['viewBag']['url']; } } ?> ==
{% partial "site/meta" %} {% partial "site/css" %} {{ this.theme.advanced_analytics|raw }} {% if this.theme.addons_loader %} {% partial "site/loader" %} {% endif %}