- {% if app['browser'].isNewGeneration and app['conf'].get(['registry', 'modules', 'thesaurus']) == true and app.getAclForUser(app.getAuthenticatedUser()).has_access_to_module('thesaurus') %}
-
+ {% endif %}
- {# MODULE #}
- {% if module is defined and module == "prod" %}
- {% if app.getAclForUser(app.getAuthenticatedUser()).has_access_to_module('upload') %}
-
- {% set link = path('upload_html5_form') %}
- {% if not app['browser'].supportFileAPI() %}
- {% set link = path('upload_flash_form') %}
- {% endif %}
+ {# MODULE #}
+ {% if app.getAclForUser(app.getAuthenticatedUser()).has_access_to_module('admin') %}
+
+
+ {# MODULE #}
+ {% if module is defined and module == "prod" %}
+ {% if app.getAclForUser(app.getAuthenticatedUser()).has_access_to_module('upload') %}
+
{% endif %}
+ {% endif %}
- {% if module is defined and module == "prod" and app.getAclForUser(app.getAuthenticatedUser()).has_right(constant('\\ACL::ORDER_MASTER')) %}
-
+ {% endif %}
+
+ {% if module is defined and module == "prod" and app.getAclForUser(app.getAuthenticatedUser()).has_right(constant('\\ACL::ORDER_MASTER')) %}
+