{% macro bas_list(module, search_datas) %} {% set unique_id = module.getRandom() %} {% for base in search_datas['bases'] %} {% set sbas_id = base['sbas_id'] %}
{% endfor %} {% endmacro %} {% extends "common/index.twig" %} {% block icon %} {% endblock %} {% block rss %} {% for feed in feeds %} {% set link = feed.get_user_link(registry, user, 'rss') %} {% set link = feed.get_user_link(registry, user, 'atom') %} {% endfor %} {% endblock %} {% block stylesheet %} {% endblock %} {% block javascript %} {% endblock %} {% block content %} {% set search_datas = module_prod.get_search_datas() %}
{% trans 'phraseanet::Nom de l\'application' %}
{% trans 'Chargement' %}
{% set ratio = user.getPrefs('search_window') %} {% if ratio == 0 %} {% set ratio = '0.333' %} {% endif %} {% set w1 = (100 * ratio)|round %} {% set w2 = (100 - w1) %}
{% import 'prod/WorkZone/Macros.twig' as WorkZoneMacros %} {{WorkZoneMacros.make_bloc(WorkZone)}}
{% if GV_thesaurus %}
    {% for base in search_datas['bases'] %} {% if base['thesaurus'] %}
  • {{base['sbas_id']|sbas_names}}
      {% trans 'chargement' %}
  • {% endif %} {% endfor %}
    {% for base in search_datas['bases'] %} {% if base['cterms'] %}
  • {{base['sbas_id']|sbas_names}}
      {% trans 'chargement' %}
  • {% endif %} {% endfor %}
{% endif %}
{% if GV_multiAndReport %} {% else %} {% endif %} {% trans 'Preferences' %}
{{_self.bas_list(module_prod, search_datas)}}
{{queries_history|raw}}
{% if queries_topics %}
{{queries_topics|raw}}
{% endif %}
{% set actions = {} %} {% if user.ACL().has_right('modifyrecord') %} {% set label %} {% trans 'action : editer' %} {% endset %} {% set actions = actions|merge( { 'edit' : {'icon': "/skins/prod/000000/images/ppen_history.gif", 'class':'TOOL_ppen_btn', 'label' : label} }) %} {% endif %} {% if user.ACL().has_right('changestatus') %} {% set label %} {% trans 'action : status' %} {% endset %} {% set actions = actions|merge( { 'status' : {'icon': "/skins/prod/000000/images/chgstatus_history.gif", 'class':'TOOL_chgstatus_btn', 'label' : label} }) %} {% endif %} {% if user.ACL().has_right('deleterecord') and user.ACL().has_right('addrecord') %} {% set label %} {% trans 'action : collection' %} {% endset %} {% set actions = actions|merge( { 'move' : {'icon': "/skins/prod/000000/images/chgcoll_history.gif", 'class':'TOOL_chgcoll_btn', 'label' : label} }) %} {% endif %} {% set n_actions = actions|length %} {% if n_actions > 1 %} {% for action in actions %} {% if loop.first %} {% endif %} {% endfor %} {% elseif n_actions == 1 %} {% for action in actions %} {% endfor %} {% endif %} {% if user.ACL().has_right('push') and user.ACL().has_right('bas_chupub') %} {% elseif user.ACL().has_right('push') %} {% elseif user.ACL().has_right('bas_chupub') %} {% endif %} {% if user.ACL().has_right('doctools') %} {% endif %} {% if user.ACL().has_right('deleterecord') %} {% endif %}
{% set bool = 0 %} {% if user.getPrefs('start_page') == 'QUERY' or user.getPrefs('start_page') == 'LAST_QUERY' %} {% set bool = 1 %} {% endif %}
{% if bool == 0 %} {{start_page_content}} {% endif %}
{{cgus_agreement|raw}}
{% if GV_google_api is not empty %}
{% endif %}
{% trans 'boutton::fermer' %}
{% trans 'Reordonner automatiquement' %}
{% endblock %}