{% load base_tags %}
{% load perm_tags %}
{% has_perm user site_settings.change_setting as can_edit_setting %}
{% has_perm user files.add_file as can_add_file %}
{% if not SITE_GLOBAL_HIDEALLTABS %}
{% if user.is_authenticated and not SITE_GLOBAL_HIDETENDENCITABS %}