{foreach $themes_routes as $r} {if is_array($r)} {*Themes with settlements*} {$_theme = $themes[$r.theme]} {$_theme_is_trial = ($_theme.type == waTheme::TRIAL)} {$_url = "{$design_url}theme={$r.theme}&domain={urlencode($r._domain)}&route={$r._id}"} {$_r_label = waIdna::dec($r._domain)|cat:'/':$r.url} {$_title = str_replace('www.','',$_r_label)}
  • {$_theme.name|escape}
  • {*Mobile theme*} {if !empty($r.theme_mobile) && ($r.theme_mobile != $r.theme) && !empty($themes[$r.theme_mobile])} {$_theme = $themes[$r.theme_mobile]} {$_theme_is_trial = ($_theme.type == waTheme::TRIAL)} {$_url = "{$design_url}theme={$r.theme_mobile}&domain={urlencode($r._domain)}&route={$r._id}"} {$_r_label = waIdna::dec($r._domain)|cat:'/':$r.url} {$_title = str_replace('www.','',$_r_label)}
  • {$_theme.name|escape}
  • {/if} {else} {*Themes without settlements*} {$_theme = $themes[$r]} {$_theme_is_trial = ($_theme.type == waTheme::TRIAL)} {$_url = "{$design_url}theme={$_theme.id}"}
  • {$_theme.name|escape}
  • {/if} {/foreach}