WIACPSite theme 0.2.0-alpha.92
Türkçe

§5

Data passed to templates

Shared data on every page:

Variable Content
$site name, legal_name, description, address, logo, favicon, email, support_email, phone, support_phone, social (platform, label, url, icon), support (open, summary, availability), home, year
$menus header, footer, sidebar, mobile — each item: title, url, description, icon, new_tab, rel, active, badge, children
$locale, $languages active language; list of languages (code, name, flag_url, dir, active)
$currency, $currencies active currency; list (code, symbol, name, active)
$switch action_language, action_currency, return, csrf for the language / currency forms
$account signed-in client or null: name, first_name, number, initials, email, badges (invoices, tickets)
$page key, region, title, classes, breadcrumbs, dir, lang, head
$flash session messages (success, error, warning, status)
$colorMode light, dark or system (as supported by the manifest)
$theme values of the theme settings
$urls login, register, logout, account, services, invoices, tickets, ticket_new, profile, security, balance, contact, agreements, cookies, cart

The home page also receives $sections (§6). Other view variables of the controller are not passed to the theme.