Commit b5426d42 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

include missing statements|functions

parent 1af37094
......@@ -518,3 +518,10 @@ if(request:get-parameter-names() = 'page')
return $return
else ()
};
declare function f-misc:tocHeader($node as node(), $model as map(*)){
<div id="nb-title" class="col-xs-4 col-md-2">
<h1 class="animated slideInLeft">
<span>{f-misc:nbTitle(request:get-parameter('id', ''), $model)}</span>
</h1>
</div>
};
......@@ -2,7 +2,9 @@ xquery version "3.1";
module namespace wiki="http://textgrid.de/ns/SADE/wiki";
import module namespace config="http://textgrid.de/ns/SADE/config" at "../config/config.xqm";
declare namespace http="http://expath.org/ns/http-client";
declare namespace xhtml="http://www.w3.org/1999/xhtml";
declare function wiki:dokuwiki($node as node(), $model as map(*), $id as xs:string) as node()* {
(: replace id not in whitelist :)
......@@ -357,4 +359,4 @@ return
let $store := if( file:exists($path || $id)) then () else file:serialize-binary($image, $path || $id)
return
()
};
\ No newline at end of file
};
Markdown is supported
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