{lang section="OAuth2"}
{insertFavIconLink absoluteURLs=1} {insertCSSLink basic=1 oauth2=1 absoluteURLs=1}

## {t}Authorization{/t}

{if $app.clientInfo.logo_url}
{/if}
{if $app.clientInfo.website}{$app.clientInfo.name|forHTML}{else}{$app.clientInfo.name|forHTML}{/if}
{if $app.clientInfo.publisher}
{t}by{/t} {if $app.clientInfo.publisher_website}{$app.clientInfo.publisher|forHTML}{else}{$app.clientInfo.publisher|forHTML}{/if}
{/if}
{if $app.requiresFullAccess} {t}Would like to receive full access to:{/t} {else} {t}Would like to receive access to:{/t} {/if}
{if $app.settings.ui_login_logo}
{/if}
{$app.settings.app_title|forHTML|safeHTML}
{t}as{/t} {$app.userInfo.fullName|forHTML}
{t}Sign in as a different user{/t}
{if $app.requiresFullAccess} {t 1=$app.clientInfo.name|forHTML 2=$app.settings.app_title|forHTML|safeHTML 3=$app.userInfo.fullName|forHTML}The app %1 would like full access to %2 as %3.{/t} {else}
{t 1=$app.clientInfo.name|forHTML}The app %1 would like to:{/t}

{foreach $app.scopes as $scope}
- {if $scope == 'list'} {t 1=$app.settings.app_title|safeHTML}List files and folders in your "%1" account.{/t} {elseif $scope == 'webdav'} {t 1=$app.settings.app_title|safeHTML}Access and manage files available in your "%1" account.{/t} {elseif $scope == 'list.sandbox'} {t 1=$app.clientInfo.name|safeHTML}List files and folders inside your "Apps/%1" folder.{/t} {elseif $scope == 'download'} {t 1=$app.settings.app_title|safeHTML}Download files available in your "%1" account.{/t} {elseif $scope == 'download.sandbox'} {t 1=$app.clientInfo.name|safeHTML}Download files from your "Apps/%1" folder.{/t} {elseif $scope == 'upload'} {t 1=$app.settings.app_title|safeHTML}Upload files to your "%1" account.{/t} {elseif $scope == 'upload.sandbox'} {t 1=$app.clientInfo.name|safeHTML}Upload files inside your "Apps/%1" folder.{/t} {elseif $scope == 'modify'} {t 1=$app.settings.app_title|safeHTML}Make changes to the files and folders inside your "%1" account.{/t} {elseif $scope == 'delete'} {t 1=$app.settings.app_title|safeHTML}Delete files from your "%1" account.{/t} {elseif $scope == 'delete.sandbox'} {t 1=$app.clientInfo.name|safeHTML}Delete files inside your "Apps/%1" folder.{/t} {elseif $scope == 'profile'} {t 1=$app.settings.app_title|safeHTML}View your basic "%1" account information.{/t}
  {t}That includes your name, company name, website and logo.{/t} {elseif $scope == 'email'} {if $app.userInfo.email} {t 1=$app.userInfo.email}View your e-mail address (%1).{/t} {else} {t}View your e-mail address, although your account currently doesn't have one set.{/t} {/if} {elseif $scope == 'weblink'} {t 1=$app.settings.app_title|safeHTML}Create public links to files inside your "%1" account.{/t} {elseif $scope == 'weblink.sandbox'} {t 1=$app.clientInfo.name|safeHTML}Create public links to files inside your "Apps/%1" folder.{/t} {elseif $scope == 'share'} {t 1=$app.settings.app_title|safeHTML}Share folders with other users.{/t} {elseif $scope == 'share.sandbox'} {t 1=$app.settings.app_title|safeHTML}Share folders inside your "Apps/%1" folder with other users.{/t} {elseif $scope == 'admin'} {t 1=$app.settings.app_title|safeHTML}Manage "%1" user accounts with your administrative privileges.{/t} {/if}
{/foreach}

{/if}
{t 1=$app.clientInfo.name}Use of your data is subject to the privacy policy of %1.{/t}
{t}Accept{/t} {t}Cancel{/t}