{* change value of allowExistingMsAccount to false to prohibit using an existing MS account *} {assign var=allowExistingMsAccount value=$account->AccountID > 0} {* change value of defaultOfficeMode from "createNew" to "useExisting" to select "Use an existing Microsoft account" option by default *} {assign var=defaultOfficeMode value="createNew"} {* If set to true, then anonymous user will be asked whether he is already a customer and login link will be provided *} {* change value of askAnonymousToLogin to false to hide this selector *} {assign var=askAnonymousToLogin value=true} {if $plan.ProvVisibleCount} {assign var=officeTenantId value='aps_defaults_o365'} {assign var=officeExistingEmailId value='o365_based_on_email'} {assign var=isAnonymous value=$account->AccountID == 0}
{assign var=officePlanProv value=$plan.Prov[$officeTenantId]} {assign var=officeSubdomainTitle value=$smarty.session.LANG.SUBDOMAIN_CAPTION} {assign var=o365Tenant value=$officePlanProv['value']|@json_decode} {if $askAnonymousToLogin && $isAnonymous} {/if}