"._("messages")." -> "._("tous les messages"); // Si la collectivité de l'utilisateur est de niveau mono // alors on n'affiche pas la colonne collectivité if ($f->isCollectiviteMono($_SESSION['collectivite']) === true) { // $champAffiche = array_merge( $displayed_fields_begin, $displayed_field_instructeur, $displayed_field_division, $displayed_fields_end ); // $champRecherche = array_merge( array('dossier.dossier as "'._("dossier").'"',), $displayed_field_instructeur, $displayed_field_division ); } else { // $champAffiche = array_merge( $displayed_fields_begin, $displayed_field_instructeur, $displayed_field_division, $displayed_field_collectivite, $displayed_fields_end ); // $champRecherche = array_merge( array('dossier.dossier as "'._("dossier").'"',), $displayed_field_instructeur, $displayed_field_division, $displayed_field_collectivite ); } // $tab_actions['left']['consulter'] = array( 'lien' => ''.OM_ROUTE_FORM.'&direct_link=true&obj=dossier_instruction&action=3&direct_field=dossier&direct_form=dossier_message&direct_action=3&direct_idx=', 'id' => '', 'lib' => ''._('Consulter').'', 'rights' => array('list' => array($obj, $obj.'_consulter'), 'operator' => 'OR'), 'ordre' => 10, ); $tab_actions['content'] = $tab_actions['left']['consulter']; /** * OPTIONS - ADVSEARCH */ // Si la collectivité de l'utilisateur est de niveau mono // alors on n'affiche pas la colonne collectivité if ($f->isCollectiviteMono($_SESSION['collectivite']) === true) { $advsearch_fields = array_merge( $advsearch_fields_begin, $advsearch_field_instructeur, $advsearch_field_division, $advsearch_fields_end ); } else { $advsearch_fields = array_merge( $advsearch_fields_begin, $advsearch_field_instructeur, $advsearch_field_division, $advsearch_field_collectivite, $advsearch_fields_end ); } // advsearch -> options $options[] = array( 'type' => 'search', 'display' => true, 'advanced' => $advsearch_fields, 'absolute_object' => 'dossier_message', ); ?>