diff options
Diffstat (limited to 'org/madore/damlengine/TodoNavbar.java')
-rw-r--r-- | org/madore/damlengine/TodoNavbar.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/org/madore/damlengine/TodoNavbar.java b/org/madore/damlengine/TodoNavbar.java index 5108a33..4b05180 100644 --- a/org/madore/damlengine/TodoNavbar.java +++ b/org/madore/damlengine/TodoNavbar.java @@ -36,20 +36,20 @@ public final class TodoNavbar extends TodoElement { :"Prof. site")); p.appendChild(ctx.doc.createElementNS(DamlEngine.XHTML_NS, "br")); a = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "a"); - a.setAttributeNS(null, "href", (ctx.uriToTop==null)?"./":ctx.uriToTop); + a.setAttributeNS(null, "href", (ctx.gc.uriToTop==null)?"./":ctx.gc.uriToTop); p.appendChild(a); a.appendChild(ctx.doc.createTextNode(lang.equals("fr")?"Racine du site" :"Site Root")); p.appendChild(ctx.doc.createElementNS(DamlEngine.XHTML_NS, "br")); a = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "a"); - a.setAttributeNS(null, "href", (((ctx.uriToTop==null)?"":ctx.uriToTop) + a.setAttributeNS(null, "href", (((ctx.gc.uriToTop==null)?"":ctx.gc.uriToTop) +"sitemap.html")); p.appendChild(a); a.appendChild(ctx.doc.createTextNode(lang.equals("fr")?"Plan du site" :"Site Map")); p.appendChild(ctx.doc.createElementNS(DamlEngine.XHTML_NS, "br")); a = ctx.doc.createElementNS(DamlEngine.XHTML_NS, "a"); - a.setAttributeNS(null, "href", (((ctx.uriToTop==null)?"":ctx.uriToTop) + a.setAttributeNS(null, "href", (((ctx.gc.uriToTop==null)?"":ctx.gc.uriToTop) +"weblog/")); p.appendChild(a); a.appendChild(ctx.doc.createTextNode("WebLog")); |