Commit 35058cc3 authored by Anne Goloubkoff-Duponchel's avatar Anne Goloubkoff-Duponchel
Browse files

correction url et suppression xsl qui ne sert pas

parent 0d14740d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -106,13 +106,13 @@ function max.plugin.ead_search:searchPage($project){
            <div class="boutonSearch"><button onclick="window.eadSearch.runEadSearch()">Rechercher</button></div>
            <div id='searchLoading'>{max.i18n:getText($project,'search.loading')}</div>
            <div id="ead-search-results"></div>
            <script type="text/javascript" src="{max.config:getBaseURI() ||'/plugins/ead_search/ead_search_page.js'}"></script>
            <script type="text/javascript" src="{max.config:getBaseURI() ||'plugins/ead_search/ead_search_page.js'}"></script>
        </section>

    let $html := max.html:render($project, 'rechercher', $datalists)
    let $htmlWithCSS :=
        copy $c := $html
        modify insert node <link rel="stylesheet" type="text/css" href="{max.config:getBaseURI() ||'/plugins/ead_search/ead_search_page.css'}"/> into $c//*:head[1]
        modify insert node <link rel="stylesheet" type="text/css" href="{max.config:getBaseURI() ||'plugins/ead_search/ead_search_page.css'}"/> into $c//*:head[1]
        return $c
    return $htmlWithCSS
};

plugins/ead_search/results.xsl

deleted100644 → 0
+0 −11
Original line number Diff line number Diff line
<xsl:stylesheet version='2.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'>
  <xsl:output method="xml" omit-xml-declaration="yes" />


	<xsl:template match="@*|node()">
		<xsl:copy>
			<xsl:apply-templates select="@*|node()"/>
		</xsl:copy>
	</xsl:template>

</xsl:stylesheet>