-{* TODO(vincent.zanotti): remove the following block of code when both IMAP and GApps will be active. *}
-{if in_array('imap', $storage) neq 0 or #globals.mailstorage.imap_active# or hasPerm('admin')}
- {assign var=has_imap value=true}
-{else}
- {assign var=has_imap value=false}
-{/if}
-{if $googleapps or #globals.mailstorage.googleapps_active# or hasPerm('admin')}
- {assign var=has_googleapps value=true}
-{else}
- {assign var=has_googleapps value=false}
-{/if}
-
-{if $has_imap or $has_googleapps}