{* * Default template for $wa->contactProfileSidebar() helper. * * Can be copied for customization to * wa-config/apps/webasyst/ProfileSidebar.html *} {if $is_profile_sidebar} {$widget_path = "`$app_path`/templates/actions/profile/sidebarWidgets/Calendar.html"} {$schedule_path = "`$app_path`/templates/actions/schedule/Schedule.inc.html"}
{foreach $sections as $section_id => $section} {if $section_id !== 'stats'}{continue}{/if} {/foreach} {foreach $sections as $section_id => $section} {if $section_id === 'stats' || $section_id === 'access'}{continue}{/if} {/foreach} {else} {$section_id = $options.sectionId|default:''} {if $section_id && isset($sections[$section_id])} {$section = $sections[$section_id]} {$section_url = $section.url|default:''}