Commit 7b0c2b1e authored by Orderic-Vital Pain's avatar Orderic-Vital Pain
Browse files

Légères modifs des plugins

parent b7c99a1e
Loading
Loading
Loading
Loading
+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
+1 −1
Original line number Diff line number Diff line
@@ -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)
};

+2 −2
Original line number Diff line number Diff line
@@ -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>
@@ -39,7 +39,7 @@
                        </label>
                    </li>
                </ul>
            </nav>
            </nav>-->
            <xsl:apply-templates/>
        </div>
    </xsl:template>