Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
fontane-notizbuecher
SADE
Commits
44cb3951
Commit
44cb3951
authored
Jul 15, 2017
by
Mathias Goebel
🎠
Browse files
pageNav with @type='additional'
parent
3eb77ec2
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/fontane/misc.xqm
View file @
44cb3951
...
...
@@ -501,7 +501,7 @@ return
<p>Es liegt eine aktuelle Meldung zum Betrieb dieses Servers vor.</p>
<h5>Status: {substring-after($status, "-")}<br/>
Datum: {string-join( ($doc//*:time/string(@datetime)), ";")}</h5>
<!-- at DARIAH-DE status page no p@lang='de' available -->
<!-- at DARIAH-DE status page no p
[
@lang='de'
]
available -->
<p>Die vollständige Statusmeldung finden Sie unter <a href="https://dariah-de.github.io/status/">dariah-de.github.io/status/</a></p>
</div>
};
...
...
@@ -522,7 +522,7 @@ if(request:get-parameter-names() = 'page')
then
let $page := if(request:get-parameter('page', '') = '') then 'outer_front_cover' else request:get-parameter('page', '')
let $doc:= doc('/db/sade-projects/textgrid/data'||$id)/tei:TEI
let $pagelist := $doc//tei:sourceDoc//tei:surface[parent::tei:sourceDoc or @type="clipping"]/string(@n)
let $pagelist := $doc//tei:sourceDoc//tei:surface[parent::tei:sourceDoc or @type="clipping"
or @type="additional"
]/string(@n)
let $page := if ($page = '') then 'outer_front_cover' else $page
let $index := index-of($pagelist, $page)
let $return :=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment