{% if css_file %}
{% endif %}
{{ menubar|raw }}
{% set active_tab = '' %} {% for key_tab, tab in tabs_setup %} {% if key_tab != 0 %} {% set tab_active = key_tab == app['phraseanet.registry'].get('GV_ong_actif') ? 'actif' : 'inactif' %} {% if tab == 1 %} {% if tab_active == 'actif' %} {% set active_tab = 'ongSearch' %} {% endif %}
{% trans 'client:: recherche' %}
{% elseif tab == 2 %} {% if tab_active == 'actif' %} {% set active_tab = 'ongAdvSearch' %} {% endif %}
{% trans 'client:: recherche avancee' %}
{% elseif tab == 3 %} {% if tab_active == 'actif' %} {% set active_tab = 'ongTopic' %} {% endif %}
<{% trans 'client:: topics' %}
{% endif %} {% endif %} {% endfor %}
{% trans "phraseanet::technique:: et" %}
{% trans "phraseanet::technique:: or" %}
{% trans "phraseanet::technique:: except" %}
{% trans "phraseanet::technique:: et" %}
{% trans "phraseanet::technique:: or" %}
{% trans "phraseanet::technique:: except" %}
{% if app['phraseanet.registry'].get('GV_client_coll_ckbox') == 'popup' %}
{% trans "client::recherche: rechercher dans les bases :" %} {% if app['phraseanet.appbox'].get_databoxes()|length > 0 %}
{% trans "client::recherche: rechercher dans toutes les bases" %}
{% for sbasId, databoxWrapper in storage_access['databoxes'] %} {% set databox = databoxWrapper['databoxes'] %} {% set collections = databoxWrapper['collections'] %} {% if collections|length > 0 %}
{{ databox.get_viewname() }}
{% for collId, collection in collections %}
{{ collection.get_name() }}
{% endfor %}
{% endif %} {% endfor %}
{% endif %}
{% endif %}
{% for property in grid_properties %} {% set selected = '' %} {% if mod_pres is empty %} {% if property['selected'] == '1' %} {% set selected = 'selected' %} {% endif %} {% elseif mod_pres == property['h'] ~ 'X' ~ property['w'] %} {% set selected = 'selected' %} {% endif %}
{{ property['name'] }}
{% endfor %}
{% trans "phraseanet::type:: documents" %}
{% trans "phraseanet::type:: reportages" %}
{% if app['phraseanet.registry'].get('GV_client_coll_ckbox') == 'checkbox' %}
{% trans "phraseanet:: collections" %}
{% endif %} {% if app['phraseanet.registry'].get('GV_thesaurus') %}
{% trans "phraseanet:: propositions" %}
{% endif %}
{% trans "phraseanet:: historique" %}
{% if app['phraseanet.registry'].get('GV_client_coll_ckbox') == 'checkbox' %}
{% for sbasId, databoxWrapper in storage_access['databoxes'] %} {% set databox = databoxWrapper['databox'] %} {% if app['phraseanet.registry'].get('GV_view_bas_and_coll') %}
{{ databox.get_viewname() }}
{% set status_bit_filters = '' %} {% for bit, data in databox.get_statusbits() if data['searchable'] %} {% set html_status_bit %}
' .
{% if data['img_off'] %}
{% endif %}{{ data['labeloff'] }}
{% if data['img_on']%}
{% endif %}{{ data['labelon'] }}
{% endset %} {% set status_bit_filters = status_bit_filters ~ '' ~ html_status_bit %} {% endfor %} {% set xml_structure = databox.get_sxml_structure() %} {% if xml_structure %} {% set date_filters = '' %} {% set fields_filters = '' %} {% if xml_structure.description %} {% for f, field in xml_structure.description.children() %} {% set field_type = '' %} {% set field_searchclient = '' %} {% for name, value in field.attributes() %} {% if name == "type" %} {% set field_type = value %} {% endif %} {% if name == "searchclient" %} {% set field_searchclient = value %} {% endif %} {% endfor %} {% if field_type == 'date' and field_searchclient == '1' %} {% set date_filter_html %}
{{ f }}
{% trans "phraseanet::time:: de" %}
{% trans "phraseanet::time:: a" %}
{% endset %} {% set date_filters = date_filters ~ '' ~ date_filter_html %} {% elseif field_type != 'date' %} {% set field_filter_html %}
{{ f }}
{% endset %} {% set fields_filters = fields_filters ~ '' ~ field_filter_html %} {% endif %} {% endfor %} {% endif %} {% endif %} {% if status_bit_filters is not empty or fields_filters is not empty or date_filters is not empty %}
{% trans "client::recherche: filter sur" %}
{% if date_filters is not empty %}
{% trans "client::recherche: filtrer par dates" %}
{{ date_filters|raw }} {% endif %} {% if status_bit_filters is not empty %}
{% trans "client::recherche: filtrer par status" %}
{{ status_bit_filters|raw }} {% endif %} {% if fields_filters is not empty %}
{% trans "client::recherche: filtrer par champs" %}
{% trans 'client::recherche: filtrer par champs : tous les champs' %}
{{ fields_filters|raw }}
{% endif %}
{% endif %}
{% endif %} {# decalage ici a verifier l 421 fichier original #}
{% for collId, collection in storage_access['collections'] %}
{{ collection.get_name() }}
{% endfor %}
{% endfor %}
{% endif %} {% if app['phraseanet.registry'].get('GV_thesaurus') %}
{% endif %}
{{ render_topics|raw }}
{{ phrasea_home|raw }}
{% trans 'boutton::fermer' %}
{% trans 'preview:: Description' %}
{% trans 'preview:: Historique' %}
{% trans 'preview:: Popularite' %}
{#
#}
{% if app['phraseanet.registry'].get('GV_googleAnalytics') is not empty %} {% endif %}