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

correction du chemin pour surcharge de la navbar

parent ec252b56
......@@ -272,7 +272,7 @@ declare function max.util:getDocumentTitleTOCXSL($projectId) {
Returns project's nav bar xsl
:)
declare function max.util:getNavigationBarXSL($projectId) {
let $xsltFile := file:parent(file:parent(static-base-uri())) || "editions/" || $projectId || "/ui/xsl/" || $max.cons:NAV_BAR_XSL_FILEPATH
let $xsltFile := file:parent(file:parent(static-base-uri())) || "editions/" || $projectId || "/ui/xsl/tei/" || $max.cons:NAV_BAR_XSL_FILEPATH
return if(file:exists($xsltFile))
then $xsltFile
else file:parent(file:parent(static-base-uri())) || "ui/xsl/"|| max.config:getXMLFormat($projectId) ||'/'|| $max.cons:NAV_BAR_XSL_FILEPATH
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment