{if !empty($authError)}
{$authError}
{else} {if $albums}
{if !empty($uploadUrl)} {text key='photo+upload_photos'} {elseif !empty($id)} {text key='photo+upload_photos'} {/if}
{if $loadMore}
{/if} {else}
{text key='photo+no_album_found'}
{/if} {/if}