Loading readme.md +7 −5 Changes for readme.md: 7 added lines, 5 removed lines. Original line number Diff line number Diff line Loading @@ -37,7 +37,13 @@ $ sudo ln -s /path/to/max . # run basex http $ cd </path/to/basex>/bin $ ./basexhttp # then check yout install at: http://localhost:8984/max # then check your install at: http://localhost:8984/max ``` Il est fortement recommandé d'utiliser saxon9 comme moteur de transformation XSLT. Il faut alors l'ajouter aux librairies chargées par BaseX : ```bash $ cp </path/to/saxon/>saxon9.jar </path/to/basex>/lib ``` Loading @@ -59,8 +65,6 @@ Modifier si nécessaire le numéro de port (*1984* par défaut) de votre serveur $ ./max.sh --install-demo ``` L'édition de démonstration est consultable à **http://localhost:8080/demo_lorem/accueil** ## Paramétrages - todo Loading @@ -77,8 +81,6 @@ Le fichier *configuration/configuration.xml* se contente d'inclure les fichiers Chaque édition *myedition* existe de par la présence d'un dossier *editions/myedition*. *Exemple d'inclusion de configuration de l'édition demo dans configuration/configuration.xml :* ```xquery Loading rxq/html.xqm +0 −4 Changes for rxq/html.xqm: 0 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -34,17 +34,13 @@ declare function max.html:render( let $baseuri := max.config:getBaseURI() let $aboutHref := $baseuri || "/about" let $menu := (max.html:buildMenu($projectId, $pageId, $fragmentId), max.html:buildSubMenu($projectId, $pageId)) (:return max.layout:TEI_layout( $projectId,$head,$headerRight,$menu,$jsImports,$wrapped):) return try{ (: <html>{max.config:getProjectLayoutTemplate($projectId)}</html> :) max.html:renderTemplate(doc(max.config:getProjectLayoutTemplate($projectId)), map{ 'projectId': $projectId, 'prettyName': max.config:getProjectPrettyName($projectId), 'baseURI': max.config:getBaseURI(), (:'devListCombobox': $devListCombobox,:) 'menu': $menu, 'head': $head, 'content' : $wrapped, Loading rxq/toc.xqm +2 −2 Changes for rxq/toc.xqm: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -25,8 +25,8 @@ declare function max.toc:getProjectTOC($project){ 'dbPath':max.config:getProjectDBPath($project) }) else let $resources := max.util:list-db-resources(max.config:getProjectDBPath($project), $max.cons:TOC || '/') return <div id='routeList'>{$resources}</div> (: let $resources := max.util:list-db-resources(max.config:getProjectDBPath($project), $max.cons:TOC || '/') :) <div id='routeList'>{$project}</div> }; Loading ui/templates/default.html +0 −1 Changes for ui/templates/default.html: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -4,7 +4,6 @@ <header> <div id="top_bar"> <div id="header_left"><h1>PDDN MaX / {$projectId}</h1></div> {$devListCombobox} </div> <div id="menu_and_logo"> {$menu} Loading Loading
readme.md +7 −5 Changes for readme.md: 7 added lines, 5 removed lines. Original line number Diff line number Diff line Loading @@ -37,7 +37,13 @@ $ sudo ln -s /path/to/max . # run basex http $ cd </path/to/basex>/bin $ ./basexhttp # then check yout install at: http://localhost:8984/max # then check your install at: http://localhost:8984/max ``` Il est fortement recommandé d'utiliser saxon9 comme moteur de transformation XSLT. Il faut alors l'ajouter aux librairies chargées par BaseX : ```bash $ cp </path/to/saxon/>saxon9.jar </path/to/basex>/lib ``` Loading @@ -59,8 +65,6 @@ Modifier si nécessaire le numéro de port (*1984* par défaut) de votre serveur $ ./max.sh --install-demo ``` L'édition de démonstration est consultable à **http://localhost:8080/demo_lorem/accueil** ## Paramétrages - todo Loading @@ -77,8 +81,6 @@ Le fichier *configuration/configuration.xml* se contente d'inclure les fichiers Chaque édition *myedition* existe de par la présence d'un dossier *editions/myedition*. *Exemple d'inclusion de configuration de l'édition demo dans configuration/configuration.xml :* ```xquery Loading
rxq/html.xqm +0 −4 Changes for rxq/html.xqm: 0 added lines, 4 removed lines. Original line number Diff line number Diff line Loading @@ -34,17 +34,13 @@ declare function max.html:render( let $baseuri := max.config:getBaseURI() let $aboutHref := $baseuri || "/about" let $menu := (max.html:buildMenu($projectId, $pageId, $fragmentId), max.html:buildSubMenu($projectId, $pageId)) (:return max.layout:TEI_layout( $projectId,$head,$headerRight,$menu,$jsImports,$wrapped):) return try{ (: <html>{max.config:getProjectLayoutTemplate($projectId)}</html> :) max.html:renderTemplate(doc(max.config:getProjectLayoutTemplate($projectId)), map{ 'projectId': $projectId, 'prettyName': max.config:getProjectPrettyName($projectId), 'baseURI': max.config:getBaseURI(), (:'devListCombobox': $devListCombobox,:) 'menu': $menu, 'head': $head, 'content' : $wrapped, Loading
rxq/toc.xqm +2 −2 Changes for rxq/toc.xqm: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -25,8 +25,8 @@ declare function max.toc:getProjectTOC($project){ 'dbPath':max.config:getProjectDBPath($project) }) else let $resources := max.util:list-db-resources(max.config:getProjectDBPath($project), $max.cons:TOC || '/') return <div id='routeList'>{$resources}</div> (: let $resources := max.util:list-db-resources(max.config:getProjectDBPath($project), $max.cons:TOC || '/') :) <div id='routeList'>{$project}</div> }; Loading
ui/templates/default.html +0 −1 Changes for ui/templates/default.html: 0 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -4,7 +4,6 @@ <header> <div id="top_bar"> <div id="header_left"><h1>PDDN MaX / {$projectId}</h1></div> {$devListCombobox} </div> <div id="menu_and_logo"> {$menu} Loading