Loading plugins/index/index.xqm +1 −1 Original line number Diff line number Diff line Loading @@ -65,7 +65,7 @@ declare function max.plugin.index:loadIndex($edition,$type,$xq,$xsl,$lang) { let $projectIndex := xquery:eval(xs:anyURI($xq),map{ 'project':$edition, 'baseURI': max.config:getBaseURI(), 'baseURI': max.util:getRelativeRootPath($edition), 'dbPath':$dbPath }) (:let $filePath := file:parent(file:parent(file:parent(static-base-uri()))) || '/editions/projets_ead_pdn/fragments/'||$lang||'/index/pre_index_'||$type||'.frag.html' Loading plugins/pager/pager.xqm +1 −1 Original line number Diff line number Diff line Loading @@ -165,7 +165,7 @@ function max.plugin.pager:getFragmentPage($project,$routeDoc,$id){ declare function max.plugin.pager:getBackToTxtURL($project,$routeDoc,$id){ let $page := max.plugin.pager:getFragmentPage($project,$routeDoc,$id) return max.config:getBaseURI() || $project || "/" || $routeDoc || "/page/"||$page ||"/"||$id return max.util:getRelativeRootPath($project) || $routeDoc || "/page/"||$page ||"/"||$id }; declare Loading Loading
plugins/index/index.xqm +1 −1 Original line number Diff line number Diff line Loading @@ -65,7 +65,7 @@ declare function max.plugin.index:loadIndex($edition,$type,$xq,$xsl,$lang) { let $projectIndex := xquery:eval(xs:anyURI($xq),map{ 'project':$edition, 'baseURI': max.config:getBaseURI(), 'baseURI': max.util:getRelativeRootPath($edition), 'dbPath':$dbPath }) (:let $filePath := file:parent(file:parent(file:parent(static-base-uri()))) || '/editions/projets_ead_pdn/fragments/'||$lang||'/index/pre_index_'||$type||'.frag.html' Loading
plugins/pager/pager.xqm +1 −1 Original line number Diff line number Diff line Loading @@ -165,7 +165,7 @@ function max.plugin.pager:getFragmentPage($project,$routeDoc,$id){ declare function max.plugin.pager:getBackToTxtURL($project,$routeDoc,$id){ let $page := max.plugin.pager:getFragmentPage($project,$routeDoc,$id) return max.config:getBaseURI() || $project || "/" || $routeDoc || "/page/"||$page ||"/"||$id return max.util:getRelativeRootPath($project) || $routeDoc || "/page/"||$page ||"/"||$id }; declare Loading