{if $wa->whichUI() == '2.0'} {include file="./BackendHeader20.html" inline} {else} {include file="./BackendHeader13.html" inline} {/if} {** Webasyst 1.3 / 2 UI toggle **} {* keep inline style="" to maintain same solid view in both wa-1.3 and wa-2.0 environments *} {$_force_set_wa_backend_ui_version = waSystemConfig::whichBackendUI()} {if ifset($app_info, 'ui', '1.3') === '1.3,2.0'} {if $wa->debug()} {* force global UI mode switch @ debug mode only *}
{else} {* user-friendly UI switch is shown only if the app supports BOTH '1.3' & '2.0' *} {if $wa->whichUI() == '1.3' && $app_info.id != 'webasyst' } {/if} {/if} {elseif ifset($app_info, 'ui', '1.3') === '1.3' && !$wa->debug()} {if $_force_set_wa_backend_ui_version == '2.0'}
×

{if $app_info.id != 'webasyst'}{/if} [s`New UI is not yet supported`]

[s`You’ve enabled the new Webasyst 2 UI, but this app does not currently support it. Please contact the app developer to encourage upgrading the UI to the new style.`]

{/if} {/if} {** END of Webasyst 1.3 / 2 UI toggle **}
{if $wa->whichUI() == '2.0'}
{/if}