Commit c90909f1 authored by Guillaume Porte's avatar Guillaume Porte 😶
Browse files

ajout des métadonnées du <head> pour la page search

parent cdbbab58
Loading
Loading
Loading
Loading
+4 −1
Changes for plugins/search/search.xqm: 4 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ declare
%rest:path("/{$project}/search")
function max.plugin.search:searchPage($project){
  let $routeList := for $d in collection( max.config:getProjectDBPath($project)) return base-uri($d) (:max.route:HTMLRouteList($project)//a/@href :)
  let $meta := max.config:getHtmlHeadTags($project, 'default', 'rechercher')
  let $routeSelect := <select id='searchSelect'>{
    <option value='{$max.plugin.search:ALL_TXT}'>Dans tous les textes</option>,
    for $route in $routeList
@@ -48,7 +49,9 @@ function max.plugin.search:searchPage($project){
                 </div>  
                 <div id='searchLoading'>{max.i18n:getText($project,'search.loading')}</div>
                 <div id='searchResults'></div>
               </div>)
               </div>,
               (),
               $meta)
};

declare