Loading plugins/ead_search/ead_search.xqm +2 −2 Original line number Diff line number Diff line Loading @@ -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 }; Loading plugins/ead_search/results.xsldeleted 100644 → 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> Loading
plugins/ead_search/ead_search.xqm +2 −2 Original line number Diff line number Diff line Loading @@ -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 }; Loading
plugins/ead_search/results.xsldeleted 100644 → 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>