Loading plugins/ead_basket/ead_basket.xq 0 → 100644 +23 −0 Original line number Diff line number Diff line import module namespace max.i18n = "pddn/max/i18n" at "../../rxq/i18n.xqm"; declare variable $baseURI external; declare variable $dbPath external; declare variable $project external; declare variable $doc external; declare variable $id external; let $locale := max.i18n:getLang($project) return <nav class="article_actions"> <ul> <li> <label> <input type="checkbox" id="basket_toggle"/> {max.i18n:getText($project,'label.dansvotre',$locale)||' '} <a href="{$baseURI}{$project}/porte-documents.html"> {max.i18n:getText($project,'label.porte-documents',$locale)} </a> </label> </li> </ul> </nav> No newline at end of file plugins/index/index.xqm +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ function max.plugin.index:index($project,$type){ let $content := fetch:xml($indexFilePath, map {'chop' : false()}) let $content := <div id='content'>{$content}</div> (:~ let $content := <div id='content'>{doc($indexFilePath)}</div>~:) return max.html:render($project, 'index', $content) return max.html:render($project, 'index/'||$type, $content) else max.plugin.index:generateIndex($project,$type,$projectLang) }; Loading ui/xsl/ead/ead_core.xsl +2 −2 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ </xsl:template> <xsl:template match="ead:c | ead:archdesc"> <div class="ead_style" id="text"> <nav class="article_actions"> <!--<nav class="article_actions"> <ul> <li> <label> Loading @@ -39,7 +39,7 @@ </label> </li> </ul> </nav> </nav>--> <xsl:apply-templates/> </div> </xsl:template> Loading Loading
plugins/ead_basket/ead_basket.xq 0 → 100644 +23 −0 Original line number Diff line number Diff line import module namespace max.i18n = "pddn/max/i18n" at "../../rxq/i18n.xqm"; declare variable $baseURI external; declare variable $dbPath external; declare variable $project external; declare variable $doc external; declare variable $id external; let $locale := max.i18n:getLang($project) return <nav class="article_actions"> <ul> <li> <label> <input type="checkbox" id="basket_toggle"/> {max.i18n:getText($project,'label.dansvotre',$locale)||' '} <a href="{$baseURI}{$project}/porte-documents.html"> {max.i18n:getText($project,'label.porte-documents',$locale)} </a> </label> </li> </ul> </nav> No newline at end of file
plugins/index/index.xqm +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ function max.plugin.index:index($project,$type){ let $content := fetch:xml($indexFilePath, map {'chop' : false()}) let $content := <div id='content'>{$content}</div> (:~ let $content := <div id='content'>{doc($indexFilePath)}</div>~:) return max.html:render($project, 'index', $content) return max.html:render($project, 'index/'||$type, $content) else max.plugin.index:generateIndex($project,$type,$projectLang) }; Loading
ui/xsl/ead/ead_core.xsl +2 −2 Original line number Diff line number Diff line Loading @@ -26,7 +26,7 @@ </xsl:template> <xsl:template match="ead:c | ead:archdesc"> <div class="ead_style" id="text"> <nav class="article_actions"> <!--<nav class="article_actions"> <ul> <li> <label> Loading @@ -39,7 +39,7 @@ </label> </li> </ul> </nav> </nav>--> <xsl:apply-templates/> </div> </xsl:template> Loading